Commit Graph

453 Commits

Author SHA1 Message Date
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
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