Commit Graph

3893 Commits

Author SHA1 Message Date
Ryan Laughlin
369911277b
Further testing of GitHub Actions (#342)
* Start the server before Cypress starts running

* GitHub Actions: write sample patrons.json file

* Add Postgres

* Run npm prep commands

* Install Node and dependencies

* Add prettier check to CI

* Omit patrons.json from prettier

* Save Cypress output

* Save Cypress output

* Fix artifact path

* Try loading .json instead of .js, in case that helps
2021-04-05 17:37:47 +03:00
Igor
9ec08820e8
borderColor fix (#355) 2021-04-03 23:55:58 +03:00
Kalle (Sendou)
1dc62e9aae add idtga logo 2021-04-03 23:50:34 +03:00
Kalle (Sendou)
e42bc3c690 test ref for queryClient 2021-04-03 13:24:41 +03:00
Kalle (Sendou)
344916fa89 event info use time tag 2021-04-03 12:27:58 +03:00
Kalle (Sendou)
21d5a1da9d remove zh for now 2021-04-03 10:35:30 +03:00
Kalle (Sendou)
35f1ef8f88 events bot api 2021-04-03 10:34:23 +03:00
Kalle (Sendou)
04b7f4d4dc calendar better day headers 2021-04-03 00:17:57 +03:00
Kalle (Sendou)
ec65d19477 Merge branch 'main' of https://github.com/Sendouc/sendou.ink into main 2021-04-02 23:13:54 +03:00
Kalle (Sendou)
f1a19954be closes #352 2021-04-02 23:13:43 +03:00
Kalle (Sendou)
b66eb0f892 add event images 2021-04-02 23:04:00 +03:00
Igor
3d1ba001bc
weaponSelector correct value + locales update (#348) 2021-04-02 20:54:10 +03:00
Kalle (Sendou)
97d36cb0d9 order tags 2021-04-02 20:40:00 +03:00
Kalle (Sendou)
f9f9f8da47 non-native date picker 2021-04-02 19:54:59 +03:00
Kalle (Sendou)
46b3215a87 allow admin to update and delete events 2021-04-02 19:29:17 +03:00
Kalle (Sendou)
732147167c add qualifier to valid tournament tags 2021-04-02 19:28:11 +03:00
Kalle (Sendou)
b3e4b5056b translations for calendar 2021-04-02 19:23:36 +03:00
Kalle (Sendou)
f819816691 Merge branch 'main' of https://github.com/Sendouc/sendou.ink into main 2021-04-02 19:16:03 +03:00
Kalle (Sendou)
692c7b24d2 calendar public 2021-04-02 19:15:55 +03:00
Kalle (Sendou)
a003b2789f event images support 2021-04-02 19:15:17 +03:00
Kalle (Sendou)
1b486a1f3e calendar page mobile friendliness + other stuff 2021-04-02 19:01:56 +03:00
Kalle (Sendou)
ab9b38c381 calendar event tests 2021-04-02 18:39:25 +03:00
Igor
10951fe39e
Maplist generator: Custom Order (#346)
* new select for multiple modes

* add custom order generation

* remove log + better select position

* little optimization

* import fix

* add icons for modes in select

* pretty

* rename variable

* import replace

* arrow function

* render only if selected

* Update pages/maps.tsx

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2021-04-02 15:46:08 +03:00
Kalle (Sendou)
190c5a19fb can edit and delete events 2021-04-02 15:25:40 +03:00
Kalle (Sendou)
714f970569 EventInfo UI additions and tweaks 2021-04-02 13:41:40 +03:00
Kalle (Sendou)
40d6d6c513 switch to webpack5 2021-04-02 11:51:11 +03:00
Ryan Laughlin
fdeb541e64
Try out GitHub Actions (#341) 2021-04-02 00:57:08 +03:00
Kalle (Sendou)
ed3bb9a0d8 run prettier:format in the project 2021-04-02 00:35:58 +03:00
Kalle (Sendou)
323b093dfa prettier:format command 2021-04-02 00:35:48 +03:00
Kalle (Sendou)
29377e21f5 closes #330 2021-04-02 00:27:49 +03:00
Kalle (Sendou)
bb7f1d8f47 use custom random element function instead of lodash 2021-04-01 23:45:00 +03:00
Kalle (Sendou)
1446bd1324 Merge branch 'main' of https://github.com/Sendouc/sendou.ink into main 2021-04-01 23:32:48 +03:00
Ryan Laughlin
15ff99bc9e
Start to fix tests + add more factories (#334)
* Stop using npm run migrate:reset in tests

* Begin moving other existing fixtures to factories

* Update cypress/support/index.ts

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>

* Clean up usage of _.sample

* Rename files

* Remove incomplete building of associations

* Add missing references to calendarEvent

* Remove inaccurate seeds

* Add explicit lodash devDependency

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2021-04-01 23:32:19 +03:00
Kalle (Sendou)
1320ed9127 string util functions location consistency and comments 2021-04-01 23:26:10 +03:00
Kalle (Sendou)
9d80b3b3d9 remove createMany from previewFeatures 2021-04-01 20:57:13 +03:00
Kalle (Sendou)
26db83287e update top500/league scripts 2021-04-01 20:56:50 +03:00
Kalle (Sendou)
50444e3c6e Merge branch 'main' of https://github.com/Sendouc/sendou.ink into main 2021-04-01 18:48:36 +03:00
Igor
2a31ac7159
Fix user page wrong stacking + fix aria-label for youtube button (#336)
* check bio length after trim()

* Put social network icons in flex

* fix aria-label
2021-04-01 12:01:23 +03:00
Kalle (Sendou)
f5252793ea calendar tests remove only 2021-04-01 10:43:51 +03:00
Igor
c6f98cfedd
check bio length after trim() (#333) 2021-03-31 20:25:21 +03:00
Kalle (Sendou)
b0386fbc23 upgrade deps closes #311 2021-03-31 20:19:51 +03:00
Kalle (Sendou)
c95b70087d event tests 2021-03-31 20:02:51 +03:00
Kalle (Sendou)
c41881a107 calendarEvent factory 2021-03-31 13:37:50 +03:00
Kalle (Sendou)
3049c133b4 Merge branch 'main' of https://github.com/Sendouc/sendou.ink into main 2021-03-31 12:30:09 +03:00
Kalle
60d83e0e5e
update contributing section 2021-03-31 12:28:17 +03:00
Ryan Laughlin
8fbc0fbdac
Update development setup instructions (#313)
* Add step about requiring patrons.json file

* Update steps to get DB up and running

* Clarify Discord login setup instructions

* Clarify how to start/stop server for new developers

* Update README to remove unneeded .env.local var

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2021-03-31 12:15:52 +03:00
Kalle (Sendou)
720aeed82d day headers 2021-03-31 12:06:54 +03:00
Ryan Laughlin
bf30c025f8
Use a factory to create seed data (#315)
* Add fishery for factory creation

* Refactor existing seed file

* Create a UserFactory to seed user data

* Make fishery a devDependency

* Prefer const over let

* Eliminate the dropAllData method

* Move factory files to prisma/factories

* Update UserFactory to return valid discordAvatar value
2021-03-31 12:01:16 +03:00
Kalle (Sendou)
8b18bedf9d event info card look 2021-03-30 23:15:02 +03:00
Ryan Laughlin
8c4a0dc5d4
Ignore test run output from cypress (#314) 2021-03-30 15:40:10 +03:00