zkldi
|
8f86acaca5
|
fix: make sync-database exit 1 on fail
|
2022-05-02 19:02:03 +01:00 |
|
zkldi
|
094f479d88
|
fix: only remove showcase stats when folder was actually removed
Before this, showcase stats would be removed if
any alteration happened to the folder, which is
undesirable.
|
2022-05-01 23:51:17 +01:00 |
|
zkldi
|
67b3dbc7f1
|
feat: remove stale showcase stats when folders change
|
2022-05-01 23:46:37 +01:00 |
|
zkldi
|
4284c4290b
|
test: add regression tests for stale folder showcase stat removal
|
2022-05-01 23:46:17 +01:00 |
|
zkldi
|
62c30b40b0
|
feat: add support for removing stale folder showcase stats
|
2022-05-01 23:46:00 +01:00 |
|
zkldi
|
5c80a50c39
|
test: add regression tests for transposing folder arrays
|
2022-04-29 00:44:02 +01:00 |
|
zkldi
|
9148fed2c7
|
fix: make TransposeFolderData transpose arrays properly
|
2022-04-29 00:43:52 +01:00 |
|
zkldi
|
b335404e4b
|
fix: add debug logs to folder transposition
|
2022-04-28 22:52:11 +01:00 |
|
zkldi
|
7c3b1e4679
|
fix: add error handling and logging to createfolderchartlookup
|
2022-04-28 21:28:18 +01:00 |
|
zkldi
|
18d345b182
|
fix: raise log level of sync-database starting
This helps us keep an eye on the script and determine whether it's halted or not.
|
2022-04-28 19:01:19 +01:00 |
|
zkldi
|
b9fab598bd
|
fix: remove unique index for inGameID + difficulty in sdvx
It doesn't make sense due to isPrimary, as recharts might occur.
|
2022-04-28 18:10:43 +01:00 |
|
zkldi
|
ab2ef79181
|
test: add tests for lib/notifications
|
2022-04-24 23:41:22 +01:00 |
|
zkldi
|
9f4277781f
|
style: remove unused functions
|
2022-04-24 23:39:14 +01:00 |
|
zkldi
|
f05da38163
|
feat: add protection against accidental instant-notif-disregarding
|
2022-04-24 23:22:53 +01:00 |
|
zkldi
|
cfa0d9d5e1
|
test: add tests for empty inbox endpoint
|
2022-04-24 23:20:42 +01:00 |
|
zkldi
|
5ccd69e605
|
feat: replace delete notif with empty inbox endpoint
|
2022-04-24 23:20:26 +01:00 |
|
zkldi
|
db990940ac
|
test: add tests for POST userID/notif/mark-all-read
|
2022-04-24 23:13:08 +01:00 |
|
zkldi
|
0b84416c29
|
test: add tests for userID/Notifications
|
2022-04-24 23:09:24 +01:00 |
|
zkldi
|
880d1f44f9
|
feat: make userID/notifications return in most-recent order
|
2022-04-24 22:42:29 +01:00 |
|
zkldi
|
fb944b6d0d
|
feat: add notification endpoints
|
2022-04-24 22:39:19 +01:00 |
|
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
|
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
|
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
|
54583373dc
|
fix: add correct type import in fervidex tests
|
2022-04-23 06:20:20 +01:00 |
|