Commit graph

47 commits

Author SHA1 Message Date
9e51482b60 Recover from webhooks being deleted 2024-07-16 16:51:44 +12:00
b6b65992f7 Forward redaction errors to error handler 2024-05-14 23:07:54 +12:00
bce3d0f2c9 Fix reflecting generated embeds 2024-03-19 21:58:48 +13:00
c615ea1e61 Reflect immediately generated link embeds 2024-03-19 15:06:31 +13:00
f5ffc09fab Convert @room to @everyone using permissions 2024-03-07 16:23:23 +13:00
47ac49a855 Rearrange code (self-review) 2024-03-04 17:02:38 +13:00
c5d6c5e4c7 Rearrange testing emoji sheet images 2024-03-04 13:19:50 +13:00
988cb9408d Fix DI on eventToMessage 2024-01-20 23:51:26 +13:00
8e3b674d90 Forget messages/events upon deletion (may fix #18) 2024-01-10 15:48:31 +13:00
cd2e012b8e Fix joining guessed @mentions to room 2023-11-25 23:09:28 +13:00
53a009ca45 m->d: Users who aren't joined can be mentioned
This works by writing @name in the message, where `name` is the username
or displayname of the person in the guild you want to mention. If it
matched, the person will be joined and mentioned on their side.

Unfortunately this requires you to guess the person's name, and may lead
to embarrassment if it doesn't activate as you intended. Good luck!
2023-11-23 13:41:02 +13:00
9c3f1abd3a Upload files to Discord as streams for speed 2023-10-15 00:26:52 +13:00
c24752625d Split part and reaction_part
Now, reactions should always end up on the bottom of a message group,
instead of sometimes being in the middle.
2023-10-14 22:11:29 +13:00
61ac535995 d->m fix replying to matrix user in thread 2023-10-13 02:05:44 +13:00
a925750254 Handling custom emoji reactions is already done 2023-10-06 16:58:44 +13:00
475cd5b724 Add new WHERE feature to my funny orm 2023-10-06 12:31:10 +13:00
53baeb5df7 fix m->d message deletions 2023-10-02 22:10:50 +13:00
56f16901ca silence the bot in unbridged rooms 2023-09-27 23:24:53 +13:00
c1cbdfee82 Other kinds of reaction removals 2023-09-25 23:15:36 +13:00
6dcf3a383a make removing single reactions work correctly 2023-09-25 22:20:23 +13:00
a396e6f596 Bridge the shortcode as part of reactions 2023-09-25 20:19:04 +13:00
8d3ac665c9 Support m->d redacting messages and reactions 2023-09-25 16:26:48 +13:00
49d9d31b30 Support sending unknown mx emojis as sprite sheet 2023-09-24 01:55:47 +12:00
92dee012fc refactor custom emoji schema; make reactions work 2023-09-20 00:37:15 +12:00
79bd0254f0 Finish moving from SQL to New Funny ORM 2023-09-18 22:51:59 +12:00
33dd73f809 add thumbs up reactions to list 2023-09-07 00:55:49 +12:00
be2cdd1186 m->d support encrypted files 2023-09-03 15:40:25 +12:00
6803b156bc m->d files and stickers 2023-09-02 23:28:41 +12:00
5bef9ebfe2 m->d message editing deletion 2023-08-30 13:29:28 +12:00
56fe710392 finalise message editing 2023-08-29 01:31:52 +12:00
53b5438756 add test cases for message edits 2023-08-29 00:05:25 +12:00
fcbb045cbb Improved database schema
- Some queries are faster due to better index ordering
- Database is smaller thanks to splitting message_channel table and
  adding WITHOUT ROWID where helpful
2023-08-28 17:32:55 +12:00
55da70f8fc m->d start coding message edits 2023-08-28 01:30:07 +12:00
7c2fc1536d trying to make reaction emojis consistent 2023-08-26 22:51:42 +12:00
0ea2b4efc9 m->d rich replies 2023-08-26 20:30:22 +12:00
c8021cadec changing spaces to tabs 2023-08-21 21:04:41 +12:00
3436759504 catch up on missed d->m messages when logging in 2023-08-19 22:54:23 +12:00
3f187e8107 see how this different reactions format goes... 2023-08-19 18:41:57 +12:00
0fc8e68f15 support threads 2023-08-19 18:41:57 +12:00
96dd488e39 progress on edits 2023-07-28 17:05:13 +12:00
0f4f404160 store the channel_id on event_message 2023-07-11 08:01:11 +12:00
bd32fe6c6d reactions working 2023-07-05 08:41:15 +12:00
61120d92c6 m2d reactions (untested) 2023-07-04 17:19:17 +12:00
39cdba9f90 bridge both ways and prevent reflections 2023-07-04 00:39:42 +12:00
3578ca28b5 glue 2023-07-03 17:20:24 +12:00
6e55e6d1b3 preparing for m2d 2023-07-03 01:06:05 +12:00
5bd1bc9a5b add webhook creation utility 2023-06-30 15:15:34 +12:00