-
v2.3 Stable
released this
2024-08-19 15:18:33 +00:00 | 653 commits to main since this releaseThis release adjusts m->d reply formatting, and replaces some internal dependencies with smaller ones. As always, please remember to run
npm installafter updating to any version.Changes to m->d reply formatting:
a6251e8Use the new small text feature283cf66Move reply previews to one line, and use non-emoji form of circled M character5c48645m->d: Suppress embeds for links in reply preview2c3b653m->d: Consistently add @ to bridged form of matrix mentions
General fixes:
5e4d539Fix potential abuse of error retry system87cad6cFix incorrect stack traces being displayed when a critical error occurs2a080b7m->d: Fix garbled content when posting a message link followed by a mention
Dependency changes:
Downloads
-
Source code (ZIP)
16 downloads
-
Source code (TAR.GZ)
22 downloads
-
v2.2 Stable
released this
2024-07-21 02:56:58 +00:00 | 666 commits to main since this releaseThis release continues to improve reliability. As always, please remember to run
npm installafter updating to any version.Features:
49598c7Bulk message deletes, used by bots and user bans, are implemented541c5e1Add include_user_id_in_mxid setting- You love how OOYE sim users are named @_ooye_sensible_username_here, don't you?
- If you don't love that and you want the usernames to be more like @_ooye_12345678912345678_sensible_username_here, this change is for you.
- Set
ooye: include_user_id_in_mxidtotruein registration.yaml to use this feature. It does not apply retroactively to already-created sim users.
Improvements:
eb98af0Move packages to npm registry because registry packages are updated more reliably than git packages149cee8Keep trying to get data from the PluralKit API if it's slow the first time24a3b9bRefactor kstate resource uploading for increased code coverage
Fixes:
a2f0bb7No more random occurrences of "MESSAGE_UPDATE not delivered: AssertionError"9e51482OOYE will automatically re-create any webhooks that were deleted by a Discord user8c506edSim users can now be demoted from administrator07a133eFix links being corrupted when the link is at the start of a new line1f5865bAvoid sending ephemeral messages from Discordb6b6599Errors while redacting a message no longer crash the bot
Downloads
-
Source code (ZIP)
10 downloads
-
Source code (TAR.GZ)
12 downloads
-
v2.1 Stable
released this
2024-03-25 12:11:13 +00:00 | 679 commits to main since this releaseThis release kinda supports Discord forums, bridges embeds from anybody (even reflected to Matrix users), and manages permissions on Matrix a little better.
If you do not like that it reflects Discord generated embeds from Matrix user messages back to Matrix, let me know and I'll remove that feature.
Features:
5f0e765934Bridge forums as spaces642be26313Enumerate child rooms with hierarchy endpoint
d01c888d02Support embed generate MESSAGE_UPDATE eventsc615ea1e61Reflect immediately generated link embedsbce3d0f2c9Fix reflecting generated embeds23d85547f3Send generated embeds as original userff7af39802Exclude generated embeds for discord.com
2fb68900c7Support permissioned @everyone -> @room043f178d1eMap Discord member permissions to sim user PLs12d85c982eAllow Matrixers to @room if Discorders can toof5ffc09fabConvert @room to @everyone using permissions
Improvements:
25cd8cb289Use allowed_mentions instead of disableEveryonecc9e1de49eRemove deep-equal dependency
Fixes:
6738290d99m->d: Reliably put < > around matrix.to links7a00b95883Put < > around ALL the matrix.to links
566b2a9d9eMove bridge bot to its real ID in the database0deb415511Don't update profile data of the bridge bot
1e8066ca0aEmbed URL should only appear when embed has titlee2d0ea41d5Improve video embed formatting08c01e8664Update dependencies8d037ff559Update discord libraries
Downloads
-
Source code (ZIP)
4 downloads
-
Source code (TAR.GZ)
9 downloads
-
v2.0 Stable
released this
2024-02-20 09:23:08 +00:00 | 708 commits to main since this releaseThis release adds full support for the Discord bot PluralKit, bridging each PluralKit system member as a distinct user on Matrix-side. It also adds via parameters to room links, and some formatting has been fixed by community members including Wonder Collective - thank you!
PluralKit features:
- Each PK member is bridged as a distinct Matrix user
11864f80cfThis currently requires one message to "warm up", then all future messages will be handled seamlessly
- The original Discord messages which are about to be deleted will not appear at all on Matrix-side
e49dc18e67This uses a "speedbump" to "slow down" all messages in the chatroom6a06dc14ceSpeedbump only takes effect in chatrooms where PluralKit is being used
69922c4a14PK member name/avatar changes are synced with the same Matrix sim user profilef48c1f3f31Replying to PK members from Matrix mentions the Discord user on Discord-side98477dc0f6Mentioning PK members from Matrix mentions the member and Discord user on Discord-sidec7fb6fd52ePK's simulated embed replies are converted to native Matrix replies0e701b2d54Compatible with PK members in threads3d87bd9da5Compatible with server-specific PK member names
Improvements:
30afaa1e17fd11e3fd10All room links now have properly calculatedviaparameters, so can be used and shared in all clients355ebfe2afe999fcf81956f959e9f3m->d: spoiler reasons & reply-quote separation6c3164edd6m->d: Emoji sprite sheet feature supports APNG emojis (but they're composited to a non-animated PNG)e0d96cde19d->m: Fallbacks for links to unbridged channels are more intuitive77b7772062m->d: Since code blocks containing backticks are incompatible with Discord, they will be uploaded as a file instead. This preserves inline preview and highlighting.d673296619d->m: Plaintext event body now indicates embeds with pipe|instead of quote>3fb2c983e0Optimised pngjs install
Documentation:
5ef5dbb2e8Write more "add a new event type" documentation
Fixes:
7a9e1168fem->d: Fix links where href and content are the same4591b5ae03m->d: Fix glitched mention when Element disambigs369e0862e5m->d: Replies to custom emoji show a correct previewc084aa0156cfc89c40f9d->m: Fix the guessed @mentions feature messing up code or links
Silly fixes:
0e75c23aeed->m: Fix user's first message in channel being a thread starter replyf79833c444m->d: Only care about data-mx-spoiler on span7756a34a5fm->d: Gracefully handle replies to redacted event4286829b42Update discord libraries - fixes some disconnection issues
Downloads
-
Source code (ZIP)
7 downloads
-
Source code (TAR.GZ)
15 downloads
- Each PK member is bridged as a distinct Matrix user
-
v1.5.1 Stable
released this
2024-01-20 10:13:39 +00:00 | 765 commits to main since this releaseThis hotfix addresses a bug where OOYE was unusable when Synapse was not behind an nginx reverse proxy.
Now, when running seed.js, it should warn you about the situation with this message:
OOYE cannot stream uploads to Synapse. Please choose one of these workarounds:
- Run an nginx reverse proxy to Synapse, and point registration.yaml's
server_originto nginx - Set
content_length_workaround: trueinregistration.yaml(this will halve the speed of bridging d->m files)
This is because Synapse needs the Content-Length header, which isn't set by OOYE's streamed uploads. Non-streamed uploads are slower. See the commits in this hotfix for precise details. (Use the Compare dropdown in Gitdab's left bar to compare against v1.5)
Downloads
-
Source code (ZIP)
8 downloads
-
Source code (TAR.GZ)
10 downloads
- Run an nginx reverse proxy to Synapse, and point registration.yaml's
-
v1.5 Stable
released this
2024-01-18 19:54:05 +00:00 | 769 commits to main since this releaseThis release syncs pinned messages and emojis even if the bot was offline, supports alt text and bulk message deletion, and fixes many formatting bugs that were reported since the previous release.
Features:
8987107685d->m: If messages were pinned while OOYE was offline or before OOYE was set up, OOYE will be able to find them and bridge them.9efd6a49b8d->m: Similarly, if emojis or stickers were changed while OOYE was offline or before OOYE was set up, OOYE will be able to bridge those too.20bab453efd->m: Moderation bots which bulk delete messages should now also delete them on Matrix.84d791cd8am->d: Image description/alt text is now bridged. (Most Matrix clients don't support sending these. NeoChat partially supports them.)
Improvements:
a67708269dm->d: The end of the reply preview may look slightly nicer to Discord users.60cf40680fcf25e1661bd->m: Image description/alt text is bridged better.024ff34ccam->d: After switching from matrix-appservice-discord or mx-puppet-discord to OOYE, mentioning a sim user owned by the old bridge will mention the intended Discord user.
Fixes:
83070dcf7ed->m: Some Matrix clients URL-encoded their mentions, which OOYE didn't understand. These are now supported.ed7404ea19d->m: Pinned messages are displayed in the correct order. Unless you're a nheko user.d0a3c3ce29m->d: Occasionally the reply preview would include the words "In reply to" for Discord users. Now it will show the message content like it should.8e3b674d90Matrix: Editing a very long message to be shorter will no longer delete it from Matrix.4dcdd0287eOOYE setup: Conduit is probably supported better.c8742f9512m->d: Parity between plaintext events and formatted events.
Downloads
-
Source code (ZIP)
7 downloads
-
Source code (TAR.GZ)
8 downloads
-
v1.4 Stable
released this
2023-11-25 10:09:28 +00:00 | 789 commits to main since this releaseThis release adds a new feature to work around mentions, allows message links to jump into the past, and fixes some rare text formatting issues.
Features:
53a009cd->m: Users who aren't joined can be mentioned
This feature is useful when you know a user exists on Discord-side, but you can't mention them because their sim hasn't been joined to Matrix-side yet, probably because OOYE hasn't seen them type in that room.
To use this feature, on Matrix-side, write a plaintext @mention that names a Discord user. If you successfully named a user in the server, they will be added to Matrix-side and @mentioned on their own side, sending them a notification.
Your message will still look like plaintext, but if you see that the sim user was invited, then you know that the mention did trigger correctly via the bridge.
This is kind of a workaround - I would appreciate any suggestions for how to improve this workflow!
Improvements:
8d45210d->m: Message links are guessed when unknown
If you migrated from a different bridge to OOYE, d->m message links into the past (from before OOYE was set up) would not work correctly. Now they will! They will link to the correct Matrix message.
While this is a "guess", it should be a correct guess 99% of the time :)
a542bbdd->m: List and heading formatting is now fully supported.e73de60m->d: If your rich text mention has a colon after it, Discord users won't see the colon.afbbe0dSome embed formatting edge-cases fixed.
Fixes:
Downloads
-
Source code (ZIP)
6 downloads
-
Source code (TAR.GZ)
8 downloads
-
v1.3 Stable
released this
2023-10-14 10:34:02 +00:00 | 811 commits to main since this releaseThis release fixes various bugs and inconsistencies to make things display more similarly on both sides of the bridge.
Features:
850de85Add //thread command. Matrix users can use it to create a Discord-side thread.
Improvements:
44f90cbGlobal display names for Discord users are used on the bridged Matrix user.d9d672bRole mentions now display really pretty.c247526Reactions are now consistently added to the bottom of message groups instead of sometimes being in the middle.
Fixes:
61ac535Fixed a bug where some Discord replies in threads would throw an error.040e987When removing reactions, enough reactions are now removed every time.b7f90db(in generated reply previews) Fix a case where the preview could display as "undefined".999276e(in generated reply previews) Fix the the preview possibly showing & symbols.480c7a6(in generated reply previews) The author line now uses the Matrix user's actual display name.1016fb1d->m: Thread start context message is sent by the OOYE bot, to make threads seem less misleading.67305bbd->m: Bot embeds will now be edited on Matrix-side too.
Downloads
-
Source code (ZIP)
8 downloads
-
Source code (TAR.GZ)
13 downloads
-
v1.2 Stable
released this
2023-10-12 12:07:52 +00:00 | 822 commits to main since this releaseThis release includes some minor features for communities.
- New //privacy command changes the privacy level of Matrix-side between invite-only, linkable, and discoverable. Use //privacy to learn more.
- Privacy levels are synced for the space and all rooms when a sync occurs.
- Users in
invitein registration will now be marked as administrator (PL 100.) This will take effect in new rooms when they are created, and existing rooms when the next sync occurs. - Pinned messages will sync from Discord to Matrix when the pins change. In the near future, I will improve this feature to work in both directions and possibly backfill old pins.
- I rewrote the code for removing reactions and added tests. If you still encounter more issues removing reactions, please show the problem and explain how to reproduce it.
You can use
createSpace.syncSpaceFully(PUT_A_GUILD_ID_HERE)in the REPL to sync.Downloads
-
Source code (ZIP)
9 downloads
-
Source code (TAR.GZ)
14 downloads
-
v1.1.1 Stable
released this
2023-10-12 02:53:43 +00:00 | 839 commits to main since this releaseThis is a hotfix to address an important bug.
m->d: Fixed the profile data cache being corrupted when a Matrix user invites another Matrix user. The existing cache will be erased to ensure it is consistent. A new valid cache will gradually be re-created like normal.
Downloads
-
Source code (ZIP)
8 downloads
-
Source code (TAR.GZ)
14 downloads
-
Source code (ZIP)