384 Commits

Author SHA1 Message Date
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
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
Puyodead1
1612832fc4
add facebook, and add steam fields 2023-09-03 15:28:33 -04:00
Madeline
e64c34adea
Rewrite thumbnail/image generation for embeds 2023-09-03 14:17:11 +10:00
Madeline
fb7409947c
Fix bug in embed handler where getMeta would not return undefined 2023-09-03 13:41:45 +10:00
Madeline
c64a115729
xkcd embed handler and improved generic handler 2023-09-02 23:47:40 +10:00
Madeline
3498ffdc01
prevent put /guilds/id/members/id for others until we have oauth2 scopes impled 2023-08-27 16:54:54 +10:00
Madeline
2cf3833499
remove INVALID_PASSWORD error response. close #1090 2023-08-13 15:18:42 +10:00
Madeline
d18584f8e9
Refactor email sending + remove email verification if mail sending is not set up 2023-08-12 15:36:29 +10:00
Madeline
23e234a87b
update invites endpoints to support latest api 2023-08-12 00:43:00 +10:00
Madeline
3eb2338c3e
goof 2023-08-12 00:42:14 +10:00
Madeline
c0614b18c3
fix min password length check 2023-08-12 00:20:36 +10:00
Madeline
d06fbcebb8
set rules/updates in guild if we created them 2023-08-12 00:01:00 +10:00
Madeline
139d31e938
Merge pull request #1045 from erkinalp/patch-2
Rename the guild feature `INVITES_CLOSED` to `INVITES_DISABLED`
2023-08-11 10:52:15 +10:00
Madeline
326bf08df0
Implement community "create one for me" 2023-08-10 20:37:07 +10:00
Madeline
25099aecb7
Allow enabling welcome screen and check if welcome screen channels exist within the guild (close #998) 2023-08-10 20:33:42 +10:00
Madeline
08ff93dab0
Send ratelimit headers regardless of if request was blocked (close #1022, close #888) 2023-08-10 19:40:41 +10:00
Madeline
6dc9dd5303
fix reversed check in GET messages 2023-08-07 20:31:36 +10:00
Puyodead1
5c8359ec45
Fix connection class imports 2023-08-06 22:56:13 -04:00
Puyodead1
033e2108e7
Fix some linting warnings 2023-08-06 22:51:34 -04:00
Madeline
32c8211984
update proxy-agent 2023-08-07 12:20:02 +10:00
Madeline
d8ba3e16ee
switch from il8next-node-fs-backend to il8next-fs-backend 2023-08-07 12:10:12 +10:00
Madeline
496cfc8ea1
some abaddon compat 2023-07-31 21:00:03 +10:00
Madeline
a0d93fb252
* call toJSON of keys in gateway when using erlpack
* dont send bitrate/etc as null when should be undefined
* set user flags to number instead of string
* send empty 'threads' in identify when not using new state v2
2023-07-29 16:59:21 +10:00
Madeline
a5a6321156
Merge branch 'master' into feat/refactorIdentify 2023-07-28 10:34:36 +10:00
Madeline
4235dec54d
goof 2023-07-28 09:48:03 +10:00
Madeline
08f17f88e7
Fix regression of 5f22faa57b7104ba29a01889a1bafc35b3be4f02 2023-07-28 09:45:13 +10:00
Madeline
f1f68c3d31
refactor checkToken 2023-07-28 09:26:18 +10:00