Commit graph

243 commits

Author SHA1 Message Date
021f02f981 d->m: Try too-large PNGs as JPEG for upload
Large PNGs were almost certainly originally JPEG photos that were
converted to PNG by the user copy-pasting.
If the PNG is just supposed to be that large, you can still get the
original through the external URL option.

Had to change _removeExpiryParams to be based on URL parsing instead of
regexp because regexp didn't work with &format=jpeg on the end.
2026-09-14 00:30:03 +12:00
c71120e463 Better Discord startup checking 2026-09-11 23:27:39 +12:00
965fcab646 m->d edits now wait for original message 2026-09-11 20:07:36 +12:00
5e9f3cd532 Add retries back to PluralKit API 2026-09-11 12:51:29 +12:00
7faa8a3c9e Remove unwise nextTick delay 2026-09-11 12:47:15 +12:00
70b18c8833 Guard against hopefully impossible situation 2026-09-08 18:40:54 +12:00
c7389ff2d6 Improve d->m highlighting for toki pona community 2026-08-23 02:58:00 +12:00
cf12293d5c Allow anyone to respond to polls 2026-08-20 12:58:59 +12:00
2e84c71d96 Fix creating webhooks for matrix users 2026-08-19 22:21:46 +12:00
b9be8b5887 Remove mistaken logging 2026-08-19 20:40:45 +12:00
1dcd5620c4 SnowTransfer error handling is no longer pathetic 2026-08-17 17:30:06 +12:00
7229206d09 Fix error when forwarding a crosspost lacks author 2026-08-14 09:51:00 +12:00
b7fa7c3e2d Map PluralKit colour to MSC4522 colour 2026-08-14 09:50:38 +12:00
db2c038f40 Support attachment spoiler flag 2026-08-11 22:05:58 +12:00
c7dbd17209 Move embed via line to footer 2026-08-10 19:43:14 +12:00
0034193953 Add privacy policy & opt out (requires contact) 2026-08-04 14:32:40 +12:00
a3ce911218 Support /plu/ral webhook proxying 2026-07-30 19:24:31 +12:00
544c5206c7 Fix non-PK messages from PK users being flaky 2026-07-28 01:12:39 +12:00
fa716cd239 Prevent typing events double-bridging 2026-07-20 21:45:44 +12:00
ed0bddaae0 Expressions http status typo 400 -> 500 2026-07-20 18:32:00 +12:00
d4cd580555 Detect timeouts as server down 2026-07-15 16:37:23 +12:00
f92d280494 Wait for homeserver when bridge is first started 2026-07-12 02:47:07 +12:00
414da4caf4 Queue events for later if homeserver is down 2026-07-12 02:12:53 +12:00
8779b8b1b0 Update SnowTransfer 2026-07-12 02:05:57 +12:00
401985a861 Fix member leaves not being propagated immediately
Previously they would only be removed next time the bridge was
restarted. Now it should be done in real time.
2026-07-03 22:36:21 +12:00
73f410bcad Emoji name in messages may be uncapped 2026-06-21 20:28:44 +12:00
34fc21fa15 Fix PluralKit replies being duplicated
There was a race condition on create/update that was skipping the
remedial code due to a bad assumption about the speedbump.
2026-06-16 20:11:39 +12:00
ab051f301f Fix polls in threads 2026-06-13 20:27:48 +12:00
51d57051f6 Fix not giving speedbump info when it's bypassed 2026-06-12 18:08:43 +12:00
f7609b2040 Only speedbump users that have used PK 2026-06-06 23:38:49 +12:00
e2ab9fa9bf Improve PK ping message 2026-06-03 00:02:48 +12:00
313efb29d8 Fix m->d reaction deletion counting (#85)
Fixes a bug where, if multiple Matrix users had used the same reaction on a message, and then one of those Matrix users removed their reactions, the bot would forcibly remove all of that reactions. Now, we check and make sure there are no remaining reactions from Matrix before removal.

This also rewrote the retrigger system to be more generic and to use promises instead of re-entry (would lose call stack).

Co-authored-by: Cadence Ember <cadence@disroot.org>
Reviewed-on: cadence/out-of-your-element#85
2026-06-01 04:54:38 +00:00
7f7a366cd5 Fix tests for command emoji change 2026-05-22 14:34:59 +12:00
e0eb7deb2f Change arrow to chevron for commands 2026-05-21 23:19:03 +12:00
d76936b157 Change emoji for forwards/crossposts 2026-05-21 19:09:02 +12:00
7781d1e34d Increase d->m catch-up limit to 100 2026-05-21 18:44:48 +12:00
92d6ada71b Merge tag 'v3.5.1'
Remove AI joke
2026-05-10 20:41:21 +12:00
d8fb4be509 d->m: Fix reply to user join message 2026-04-24 21:23:14 +12:00
e7cbfb9fc9 Remove AI joke
This reverts commit 201814e9f4.
2026-03-29 15:43:23 +13:00
nemesio65
12f4103870 d2m: Create voice channels as call rooms 2026-03-28 11:46:08 +13:00
59012d9613 Fix pinning random messages 2026-03-27 19:13:03 +13:00
953b3e7741 Attach message to error
Apparently this was causing detached logs, so just stop those
complaints if the error isn't being bubbled
2026-03-26 00:16:30 +13:00
5c9e569a2a Support channel follow messages 2026-03-25 15:29:18 +13:00
201814e9f4 Update dependencies 2026-03-23 21:22:33 +13:00
0dac3d2898 Internal language adjusted 2026-03-20 00:53:09 +13:00
8c87d93011 Remove member repetition bugfixes 2026-03-20 00:17:40 +13:00
876d91fbf4 Remove sims when the Discord user leaves 2026-03-19 14:30:10 +13:00
f8896dce7f Type fixes in set-presence.js 2026-03-19 13:34:19 +13:00
5b04b5d712 Reformat /plu/ral emulated replies 2026-03-19 13:33:50 +13:00
f1b111a8a4 Refuse to operate on encrypted rooms
- Refuse to link to encrypted rooms
- Do not show encrypted rooms as link candidates (if server supports)
- Reject invites to encrypted rooms with message
- Unbridge and leave room if it becomes encrypted
2026-03-17 12:35:42 +13:00