zkldi
b196c75f0f
cherry-pick: Merge pull request #724 from TNG-dev/hotfix/v2.1.18
2022-06-01 14:01:44 +01:00
zkldi
055bbb9bf2
style: properly explain what version we default to upon failing
2022-05-31 19:00:22 +01:00
zkldi
4d585a08e2
feat: read version from package.json, read latest commit and read pre-release tags.
2022-05-31 18:46:54 +01:00
zkldi
38c74338a6
fix(conf): make LOGGER_CONFIG mandatory
2022-05-31 18:44:47 +01:00
zkldi
48424607b5
fix: undo obviously absolutely broken async
2022-05-31 18:17:31 +01:00
zkldi
3fb8086a74
fix: skip failed goal processes instead of exiting
2022-05-31 18:11:29 +01:00
zkldi
4d157ca107
fix: throw if fetching goal charts with invalid goal.charts.type
2022-05-31 18:04:42 +01:00
zkldi
cad860413e
fix: make all tests pass
...
I'm sorry for how disgustingly large all of these commits are. I promise
that this is the last time something this disgusting will happen.
This is a mono-patch for various things that were broken by the major
refactor. It's mostly things like error messages now being different
(and tests failing as a result).
Some notable fixes include me accidentally deleting the entire DELETE
api-tokens endpoint (lol), and timeAchieved: 0 in batch-manual not
coercing to null anymore. It appears the behaviour was intentional for
some reason. I'm not sure why though.
2022-05-31 17:56:14 +01:00
zkldi
da1fb0babb
fix: faulty merge when s3 0.59 changes were added back into this branch
2022-05-31 15:59:56 +01:00
zkldi
0f7be3d551
Merge branch 'develop' into cadence-experiment
2022-05-31 14:33:57 +01:00
zkldi
7adff08b79
cherry-pick: Merge pull request #719 from TNG-dev/hotfix/v2.1.17
2022-05-31 14:04:54 +01:00
zkldi
a6d23ad40a
experimental: final cadence validation commit
2022-05-25 21:29:54 +01:00
zkldi
af5b1c4a68
fix: remove unecessary property deletions
2022-05-25 19:00:29 +01:00
zkldi
19e3e7af8c
fix: make sure goal subscriptions are properly awaited
2022-05-25 17:47:19 +01:00
zkldi
bda6ee7412
style: rename hollis to cadence
2022-05-25 15:15:17 +01:00
zkldi
02b55160b1
experimental: more hollis work
2022-05-21 17:37:33 +01:00
zkldi
2c8b0870fb
experimental: massive hollis changes
2022-05-20 00:24:09 +01:00
zkldi
af2fa826a4
experimental: mass-hollis-refactor
2022-05-10 03:21:09 +01:00
zkldi
18b78636b7
fix: add error handling for google captcha returning nonsense
2022-05-06 04:53:13 +01:00
zkldi
3f4a582ad7
experimental: misc ergonomic checking
2022-05-06 04:16:23 +01:00
zkldi
ba50d17846
fix: tidy up deleteundefinedprops and validate against arrays
2022-05-06 03:42:41 +01:00
zkldi
0adc39b5cb
experimental: initial autofix blast
2022-05-06 03:39:03 +01:00
zkldi
1137bda1b4
fix: improve string assert fail messages
2022-05-02 19:06:07 +01:00
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