Commit graph

92 commits

Author SHA1 Message Date
2b537f42f0 Fix uk.half-shot.bridge test data 2023-09-24 00:13:38 +12:00
1657de4eef d->m bridge emojis in messages 2023-09-19 17:43:57 +12:00
d81aa51787 orm: fix pluck, add basic tests 2023-09-19 01:23:52 +12:00
4e1e590c3a Start moving from SQL to New Funny ORM 2023-09-18 17:46:45 +12:00
47b8d44010 force override server_origin during testing 2023-09-12 21:37:36 +12:00
39458bd2bf allow migrating from old to new bridge 2023-09-04 01:38:30 +12:00
a1be84cb60 upload spoiler attachments as spoilers 2023-09-02 21:45:04 +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
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
a8fab062a4 workaround synapse bug that would make broken PLs 2023-08-23 17:08:20 +12:00
6d1635539b finally got the thread's early messages working 2023-08-21 23:31:40 +12:00
3436759504 catch up on missed d->m messages when logging in 2023-08-19 22:54:23 +12:00
0fc8e68f15 support threads 2023-08-19 18:41:57 +12:00
36adc30990 only include necessary data for testing 2023-08-18 17:00:40 +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
2973170e87 test for editing a new caption onto an image 2023-08-17 12:36:51 +12:00
b1ca71f37c getting edits closer to working 2023-08-16 17:03:05 +12:00
437f04682c support written @mentions (scenario 3) 2023-07-11 17:27:40 +12:00
328ae74b61 support rich replies, support basic m.mentions 2023-07-11 16:51:30 +12:00
5326b7d6be get room mentions formatting working 2023-07-11 10:10:47 +12:00
0f4f404160 store the channel_id on event_message 2023-07-11 08:01:11 +12:00
1a4f92db97 start getting d2m formatted body conversion 2023-07-07 17:31:39 +12:00
4cd9da49fd add tests for convertNameAndTopic 2023-07-04 17:35:29 +12:00
39cdba9f90 bridge both ways and prevent reflections 2023-07-04 00:39:42 +12:00
6e55e6d1b3 preparing for m2d 2023-07-03 01:06:05 +12:00
d592a3c82e don't send "" for attachments without content 2023-07-02 01:41:31 +12:00
5bd1bc9a5b add webhook creation utility 2023-06-30 15:15:34 +12:00
cc1210729f add test for member state content 2023-06-30 15:15:23 +12:00
740ddc36d1 support d->m stickers 2023-06-29 00:06:56 +12:00
584f19a011 fix a variety of bugs that snuck in 2023-06-28 23:39:29 +12:00
512f61422d continue on stickers 2023-05-15 17:25:05 +12:00
e1d7ced87d begin converting discord attachments and stickers 2023-05-12 17:35:37 +12:00
38d7db5071 seed initial setup 2023-05-10 23:17:37 +12:00
f418d51e55 refactor kstate, add stub user syncing function 2023-05-10 17:40:31 +12:00
da6603d258 send sim messages to the proper rooms 2023-05-09 15:29:46 +12:00
1e7e66dc31 register -> invite -> join -> send flow 2023-05-09 00:58:46 +12:00
7ee04d085f username sanitisation for registration 2023-05-08 17:22:20 +12:00
3fbe7eed6e Finish room diffing and syncing. All tests pass 2023-05-06 01:25:15 +12:00
f09eeccef3 add tests, implement kstate and state diffing 2023-05-05 17:29:08 +12:00