Commit Graph
65 Commits
Author SHA1 Message Date
TomatoCake c52d6c49a3 Add new message flags once again 2024-07-05 07:43:50 +02: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
TomatoCakeandMadeline 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
BoryaGamesandMadeline 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 a574284e9f GuildMemberPatch: remove a useless query 2023-12-14 09:36:40 -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 3498ffdc01 prevent put /guilds/id/members/id for others until we have oauth2 scopes impled 2023-08-27 16:54:54 +10:00
Madeline 3eb2338c3e goof 2023-08-12 00:42:14 +10:00
Madeline d06fbcebb8 set rules/updates in guild if we created them 2023-08-12 00:01:00 +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 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 6e47b8e0b3 Send user and roles id array in GET /guilds/:id/members/:id 2023-06-11 00:27:38 +10:00
Madeline e545edad94 Return entire guild object in POST /guilds 2023-05-30 20:09:03 +10:00
CyberL1 6390786018 fix: add return and run prettier 2023-05-13 11:09:52 +02:00
CyberL1 5b3ef06c6b fix: don't create new vanity url when there's no ALIASABLE_NAMES flag 2023-05-10 18:57:04 +02:00
Madeline b438f2b071 Rewrite getRouteDescriptions, fix message route not appearing in openapi spec 2023-04-16 01:51:52 +10:00
Madeline 4ecee6b291 fix typos 2023-04-14 22:26:11 +10:00
Puyodead1 866eb15d90 clusterfuck 2023-04-13 15:44:39 -04:00
Puyodead1 5c0a6f4e55 oapi: fix guild discovery requirements 2023-04-13 15:29:21 -04:00
Puyodead1 c2ce88dee7 guilds 2023-04-13 15:28:41 -04:00
Puyodead1 6b3a3b750f fixing lots of openapi crap 2023-04-13 15:20:10 -04:00
Madeline 3c981b496b don't allow editing @everyone role 2023-04-11 13:51:55 +10:00
Madeline d865528442 Add erkins note 2023-04-11 13:19:26 +10:00
Madeline 7a2a41be3e Don't fetch the entire role relation when counting member ids 2023-04-11 13:17:51 +10:00
Madeline e9ce4ca51b member-counts route 2023-04-11 13:11:19 +10:00
Madeline debfaea866 Use partition func instead + use Promise.all 2023-04-11 12:56:32 +10:00
Madeline 6a148898a5 Remove Member.isInGuildOrFail, as it will always pass ( route permission check ) 2023-04-11 12:33:59 +10:00
Madeline b91fca6d74 prettier 2023-04-11 12:28:16 +10:00
ochen1 f4e172eec2 Add PATCH /guilds/#guild_id/roles/#role_id/member-ids API 2023-04-09 12:38:13 -06:00
ochen1 4a7eb89a72 Fix indentation 2023-04-09 12:36:31 -06:00
ochen1 3c2d07d0b1 Add PATCH /guilds/#guild_id/roles/#role_id/members API
Discord uses this in the Edit Role menu, Manage members tab to update the list of members with the role.
2023-04-09 12:34:45 -06:00
Madeline 095cbf7b20 Remove ALL fosscord mentions 2023-03-31 15:52:33 +11:00
Madeline 698ad90d3e Revert "Merge pull request #1008 from spacebarchat/dev/samuel"
This reverts commit 69ea71aa9e, reversing
changes made to 8b2faf0b18.
2023-03-31 15:26:15 +11:00
Samuel (Flam3rboy) 69ea71aa9e Merge pull request #1008 from spacebarchat/dev/samuel 2023-03-30 18:13:34 +02:00
Madeline 8b2faf0b18 SPACEBAR 2023-03-31 02:15:42 +11:00
Madeline 64e747a4d2 SPACEBAR 2023-03-31 02:05:02 +11:00
Samuel 52f8508b38 fix: missing id in select query 2023-03-18 04:12:16 +01:00
Madeline cc50ebf47b Fix being unable to unset nicknames
Remove unwanted guild profile handler in cdn
Fix rights check for bio/avatars of your own user
2023-02-05 12:35:27 +11:00
Madeline cf04de4add Merge pull request from GHSA-9q7f-pv47-cxp9 2023-02-02 22:22:30 +11:00
Madeline 084dc0be08 Add ESLint (#941)
* Add eslint, switch to lint-staged for precommit

* Fix all ESLint errors

* Update GH workflow to check prettier and eslint
2023-01-20 18:10:47 +11:00
ChrisChrome 70475d8397 Fix a funny security vuln 2023-01-18 12:27:15 -07:00
Madeline 0e7f127ece Script to add license preamble to each file. Also, does that. (#935)
* Add script to automatically add license to each file

* Add license preamble to each file.

* Fix existing preamble detection breaking due to line endings. Git :(

* Prevent license from being added to code with other licenses
2023-01-18 13:05:49 +11:00
Madeline df449169bd Prettier 2023-01-05 17:16:55 +11:00
Madeline a1c07173bb Fix new roles having duplicate positions 2022-12-30 18:07:56 +11:00
Madeline 0aead491dc Fix the roles bug 2022-12-21 15:17:06 +11:00
Puyodead1 b84aa73852 implement guild profiles and fix user profiles 2022-12-19 20:37:59 +11:00