Commit Graph
1025 Commits
Author SHA1 Message Date
zkldi 3d56613ddc Add CSRF Protection 2021-09-04 11:16:05 +01:00
zkldi 9868816c4d Add codeql config file 2021-09-04 10:46:20 +01:00
zkldi fbc3a71408 Enable CodeQL 2021-09-04 10:39:07 +01:00
zkldi ba85741fa3 Fix #303 2021-09-04 10:38:20 +01:00
zkldi a9e73f1bf5 Fix #170 2021-09-04 10:30:18 +01:00
zkldi 6a6469638e Invite Management and Invite Reading for Admins
Fixes #270
2021-09-04 10:08:31 +01:00
zkldi 18b4bd5a48 Email Client
Fixes #320
2021-09-04 06:16:36 +01:00
zkldi 3c2de0fd50 Merge branch 'develop' of https://github.com/zkldi/tachi-server into develop 2021-09-04 04:08:55 +01:00
zkldi a84c3fb010 Add codecov badge 2021-09-04 04:08:53 +01:00
zkldi 61f792d8f9 Update fer profile/submit to honor forceStaticImport 2021-09-04 04:00:59 +01:00
zkldi 075ecef6f3 Change endpoints to control settings instead of cards 2021-09-04 03:56:18 +01:00
zkldi e70e076525 Change all instances of fer-cards to fer-settings 2021-09-04 02:47:39 +01:00
zkldi 9f69089151 Add card filtering on the fervidex endpoints. 2021-09-04 02:39:33 +01:00
zkldi 7360e61386 Fervidex Card Management 2021-09-04 02:31:32 +01:00
zkldi 6442bd0ca5 Add neater prefixes to clientID and clientSecret 2021-09-04 02:25:03 +01:00
zkldi 9aad359673 Add GetAllRankings and change game-stats' return. 2021-09-04 01:20:15 +01:00
zkldi 04e3ae5bec Fix another typo... 2021-09-03 12:13:12 +01:00
zkldi 2653854676 Fix typo 2021-09-03 12:10:54 +01:00
zkldi 45cfd4745e OAuth2 Support. 2021-09-03 10:57:44 +01:00
zkldi b208c2f424 Add oauth2 database collections 2021-09-03 07:29:50 +01:00
zkldi ee1072f922 bump tachi-common 2021-09-03 07:29:38 +01:00
zkldi 21404d18a6 Add API Token managing endpoints. 2021-09-03 07:29:29 +01:00
zkldi 20c3c06055 Add user-private-info migration script 2021-09-03 01:26:48 +01:00
zkldi 33d1fa39d8 Update user migration script 2021-09-03 01:25:12 +01:00
zkldi d79ef3ff0f Update tachi-common type usage in test files 2021-09-03 01:23:41 +01:00
zkldi 289487e61e Remove unused schema 2021-09-03 01:23:09 +01:00
zkldi 8db6b8d466 Add index for user-private-information 2021-09-03 01:23:02 +01:00
zkldi 093d6efaea Refactor test data to use new users layout 2021-09-03 01:22:50 +01:00
zkldi e14527e367 Refactor user authentication to not use PrivateUserDocuments 2021-09-03 01:14:56 +01:00
zkldi cce36fa1da Bump Tachi-common 2021-09-03 01:14:40 +01:00
zkldi 5decf66d4e Ignore test-cdn files 2021-09-03 01:14:35 +01:00
zkldi b0e61358d1 Move Databases type from tachi-common to tachi-server 2021-09-03 00:53:48 +01:00
zkldi ce6c28b89f Reject CN/HCN mode scores. 2021-09-02 23:49:07 +01:00
zkldi 8fef60c065 Return null for unofficial usc charts. 2021-09-02 23:42:17 +01:00
zkldi ebfb0e8284 Update _README 2021-09-02 23:13:22 +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