monkeytype/backend
YummyOreo e794bbd68d
Adds a reset account button to the settings page (#3206) YummyOreo
* adds reset button

* moves it up above the delete button

* i am blind

* i cant move stuff

* adds reset for the profile

* Adds reseting for ape keys, and presets, also adds more resets in the user settings

* Delets all ape keys not just one

* Prevents conflicts for delete endpoints

* changes from reset to deleteAll in ape keys

* Refactors the code to use Promise.all

* adds reloading

* unit tests ape key deletion

* fixes some bugs

* Fixes type o

* More typeo fixes

* Returns nothing for reset user

* Simplifies code

* changes from reset to deleteAll for all but users

* Checks db not the memory

* fixes typo

* fixes the tests

* fixes

* fixes bugs and refactors some code

* adds requireFreshToken to the authentication

* migrates all reseting to the user endpoint

* removes the delete all for ape unit test

* to lazy to make commit message

* parallelize the calls to the db (I think)

* also resetting config

* also resetting discordid and avatar

* using unset

* updated wording

* level 1 message

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-07-06 12:59:40 +02:00
..
__tests__ sending different path to prometheus 2022-07-02 17:39:48 +02:00
private Add new rate limiting flow (#3230) Bruception 2022-06-28 13:45:57 +02:00
redis-scripts Add daily leaderboards (#3023) bruception 2022-05-26 16:30:11 +02:00
src Adds a reset account button to the settings page (#3206) YummyOreo 2022-07-06 12:59:40 +02:00
.gitignore fixed ignore 2022-03-07 14:39:09 +01:00
docker-compose.yml Add docker-compose and instructions to README (#2939) sondrekje 2022-05-05 01:52:17 +02:00
example.env Add docker-compose and instructions to README (#2939) sondrekje 2022-05-05 01:52:17 +02:00
jest-mongodb-config.js Feature/backend test (#2937) sondrekje 2022-05-05 15:19:31 +02:00
jest.config.ts added authentication tests 2022-06-30 01:15:06 +02:00
package-lock.json Add new rate limiting flow (#3230) Bruception 2022-06-28 13:45:57 +02:00
package.json running tests sequentially 2022-06-30 01:33:23 +02:00
setup-tests.ts Add daily leaderboards (#3023) bruception 2022-05-26 16:30:11 +02:00
tsconfig.json Move backend source files into src folder (#2943) 2022-05-05 19:27:00 +02:00