Commit Graph

5694 Commits

Author SHA1 Message Date
Rory& 75506ff246 Merge remote-tracking branch 'aldproductions/rename-unused-rights' 2026-07-05 00:17:58 +02:00
ald_productions 1cfe3bee62 Add comments explaining what each unused right used to be 2026-07-04 14:53:36 -07:00
ald_productions d5f49f84c3 Remove unused flags to make them easier to split and filter out
Methodology: A flag was considered unused if it was exclusively mentioned in deffinitions and the "DiscordLike" flag list. If a flag was seen being used anywhere else in the code, it was left as-is.
2026-07-04 10:15:20 -07:00
Rory& 969bc99c10 Update C# outputs.nix to include API models 2026-07-03 16:15:44 +02:00
Rory& 066e9863d6 Update C# db models 2026-07-03 15:51:18 +02:00
Rory& 26485273c7 Fix migration for app commands version 2026-07-03 15:49:08 +02:00
Rory& 04f83f980c Let typeorm have its fun the rest of the way 2026-07-03 15:44:42 +02:00
Rory& d58aab06a7 Fix constraint names 2026-07-03 15:40:47 +02:00
Rory& 635ae3c749 Fix column names for join tables 2026-07-03 15:40:17 +02:00
Rory& 5289d79eb7 Fix some missed column types 2026-07-03 15:39:09 +02:00
Rory& ab077b2de1 Fix instance ban index names 2026-07-03 15:34:07 +02:00
Rory& 3d314c673c Set index names and fix type for instance bans 2026-07-03 15:29:57 +02:00
Rory& 11fa9d2180 Throw proper error when emoji isnt found 2026-07-01 19:46:31 +02:00
Rory& 15dae644a9 Restrict reading of application emojis 2026-07-01 19:46:31 +02:00
Rory& 0e4ac09490 Handle non-existant applications more gracefully 2026-07-01 19:46:31 +02:00
Rory& 1a5ae2a015 Enforce that a given applications emoji set can only be modified by the application itself, or its owner 2026-07-01 19:46:31 +02:00
Rory& f489279633 Update C# db models 2026-07-01 19:46:31 +02:00
Rory& e780079eb0 Add tests for guild/app emojis 2026-07-01 19:46:31 +02:00
Rory& 59a81537e0 Add application emojis implementation based on the guilds one, models 2026-07-01 19:46:31 +02:00
Rory& 6da128bdfd Assert that emoji being updated belongs to the requested guild 2026-07-01 19:46:31 +02:00
Rory& 49c21fb71c Fix import in application entity 2026-07-01 19:46:31 +02:00
Rory& c6e7530b81 Emoji application migration, set explicit foreign key constraint names 2026-07-01 19:46:31 +02:00
Rory& 4368fef1c7 Update package.json to point to the right database.js 2026-07-01 19:46:31 +02:00
Rory& cf6cc9bd22 Adjust emoji source to support app emojis 2026-07-01 19:46:31 +02:00
Rory& a65cbf61f6 Update emoji/application entities to support application emojis 2026-07-01 19:46:31 +02:00
Oh64 36a97a4aca fix user settings patch route 2026-07-01 16:41:40 +02:00
Rory& 53f23a666d Update C# dep lockfiles 2026-06-30 18:52:14 +02:00
Rory& 1dd3825ea0 Various C# continuations 2026-06-30 18:35:29 +02:00
Rory& 472d1159b1 Various tests stuff 2026-06-30 18:34:25 +02:00
Rory& ef454ab70a Dont (re-/)add embeds if message has embed suppressed 2026-06-29 17:39:49 +02:00
Rory& e088421b21 More oauth2 role thingies 2026-06-28 01:25:07 +02:00
Rory& c81cc8ae9d Fix oauth2 not setting role colors 2026-06-28 01:06:20 +02:00
Rory& 673d99051d Guard embedless messages when checking for poll results, add reply tests 2026-06-28 00:54:05 +02:00
CyberL1 73d1ae9e59 refactor: add poll utility 2026-06-26 16:42:33 +02:00
CyberL1 5454898b84 feat: mention poll author 2026-06-26 16:42:33 +02:00
CyberL1 5b0002bb73 chore: remove test console.log 2026-06-26 16:42:33 +02:00
CyberL1 8d5995e5c5 refactor: change # imports into @spacebar/ imports 2026-06-26 16:42:33 +02:00
CyberL1 d34744b140 feat: get non-expired polls on start 2026-06-26 16:42:33 +02:00
CyberL1 fad6cfc043 fix: ddon't turn poll end messages to reply type 2026-06-26 16:42:33 +02:00
CyberL1 caf74417b5 feat: add poll ended messages 2026-06-26 16:42:33 +02:00
CyberL1 74b83801b7 fix: check if message is a poll 2026-06-26 16:42:33 +02:00
CyberL1 4c14bf8dcc fix: ignore null/undefined in where queries 2026-06-26 13:47:07 +02:00
CyberL1 d6c05bdeff check opts not message 2026-06-25 17:56:49 +02:00
CyberL1 8ab688382f fix: check for poll answer limit 2026-06-25 17:56:49 +02:00
CyberL1 68ee917ccf fix: don't send loop over not voted answers 2026-06-25 17:56:49 +02:00
CyberL1 97285d545c feat: send vote poll events 2026-06-25 17:56:49 +02:00
CyberL1 a722705bb9 feat: send a MESSAGE_UPDATE event on manual poll expire 2026-06-25 17:56:49 +02:00
CyberL1 a12224536e feat: add route to expire a poll 2026-06-25 17:56:49 +02:00
CyberL1 c440735e4b feat: add route to get voters for an answer 2026-06-25 17:56:49 +02:00
CyberL1 25aa725ba1 fix: forbid poll editing/creating in non-text channels 2026-06-25 17:56:49 +02:00