310 Commits

Author SHA1 Message Date
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
aa412e0e60 Remove parent for childs on category deletion 2024-06-05 21:59:29 +02: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
sky
864bf75ef2
what the hell erkin 2023-12-15 08:31:00 +02:00
Puyodead1
6a4fd5fbdb
add new right for creating registration tokens 2023-12-14 22:09:25 -05:00
Puyodead1
a574284e9f
GuildMemberPatch: remove a useless query 2023-12-14 09:36:40 -05:00
Puyodead1
99d9bf563f
Start implementing webhooks 2023-12-10 17:02:27 -05:00
Puyodead1
9d266f1dba
ensure client_id is specified in authorize post 2023-12-09 13:39:40 -05:00
Puyodead1
c353c4fd39
ensure client_id is provided in authorize 2023-12-09 13:28:08 -05:00
Rory&
583d9ff407 Fix reacting with custom emojis from same guild requiring USE_EXTERNAL_EMOJIS 2023-12-08 19:48:04 +00:00
Puyodead1
e54879e1fe
messageupdate: fix member not being correct format 2023-12-05 13:22:04 -05:00
Puyodead1
b7c4889c63
fix some message update fields being sent when null 2023-12-05 12:34:46 -05:00
Puyodead1
7cf8c68459
typingstart timestamp needs to be seconds 2023-12-05 11:10:12 -05:00
Puyodead1
7b34c70fb8
fix some issues with discord bot libs 2023-11-29 11:08:35 -05:00
Madeline
6bf4637a03
fucking postgres 2023-10-04 23:48:00 +11:00
Madeline
7795f1b36b
refactor channel positions in guild 2023-10-04 23:40:05 +11:00
Madeline
c802bb9747
Embeds: handle og:sitename 2023-09-16 23:47:32 +10:00
Madeline
e355be8ea3
Fix regression where generic embed handler wouldn't properly send image results 2023-09-16 23:43:23 +10:00
Madeline
add16ab26e
* allow limit=1
* fix GET messages?around order
2023-09-05 23:29:22 +10:00
Puyodead1
8a35664ae6
[fb] remove provider obj, add color 2023-09-03 15:48:55 -04:00