Commit Graph

41 Commits (legacy)

Author SHA1 Message Date
Charlotte Som 4c2eded7a0 Bridge violet meadow 2022-04-08 12:20:35 +01:00
Charlotte Som 82bff1b904 Fix borrowing issue for matrix 2022-04-08 12:15:32 +01:00
Charlotte Som 0649ea0503 Forward image attachments from Discord to Matrix
Also, there is work-in-progress work on forwarding images from encrypted
Matrix rooms
2021-11-29 16:58:00 +00:00
Charlotte Som e0731c2df3 Forward images to Matrix 2021-11-22 22:48:51 +00:00
Charlotte Som 4f9e2f5b5c Upload images from Matrix to Discord 2021-10-04 17:37:22 +01:00
Charlotte Som ee5e9611cf Preliminary support for media uploads 2021-10-03 13:25:29 +01:00
Charlotte Som 8e699a310a Box the contents of internal event messages
This really just gets rid of a Clippy warning but putting them behind a
pointer indirection should be optimal
2021-10-03 12:26:14 +01:00
Charlotte Som 19f28da49a Use discord name tag colours for bridged messages to matrix 2021-10-03 12:18:51 +01:00
Charlotte Som 6032bf06d6 Prepend author information to messages which are bridged to matrix 2021-10-02 17:20:31 +01:00
Charlotte Som f3dce91862 Use webhooks where possible when interacting with Discord 2021-09-28 02:32:53 +01:00
Charlotte Som a0d7b59a33 Switch from submodule to git cargo dependency 2021-09-16 04:53:55 +01:00
Charlotte Som d3bd0a45b4 Update README since we don't need to patch olm-sys anymore 2021-09-16 04:30:24 +01:00
Charlotte Som ec4d1a1f50 Implement bridged message deletions 2021-09-16 04:29:00 +01:00
Charlotte Som 6ad07c6855 Implement message editing for Discord and Matrix 2021-09-14 05:15:37 +01:00
Charlotte Som 0ddd756abf Strip <mx-reply> from matrix HTML conversion
This is handled by rich replies
2021-09-13 20:50:13 +01:00
Charlotte Som 535afb4796 Implement bridged message replies 2021-09-13 20:41:55 +01:00
Charlotte Som 079efa5095 Improve quality of Discord formatted output 2021-09-13 20:10:22 +01:00
Charlotte Som 06f7fb729a Update dependencies 2021-09-13 19:52:42 +01:00
Charlotte Som f8ab672453 Look up linked channels in the database
We also have a Discord convenience command that lets you link to a
Matrix room as long as you have a 'Phoebe' role
2021-09-13 04:20:49 +01:00
Charlotte Som fee137f947 Prepare for message editing 2021-09-13 03:08:35 +01:00
Charlotte Som 33e13eb4b0 Handle emote messages from Matrix 2021-09-13 00:06:11 +01:00
Charlotte Som 13dc88f830 Fix errant newlines when parsing matrix HTML 2021-09-12 23:39:15 +01:00
Charlotte Som d654bbf512 Matrix: Implement code and code-block parsing 2021-09-12 23:24:51 +01:00
Charlotte Som bd5669d3e4 Clean up obsolete / fulfilled TODO items 2021-09-12 22:35:48 +01:00
Charlotte Som 77c789b39e Fix newline consistency 2021-09-12 22:25:49 +01:00
Charlotte Som 3b47de1fde Matrix: Parse hard breaks, block quotes, and spoilers 2021-09-12 22:25:27 +01:00
Charlotte Som 5e2b6bee64 Parse links from matrix messages 2021-09-12 22:01:01 +01:00
Charlotte Som 60540b3b6d Oops! Missed the semantic italic element 2021-09-12 21:46:08 +01:00
Charlotte Som 323d30b7d6 Elide __construct_component function 2021-09-12 21:45:13 +01:00
Charlotte Som aff1f8b59e Begin actual parsing of matrix messages 2021-09-12 21:42:09 +01:00
Charlotte Som a3e35b7c0c Matrix: Parse the HTML fragment into an HTML node 2021-09-12 13:16:45 +01:00
Charlotte Som 67ed7f85b1 We will also depend on kuchiki for HTML parsing 2021-09-12 13:08:53 +01:00
Charlotte Som 3ff819444d Refactor & prepare for matrix HTML parsing 2021-09-12 13:07:20 +01:00
Charlotte Som e483064ee1 Convert messages to Matrix's HTML format 2021-09-12 12:59:18 +01:00
Charlotte Som ced035cf60 Store message relations as they are sent
This lets us look up previous messages by ID and correlate them in order
to support rich replies :)
2021-09-12 10:54:41 +01:00
Charlotte Som 799c034784 Refactor things from bridgers.rs to platform-specific files 2021-09-12 06:45:46 +01:00
Charlotte Som bb245687de Working bridge for two test channels 2021-09-12 03:59:13 +01:00
Charlotte Som 7cbbf919d5 MSVC sucks lol 2021-09-12 02:04:30 +01:00
Charlotte Som 5a6385f0b0 Implement the... bridging 2021-09-10 05:44:00 +01:00
Charlotte Som 97b98aff3e Remove comment from Cargo.toml 2021-09-02 03:21:05 +01:00
Charlotte Som 670b296628 [Heavy WIP] Initial commit 2021-08-12 10:47:38 +01:00