Commit Graph

141 Commits

Author SHA1 Message Date
Cadence Ember 28abdac5b6 Alter SQL column names to be distinct 2023-10-05 12:32:46 +13:00
Cadence Ember 1d99b91ef7 Add database migrations 2023-10-01 01:26:42 +13:00
Cadence Ember ae3a86bff2 fix bug removing reactions when there are multiple 2023-09-29 01:03:10 +13:00
Cadence Ember c1cbdfee82 Other kinds of reaction removals 2023-09-25 23:15:36 +13:00
Cadence Ember c3040f19c2 only add shortcode for custom image reactions 2023-09-25 22:21:34 +13:00
Cadence Ember 6dcf3a383a make removing single reactions work correctly 2023-09-25 22:20:23 +13:00
Cadence Ember a396e6f596 Bridge the shortcode as part of reactions 2023-09-25 20:19:04 +13:00
Cadence Ember 4f807159ba start on d->m removing reactions 2023-09-25 17:36:27 +13:00
Cadence Ember 2b537f42f0 Fix uk.half-shot.bridge test data 2023-09-24 00:13:38 +12:00
Cadence Ember 40922ff479 change syncSpace input parameters to fix the test 2023-09-20 16:37:24 +12:00
Cadence Ember cd195f92e0 rename a function 2023-09-20 16:12:19 +12:00
Cadence Ember 90a32225e0 d->m reactions: fix sqlite parameter error 2023-09-20 07:49:36 +12:00
Cadence Ember 92dee012fc refactor custom emoji schema; make reactions work 2023-09-20 00:37:15 +12:00
Cadence Ember c7ddf638db d->m custom emoji reactions 2023-09-19 23:02:51 +12:00
Cadence Ember b403f35674 fix bugs from orm migration 2023-09-19 19:10:02 +12:00
Cadence Ember 807ab899be Copy Discord emojis/stickers to Matrix 2023-09-19 01:45:56 +12:00
Cadence Ember 79bd0254f0 Finish moving from SQL to New Funny ORM 2023-09-18 22:51:59 +12:00
Cadence Ember cab96cbc9e d->m typing notifications 2023-09-17 23:14:13 +12:00
Cadence Ember 0ed74feb66 Stop this from causing an error I guess? 2023-09-17 20:15:20 +12:00
Cadence Ember 671f1300ba should create guilds on-demand now 2023-09-12 23:15:55 +12:00
Cadence Ember 9263bdb754 configuration option to auto-invite matrix users 2023-09-12 23:08:33 +12:00
Cadence Ember 0acf59bf48 forcing space sync will unbridge deleted channels 2023-09-07 23:20:48 +12:00
Cadence Ember 0237d45c60 support uk.half-shot.bridge 2023-09-07 12:08:10 +12:00
Cadence Ember 5b2ccdc1f8 mildly arrange notes.md 2023-09-06 12:31:38 +12:00
Cadence Ember 671f5ba7d3 no longer invite me to created rooms 2023-09-06 09:38:07 +12:00
Cadence Ember 39458bd2bf allow migrating from old to new bridge 2023-09-04 01:38:30 +12:00
Cadence Ember d255f2ab22 fix join rules on old room versions 2023-09-04 01:36:58 +12:00
Cadence Ember 5e6bb0cd2e create syncSpaceFully 2023-09-03 17:13:04 +12:00
Cadence Ember dd4e3aa8e0 continue if user is already invited 2023-09-03 10:47:01 +12:00
Cadence Ember 53b5438756 add test cases for message edits 2023-08-29 00:05:25 +12:00
Cadence Ember 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
Cadence Ember 21156446ee Only use ?ts when backfilling 2023-08-28 16:20:16 +12:00
Cadence Ember 7780ee806a 100% edit-to-changes code coverage 2023-08-26 01:44:50 +12:00
Cadence Ember 27b8c547e3 updating tap-dot for prettier output 2023-08-25 23:27:44 +12:00
Cadence Ember c4bc079865 bug fix :( 2023-08-25 17:35:34 +12:00
Cadence Ember 20cd7ab38e sync child room avatars when guild is updated 2023-08-25 17:23:51 +12:00
Cadence Ember 30bf87b106 channel name decoration for threads and voice-text 2023-08-25 12:05:16 +12:00
Cadence Ember beeb27bbd8 test on a member that has no member props 2023-08-25 11:44:58 +12:00
Cadence Ember 40c3ef8e83 don't set the name and topic twice 2023-08-24 12:42:12 +12:00
Cadence Ember f0ff89161a syncing all room power levels 2023-08-24 00:27:51 +12:00
Cadence Ember a8fab062a4 workaround synapse bug that would make broken PLs 2023-08-23 17:08:20 +12:00
Cadence Ember 458a620f4a make hardcoded "cadence.moe" configurable 2023-08-23 13:02:32 +12:00
Cadence Ember 92cd628a6c remember any room avatars set on matrix-side 2023-08-23 12:39:37 +12:00
Cadence Ember 892bf4496d be able to sync space properties 2023-08-23 12:31:31 +12:00
Cadence Ember 6cd509d274 start using kstate for guild/spaces too 2023-08-22 17:11:07 +12:00
Cadence Ember e04617eb04 remove console.log 2023-08-21 23:34:49 +12:00
Cadence Ember 6d1635539b finally got the thread's early messages working 2023-08-21 23:31:40 +12:00
Cadence Ember 180708b60e I WAS USING THE WRONG VARIABLE :GRIEF: 2023-08-21 21:16:10 +12:00
Cadence Ember c8021cadec changing spaces to tabs 2023-08-21 21:04:41 +12:00
Cadence Ember c22f434c1f explain inflight thread room creation 2023-08-21 17:25:51 +12:00
Cadence Ember 08d3f3d804 synchronise channel updates 2023-08-19 23:12:36 +12:00
Cadence Ember 3436759504 catch up on missed d->m messages when logging in 2023-08-19 22:54:23 +12:00
Cadence Ember 4635200bcb only use nickname as displayname, not nick+user 2023-08-19 18:41:57 +12:00
Cadence Ember 3f187e8107 see how this different reactions format goes... 2023-08-19 18:41:57 +12:00
Cadence Ember 0fc8e68f15 support threads 2023-08-19 18:41:57 +12:00
Cadence Ember e08262388b bug fix where errors weren't being sent 2023-08-18 16:58:46 +12:00
Cadence Ember 6246dc3a7f remove redactions from database in edit flow 2023-08-18 01:23:53 +12:00
Cadence Ember 6de13338a8 add error handler and message deleter 2023-08-18 01:22:14 +12:00
Cadence Ember 040a2d253f write editMessage action, connected to dispatcher 2023-08-17 16:41:28 +12:00
Cadence Ember 2973170e87 test for editing a new caption onto an image 2023-08-17 12:36:51 +12:00
Cadence Ember 8f6bb86b92 record more update events 2023-08-17 12:36:47 +12:00
Cadence Ember b1ca71f37c getting edits closer to working 2023-08-16 17:03:05 +12:00
Cadence Ember cae591e5fd script for capturing message update events 2023-08-15 17:20:31 +12:00
Cadence Ember 96dd488e39 progress on edits 2023-07-28 17:05:13 +12:00
Cadence Ember 3a59d66626 move namespace_prefix into a sub-object 2023-07-13 17:11:24 +12:00
Cadence Ember 328ae74b61 support rich replies, support basic m.mentions 2023-07-11 16:51:30 +12:00
Cadence Ember 0f4f404160 store the channel_id on event_message 2023-07-11 08:01:11 +12:00
Cadence Ember 1d6e833b22 update discord-markdown to fix tests 2023-07-07 19:28:23 +12:00
Cadence Ember 9569fda168 streamline the convertNameAndTopic function 2023-07-05 12:04:28 +12:00
Cadence Ember 4cd9da49fd add tests for convertNameAndTopic 2023-07-04 17:35:29 +12:00
Cadence Ember 61120d92c6 m2d reactions (untested) 2023-07-04 17:19:17 +12:00
Cadence Ember 39cdba9f90 bridge both ways and prevent reflections 2023-07-04 00:39:42 +12:00
Cadence Ember 1591bfc578 fix webhooks sending (upstream bug) 2023-07-02 01:40:54 +12:00
Cadence Ember cc1210729f add test for member state content 2023-06-30 15:15:23 +12:00
Cadence Ember 740ddc36d1 support d->m stickers 2023-06-29 00:06:56 +12:00
Cadence Ember 584f19a011 fix a variety of bugs that snuck in 2023-06-28 23:39:29 +12:00
Cadence Ember e1d7ced87d begin converting discord attachments and stickers 2023-05-12 17:35:37 +12:00
Cadence Ember 22dde9faf7 completed user syncing. it occurs on message send 2023-05-10 22:15:20 +12:00
Cadence Ember f418d51e55 refactor kstate, add stub user syncing function 2023-05-10 17:40:31 +12:00
Cadence Ember 4d8b74f61f adding basic reactions to discord messages 2023-05-09 17:13:59 +12:00
Cadence Ember da6603d258 send sim messages to the proper rooms 2023-05-09 15:29:46 +12:00
Cadence Ember 7526d63690 get createRoom and ensureRoom interface working 2023-05-09 08:03:57 +12:00
Cadence Ember 1e7e66dc31 register -> invite -> join -> send flow 2023-05-09 00:58:46 +12:00
Cadence Ember 3bc29def41 switch to using api functions over mreq 2023-05-08 23:37:51 +12:00
Cadence Ember 7ee04d085f username sanitisation for registration 2023-05-08 17:22:20 +12:00
Cadence Ember 48c2ef76f5 preparations for creating users 2023-05-08 08:27:42 +12:00
Cadence Ember 3fbe7eed6e Finish room diffing and syncing. All tests pass 2023-05-06 01:25:15 +12:00
Cadence Ember f09eeccef3 add tests, implement kstate and state diffing 2023-05-05 17:29:08 +12:00
Cadence Ember c7868e9dbb space and room creation 2023-05-05 08:25:00 +12:00
Cadence Ember 8a0c2b5663 sending events in matrix 2023-05-01 00:57:30 +12:00
Cadence Ember 6990957c9e rearranging and experiments 2023-04-26 08:06:08 +12:00