Commit Graph

133 Commits

Author SHA1 Message Date
Kalle (Sendou)
ab9b38c381 calendar event tests 2021-04-02 18:39:25 +03:00
Kalle (Sendou)
ed3bb9a0d8 run prettier:format in the project 2021-04-02 00:35:58 +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
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)
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)
c95b70087d event tests 2021-03-31 20:02:51 +03:00
Kalle (Sendou)
c41881a107 calendarEvent factory 2021-03-31 13:37:50 +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
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)
400dc82739 migration for calendar 2021-03-21 00:30:23 +02:00
Kalle (Sendou)
e3ab352e5e closes #276 2021-03-09 13:00:58 +02:00
Kalle (Sendou)
497d86d196 remove unused script 2021-03-09 12:38:53 +02:00
Kalle (Sendou)
cd16d92f0e xrank in app 2021-03-09 11:57:42 +02:00
Kalle (Sendou)
5073974fc3 remove plus 2021-03-04 00:42:54 +02:00
Kalle (Sendou)
51083c7f5e plus 3 script 2021-03-03 23:06:38 +02:00
Kalle
67b2f23ac2 show when next voting 2021-03-02 13:45:57 +02:00
Kalle
c93cc20f3a can vouch 2021-02-27 15:06:30 +02:00
Kalle
4d2908b9a8 can add suggestion comment + tests 2021-02-25 15:40:39 +02:00
Kalle
b26b0bca50 cypress mock login 2021-02-25 13:28:58 +02:00
Kalle
053967d8af plus script add plusstatus import 2021-02-20 18:34:31 +02:00
Kalle
30fd61de81 plus history ui table 2021-02-20 17:40:39 +02:00
Kalle
a30dcc394f cypress initial 2021-02-18 10:12:50 +02:00
Kalle
aa71886e80 seeding script initial 2021-02-15 11:57:21 +02:00
Kalle
1c34364a35 summarypeople import script 2021-02-14 00:44:44 +02:00
Kalle
f17e8c038a plus server migration 2021-02-13 23:21:59 +02:00
Sendou
ee5591e87d update readme getting started with db instructions 2021-02-12 15:07:26 +02:00
Kalle (Sendou)
7741056028 pid page 2021-02-08 19:23:13 +02:00
Kalle (Sendou)
ca4caec307 unique id to principal migration 2021-02-06 13:14:26 +02:00
Kalle (Sendou)
a4e4c96128 ladder matches preliminary UI 2021-02-04 20:37:22 +02:00
Kalle (Sendou)
dda441d95e league jsons script skip old results 2021-02-04 01:01:45 +02:00
Kalle (Sendou)
6daaf2cc51 league script update 2021-02-04 00:33:24 +02:00
Kalle (Sendou)
e3c9955bf5 top500 script fix 2021-02-03 23:05:55 +02:00
Kalle (Sendou)
9d6f5731f9 remove unused 2021-01-30 12:38:46 +02:00
Kalle (Sendou)
25d43e3d22 add principal id to league jsons script 2021-01-30 01:40:50 +02:00
Kalle (Sendou)
19be942e78 add fk migration 2021-01-29 10:16:00 +02:00
Kalle (Sendou)
c7c340c768 map generation logic 2021-01-27 10:52:38 +02:00
Kalle (Sendou)
63255cb290 detailed map migration 2021-01-26 21:44:33 +02:00
Kalle (Sendou)
c274aaea12 generate ladder matches 2021-01-25 21:00:18 +02:00
Kalle (Sendou)
c5bd3b2702 fix type error 2021-01-24 20:43:23 +02:00
Kalle (Sendou)
a655db05a4 join ladder team backend frontend 2021-01-24 19:18:40 +02:00
Kalle (Sendou)
1e98701c18 ladder migrations 2021-01-24 13:09:39 +02:00
Kalle (Sendou)
d37ffbf8b5 closes #255 getuserbyidentifier throw error 2021-01-21 10:20:27 +02:00
Kalle (Sendou)
6ec6bf9531 principal id script 2021-01-20 18:27:43 +02:00
Kalle (Sendou)
021f1dc7db make principal id not unique 2021-01-19 17:13:33 +02:00
Kalle (Sendou)
ba597ccdcb type error fix maybe 2021-01-15 16:23:18 +02:00
Kalle (Sendou)
d0c4819045 teams collection page 2021-01-15 15:38:49 +02:00
Kalle (Sendou)
cb8a05a21a closes #248 and team page on user profile 2021-01-15 14:02:21 +02:00
Kalle (Sendou)
68ff5af333 show team xp on the page 2021-01-15 12:52:30 +02:00