30 Commits

Author SHA1 Message Date
root
336b2df1d7 Fixed errors in authorization for webhooks with tokens 2025-03-23 16:28:25 -07:00
dank074
f499507698 turn off eslint rules causing issues 2024-11-13 19:05:54 -06: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
Puyodead1
99d9bf563f
Start implementing webhooks 2023-12-10 17:02:27 -05:00
Puyodead1
033e2108e7
Fix some linting warnings 2023-08-06 22:51:34 -04:00
Madeline
f1f68c3d31
refactor checkToken 2023-07-28 09:26:18 +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 69ea71aa9e0bd2e5a98904a66fba0ad3745707cb, reversing
changes made to 8b2faf0b18336e5dff1eeff4e849bcfd96b09e88.
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
810f5dd84c perf: cache jwt secret as key 2023-03-17 17:47:43 +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
Puyodead1
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
TheArcaneBrony
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
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
f44f5d7ac2 Refactor to mono-repo + upgrade packages 2022-09-25 23:35:18 +10:00