Commit Graph
983 Commits
Author SHA1 Message Date
zkldi ef1df10d8f Assign user info from JWT if present 2021-09-02 16:08:26 +01:00
zkldi f988e5af09 Bump tests 2021-09-02 16:02:22 +01:00
zkldi 4ccc342832 remove unused gptConfig 2021-09-02 16:00:08 +01:00
zkldi 3b03f1c506 Change /:ugpt to retrieve all ranking infos 2021-09-02 15:59:54 +01:00
zkldi dce6b6e20a Refactor GetUsersRankingAndOutOf 2021-09-02 15:58:42 +01:00
zkldi bba646af26 Implement Alg mode for /pbs/best 2021-09-02 15:58:23 +01:00
zkldi 42bf93e840 Small linter fix 2021-09-02 15:29:38 +01:00
zkldi b79804d273 Fixing Random Test Failure (#309)
* Test 1: Async Wrapping

* Revert "Test 1: Async Wrapping"

This reverts commit 8f0e0d283686d367e18275684cc7858af0538515.

* Pin github actions node version to the same as ours

* Revert "Pin github actions node version to the same as ours"

This reverts commit 3758ee05ef5647f608ef3fd1c85b88eb97e3f077.

* Move lint step to after running tests

* add a NO_CONSOLE config option

* temporarily set log level to debug

* Enable more mongodb logging in testing

* Experimentally bundle before script into SPT.

* run without any before

* Revert "Experimentally bundle before script into SPT."

* Revert "Enable more mongodb logging in testing"

This reverts commit c11f918c850dc53cb49b262cb0b51141ac132aab.

* Fix missing import

* Re add the mongodb logging

* Set LOG_LEVEL back to reasonable levels

* Increase timeouts for mongo and redis connections

* Change how codecov works

* Use ServerSelectionTimeoutMS instead of connect

* pls?

* Bump TAP Timeout to 4 minutes, which we'll probably never hit.
2021-09-01 06:26:37 +01:00
zkldi 0818f4d812 Add global user settings
Fixes #305
2021-08-31 21:11:23 +01:00
zkldi 7edb0f0779 Remove nonsense comment in CalculateKTRating 2021-08-31 01:32:00 +01:00
zkldi c08cabc33b Humanise success message in PUT /showcase 2021-08-31 01:01:08 +01:00
zkldi 2d47e6ed89 Define OPTIONS_ALWAYS_SUCCEEDS for development purposes 2021-08-30 20:38:09 +01:00
zkldi 6048273e52 rename local-cdn to test-cdn in test.conf.json5 2021-08-30 20:34:24 +01:00
zkldi 41a0eeea4e Accidentally broke a couple tests, sorry! 2021-08-30 02:18:30 +01:00
zkldi a677f89e6c rename value to result 2021-08-30 01:44:56 +01:00
zkldi 4cddd5594c fix test property names 2021-08-30 01:33:10 +01:00
zkldi 1ae2f42588 Fix naming bug with prop and property 2021-08-30 01:32:53 +01:00
zkldi d6b5a121d7 Revert "BP PB Should also set the hitMeta.comboBreak prop."
This reverts commit c68379a13b.
2021-08-29 22:21:19 +01:00
zkldi c68379a13b BP PB Should also set the hitMeta.comboBreak prop. 2021-08-29 21:53:08 +01:00
zkldi fa555aa9a3 Get ranking in /users/:userID/stats 2021-08-27 23:27:28 +01:00
zkldi 0273add081 add dump.rdb to gitignore 2021-08-27 23:27:17 +01:00
zkldi 33ea645c4e gitignore Local-CDN 2021-08-27 07:27:13 +01:00
zkldi 8eba6a231e Improve running own CDN message 2021-08-26 18:08:14 +01:00
zkldi de7a8c3ff4 Fix bug where users could set their about me to null. 2021-08-26 14:04:50 +01:00
zkldi ed9ab34f28 Fix linter errors 2021-08-26 14:01:23 +01:00
zkldi 8a7ba16717 Fix formatting issues 2021-08-26 13:43:10 +01:00
zkldi 04776732eb Strip unused closeconnections 2021-08-26 13:42:47 +01:00
zkldi 8aabc33adf Hoist t.teardown calls to the single-process-tap script 2021-08-26 03:42:06 +01:00
zkldi 97cb89793a Fix improper NODE_PATH dirname setting 2021-08-26 03:29:23 +01:00
zkldi 0c98298afe bind node_path properly 2021-08-26 03:16:24 +01:00
zkldi a93defaf65 Refactor tap to use Single-Process-TAP 2021-08-26 03:06:29 +01:00
zkldi 86a5d669f7 add .pnpm-debug.log to gitignore 2021-08-25 21:56:57 +01:00
zkldi d30661f688 Remove accidentally committed debug file 2021-08-25 21:56:35 +01:00
zkldi 6e286c7e59 Add regression tests 2021-08-25 21:22:47 +01:00
zkldi 0837ed3fdd Tidy up IIDX migration script to use fervidex deaths 2021-08-25 21:16:18 +01:00
zkldi 0f8e00b988 Failing on fervidex will save scores with minBP instead of maxBP
Fixes #292
2021-08-25 20:49:58 +01:00
zkldi e7945d8f9e Improve inconsistent formatting in api/v1/status router 2021-08-23 20:03:28 +01:00
zkldi fb2007eaa5 Cleaning up unused gitignore rules
Going to take this PR as an opportunity to clean up the rest of the .gitignore while we're at it.
2021-08-22 18:47:10 +01:00
Noah Heague 8825008f32 Removed IDE Specific files from git 2021-08-22 17:30:53 +10:00
zkldi baea77ccad Merge pull request #299 from zkldi/zkldi/issue-277-Database-Migration
Fixes #294
Fixes #277
Fixes #296
Fixes #123
2021-08-22 07:42:28 +01:00
zkldi ad9c0bcad2 remove rates in correspondance with ktcommon changes 2021-08-22 07:19:15 +01:00
zkldi ccd71dfca7 Improve formatting in README 2021-08-22 07:18:14 +01:00
zkldi 7fee9abb96 Fix indentation 2021-08-22 07:11:36 +01:00
zkldi b99941c569 Open Sourcing...
Formal stuff!
2021-08-22 07:09:46 +01:00
zkldi 2a5051b1c4 Add stable session porting script 2021-08-22 06:53:31 +01:00
zkldi 466b2dd64e Add PATCH /users/:userID endpoint 2021-08-22 06:07:43 +01:00
zkldi 48a98b2ae1 Add score history endpoints 2021-08-21 07:45:00 +01:00
zkldi 00a7feead7 add inGameID to charts-museca script 2021-08-21 04:51:44 +01:00
zkldi 2beb01bf3a bump tachi-common 2021-08-21 04:50:52 +01:00
zkldi f28f47e1cb Fix failing tests due to API changes 2021-08-21 04:27:55 +01:00