Commit Graph
201 Commits
Author SHA1 Message Date
zkldi bb919fc524 fix: don't return a promise from wrapscriptpromise 2022-08-17 20:29:19 +01:00
zkldi a1bf2a12a0 fix: winston logging callback didn't work 2022-08-16 23:11:51 +01:00
zkldi b6003f7e87 refactor: use a util for script exec 2022-07-17 16:17:51 +01:00
zkldi 5c9575f23a fix: someeeeone didn't run the linter huh 2022-07-16 17:54:44 +01:00
zkldi 73c7815c63 feat: instant bootstrap script 2022-07-16 17:43:33 +01:00
zkldi e55a0eb129 fix: get tachi-server to atleast boot and sync with common 2022-07-04 02:15:43 +01:00
zkldi c4b0e29e37 feat: add itgChartHash support to batch-manual 2022-06-12 20:44:42 +01:00
zkldi 647ca1409c feat: significantly improve global search
Fixes #713
2022-06-05 14:50:24 +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 a6d23ad40a experimental: final cadence validation commit 2022-05-25 21:29:54 +01:00
zkldi bda6ee7412 style: rename hollis to cadence 2022-05-25 15:15:17 +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 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 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 e24d7d1705 feat: notify users when they have been set as a rival 2022-04-24 22:09:50 +01:00
zkldi 5991a0be96 style: organise imports 2022-04-24 21:19:39 +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 2e8c0a98a9 feat: allow admins to revert others' imports 2022-04-23 19:00:07 +01:00
zkldi 5757348dd6 style: replace Playtypes[Game] with Playtype 2022-04-23 05:55:37 +01:00
zkldi 2bd6468291 feat: add a revert-import endpoint 2022-04-23 00:33:27 +01:00
zkldi 60669e6d12 fix: Delete _id off of expected results 2022-04-22 18:48:52 +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 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 b1248f861a feat(migration): create a skeleton framework for applying migrations 2022-04-21 17:17:28 +01:00
zkldi 7682a960e1 fix: handle case where GetUsersWithIDs hits desync 2022-04-21 03:45:19 +01:00
zkldi 120c9cbb52 feat: add goal sync support 2022-04-17 04:26:27 +01:00
zkldi 918c26b233 fix: GetMostSubscribedMilestones shouldn't wrap milestones in array 2022-04-16 20:01:19 +00:00
zkldi 0b8b7f5594 fix: hide _id in GetMostSubscribedGoals output 2022-04-16 05:05:21 +01:00
zkldi e04f1aa508 fix: GetMostSubscribedGoals shouldn't wrap goal in array 2022-04-16 04:33:35 +01:00
zkldi ffe57046e2 Add UGPT Targets tests 2022-04-14 01:56:11 +01:00
zkldi 3c7e422c85 Add a flushable parameter to CreateFolderChartLookup 2022-04-13 22:10:12 +01:00
zkldi 3891255f46 Un-revert PrivateUserInfo changes
Un-Revert privateuserinfo changes
2022-04-13 15:34:39 +01:00
zkldi 2b9b009d8e Undo all snapshot changes, since snapshots won't work.
This reverts commit f0e0bef853.
2022-04-13 14:12:57 +01:00
zkldi f45dfb3b33 Move PrivateUserDocument to server-types 2022-04-13 12:50:04 +01:00
zkldi baf81a8730 Add milestone sets to the database and general utils 2022-04-12 02:10:02 +01:00
zkldi f08986a581 Add GPT/targets/milestones/popular 2022-04-11 21:36:35 +01:00
zkldi e67e88d0b8 Add a popularity endpoint for GPT/goals 2022-04-09 00:34:04 +01:00
zkldi 809b3b462e Ignore achieved targets on recently-interacted-with 2022-04-08 18:32:24 +01:00
zkldi 6a7520a92d Exclude wasInstantlyAchieved from recent-interactions 2022-04-01 16:58:34 +01:00
zkldi 8dbb89d274 Add GPT recently-achieved and recently-interacted endpoints 2022-04-01 14:47:50 +01:00
zkldi 8f543fc8d6 Rename GetRecentlyAchievedGoals to GetGoalSummary 2022-04-01 14:37:25 +01:00