Commit Graph

1081 Commits

Author SHA1 Message Date
Rory& e45a3cd680 Enforce that a given applications emoji set can only be modified by the application itself, or its owner 2026-07-01 18:35:25 +02:00
Rory& 2f7c3eb0ee Add application emojis implementation based on the guilds one, models 2026-07-01 15:14:39 +02:00
Rory& 6034b6f201 Assert that emoji being updated belongs to the requested guild 2026-07-01 14:01:29 +02:00
Rory& 5e4c240635 Adjust emoji source to support app emojis 2026-06-30 19:17:54 +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 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
CyberL1 eae999789c feat: set me_voted for poll messages 2026-06-25 17:56:49 +02:00
CyberL1 0efdb5c35a feat: add voting route 2026-06-25 17:56:49 +02:00
CyberL1 305d1d87b2 fix: poll answer id should never be 0 2026-06-25 17:56:49 +02:00
CyberL1 3896b143c6 refactor: group message poll checks under one if 2026-06-25 17:56:49 +02:00
CyberL1 4cf0e48dd0 fix: assign id to poll answers 2026-06-25 17:56:49 +02:00
CyberL1 77124c559b fix: add expiry field to polls in message handling 2026-06-25 17:56:49 +02:00
Rory& edbb6048c1 Delete messages when deleting webhook 2026-06-17 22:51:39 +02:00
Rory& 9915727ccd Routes: reduce scope of api imports to api/util 2026-06-17 02:34:50 +02:00
Rory& 4aceae2bed Clean up some imports to make API work again 2026-06-17 02:17:59 +02:00
Rory& 4c25f84431 extensions/String: use custom exception type 2026-06-17 01:48:23 +02:00
Rory& 9bb2c437cf Authentication: allow - in webhook token 2026-06-16 17:59:23 +02:00
Rory& e97c1820b7 Fix import 2026-06-16 03:33:11 +02:00
Rory& 6e0f571b35 Signify some imports more explicitly 2026-06-16 02:47:03 +02:00
Rory& 92f4099b82 Move random string to Random class in extensions 2026-06-16 02:39:15 +02:00
Rory& 4b27ee46d6 Dont fetch roles if role id set is empty 2026-06-16 01:09:56 +02:00
Rory& 89d81432d3 Dont fetch roles for non-guild mesages 2026-06-16 01:03:20 +02:00
Rory& e1de08a4d4 Account for channel id when deleting messages 2026-06-16 00:29:47 +02:00
Rory& 42406c1838 Replace APIRole with schema 2026-06-13 20:37:26 +02:00
Rory& 6995aa7f74 Split config/response voice regions, remove APIVoiceRegion alias 2026-06-13 01:57:19 +02:00
Rory& 92f25c3a22 HACKHACK: Migrate to typeorm v1.0.0, still work to do in actually updating all the queries properly 2026-06-13 01:10:59 +02:00
Rory& a437f0a64e api/widget: dont import the entirety of the CDN server 2026-06-12 17:58:18 +02:00
Rory& 03ecae4348 Move more extensions to extensions 2026-06-12 17:58:18 +02:00
Rory& c77d00e243 Move entities to database 2026-06-12 17:58:18 +02:00
Rory& 6821fe0513 Move database to toplevel 2026-06-12 17:58:18 +02:00
Rory& 2c1be0fa53 Use subpath imports for lambert-server, fix openapi.js 2026-06-12 17:58:18 +02:00
Rory& d84b8707ee Allow subpath imports, move extensions to separate module 2026-06-12 17:58:18 +02:00