zkldi
b65bdcb8f3
perf: add indexes to notifications db
2022-04-24 22:18:51 +01:00
zkldi
4b3074e48c
refactor: create wrapper scripts for SetRivalNotification
2022-04-24 22:14:57 +01:00
zkldi
e24d7d1705
feat: notify users when they have been set as a rival
2022-04-24 22:09:50 +01:00
zkldi
027797930d
feat: notify users when their milestones change
2022-04-24 21:58:33 +01:00
zkldi
5991a0be96
style: organise imports
2022-04-24 21:19:39 +01:00
zkldi
2fbd56472d
feat: add ReadUsersNotifications fn
2022-04-24 21:12:29 +01:00
zkldi
c1f5da3cce
fix: update tachi-common to fix schema miscompilation
2022-04-24 20:12:35 +01:00
zkldi
ea28adcc02
feat: barebones notif system
2022-04-24 19:54:36 +01:00
zkldi
c9ba888d39
feat: add jubility target support
2022-04-24 13:51:27 +01:00
zkldi
8ab1d554c6
docs: update changelog
2022-04-24 13:28:54 +01:00
zkldi
467d69f40d
feat: declare how many people have played an orphaned bms chart
2022-04-24 13:18:30 +01:00
zkldi
53ef2e6752
test: add tests for import user intent endpoint
2022-04-24 12:17:23 +01:00
zkldi
57808834fd
fix: use $lte instead of $lt in userID/Imports
2022-04-24 12:12:04 +01:00
zkldi
453dcba486
fix: use unix milliseconds instead as timeFinished input
2022-04-24 12:10:56 +01:00
zkldi
0da938c9f2
test: add tests for user/Import endpoints
2022-04-24 12:09:12 +01:00
zkldi
1941100322
fix: honour correct userID in user/Imports
2022-04-24 12:01:20 +01:00
zkldi
ec2133646f
fix: make User/imports return normal import documents
2022-04-24 11:47:07 +01:00
zkldi
200e74695f
style: remove unused import
2022-04-24 11:44:40 +01:00
zkldi
13cc1c614d
feat: add import endpoints
2022-04-24 11:43:45 +01:00
zkldi
974d96908d
test: add tests for admins to delete others' scores
2022-04-23 19:47:19 +01:00
zkldi
246ac7aa58
feat: allow admins to delete others' scores
2022-04-23 19:47:11 +01:00
zkldi
39a0e6140b
refactor: rename IsUserIDAdmin to IsRequesterAdmin
2022-04-23 19:07:30 +01:00
zkldi
4866f98dd2
fix: admin-created api tokens should not inherit admin permissions
2022-04-23 19:06:09 +01:00
zkldi
bb7baae3db
test: add tests for admins reverting others' imports
2022-04-23 19:00:21 +01:00
zkldi
2e8c0a98a9
feat: allow admins to revert others' imports
2022-04-23 19:00:07 +01:00
zkldi
07a42d5acb
style: remove unecessary async in test
2022-04-23 18:27:49 +01:00
zkldi
a5e2ede4be
test: add regression tests for scores/all
2022-04-23 17:59:58 +01:00
zkldi
ce8ec6bb3e
fix: add rate limiting to pbs/all
2022-04-23 17:59:48 +01:00
zkldi
9c3b35d13e
feat: add export-all-scores endpoint
2022-04-23 17:59:01 +01:00
zkldi
fa32875232
docs: replace N with 5, as its hardcoded
2022-04-23 17:40:52 +01:00
zkldi
e5dd8cea33
style: add newline between @param and @name
2022-04-23 17:40:20 +01:00
zkldi
d0cb41b59c
docs: Update changelog
2022-04-23 06:36:21 +01:00
zkldi
54583373dc
fix: add correct type import in fervidex tests
2022-04-23 06:20:20 +01:00
zkldi
103421e364
feat: make Force Static Import disable itself after being used
2022-04-23 06:06:25 +01:00
zkldi
9ccb49ce07
style: remove unused imports
2022-04-23 05:55:59 +01:00
zkldi
5757348dd6
style: replace Playtypes[Game] with Playtype
2022-04-23 05:55:37 +01:00
zkldi
c6d4373f2e
fix: make revert-import require delete_score perm
2022-04-23 00:58:21 +01:00
zkldi
7969460dd5
fix: perform 401 checks in RequireOwnerships
2022-04-23 00:57:54 +01:00
zkldi
63f19ce77b
test: add tests for import endpoints
2022-04-23 00:57:40 +01:00
zkldi
a1147401d2
style: remove unused import
2022-04-23 00:52:38 +01:00
zkldi
679a769fc0
refactor: add mkFakeImport util function
2022-04-23 00:40:17 +01:00
zkldi
2bd6468291
feat: add a revert-import endpoint
2022-04-23 00:33:27 +01:00
zkldi
14dd9ae257
test: add tests for reverting imports
2022-04-23 00:24:29 +01:00
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
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
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