Commit Graph
49 Commits
Author SHA1 Message Date
dank074 f499507698 turn off eslint rules causing issues 2024-11-13 19:05:54 -06:00
Emma [it/its]@Rory& 168758924c Update some patches, switch to node-fetch-commonjs, more updates 2024-10-28 00:32:15 +01:00
TomatoCake 860e636c6e Enforce RegEx no auth routes start 2024-08-30 14:49:27 +02:00
TomatoCake 03c050ae8b Fix HEAD requests for no authorization routes 2024-08-30 14:46:27 +02:00
TomatoCake b73b4e9502 Run prettier 2024-08-25 06:51:30 +02:00
TomatoCake 1bf2424033 Remove auth requirement & fix image path 2024-08-25 06:50:34 +02:00
TomatoCake dc81bcf900 Run prettier 2024-08-24 08:46:04 +02:00
TomatoCake 74f20898a3 Add method to NO_AUTHORIZATION_ROUTES 2024-08-24 08:43:22 +02:00
Madeline 08fc90a879 Merge pull request #1189 from greysilly7/dev/bodyparser 2024-08-22 09:58:08 +10:00
Scott Gould e67b28a57a feat (bodyparser): do proper errors 2024-08-19 00:05:58 -04:00
TomatoCake 16322a8829 Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server into feat/local-image-proxy 2024-08-15 16:00:18 +02:00
TomatoCake 0a40776bb3 Fix build by using ts-ignore 2024-06-28 13:05:03 +02:00
TomatoCake c135de9c86 Fix style + nix? 2024-06-28 12:59:13 +02:00
TomatoCake a987671e4a "Fix" jimp import typings 2024-06-28 12:43:53 +02:00
TomatoCake 16f8a1c7ac Add config value for cache duration 2024-06-28 10:17:24 +02:00
TomatoCake af6e15b9e5 Prettier stuff -.- 2024-06-22 21:06:08 +02:00
TomatoCake 93bb891d79 Fix @ts-expect-error comment after Prettier 2024-06-22 20:50:11 +02:00
TomatoCake e90f8e88c0 Run Prettier (tabs -> spaces???) 2024-06-22 20:43:54 +02:00
TomatoCake 37bd06e142 Add local image proxy using sharp/jimp pkgs 2024-06-22 20:41:43 +02:00
Puyodead1 99d9bf563f Start implementing webhooks 2023-12-10 17:02:27 -05:00
Madeline 08ff93dab0 Send ratelimit headers regardless of if request was blocked (close #1022, close #888) 2023-08-10 19:40:41 +10:00
Puyodead1 033e2108e7 Fix some linting warnings 2023-08-06 22:51:34 -04:00
Madeline d8ba3e16ee switch from il8next-node-fs-backend to il8next-fs-backend 2023-08-07 12:10:12 +10:00
Madeline f1f68c3d31 refactor checkToken 2023-07-28 09:26:18 +10:00
Madeline 164fcc25f3 Fix body-parser errors not being filtered in ErrorHandler middleware 2023-04-16 21:46:50 +10:00
Madeline 218f71b82c Merge branch 'master' into refactor/dev/connections 2023-04-02 10:55:17 +10:00
Madeline 095cbf7b20 Remove ALL fosscord mentions 2023-03-31 15:52:33 +11:00
Madeline 698ad90d3e Revert "Merge pull request #1008 from spacebarchat/dev/samuel"
This reverts commit 69ea71aa9e, reversing
changes made to 8b2faf0b18.
2023-03-31 15:26:15 +11:00
Samuel (Flam3rboy) 69ea71aa9e Merge pull request #1008 from spacebarchat/dev/samuel 2023-03-30 18:13:34 +02:00
Madeline 8b2faf0b18 SPACEBAR 2023-03-31 02:15:42 +11:00
Madeline 64e747a4d2 SPACEBAR 2023-03-31 02:05:02 +11:00
Puyodead1 5a7765c7dc prettier 2023-03-18 19:50:38 -04:00
Puyodead1 21bfda32e4 add connections 2023-03-18 19:09:51 -04:00
Samuel cae6fcc72a fix: request language property 2023-03-17 19:30:54 +01:00
Samuel d086c053bb perf: custom i18next middleware that only initializes when needed 2023-03-17 17:50:59 +01:00
Samuel 810f5dd84c perf: cache jwt secret as key 2023-03-17 17:47:43 +01:00
Samuel 1de0dbe509 build: update dependencies 2023-03-17 16:36:25 +01:00
Puyodead1 05453ec148 implement password reset 2023-02-24 01:54:10 -05:00
Puyodead1 a47d80b255 Email verification works
- 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
2023-02-23 21:35:51 -05:00
Puyodead1andMadeline 709dc7280e Implement WebAuthn (#967)
* implement webauthn

* code review

---------

Co-authored-by: Madeline <46743919+MaddyUnderStars@users.noreply.github.com>
2023-01-30 13:30:42 +11:00
Madeline 084dc0be08 Add ESLint (#941)
* Add eslint, switch to lint-staged for precommit

* Fix all ESLint errors

* Update GH workflow to check prettier and eslint
2023-01-20 18:10:47 +11:00
Madeline 0e7f127ece Script to add license preamble to each file. Also, does that. (#935)
* 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
2023-01-18 13:05:49 +11:00
TheArcaneBronyandMadeline 6122374e4d Dev/post refactor fixes (#927)
* 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>
2023-01-12 23:46:36 +11:00
Madeline ec1c340369 Rename limits_rate_disabled -> limits_rate_enabled and remove limits_guilds_hideOfflineMember 2022-12-22 21:01:29 +11:00
Madeline e991e00f32 Move src-slowcord to own repo https://github.com/MaddyUnderStars/slowcord-services 2022-10-28 15:25:58 +11:00
Madeline 0be1949130 Change android and ios client downloads to use /download endpoint, update Release entity to suck less 2022-10-24 14:35:08 +11:00
Madeline 99ee7e9400 Prettier 2022-09-26 22:41:21 +10:00
Madeline 9c688527ec Rearrange assets a bit, fix anything that uses assets folder 2022-09-26 12:57:36 +10:00
Madeline f44f5d7ac2 Refactor to mono-repo + upgrade packages 2022-09-25 23:35:18 +10:00