Commit Graph
55 Commits
Author SHA1 Message Date
zkldi a98322dcea fix: support resident properly 2022-11-02 15:31:23 +00:00
zkldi 0385cb65f9 Merge branch 'staging' into zkldi/seeds-ui 2022-09-28 22:34:22 +01:00
zkldi 29833548fd fix: allow maxBuffer to be 1G from shell exec
Honestly, not sure why this exists and why the cap
is so low. Maybe some node guy can explain this to me.

Ah well. We don't execute anything that should DOS us
and we certainly don't let user input hit this function
so, we should be good.
2022-09-21 22:19:11 +01:00
Bottersnike 61981c57b9 Modify database-seeds/repo.ts to not use cd 2022-09-12 02:46:15 +01:00
zkldi 84387ba78b fix: improper logging of classes in score import 2022-08-31 01:48:52 +01:00
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 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 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 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 5757348dd6 style: replace Playtypes[Game] with Playtype 2022-04-23 05:55:37 +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 120c9cbb52 feat: add goal sync support 2022-04-17 04:26:27 +01:00
zkldi a2c35a80c4 Rough Goal Outline (no tests) 2022-03-14 19:21:59 +00:00
zkldi f9c162fc11 Add warning for why we don't log errors 2022-03-03 03:43:20 +00:00
zkldi 104d3e22a4 Assorted critical PMS database fixes. 2022-03-01 16:05:06 +00:00
zkldi 4e19023b36 Seeds Update Scripts
Fixes #658
2022-03-01 03:50:47 +00:00
zkldi b577e28b7b Update dependencies. This took forever. 2022-02-07 16:46:13 +00:00
zkldi 410908b3d1 Format Imports 2022-02-04 20:37:41 +00:00
zkldi 9d9c1714db Fix WACCA rate calculation and add tests 2021-12-22 23:52:37 +00:00
zkldi c30c5e2dbc LR2Hook Converter and Parser definitions 2021-12-10 18:24:28 +00:00
zkldi 428764a1f3 Get stuff a user did in the last (16) hours 2021-11-22 11:44:27 +00:00
zkldi fe8cef47ff Add job progress indicators 2021-11-17 15:28:57 +00:00
zkldi 639d861c44 Run organise imports in all files. 2021-11-11 19:00:28 +00:00
zkldi 9e0448cc9e Fix regression where api tokens generated from API Clients weren't reused (and add tests so it can't happen again.) 2021-11-11 14:05:22 +00:00
zkldi c313f21aef I spelt Milliseconds wrong... 2021-11-11 02:01:34 +00:00
zkldi 8db352f48e Refactor config to use TachiConfig for metainfo 2021-11-05 04:51:05 +00:00
zkldi 3c73495011 Add password reset flow under /v1/auth 2021-09-07 17:40:26 +01:00
zkldi 45cfd4745e OAuth2 Support. 2021-09-03 10:57:44 +01:00
zkldi 3b03f1c506 Change /:ugpt to retrieve all ranking infos 2021-09-02 15:59:54 +01:00
zkldi ed9ab34f28 Fix linter errors 2021-08-26 14:01:23 +01:00
zkldi 466b2dd64e Add PATCH /users/:userID endpoint 2021-08-22 06:07:43 +01:00
zkldi 0e9e076ea3 Add and support reauth calls for KAI type APIs
Fixes #271
2021-08-11 21:36:13 +01:00
zkldi 1881374b54 Fix a bunch of linter issues 2021-08-11 04:09:44 +01:00
zkldi 95a9b63ccf Kai-API dan retrieving (and MIN support)
Fixes #246
2021-08-11 03:34:43 +01:00
zkldi 5a6a334e69 Config Code refactor 2021-07-31 01:54:33 +01:00
zkldi 8baa8dc37a Refactor entire repo to use baseUrl "/src"
Fixes #219
2021-07-28 23:53:05 +01:00
zkldi a962f3dfec Fix critical accident in RequestLoggerMiddleware 2021-07-23 19:10:32 +01:00
zkldi 652333d3b4 Massive Update to sync with client 2021-07-21 04:51:31 +01:00
zkldi 2cc916ff40 refactor pbs router and create scores api 2021-06-26 15:16:33 +01:00
zkldi de9d6b8914 Fixes Game + Playtype APIs #194 2021-06-24 16:08:03 +01:00
zkldi f4c32aa201 Various cleanup for new type refactors 2021-06-20 18:36:10 +01:00
zkldi 08a511cfd1 fix utils/misc.ts to use new config 2021-06-20 15:34:04 +01:00