Commit Graph
1931 Commits
Author SHA1 Message Date
zkldi a1bf2a12a0 fix: winston logging callback didn't work 2022-08-16 23:11:51 +01:00
zkldi 72918c8d6a EMERG: Clean up score import jobs after they are ran.
WHY IS THIS NOT THE DEFAULT???

We've been shredding our servers disk and generally getting into
trouble by having redis infinitely balloon up score imports
and then writing them to disk for backup.
we were writing upwards of 200Mbit/s.

Goddamnit bull.
2022-07-24 16:14:46 +01:00
zkldi 80b36feec1 feat(server): clean up cloned /tmp seeds after use 2022-07-23 15:24:33 +01:00
zkldi ea44d1ebd3 feat: make bms-table-sync also sync the meta table 2022-07-23 14:46:59 +01:00
zkldi 96702f7503 refactor: move bms tables to a constant place 2022-07-23 13:42:50 +01:00
zkldi b781775cf6 fix(server): log incorrect usc hit windows 2022-07-22 11:31:13 +01:00
zkldi 37e80b3f41 fix(pb): older scores should beat newer ones in chart leaderboard ties
the existing behaviour was to do the opposite, which was definitely wrong.
2022-07-22 02:48:40 +01:00
zkldi 6b271ec2ee test(server): update weirdly depended on errmsgs 2022-07-21 20:09:45 +01:00
zkldi 11b48cb521 fix: raise batch-manual service char limit to 60 2022-07-21 01:00:42 +01:00
zkldi 91e2dd300a feat(server): add migration script to safely delete beginner scores 2022-07-20 21:57:22 +01:00
zkldi 3120242e94 feat(server): always import dans from /profile/submit, even if force-static-import isn't enabled 2022-07-20 21:39:59 +01:00
zkldi f9f8560923 fix(server): accidentally broken bms test data 2022-07-20 21:36:36 +01:00
zkldi e3c0fc5a8a feat(client): aiRating on UI 2022-07-18 00:55:27 +01:00
zkldi ac00d1bfb3 Merge pull request #602 from TNG-dev/zkldi/issue-601 2022-07-18 00:40:54 +01:00
zkldi ee9faafbc8 test: add regression tests for chunithm SSS 2022-07-17 23:14:50 +01:00
zkldi cd63e5eb4d fix: add logging & error handling for invalid grades
even though this literally shouldn't be possible
2022-07-17 23:02:29 +01:00
zkldi 8d2408575d feat: add migration for jubeat preferredTables 2022-07-17 22:50:35 +01:00
zkldi 6cf723ebe8 fix: revert broken redis nonsense 2022-07-17 21:41:07 +01:00
zkldi 44bd12e7a8 fix: allow 0 length about-mes 2022-07-17 21:39:47 +01:00
zkldi 2d6e5a8acf refactor: trim unecessary server/client deps 2022-07-17 20:00:56 +01:00
zkldi b6003f7e87 refactor: use a util for script exec 2022-07-17 16:17:51 +01:00
zkldi c25ad6345a fix: type checker 2022-07-16 18:27:36 +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 552b430a3d fix: make sync-database-seeds refer to the right repo 2022-07-15 23:40:24 +01:00
zkldi cedfa26612 feat: allow CORS for any no-authed GET request in public 2022-07-12 12:49:29 +01:00
zkldi e55a0eb129 fix: get tachi-server to atleast boot and sync with common 2022-07-04 02:15:43 +01:00
zkldi 0bf635754e test: add regression tests for players endpoint 2022-07-03 13:10:07 +01:00
zkldi 02964e6519 feat: add endpoint for fetching GPT players 2022-07-03 13:00:04 +01:00
zkldi 87b8d331e1 test: fix noncompiling tests 2022-06-29 23:43:29 +01:00
zkldi 0b57ed5b75 feat: autosync ai table and refactor local jobs a bit 2022-06-26 17:02:13 +01:00
tachi-seeds e334aa0def feat: reject 14k keyboard scores 2022-06-26 15:11:51 +01:00
tachi-seeds c0d5d40944 fix: refactor process.exit(1) calls to run after logger flushes
https://stackoverflow.com/questions/18771707/how-to-flush-winston-logs
2022-06-22 11:55:16 +01:00
zkldi eced221664 docs: document sleep 1 call 2022-06-21 22:38:02 +01:00
Kiam 93d02c9a5f Merge pull request #731 from TNG-dev/zkldi/issue-730 2022-06-21 22:29:40 +01:00
zkldi de333a9a4b test: properly mock .text() on JSON fetches. 2022-06-21 22:21:03 +01:00
zkldi 0b0b128317 feat: add support for git backsyncing 2022-06-21 22:17:53 +01:00
zkldi a752af50f7 fix: log returned text in traversekaiapi if response was invalid json 2022-06-21 21:51:33 +01:00
zkldi b53550a59c test: bump tests to /6/ 2022-06-21 21:48:20 +01:00
zkldi 6ee8c30ae8 feat: bump arc support to exceed gear 2022-06-21 21:48:02 +01:00
zkldi 93a198c969 test: fix non compiling tests 2022-06-12 21:33:37 +01:00
zkldi 3ceff70dd7 fix: re add throwing to genericCalcPercent 2022-06-12 21:33:26 +01:00
zkldi 52ccc5b85e fix: dont save h32/256 if less than 100bpm 2022-06-12 20:55:14 +01:00
zkldi c4b0e29e37 feat: add itgChartHash support to batch-manual 2022-06-12 20:44:42 +01:00
zkldi efab17a015 feat: add itg calculations 2022-06-12 20:44:33 +01:00
zkldi 489237fec3 fix: add proper handling for genericCalcPercent so this never happens in future 2022-06-12 20:44:14 +01:00
zkldi fad7f16f90 refactor: make new games automatically add to db 2022-06-12 20:43:49 +01:00
Kiam 8b9cfe5502 Merge pull request #727 from TNG-dev/zkldi/issue-713 2022-06-11 18:40:38 +01:00
zkldi 0d45c0f894 test: actually add rivals to the users 2022-06-11 18:14:40 +01:00
zkldi 10d451da2b fix: always define __isRival even if user not logged in 2022-06-11 18:05:03 +01:00