summary refs log tree commit diff
path: root/src/api/middlewares (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Send ratelimit headers regardless of if request was blocked (close #1022, ↵Madeline2023-08-101-6/+20
| | | | close #888)
* Fix some linting warningsPuyodead12023-08-061-1/+1
|
* switch from il8next-node-fs-backend to il8next-fs-backendMadeline2023-08-071-1/+1
|
* refactor checkTokenMadeline2023-07-281-6/+1
|
* Fix body-parser errors not being filtered in ErrorHandler middlewareMadeline2023-04-161-1/+6
|
* Merge branch 'master' into refactor/dev/connectionsMadeline2023-04-027-19/+19
|\
| * Remove ALL fosscord mentionsMadeline2023-03-313-5/+5
| |
| * Revert "Merge pull request #1008 from spacebarchat/dev/samuel"Madeline2023-03-312-53/+23
| | | | | | | | | | This reverts commit 69ea71aa9e0bd2e5a98904a66fba0ad3745707cb, reversing changes made to 8b2faf0b18336e5dff1eeff4e849bcfd96b09e88.
| * 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
| |/
* | prettierPuyodead12023-03-181-1/+1
| |
* | add connectionsPuyodead12023-03-181-0/+2
|/
* 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