summary refs log tree commit diff
path: root/src/api/middlewares (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Document why ImageProxy.ts existsRory&2026-04-261-0/+1
|
* eslint: array callback return, no restricted importsRory&2026-04-192-3/+3
|
* NPM updates 2Rory&2026-04-181-1/+0
|
* Fix error logging, dont use simple-arrayRory&2026-04-181-1/+1
|
* CORS: change max age from 5s to 60sRory&2026-03-151-1/+1
|
* minor cleanupRory&2026-03-141-1/+1
|
* properly mark unused paramsRory&2026-03-141-1/+1
|
* make i18next shut upCyberL12026-02-151-0/+1
|
* add rabbitmq reconnection logic with state recoverydank0742026-01-221-4/+16
|
* Include request info in errorsRory&2026-01-131-2/+2
|
* ShieldsRory&2025-12-211-0/+1
|
* Send HTTP 401 on token errorsRory&2025-12-191-0/+3
|
* Avoid re-fetching user if not requesting extra fieldsRory&2025-12-181-3/+8
|
* lintstagedrc: regenerate schemas/openapi if schemas changedRory&2025-12-177-419/+419
|
* Prettier u3Rory&2025-12-171-8/+2
|
* Prettier 7Rory&2025-12-171-6/+1
|
* Prettier 1Rory&2025-12-174-86/+20
|
* Centralise ip info logicRory&2025-12-171-1/+1
|
* Remove device on logoutRory&2025-12-171-2/+2
|
* fix corsRory&2025-12-151-1/+1
|
* Try adjusting CORS rules to make cookies work?Rory&2025-12-132-10/+6
|
* Instance ban stuffRory&2025-12-131-1/+15
|
* Refactor: Replace getIpAddress with req.ipBrajamohanDas-afk2025-12-121-38/+10
|
* Drop node-fetch-commonjs, proxy-agent as deprecatedRory&2025-12-011-1/+0
|
* add fingerprint endpointdoesnm2025-10-201-0/+1
|
* fix: interaction callbackCyberL12025-10-191-1/+1
|
* fix: comment out the route for interactions callbackCyberL12025-10-181-1/+1
|
* feat: interactions (incomplete)CyberL12025-10-171-7/+3
|
* Marshall ajverrorsRory&2025-10-171-1/+3
|
* Update more path variablesRory&2025-10-111-3/+3
|
* Local changesEmma [it/its]@Rory&2025-10-051-0/+4
|
* Drop @sentry/node (Sentry support) - untested and unusedRory&2025-09-291-3/+0
|
* fix an issue with NO_AUTHENTICATE routesPuyodead12025-09-051-6/+17
|
* More cleanupRory&2025-07-271-1/+2
|
* PrettierEmma [it/its]@Rory&2025-04-091-7/+7
|
* Fix dependenciesEmma [it/its]@Rory&2025-04-091-2/+4
|
* Fixed errors in authorization for webhooks with tokensroot2025-03-231-1/+1
|
* turn off eslint rules causing issuesdank0742024-11-131-1/+0
|
* Update some patches, switch to node-fetch-commonjs, more updatesEmma [it/its]@Rory&2024-10-281-1/+1
|
* Enforce RegEx no auth routes startTomatoCake2024-08-301-4/+4
|
* Fix HEAD requests for no authorization routesTomatoCake2024-08-301-4/+10
|
* Run prettierTomatoCake2024-08-252-2/+7
|
* Remove auth requirement & fix image pathTomatoCake2024-08-252-2/+4
|
* Run prettierTomatoCake2024-08-241-1/+2
|
* Add method to NO_AUTHORIZATION_ROUTESTomatoCake2024-08-241-28/+27
|
* Merge pull request #1189 from greysilly7/dev/bodyparserMadeline2024-08-221-2/+22
|\
| * feat (bodyparser): do proper errorsScott Gould2024-08-191-2/+22
| |
* | Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server ↵TomatoCake2024-08-151-2/+2
|\| | | | | | | into feat/local-image-proxy
| * Start implementing webhooksPuyodead12023-12-101-2/+2
| |
* | Fix build by using ts-ignoreTomatoCake2024-06-281-1/+2
| |
* | Fix style + nix?TomatoCake2024-06-281-2/+6
| |
* | "Fix" jimp import typingsTomatoCake2024-06-281-6/+15
| |
* | Add config value for cache durationTomatoCake2024-06-281-4/+5
| |
* | Prettier stuff -.-TomatoCake2024-06-221-4/+6
| |
* | Fix @ts-expect-error comment after PrettierTomatoCake2024-06-221-1/+1
| |
* | Run Prettier (tabs -> spaces???)TomatoCake2024-06-221-21/+41
| |
* | Add local image proxy using sharp/jimp pkgsTomatoCake2024-06-222-0/+144
|/
* 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