summary refs log tree commit diff
path: root/src/api/middlewares (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1008 from spacebarchat/dev/samuelSamuel (Flam3rboy)2023-03-302-23/+53
|\
| * fix: request language propertySamuel2023-03-171-5/+6
| |
| * perf: custom i18next middleware that only initializes when neededSamuel2023-03-171-18/+38
| |
| * perf: cache jwt secret as keySamuel2023-03-171-4/+13
| |
| * build: update dependenciesSamuel2023-03-171-1/+1
| |
* | SPACEBARMadeline2023-03-317-7/+7
| |
* | SPACEBARMadeline2023-03-317-7/+7
|/
* implement password resetPuyodead12023-02-241-0/+2
|
* Email verification worksPuyodead12023-02-231-2/+3
| | | | | | | | - Added /auth/verify to authenticated route whitelist - Updated /auth/verify to properly mark a user as verified, return a response, and fix expiration time check - Implemented /auth/verify/resend - Moved verification email sending to a helper method - Fixed VerifyEmailSchema requiring captcha_key
* Implement WebAuthn (#967)Puyodead12023-01-301-0/+1
| | | | | | | | | * implement webauthn * code review --------- Co-authored-by: Madeline <46743919+MaddyUnderStars@users.noreply.github.com>
* Add ESLint (#941)Madeline2023-01-202-12/+10
| | | | | | | * Add eslint, switch to lint-staged for precommit * Fix all ESLint errors * Update GH workflow to check prettier and eslint
* Script to add license preamble to each file. Also, does that. (#935)Madeline2023-01-187-1/+127
| | | | | | | | | * Add script to automatically add license to each file * Add license preamble to each file. * Fix existing preamble detection breaking due to line endings. Git :( * Prevent license from being added to code with other licenses
* Dev/post refactor fixes (#927)TheArcaneBrony2023-01-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Re-introduce outgoing message logging Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Websocket dumping * Sentry user count on API * Generate session ID upon opening websocket, fix gateway dumps * Async file io in src/gateway/events/Message.ts Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Async file io in src/util/util/Config.ts Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Make pre-commit hook executable Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Fixed sync file io in src/util/util/Config.ts Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Fixed missing await call in src/util/util/AutoUpdate.ts Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Add comment to src/gateway/events/Connection.ts Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Clean up gateway dumping code Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> Co-authored-by: Madeline <46743919+MaddyUnderStars@users.noreply.github.com>
* Rename limits_rate_disabled -> limits_rate_enabled and remove ↵Madeline2022-12-221-2/+2
| | | | limits_guilds_hideOfflineMember
* Move src-slowcord to own repo ↵Madeline2022-10-281-0/+2
| | | | https://github.com/MaddyUnderStars/slowcord-services
* Change android and ios client downloads to use /download endpoint, update ↵Madeline2022-10-241-1/+1
| | | | Release entity to suck less
* PrettierMadeline2022-09-266-35/+107
|
* Rearrange assets a bit, fix anything that uses assets folderMadeline2022-09-261-3/+5
|
* Refactor to mono-repo + upgrade packagesMadeline2022-09-257-0/+392