Rory&
dae26ded20
Make CDN signature logging opt-in, log stack when both path and url are provided
2025-07-06 18:03:17 +02:00
Rory&
b590482bfb
Prettier
2025-07-06 18:03:17 +02:00
Rory&
199a518092
Resolve eslint errors
2025-07-06 18:03:17 +02:00
Rory&
2e196573ea
Make IP/user-agent validation in CDN work
2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
8bf45dcdc1
use prototype when signing message
2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
4395648c5b
dont duplicate urls
2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
c2497808dc
include rest of attachment when signing
2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
387cef269a
Sign media per user
2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
8922ca1518
Add ip?
2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
d6a5504e55
More logging
2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
f18c85a6b6
log signed ip addr
2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
0be56adcf4
Log signing errors
2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
0e0da6d722
Add options to erquire IP or User Agent to access CDN
2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
fca7953a51
Update some dependencies, fix nix
2025-07-02 15:54:23 +02:00
Zane Helton
33fde3bc4a
Fix the creation of guilds from templates
...
The biggest hold-up was missing fields (`premium_tier`,
`welcome_screen`, etc.) but it looks like someone has provided a
helpful function called `createGuild(...)` to provide sensible default
values.
This commit fixes the errors related to creating a guild from a
template. I've also refactored the code to include roles and channels in
the template.
To make sure that the @everyone role is cloned correctly, when
creating the guild from a template, we check if the role's ID
matches the template's `source_guild_id`. If it does, we set the
@everyone role to the new guild's ID.
2025-06-29 13:27:14 +10:00
Zane Helton
0166bbf12a
Make ban reason nullable
...
Resolves : #1276
2025-06-29 13:24:26 +10:00
Zane Helton
f9cfb46e73
Fix various issues with embeds on message updates
...
The `postHandleMessage` function is parsing links and adding them to the
EmbedCache table if necessary. In the previous implementation, message
updates would push to the embeds unconditionally.
This commit parses links from the message and:
1. Normalizes the URLs
- Useful for deduplicating similar URLs
2. Remove embeds with matching normalized URLs
- Leaves all embeds except for ones with a `.url` property matching
the updated message
- This allows embeds to be re-ordered if the URL is moved
3. If no normalized URLs are found, remove all embeds
4. Take the deduplicated + normalized URLs and add an embed to the message and
insert into the EmbedCache table (if necessary)
This enables:
1. Embeds to be re-ordered by re-ordering links
2. Embeds to be removed by removing links
and fixes:
1. Duplicate embeds being attached to a message when edited
2025-06-28 18:30:52 +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
5488874476
delete the null eater
2025-05-28 08:46:35 +02:00
MathMan05
af70a7f21b
channel is nullable fixes
2025-05-28 08:46:35 +02:00
Puyodead1
080b2c7d38
Implement signed cdn urls
2025-05-03 12:30:22 +02:00
dank074
0ed7a8af77
add ophandler for GuildSubscriptionsBulk message
2025-04-12 05:01:37 -05:00
root
541af2045d
Added better user configuration and removed extra logging
2025-03-25 11:15:14 -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
Puyodead1
0fffa7f313
Merge pull request #1217 from SupremeMortal/fix/message-ack
...
Add missing fields to `MessageAcknowledgeSchema`
2025-03-23 14:21:43 -04:00
root
c2c34039d3
added updates to sync with djs webhook packet
2025-03-20 09:09:34 -07:00
root
39af71131a
modified webhooks to match djs webhook send format
2025-03-20 08:33:16 -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
Madeline
841b36112f
Merge pull request #1232 from dank074/patch/eslintConfig
2024-11-14 16:02:00 +11:00
dank074
bcbd8234e5
fix op 8
2024-11-13 19:59:57 -06:00
dank074
f499507698
turn off eslint rules causing issues
2024-11-13 19:05:54 -06:00
Emma [it/its]@Rory&
40b356ecdf
Add express trustedProxy support
2024-10-30 16:28:57 +01:00
Emma [it/its]@Rory&
e0d0022675
Update sentry to latest
2024-10-30 00:32:59 +01:00
Emma [it/its]@Rory&
168758924c
Update some patches, switch to node-fetch-commonjs, more updates
2024-10-28 00:32:15 +01:00
SupremeMortal
12eab21c83
Add missing fields to MessageAcknowledgeSchema
...
I'm not entirely sure what these fields do, but I've added them to make the client happy.
2024-09-15 17:42:23 +01:00
SupremeMortal
79eb8b6785
Add guild_template_code to GuildCreateSchema
...
Fixes guild creation due to additional property error.
2024-09-14 22:01:46 +01:00
TomatoCake
73ceee4ab0
Fix new app property migration disallowing NULL
2024-08-31 12:17:02 +02:00
TomatoCake
e807037145
Add more application properties
2024-08-31 11:04:18 +02:00
TomatoCake
b216c72bda
Fixes for password, mfa code & email validation
2024-08-29 10:40:18 +02:00
TomatoCake
eca4f1b56c
Listing & creation of Developer Portal teams
2024-08-24 07:37:34 +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
9bcc178093
Merge pull request #1178 from DEVTomatoCake/fix/1154-mysql-charset
2024-08-22 10:09:18 +10:00
Madeline
ad2dda63c9
Merge branch 'master' into fix/widget.json-channel-ordering-deleted-channels
2024-08-22 09:53:34 +10:00
Madeline
dbd93bdd7c
Merge pull request #1126 from DEVTomatoCake/feat/local-image-proxy
2024-08-19 16:38:03 +10:00
Cyber
2212a84ded
fix: nickmane reset by command
2024-08-19 08:10:19 +02:00
TomatoCake
e24297b67c
Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server into feat/local-image-proxy
2024-08-18 19:00:43 +02:00
TomatoCake
dfbbef3637
"engine" const value shared
2024-08-18 17:58:24 +02:00