Commit Graph

242 Commits

Author SHA1 Message Date
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 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 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 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& 4aceae2bed Clean up some imports to make API work again 2026-06-17 02:17:59 +02:00
Rory& 9bb2c437cf Authentication: allow - in webhook token 2026-06-16 17:59:23 +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& 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
Rory& 0573c394cf Use better permissions when handling webhook mentions 2026-06-05 22:59:33 +02:00
Rory& 79e5899dc1 Log silent attachment failures for webhooks 2026-06-05 22:42:59 +02:00
Rory& b8decc64da Break up bulk inserts for read states to avoid postgres parameter exhaustion 2026-05-26 07:48:10 +02:00
Rory& 1fa3d392fa Trace fillInMissingIDs 2026-05-26 07:48:10 +02:00
Rory& 6dda5bd401 Bulk insert missing ReadStates 2026-05-26 07:48:10 +02:00
Rory& bd55ec01e5 No longer handle mention_count == null since its no longer nullable 2026-05-26 07:48:10 +02:00
Rory& 6098a03be4 Use forEach rather than .map.forEach 2026-05-26 07:48:10 +02:00
Rory& 37e393dd60 Add full trace 2026-05-26 07:48:10 +02:00
Rory& 3e86c14539 Use sets for mention roles/users 2026-05-26 07:48:10 +02:00
Rory& 35d1d73f0d Simplify some queries for handling mentions 2026-05-26 07:48:10 +02:00
Rory& 558dc94489 User mentions: use user_id IN (...) rather than user_id = ... OR user_id = ... 2026-05-26 07:48:10 +02:00
Rory& 0304f68980 Move message mention handling to separate function 2026-05-26 07:48:10 +02:00
Rory& 528aa632fa Move email domain lists to assets 2026-04-24 02:32:27 +02:00
Rory& c5504878b8 eslint: yoda 2026-04-19 22:45:37 +02:00
Rory& af29e6b178 eslint: arrow-body-style=as-needed 2026-04-19 22:45:37 +02:00
Rory& 5f8afbc7ae eslint: array callback return, no restricted imports 2026-04-19 22:45:37 +02:00
Rory& a3d8a427aa Split out attachment handling from message handler 2026-04-18 18:26:34 +02:00
Rory& 81d44788c6 Attempt to set channel/message id for attachments in more places 2026-04-18 18:26:34 +02:00
Rory& e40579fe33 handleMessage: set message id for cloud attachments 2026-04-18 18:26:34 +02:00
Rory& 103922e841 Fix attachments 2026-04-18 18:26:34 +02:00
Rory& 1549ea837a Add media1.tenor.com explicitly as image handler 2026-04-14 01:19:11 +02:00
Rory& e0204f76cf Make presence clear async, clean up temp session code 2026-04-13 22:41:57 +02:00
Rory& 53ab01c4e2 EmbedHandlers: more configuration for embeds, switch to storing all returned embeds 2026-03-26 15:14:18 +01:00
Rory& 1ad351559f EmbedHandlers: use youtube handler for youtube music, use OrmUtils.mergeDeep for request options 2026-03-26 12:26:53 +01:00
Rory& daaf6eae28 Embeds: factor out from postMessage 2026-03-26 11:46:48 +01:00
Oh64 7a92946bed make spacebar compile again 2026-03-21 08:27:57 +01:00
Rory& f333e8dadc Message*Event: as->satisfies (WIP) 2026-03-21 08:19:54 +01:00
MathMan05 9043c642cc final pk fixes 2026-03-20 16:31:32 +01:00
MathMan05 ccbe60ffb6 make some corrections 2026-03-20 16:31:32 +01:00