Compare commits

..

101 commits

Author SHA1 Message Date
5898c94963 m->d mentioning bridged users and rooms works 2023-08-26 23:22:23 +12:00
07afd07207 m->d underline formatting support 2023-08-26 22:59:22 +12:00
fa1e01215c trying to make reaction emojis consistent 2023-08-26 22:51:42 +12:00
6d9a58a31b preemptively cache members as we find them 2023-08-26 22:50:54 +12:00
fd65a57a4c show member details on discord from cache 2023-08-26 22:22:54 +12:00
2eb9abef40 m->d rich replies 2023-08-26 20:30:22 +12:00
300197c157 fix m->d formatting of quotes and code 2023-08-26 19:07:19 +12:00
936c9820ec store room name changes to nick in db 2023-08-26 18:58:41 +12:00
a7ecdcd7db configure turndown for code blocks 2023-08-26 02:04:49 +12:00
deb63a79d3 100% edit-to-changes code coverage 2023-08-26 01:44:50 +12:00
4a5e76c493 add turndown for m->d formatting 2023-08-26 01:43:17 +12:00
7186b824f5 updating tap-dot for prettier output 2023-08-25 23:27:44 +12:00
712a525fbf bug fix :( 2023-08-25 17:35:34 +12:00
1643a46812 sync child room avatars when guild is updated 2023-08-25 17:23:51 +12:00
e9fe250211 preserve order: finish bridge before command reply 2023-08-25 16:03:43 +12:00
d3d9195f72 implemented //icon with button confirmation system 2023-08-25 16:01:19 +12:00
d2c3e7eaa3 channel name decoration for threads and voice-text 2023-08-25 12:05:16 +12:00
dc3a234038 test on a member that has no member props 2023-08-25 11:44:58 +12:00
e8c172a753 minor code coverage 2023-08-24 17:23:32 +12:00
d41062218f start adding command handlers 2023-08-24 17:09:25 +12:00
58d15d205a don't set the name and topic twice 2023-08-24 12:42:12 +12:00
7712bc34a6 add test case for m->d too-long message 2023-08-24 00:35:35 +12:00
587267250d syncing all room power levels 2023-08-24 00:27:51 +12:00
97ab77a060 workaround synapse bug that would make broken PLs 2023-08-23 17:08:20 +12:00
96e125d8c0 using kstate with power levels should mix them 2023-08-23 16:16:36 +12:00
164c0354bf make hardcoded "cadence.moe" configurable 2023-08-23 13:02:32 +12:00
415f2e9020 remember any room avatars set on matrix-side 2023-08-23 12:39:37 +12:00
20fd58418a listen for guild updates and connect them 2023-08-23 12:37:25 +12:00
25cd9c851b be able to sync space properties 2023-08-23 12:31:31 +12:00
5810fb3955 start using kstate for guild/spaces too 2023-08-22 17:11:07 +12:00
17d79df009 remove console.log 2023-08-21 23:34:49 +12:00
f7be5f1582 finally got the thread's early messages working 2023-08-21 23:31:40 +12:00
b8e0ddc79a I WAS USING THE WRONG VARIABLE :GRIEF: 2023-08-21 21:16:10 +12:00
63ae6607bf changing spaces to tabs 2023-08-21 21:04:41 +12:00
97ef72252c explain inflight thread room creation 2023-08-21 17:25:51 +12:00
ccdd2f0c9c attempt to support THREAD_CREATE but it explodes 2023-08-21 08:07:05 +12:00
a6f27a1144 synchronise channel updates 2023-08-19 23:12:36 +12:00
8a20f98925 catch up on missed d->m messages when logging in 2023-08-19 22:54:23 +12:00
3baf007829 guard for errors on matrix event dispatcher 2023-08-19 18:41:57 +12:00
92d8f57875 only use nickname as displayname, not nick+user 2023-08-19 18:41:57 +12:00
a38e54dcd4 see how this different reactions format goes... 2023-08-19 18:41:57 +12:00
425a4d3110 support threads 2023-08-19 18:41:57 +12:00
c24eb3075c send a slightly more appropriate display name 2023-08-19 18:37:34 +12:00
232a9b7cae only include necessary data for testing 2023-08-18 17:00:40 +12:00
de610f08f3 bug fix where errors weren't being sent 2023-08-18 16:58:46 +12:00
9de940471d remove redactions from database in edit flow 2023-08-18 01:23:53 +12:00
750a8cd60a update discord-markdown to escape less stuff 2023-08-18 01:22:33 +12:00
417f935b9d add error handler and message deleter 2023-08-18 01:22:14 +12:00
09b7ba570c test that edits by webhook work 2023-08-17 19:03:09 +12:00
58d8ccf6a7 actually call the function lol 2023-08-17 18:27:13 +12:00
67fd5ff016 support up to 1 space in written mentions 2023-08-17 18:17:53 +12:00
036a9f6a04 update discord-markdown to remove html tags 2023-08-17 18:14:44 +12:00
cfa1856118 new database changes 2023-08-17 16:56:51 +12:00
6a452bd935 write editMessage action, connected to dispatcher 2023-08-17 16:41:28 +12:00
75414678c8 test for editing a new caption onto an image 2023-08-17 12:36:51 +12:00
749f721aac record more update events 2023-08-17 12:36:47 +12:00
de2ede5f0d getting edits closer to working 2023-08-16 17:03:05 +12:00
85bdb98891 script for capturing message update events 2023-08-15 17:20:31 +12:00
5ac72df7d0 add code coverage 2023-08-11 01:11:58 +12:00
aa09db1169 progress on edits 2023-07-28 17:05:13 +12:00
24bafaf41f large files are now linked instead of uploaded 2023-07-13 17:36:20 +12:00
8a50959064 move namespace_prefix into a sub-object 2023-07-13 17:11:24 +12:00
e123baa226 Include fallback text for replies to media 2023-07-12 14:33:38 +12:00
3ffd9086e2 only need to do mentions scenario 2 part B now 2023-07-11 17:28:42 +12:00
3baf97be8a support written @mentions (scenario 3) 2023-07-11 17:27:40 +12:00
00bdab713a support rich replies, support basic m.mentions 2023-07-11 16:51:30 +12:00
15cba11ebd get room mentions formatting working 2023-07-11 10:10:47 +12:00
30d28f92c7 store the channel_id on event_message 2023-07-11 08:01:11 +12:00
83c4d21811 update discord-markdown to fix tests 2023-07-07 19:28:23 +12:00
07f24db413 start getting d2m formatted body conversion 2023-07-07 17:31:39 +12:00
9f3efcd10d streamline the convertNameAndTopic function 2023-07-05 12:04:28 +12:00
4fd408d62a reactions working 2023-07-05 08:41:15 +12:00
e2adff145f add tests for convertNameAndTopic 2023-07-04 17:35:29 +12:00
7a5b857d0a m2d reactions (untested) 2023-07-04 17:19:17 +12:00
8144e6abb8 bridge both ways and prevent reflections 2023-07-04 00:39:42 +12:00
4ec2e6bc63 glue 2023-07-03 17:20:24 +12:00
78144279c5 preparing for m2d 2023-07-03 01:06:05 +12:00
883a05303c don't send "" for attachments without content 2023-07-02 01:41:31 +12:00
b727a55862 fix webhooks sending (upstream bug) 2023-07-02 01:40:54 +12:00
e1072de53d updating discord libraries per recommendation 2023-07-01 17:02:03 +12:00
ed9ea57f12 add webhook creation utility 2023-06-30 15:15:34 +12:00
cd4d777090 add test for member state content 2023-06-30 15:15:23 +12:00
109b3d2560 add appservice listener 2023-06-29 08:08:17 +12:00
5b15f710d7 support d->m stickers 2023-06-29 00:06:56 +12:00
d8b8375909 fix a variety of bugs that snuck in 2023-06-28 23:39:29 +12:00
ae640a8fde continue on stickers 2023-05-15 17:25:05 +12:00
63e5ae3e0e begin converting discord attachments and stickers 2023-05-12 17:35:37 +12:00
28455ba4c8 seed initial setup 2023-05-10 23:17:37 +12:00
a8e1f95897 completed user syncing. it occurs on message send 2023-05-10 22:15:20 +12:00
cb09c70e48 refactor kstate, add stub user syncing function 2023-05-10 17:40:31 +12:00
6df728dcc7 adding basic reactions to discord messages 2023-05-09 17:13:59 +12:00
725f00a98a send sim messages to the proper rooms 2023-05-09 15:29:46 +12:00
eee5b001bc get createRoom and ensureRoom interface working 2023-05-09 08:03:57 +12:00
646d91c043 database sync 2023-05-09 01:05:37 +12:00
427e82f2d4 register -> invite -> join -> send flow 2023-05-09 00:58:46 +12:00
672fe7c2fb switch to using api functions over mreq 2023-05-08 23:37:51 +12:00
ec3c1a61ff username sanitisation for registration 2023-05-08 17:22:20 +12:00
6ddf19e8cd preparations for creating users 2023-05-08 08:27:42 +12:00
9395a85e9b Finish room diffing and syncing. All tests pass 2023-05-06 01:25:15 +12:00
d21617e2d3 add tests, implement kstate and state diffing 2023-05-05 17:29:08 +12:00
5716366b3f space and room creation 2023-05-05 08:25:00 +12:00

BIN
db/ooye.db Normal file

Binary file not shown.