Commit Graph
4974 Commits
Author SHA1 Message Date
zkldi f15a8cd14e feat: add import library for reverting imports 2022-04-23 00:22:38 +01:00
zkldi fd3d77c4ad style: remove unused import 2022-04-22 23:18:23 +01:00
zkldi 77f3ba76a4 fix: Move FAKE_MIGRATION out of test-data
Attempting to depend on anything inside test-utils at runtime is a
footgun, and may result in the server not booting.

This patch stops the server from depending on something that might not
exist at runtime, such as test-utils/test-data trying to get the buffer
of the eamusement csv and failing catastrophically.
2022-04-22 23:13:18 +01:00
zkldi 439f10948d Merge pull request #697 from TNG-dev:zkldi/issue-684
BREAKING: Change BATCH-MANUAL class input to be strings instead of ints
2022-04-22 20:32:33 +00:00
zkldi 14a59235c5 test: add tests for batch-manual string classes 2022-04-22 21:13:40 +01:00
zkldi ea7d36e2ae BREAKING: make batch-manual classes take strings instead of ints 2022-04-22 21:13:26 +01:00
zkldi f4da5c7b2b chore: bump version to 0.10.1 2022-04-22 21:07:09 +01:00
zkldi 8ade1dedb6 breaking: change batchman classes to strings 2022-04-22 21:07:00 +01:00
zkldi f40ac6d1cc chore: bump version to 0.10.0 2022-04-22 20:42:35 +01:00
zkldi cbc1ebb7ab feat: add IDs to all game classes 2022-04-22 20:42:17 +01:00
zkldi ed149f6fa8 Merge pull request #695 from TNG-dev/zkldi/issue-370 2022-04-22 19:02:58 +00:00
zkldi 80db6fb410 feat: properly define schemas from tachi-common 2022-04-22 19:12:50 +01:00
zkldi b4577e67dc chore: Bump version to 0.9.3 2022-04-22 19:12:01 +01:00
zkldi db8b83e51d feat: Add schema for invites 2022-04-22 19:11:35 +01:00
zkldi 9b33313d0e fix: bump typescript so we can use string literal types 2022-04-22 19:00:20 +01:00
zkldi 63d753f96a chore: bump version to 0.9.2 2022-04-22 18:57:45 +01:00
zkldi 872ca7fe07 fix: Enforce that all games have song+chart schemas 2022-04-22 18:57:32 +01:00
zkldi 60669e6d12 fix: Delete _id off of expected results 2022-04-22 18:48:52 +01:00
zkldi bea7e1456e refactor: move ALL_PERMISSIONS to tachi-common 2022-04-22 18:45:51 +01:00
zkldi 4f31d7be3b test: add regression tests to GetUsersWIthIDs 2022-04-22 18:39:20 +01:00
zkldi 8cc76c9e3b fix: make GetUsersWithIDs not throw on duplicate userID input 2022-04-22 18:36:50 +01:00
zkldi feee18c54b chore: bump version to 0.9.1 2022-04-22 18:17:40 +01:00
zkldi c5cf11ab46 fix: actually export permission constants 2022-04-22 18:17:27 +01:00
zkldi 4d4ec7d770 fix: add express as devdep and bump prudence to not require it as a real dep 2022-04-22 18:12:51 +01:00
zkldi cb8adadfd8 refactor: simplify StaticDatabases declaration 2022-04-22 18:05:56 +01:00
zkldi 7a61b9625f chore: bump version to 0.9.0 2022-04-22 18:00:35 +01:00
zkldi 1ee6c94ff4 feat: declare schemas inside tachi-common 2022-04-22 18:00:19 +01:00
zkldi 2940808915 style: add a comment explaining unapplied migrations 2022-04-22 04:47:48 +01:00
zkldi 6ee753f0e1 Merge pull request #694 from TNG-dev/zkldi/issue-692
feat: Migration Engine
2022-04-22 01:33:56 +00:00
zkldi 0a79e3690e style: remove unused imports 2022-04-22 02:22:43 +01:00
zkldi 715906eefb test: add tests for migrations 2022-04-22 02:12:32 +01:00
zkldi b70f02de01 fix: make update script update more than one record 2022-04-22 01:43:23 +01:00
zkldi 960a7e93d3 fix: Remove migrations from pending when they fail 2022-04-21 18:36:27 +01:00
zkldi 6941c0707e feat: add schema for migrations 2022-04-21 18:35:22 +01:00
zkldi 102dd04266 fix: give migrationID a unique index 2022-04-21 18:15:06 +01:00
zkldi cb7e9f8946 style: Add comment for migration failures 2022-04-21 17:31:19 +01:00
zkldi 9fe155bf71 feat(migrations): apply unapplied migrations on init 2022-04-21 17:28:59 +01:00
zkldi c1900e1c93 feat(migration): add ugpt-rivals migration script 2022-04-21 17:22:30 +01:00
zkldi eaf2761c96 fix(migrations): add more logging 2022-04-21 17:22:15 +01:00
zkldi b1248f861a feat(migration): create a skeleton framework for applying migrations 2022-04-21 17:17:28 +01:00
zkldi 75b3aeb310 Merge pull request #691 from TNG-dev/zkldi/issue-676 2022-04-21 15:27:30 +00:00
zkldi f8b618c536 feat: add migration script 2022-04-21 16:10:47 +01:00
zkldi 4c4288aeb3 test: Add tests for rival endpoints 2022-04-21 16:04:30 +01:00
zkldi df480f5515 fix: make GetChallengerIDs return challengers instead of rivals 2022-04-21 16:03:16 +01:00
zkldi 600ac12d68 refactor: change rival err handling to use error codes 2022-04-21 15:52:25 +01:00
zkldi 1cbcf781e8 style: remove unused import 2022-04-21 06:07:15 +01:00
zkldi 5c2bfc25e1 refactor(rivals): make rival assignment honour manage_rivals 2022-04-21 06:06:49 +01:00
zkldi 97811b07e9 chore: bump version to 0.8.1 2022-04-21 06:03:38 +01:00
zkldi 8c30fb01d4 feat: make manage_rivals a real permission 2022-04-21 06:03:30 +01:00
zkldi 3205a82a05 refactor(test-utils): add cleaner convenient test utils 2022-04-21 06:01:34 +01:00