Commit Graph

331 Commits

Author SHA1 Message Date
Zane Helton ff692c19b7 Await guild creation to fix a race condition
`Promise.all(...)` runs these simultaneously, yet role depends on the
guild to be created first. This can lead to a race condition. I've
awaited role creation too because the call to `Member.addToGuild(...)`
relies on the role to be created.
2025-06-29 13:27:14 +10:00
Zane Helton 4772731a17 Fix PATCH Template route implementation
The previous PATCH implementation was creating a new template rather
than editing the existing template. This resulted in all requests
failing because it was missing more than one required field.

Resolves: #1281
2025-06-29 13:25:22 +10:00
Zane Helton c0f9c22e67 Add validation to date_of_birth registration field
Resolves: #1020
2025-06-28 17:08:00 +10:00
dank074 526a8da8f5 add webrtc support (#1284)
Co-authored-by: MaddyUnderStars <46743919+MaddyUnderStars@users.noreply.github.com>
2025-06-22 12:41:13 +10:00
MathMan05 f03c6209a4 send the real index 2025-05-28 08:46:35 +02:00
MathMan05 e219c1a33a code relies on things done in a certain order
This makes sure that the code gets done in the order that is expected
2025-05-28 08:46:35 +02:00
MathMan05 4f6211ce50 remove missed log 2025-05-28 08:46:35 +02:00
MathMan05 04ddfadbb6 sort array to make algorithm happy 2025-05-28 08:46:35 +02:00
MathMan05 91361ea9c6 fix another stupid bug 2025-05-28 08:46:35 +02:00
MathMan05 1550ccd099 don't set possition if sent 2025-05-28 08:46:35 +02:00
MathMan05 246b493d76 remove logs 2025-05-28 08:46:35 +02:00
MathMan05 af70a7f21b channel is nullable fixes 2025-05-28 08:46:35 +02:00
MathMan05 a4c50ae922 forgot to test on rebuild 2025-05-28 08:46:35 +02:00
MathMan05 a9bff7554a fix moving channels 2025-05-28 08:46:35 +02:00
Puyodead1 080b2c7d38 Implement signed cdn urls 2025-05-03 12:30:22 +02:00
dank074 bb84bc83e5 add author to query in pins API 2025-04-09 18:42:56 -05:00
Emma [it/its]@Rory& 126a881f31 Prettier 2025-04-09 16:38:03 +02:00
MathMan05 d267b08ab5 stupid fix 2025-04-03 12:53:03 -05:00
MathMan05 99cc009670 fix password reset bug
Not sure if this'll work, but made a pull so y'all could see the issue
2025-04-03 12:52:11 -05:00
root d8b1a8484c Validate Name for webhooks enforced more 2025-03-25 16:02:47 -07:00
root cabc49a1ba Added can_recover_account value to /api/policies/instance/config 2025-03-25 11:26:36 -07:00
root 541af2045d Added better user configuration and removed extra logging 2025-03-25 11:15:14 -07:00
root d0948c0e49 Updated error message for empty webhook update body 2025-03-24 07:29:56 -07:00
root 859edb9a27 Added Name Validation utility function 2025-03-24 07:26:26 -07:00
root b03888fd62 Merge branch 'master' of https://github.com/spacebarchat/server into update_webhooks 2025-03-23 16:33:24 -07:00
root 336b2df1d7 Fixed errors in authorization for webhooks with tokens 2025-03-23 16:28:25 -07:00
MathMan05 90287748ce Update index.ts 2025-03-23 13:13:03 -05:00
MathMan05 109bf0da7c fix minor bug 2025-03-22 23:03:33 -05:00
root dda930d501 Added in date wrap on generate-registration-tokens.ts 2025-03-19 09:36:13 -07:00
Puyodead1 8c7fabfe40 implement hubs routes 2025-01-07 21:12:43 -05:00
dank074 f5d6394c38 run prettier 2024-11-19 14:19:40 -06:00
Cyber 9384138dd4 Merge branch 'master' into fix/user-profile-colors 2024-11-14 07:58:16 +01:00
dank074 f499507698 turn off eslint rules causing issues 2024-11-13 19:05:54 -06:00
CyberL1 a11f3c0409 fix: return user profile theme colors as numbers 2024-11-12 13:48:52 +01:00
MathMan05 6a0d0f4185 Fix the broken delete API 2024-10-29 17:42:52 -05:00
Emma [it/its]@Rory& 168758924c Update some patches, switch to node-fetch-commonjs, more updates 2024-10-28 00:32:15 +01:00
Cyber 246e80c095 fix: self nick change response 2024-09-03 14:13:52 +02:00
TomatoCake ff1ed0d744 Fix uploading of emojis 2024-09-02 19:39:32 +02:00
TomatoCake e807037145 Add more application properties 2024-08-31 11:04:18 +02:00
Cyber c62748cbf0 fix: display pinned message author 2024-08-28 08:17:54 +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
TomatoCake eca4f1b56c Listing & creation of Developer Portal teams 2024-08-24 07:37:34 +02:00
TomatoCake 73b57750a0 Fix updating vanity URL & retrieving widget.json 2024-08-23 18:01:35 +02:00
TomatoCake e2cf9fd23e Run prettier 2024-08-22 05:33:25 +02:00
TomatoCake 048aae65a5 Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server into fix/guild-create-response-schema 2024-08-22 05:27:38 +02:00
Madeline ad2dda63c9 Merge branch 'master' into fix/widget.json-channel-ordering-deleted-channels 2024-08-22 09:53:34 +10:00
TomatoCake 98c1b93133 Send 204 regardless of user existance 2024-08-21 20:50:42 +02:00
Puyodead1 1b9d75524a Merge pull request #1185 from CyberL1/feat/message-pinned-message
feat: message pinned message
2024-08-18 10:49:47 -04:00
Madeline 20637ffdea Merge pull request #1186 from DEVTomatoCake/fix/consistent-widget-disabled-error
Consistent widget disabled error
2024-08-18 22:44:55 +10:00