Commit graph

416 commits

Author SHA1 Message Date
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
0d9191ed5c m->d support spoilers 2023-08-29 01:37:14 +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
be60f4bf39 add test cases for new reply format 2023-08-28 23:36:03 +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
21156446ee Only use ?ts when backfilling 2023-08-28 16:20:16 +12:00
55da70f8fc m->d start coding message edits 2023-08-28 01:30:07 +12:00
6a03c96984 m->d move reply message preview to own line 2023-08-27 23:25:08 +12:00
1ed40bb5f4 avoid committing the database 2023-08-26 23:29:08 +12:00
cae8d7c2f2 m->d mentioning bridged users and rooms works 2023-08-26 23:22:23 +12:00
58f5c3edf7 m->d underline formatting support 2023-08-26 22:59:22 +12:00
7c2fc1536d trying to make reaction emojis consistent 2023-08-26 22:51:42 +12:00
3f2a8d959c preemptively cache members as we find them 2023-08-26 22:50:54 +12:00
3ebfa8e3a7 show member details on discord from cache 2023-08-26 22:22:54 +12:00
0ea2b4efc9 m->d rich replies 2023-08-26 20:30:22 +12:00
39fb4465f6 fix m->d formatting of quotes and code 2023-08-26 19:07:19 +12:00
df651241a5 store room name changes to nick in db 2023-08-26 18:58:41 +12:00
88eb8c2290 configure turndown for code blocks 2023-08-26 02:04:49 +12:00
7780ee806a 100% edit-to-changes code coverage 2023-08-26 01:44:50 +12:00
8c4e16e255 add turndown for m->d formatting 2023-08-26 01:43:17 +12:00
27b8c547e3 updating tap-dot for prettier output 2023-08-25 23:27:44 +12:00
c4bc079865 bug fix :( 2023-08-25 17:35:34 +12:00
20cd7ab38e sync child room avatars when guild is updated 2023-08-25 17:23:51 +12:00
9f717dc24f preserve order: finish bridge before command reply 2023-08-25 16:03:43 +12:00
69a01a0608 implemented //icon with button confirmation system 2023-08-25 16:01:19 +12:00
30bf87b106 channel name decoration for threads and voice-text 2023-08-25 12:05:16 +12:00
beeb27bbd8 test on a member that has no member props 2023-08-25 11:44:58 +12:00
1e9e9685c5 minor code coverage 2023-08-24 17:23:32 +12:00
c56e92ccfb start adding command handlers 2023-08-24 17:09:25 +12:00
40c3ef8e83 don't set the name and topic twice 2023-08-24 12:42:12 +12:00
4c0aa57ba7 add test case for m->d too-long message 2023-08-24 00:35:35 +12:00
f0ff89161a syncing all room power levels 2023-08-24 00:27:51 +12:00
a8fab062a4 workaround synapse bug that would make broken PLs 2023-08-23 17:08:20 +12:00
8d536d5ef2 using kstate with power levels should mix them 2023-08-23 16:16:36 +12:00
458a620f4a make hardcoded "cadence.moe" configurable 2023-08-23 13:02:32 +12:00
92cd628a6c remember any room avatars set on matrix-side 2023-08-23 12:39:37 +12:00
bfe9efe62e listen for guild updates and connect them 2023-08-23 12:37:25 +12:00
892bf4496d be able to sync space properties 2023-08-23 12:31:31 +12:00
6cd509d274 start using kstate for guild/spaces too 2023-08-22 17:11:07 +12:00
e04617eb04 remove console.log 2023-08-21 23:34:49 +12:00
6d1635539b finally got the thread's early messages working 2023-08-21 23:31:40 +12:00
180708b60e I WAS USING THE WRONG VARIABLE :GRIEF: 2023-08-21 21:16:10 +12:00
c8021cadec changing spaces to tabs 2023-08-21 21:04:41 +12:00
c22f434c1f explain inflight thread room creation 2023-08-21 17:25:51 +12:00
d666c0aedb attempt to support THREAD_CREATE but it explodes 2023-08-21 08:07:05 +12:00
08d3f3d804 synchronise channel updates 2023-08-19 23:12:36 +12:00
3436759504 catch up on missed d->m messages when logging in 2023-08-19 22:54:23 +12:00
0f20dcab6d guard for errors on matrix event dispatcher 2023-08-19 18:41:57 +12:00