* added config for displaying the keymaps top row
* fixed keysplit for top row
* prettier
* lined up top row properly
Co-authored-by: Miodec <bartnikjack@gmail.com>
* 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>
* aoaoaooao
* different attempts
* figured out the test
* added another test
* redefining next before each function, checking next call count
* removed eslint ignore
* Add new rate limiting flow
* Oops
* Fix nit
* Fix some bugs
* Split key generation functions
* Remove 429
* Change message for root limiter
* Flag 429 and add config
* Add status code config
* Check enabled flag
* Add custom status for ape keys
* Bump coverage
* swapped conditions around
whats the point of checking if the status code is in the array if the whole thing is turned off anyway
Co-authored-by: Miodec <bartnikjack@gmail.com>