Commit graph

238 commits

Author SHA1 Message Date
8987107685 Backfill missed pins and pins from the past 2024-01-18 00:30:55 +13:00
ed7404ea19 Fix #16 pinned messages order 2024-01-16 16:02:31 +13:00
b060451baf Minor documentation rewording 2024-01-16 16:00:33 +13:00
7d4379a099 Fix error in startup emojis check 2024-01-12 14:33:23 +13:00
600ca1a11d Enable ts-check on event-dispatcher 2024-01-11 15:56:58 +13:00
20bab453ef d->m: Support bulk message deletion from bots 2024-01-11 15:56:42 +13:00
9efd6a49b8 d->m: Sync missed emojis/stickers after restart 2024-01-10 23:56:10 +13:00
8e3b674d90 Forget messages/events upon deletion (may fix #18) 2024-01-10 15:48:31 +13:00
60cf40680f d->m: Alt text should be bridged for any file type 2024-01-06 19:10:52 +13:00
2df7c665cb m->d: Message links are now guessed when unknown 2023-11-30 16:27:40 +13:00
b9ec28a5ad Handle user creation for Clyde AI 2023-11-25 22:26:26 +13:00
083f7bd9ba Make text spoilers work on Android 2023-11-25 22:10:27 +13:00
9158eb2476 Add full coverage for previous commit 2023-11-23 16:41:32 +13:00
8d452102d5 d->m: Message links are now guessed when unknown 2023-11-23 16:11:46 +13:00
7029247461 Coverage for role and emoji converter 2023-11-23 15:52:41 +13:00
8439512f1a Add snowflake timestamp converter functions 2023-11-23 15:51:25 +13:00
39528b0557 Refactor attachmentToEvent to a function 2023-11-23 13:37:09 +13:00
afbbe0da3d Fix more edge-case embed formatting 2023-10-28 00:24:42 +13:00
762e48230c Ensure the appservice bot user is registered
Synapse does it automatically, but Conduit requires this HTTP call.
2023-10-16 16:47:42 +13:00
040e987d03 Paginate removing all reactions from Matrix-side 2023-10-14 23:34:02 +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
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
44f90cbb5f Use Discord global_name as sim user displayname 2023-10-14 01:00:28 +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
1ad1c6b525 Add tests for all room privacy levels 2023-10-13 00:51:38 +13:00
3a6b40e27d Add Discord command for setting privacy level 2023-10-13 00:37:18 +13:00
e84e0d28db invited users in registration should be admin 2023-10-12 22:55:52 +13:00
3f3851d1f5 Also sync join rules for space 2023-10-12 22:45:27 +13:00
1b03a39dee put the preset in the preset field...... 2023-10-12 22:34:23 +13:00
98f5aeb45a Potentially fix privacy level assertion error 2023-10-12 22:32:28 +13:00
42ba38e3dd Use the correct property for guest access 2023-10-12 20:35:26 +13:00
613a1dc086 Add private/linkable/public privacy rules 2023-10-12 20:30:41 +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
8bc696b6f8 Making it easier to find the documentation 2023-10-10 00:58:19 +13:00
9e5a3f5f32 Ignore messages from Deleted User 2023-10-07 22:53:02 +13:00
0e56255f82 Improve code coverage 2023-10-07 22:47:31 +13:00
0b40a50254 Set profile data in seed.js 2023-10-07 21:57:09 +13:00
e3b2c844d8 Fix emoji_id references and add tests 2023-10-07 20:58:46 +13:00
a5d170eb8f Choosing first event as primary part = 0 is fine 2023-10-06 16:58:18 +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
95e7987fee Query the correct column in onThreadCreate 2023-10-01 01:49:03 +13:00
1d99b91ef7 Add database migrations 2023-10-01 01:26:42 +13:00
ae3a86bff2 fix bug removing reactions when there are multiple 2023-09-29 01:03:10 +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
c1cbdfee82 Other kinds of reaction removals 2023-09-25 23:15:36 +13:00
c3040f19c2 only add shortcode for custom image reactions 2023-09-25 22:21:34 +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
4f807159ba start on d->m removing reactions 2023-09-25 17:36:27 +13:00
2b537f42f0 Fix uk.half-shot.bridge test data 2023-09-24 00:13:38 +12:00
5dbcc74617 adding some more notes 2023-09-22 17:47:36 +12: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
40922ff479 change syncSpace input parameters to fix the test 2023-09-20 16:37:24 +12:00
cd195f92e0 rename a function 2023-09-20 16:12:19 +12:00
044ccc08e0 d->m handle emojis we don't know about 2023-09-20 08:03:19 +12:00
90a32225e0 d->m reactions: fix sqlite parameter error 2023-09-20 07:49:36 +12:00
92dee012fc refactor custom emoji schema; make reactions work 2023-09-20 00:37:15 +12:00
c7ddf638db d->m custom emoji reactions 2023-09-19 23:02:51 +12:00
b403f35674 fix bugs from orm migration 2023-09-19 19:10:02 +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
a8f387c161 do not report TYPING_START 2023-09-19 01:23:32 +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
cab96cbc9e d->m typing notifications 2023-09-17 23:14:13 +12:00
c9dec3ba75 Add //invite command 2023-09-17 20:15:29 +12:00
0ed74feb66 Stop this from causing an error I guess? 2023-09-17 20:15:20 +12:00
671f1300ba should create guilds on-demand now 2023-09-12 23:15:55 +12:00
9263bdb754 configuration option to auto-invite matrix users 2023-09-12 23:08:33 +12:00
714c31d230 Fix my homeserver being hard-coded 2023-09-12 20:43:56 +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
0acf59bf48 forcing space sync will unbridge deleted channels 2023-09-07 23:20:48 +12:00
0237d45c60 support uk.half-shot.bridge 2023-09-07 12:08:10 +12:00
5b2ccdc1f8 mildly arrange notes.md 2023-09-06 12:31:38 +12:00
671f5ba7d3 no longer invite me to created rooms 2023-09-06 09:38:07 +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
3e4188a0c8 allow all guilds to send events 2023-09-04 01:39:45 +12:00
39458bd2bf allow migrating from old to new bridge 2023-09-04 01:38:30 +12:00
d255f2ab22 fix join rules on old room versions 2023-09-04 01:36:58 +12:00
d3f637d7ce properly support guild update events 2023-09-04 01:36:35 +12:00
5e6bb0cd2e create syncSpaceFully 2023-09-03 17:13:04 +12:00