377 Commits

Author SHA1 Message Date
Cyber
b682f170b9 fix: return an error on username change with no password 2024-07-28 20:48:06 +10:00
TomatoCake
481cf38373 Fix sort order when using ?around 2024-07-28 15:22:44 +10:00
aintDatCap
e4a14d659a Refactored max limit for bulk-bans from AbsoluteRateLimits to GuildLimits as suggested by @devtomatocake 2024-07-24 19:22:40 +02:00
aintDatCap
5a20924477 Implemented proposal described in the issue #1122 2024-07-24 19:06:12 +02:00
TomatoCake
d79669f771
Merge branch 'master' into feat/local-image-proxy 2024-07-18 16:08:06 +02:00
TomatoCake
4b1e9ba851 Prettier 2024-07-18 15:36:00 +02:00
TomatoCake
adc3474216 Consistent relations, url property, src channel 2024-07-18 15:35:10 +02:00
TomatoCake
873107f90d Perms for GET webhook, url property 2024-07-18 15:16:50 +02:00
TomatoCake
15a2e57b05 Prettier & fix merge util/handlers/Message 2024-07-18 14:42:22 +02:00
TomatoCake
128b81bc6a Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server into feat/webhooks-3 2024-07-18 14:41:14 +02:00
TomatoCake
6be3714593 Fix ESLint & prettier 2024-07-18 12:52:00 +02:00
TomatoCake
e7a98b6c46 webhook fixes & username/avatar property for msg 2024-07-18 12:42:07 +02:00
TomatoCake
d3ece937e6 Make channel ID optional when replying 2024-07-17 20:34:09 +10:00
Cyber
01ca7b7736 feat: badges 2024-07-17 19:55:29 +10:00
TomatoCake
2f679fda5d Support apng & webm 2024-07-17 19:55:03 +10:00
TomatoCake
0096938d36 Support proper "animated" property for emojis 2024-07-17 19:55:03 +10:00
TomatoCake
c4469a53e7 Move route to api/connections 2024-07-17 19:53:31 +10:00
TomatoCake
d56ba86851 Update schema & add response type 2024-07-17 19:53:31 +10:00
TomatoCake
216b7ff31b Add /policies/instance/connections 2024-07-17 19:53:31 +10:00
Cyber
7698a15f03 fix: check for message components 2024-07-09 17:19:28 +02:00
Cyber
21579b11cd fix: poll message is not an empty message 2024-07-09 16:02:11 +02:00
TomatoCake
9b02e82614 Make poll a single object instead of an array 2024-07-09 22:58:10 +10:00
Madeline
4fb7ad9b37
Merge pull request #1137 from DEVTomatoCake/fix/cdn-proxy-path 2024-07-09 15:31:26 +10:00
Madeline
4774bae7c6
Merge branch 'master' into feat/new-msg-props 2024-07-09 15:29:16 +10:00
Madeline
35c9a09ea5
fix poll in msg create schema 2024-07-09 15:27:24 +10:00
TomatoCake
4a042d0188
Merge branch 'master' into fix/cdn-proxy-path 2024-07-09 05:04:29 +02:00
Puyodead1
bc432a4325
add email verification page 2024-07-08 22:30:41 -04:00
Puyodead1
629451bbfd
fix incorrect error field 2024-07-08 22:10:50 -04:00
TomatoCake
8358755eeb Increase minimum char count 2024-07-06 16:02:21 +02:00
TomatoCake
ba1ec9cab4 Fix msg attachment proxy_url when using paths 2024-07-06 15:57:56 +02:00
TomatoCake
c52d6c49a3 Add new message flags once again 2024-07-05 07:43:50 +02:00
TomatoCake
0ac8888d41 Don't embed links in <> 2024-07-04 09:41:46 +10:00
TomatoCake
6ca12cb7fb Sort /channels for gateway consistency 2024-07-04 09:41:23 +10:00
TomatoCake
e116e93693 Add <Channel>.position to public endpoints 2024-07-04 09:41:23 +10: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
951ed00805
Merge branch 'master' into feat/local-image-proxy 2024-06-28 10:17:31 +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
TomatoCake
aa412e0e60 Remove parent for childs on category deletion 2024-06-05 21:59:29 +02:00
TomatoCake
9e1ec8a673
Ban API compat & Bulk Ban endpoint (#1120)
Co-authored-by: Madeline <46743919+MaddyUnderStars@users.noreply.github.com>
2024-06-05 15:19:30 +10:00
Madeline
a3a28f522f
prettier 2024-06-05 15:17:20 +10:00
TomatoCake
ea523d06b7 Fix lint: let -> const 2024-06-05 07:05:30 +02:00
TomatoCake
92dea0e89c Add Bulk Ban endpoint
- /:guild_id/bulk-ban endpoint
- Support multiple required permissions for endpoints (untested as I don't know where those are set)
- New API error BULK_BAN_FAILED
2024-06-05 06:27:39 +02:00
TomatoCake
631788537c API /:guild_id/bans compat
- Fix GET Ban using "ban"/"user" instead of "user_id" in params, making it unusable
- Return a processed user object instead of the raw DB one
- Silently ignore already banned users to prevent duplicate bans in the DB
- Return HTTP 204 on successful bans instead of the raw DB ban object
2024-06-05 06:01:44 +02:00
BoryaGames
3eb5a3f420
Fix application icons (#1110)
Co-authored-by: Madeline <46743919+MaddyUnderStars@users.noreply.github.com>
2024-02-11 10:39:09 +11:00