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
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
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
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
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
54583373dc
fix: add correct type import in fervidex tests
2022-04-23 06:20:20 +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
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
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
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
2940808915
style: add a comment explaining unapplied migrations
2022-04-22 04:47:48 +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
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
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
07f950beae
fix: unbreak tests as a result of the rivals addition
2022-04-21 05:29:56 +01:00