Commit Graph
818 Commits
Author SHA1 Message Date
zkldi 8fef60c065 Return null for unofficial usc charts. 2021-09-02 23:42:17 +01:00
zkldi 9131ae8f01 Pass logger in fer_static aswell 2021-09-02 17:43:47 +01:00
zkldi fc274ea5c2 Support DP randoms and add test cases 2021-09-02 17:06:28 +01:00
zkldi 7ae2208869 Add style_2p and some warning messages 2021-09-02 16:58:38 +01:00
zkldi 62f62bd24c Make tests honor unique usernamelowercase index 2021-09-02 16:34:15 +01:00
zkldi 2f60ae20c4 User settings changes should also mutate sessions 2021-09-02 16:29:22 +01:00
zkldi 25461e4292 User settings mutates session and now requires selfkey auth 2021-09-02 16:25:29 +01:00
zkldi ed8b925ed6 add unique indexes for usernames 2021-09-02 16:25:12 +01:00
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 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 6e286c7e59 Add regression tests 2021-08-25 21:22:47 +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 ad9c0bcad2 remove rates in correspondance with ktcommon changes 2021-08-22 07:19:15 +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 f28f47e1cb Fix failing tests due to API changes 2021-08-21 04:27:55 +01:00
zkldi 9593e5456e Fix Rate Limit should be server configurable #298 2021-08-21 04:07:24 +01:00
zkldi cf91d1264d usc gauge is between 0 and 1. 2021-08-21 03:46:26 +01:00
zkldi 12f1796d3c Move BatchManual declarations to tachi-common 2021-08-21 01:58:14 +01:00
zkldi 421a7f1b49 Fix bug related to new typescript error casting 2021-08-21 01:54:44 +01:00
zkldi 2e4bd5515f Create Database Migration Scripts 2021-08-21 01:52:21 +01:00