Commit graph

76 commits

Author SHA1 Message Date
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
b7f90db20a Fix reply preview "undefined" on embed description 2023-10-14 19:27:45 +13:00
1016fb1d67 Always use OOYE bot to send thread start context 2023-10-14 17:23:55 +13:00
d9d672bffd d->m: Make role mentions really pretty 2023-10-14 02:15:21 +13:00
67305bb636 Allow m.notice (embeds) to be edited 2023-10-13 21:32:42 +13:00
61ac535995 d->m fix replying to matrix user in thread 2023-10-13 02:05:44 +13:00
48d69c0539 Start work on pinned events 2023-10-10 17:41:53 +13:00
bf0691f9bb Refactor reaction removals and add tests 2023-10-10 14:03:53 +13:00
dc92dc0b69 Annotate crossposted messages with their origin 2023-10-10 11:29:27 +13:00
7790d98c66 Fix bridging interaction responses and edits 2023-10-10 11:23:51 +13:00
0e56255f82 Improve code coverage 2023-10-07 22:47:31 +13:00
e3b2c844d8 Fix emoji_id references and add tests 2023-10-07 20:58:46 +13:00
ef15c850dd Promote another event if part = 0 is redacted 2023-10-06 16:50:23 +13:00
475cd5b724 Add new WHERE feature to my funny orm 2023-10-06 12:31:10 +13:00
28abdac5b6 Alter SQL column names to be distinct 2023-10-05 12:32:46 +13:00
a49b46381c Fix displayname/display_name discrepancy 2023-10-04 23:23:57 +13:00
5d59717bc3 license nicense 2023-10-02 23:12:03 +13:00
cbc0443837 Include image & video with embeds 2023-10-02 22:42:32 +13:00
49a135485c Regression: Embeds belong in quotes 2023-10-02 22:26:00 +13:00
a56942cf14 Finally get the embed tests passing 2023-10-01 23:55:42 +13:00
ca988af2e0 d->m accept emojis with longer names 2023-09-27 23:24:31 +13:00
d1e3640078 Add Matrix command handler + emoji command 2023-09-27 08:20:18 +13:00
6dcf3a383a make removing single reactions work correctly 2023-09-25 22:20:23 +13:00
b1d959f944 fix tests due to emojis working now 2023-09-21 01:46:07 +12:00
049fc22326 fix the order of fetching emojis for messages 2023-09-21 01:39:21 +12:00
0b5475e9a8 start drafting d->m embed bridging 2023-09-20 16:51:49 +12:00
044ccc08e0 d->m handle emojis we don't know about 2023-09-20 08:03:19 +12:00
92dee012fc refactor custom emoji schema; make reactions work 2023-09-20 00:37:15 +12:00
1657de4eef d->m bridge emojis in messages 2023-09-19 17:43:57 +12:00
94c4b6a262 Add the emoji mapping to the database 2023-09-19 17:20:13 +12:00
807ab899be Copy Discord emojis/stickers to Matrix 2023-09-19 01:45:56 +12:00
79bd0254f0 Finish moving from SQL to New Funny ORM 2023-09-18 22:51:59 +12:00
4e1e590c3a Start moving from SQL to New Funny ORM 2023-09-18 17:46:45 +12:00
d759b5bd90 Add support for Lottie stickers 2023-09-10 21:35:51 +12:00
8b7c47e369 m->d replies: support replying to edits & spoilers 2023-09-08 00:13:25 +12:00
5aef6baaab add migration process for stuff already bridged 2023-09-05 00:59:10 +12:00
49bdbd12ee fix display_name -> displayname 2023-09-04 01:43:12 +12:00
a1be84cb60 upload spoiler attachments as spoilers 2023-09-02 21:45:04 +12:00
6a04f3f798 fixing tests 2023-08-30 15:20:39 +12:00
621a22df01 those code comments were not necessary 2023-08-30 00:38:33 +12:00
c9c22cdf40 d->m bridge other attachments as m.file 2023-08-29 17:08:00 +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
7780ee806a 100% edit-to-changes code coverage 2023-08-26 01:44:50 +12:00
1e9e9685c5 minor code coverage 2023-08-24 17:23:32 +12:00
6d1635539b finally got the thread's early messages working 2023-08-21 23:31:40 +12:00
d666c0aedb attempt to support THREAD_CREATE but it explodes 2023-08-21 08:07:05 +12:00
3436759504 catch up on missed d->m messages when logging in 2023-08-19 22:54:23 +12:00
2d14e84312 update discord-markdown to escape less stuff 2023-08-18 01:22:33 +12:00
e3737997ec test that edits by webhook work 2023-08-17 19:03:09 +12:00
e00eb15f35 support up to 1 space in written mentions 2023-08-17 18:17:53 +12:00