Commit graph

43 commits

Author SHA1 Message Date
748e851b39 Improve threads UX
/This is a squash-commit - the following is a rough summary of all sub-commits, written in style of commit messages (not necessarily those commits themselves), ie. short and in present tense./

* Document design choice to not bridge Discord threads as Matrix threads [by directly quoting Cadence]
* Alter thread-to-announcement, so that it replies in-thread [with this, Matrix users will get a list of almost all (exl. those that don't branch from anything) open threads on a given channel, whereas before it wasn't possible. Also features slight alterations to the text]
* Notify the user, whenever an in-thread message on Matrix is sent, that this isn't how they're supposed to do threads on OOYE
* Detect /thread being ran as a reply or in-thread to branch the thread from the relevant message
* Handle various /thread errors [notably being ran without args (infer the title if ran in the context above, simply show help if not)]
*  Whenever possible, direct the user to an already-existing thread-room [if /thread was ran as a reply or in-thread, or as part of the notification mentioned in point 3 (feat. a new utility method)]

AUXILIARY TYPE CHANGES (not always relevant to UX-improvement-related changes):
* Fix „boolean” being referred to as „bool” in types.d.ts
* Rename execute(event) in matrix-command-handler is now parseAndExecute(event) [and it is no longer of type CommandExecute, but has its own custom definition, because a) it has a different return now (returns what command was ran (needed for point 3 in section above) instead of always undefined and b) other params from CommandExecute (like ctx or words) weren't being used - quite the contrary, their values were only being created at that stage (as part of command parsing - hence the rename, too), so telling that they're values you pass into execute() was at least somewhat confusing]
* Further narrow-down the type of guard() in m2d event-dispatcher

TEST CHANGES:
* Create 7 new tests, all pass
* Update 4 existing threads, all pass
* Pass all other relevant tests [and almost all other tests, too - there are some issues with event2message for stickers, but given the fact that this commit does not touch the stickers subsystem in any way at all,  it does not seem like they are any way related to my changes and they must've been failing before]
* Do extensive manual testing and debugging
Co-authored-by: Guzio <guzekk@protonmail.com>
Co-committed-by: Guzio <guzekk@protonmail.com>
2026-03-02 15:17:08 +00:00
0cd7e1c336 Allow for custom additions to webroot 2026-02-17 12:54:50 +13:00
14de436054 Add docker policy 2026-02-14 20:13:46 +13:00
Ellie Algase
90606d9176 Add full support for polls, both m2d and d2m.
Mostly works, but a few edge-cases still need to be worked out.

Co-authored-by: Cadence Ember <cadence@disroot.org>
2026-01-26 02:30:05 +13:00
03e9fc4b9c Room upgrades technical information 2026-01-13 23:08:00 +13:00
c7e8d4d58b Storage is 15% more efficient now 2026-01-13 23:01:58 +13:00
092a4cf7b0 Add traefik documentation 2026-01-06 16:07:23 +13:00
efaa59ca92 Update CloudStorm (requires node 22+!) 2025-06-21 22:57:31 +12:00
65a591e924 Add documentation for info API 2025-06-08 23:02:50 +12:00
7a59f48c0a New emoji storage and bug fixes in setup 2025-05-12 14:29:34 +12:00
3975550582 Fix retrying failed m->d edits
The mutated event was being used as the error payload instead of the
original event, so it forgot that it was an edit.
2025-03-12 09:41:30 +13:00
960eca3b39 Update SnowTransfer and use its new method 2025-03-10 12:13:13 +13:00
bb20e266fb Update docs for why the bridge has a website 2025-03-01 00:10:56 +13:00
a8670323a0 m->d: fix image captions spec, fix upload issues 2025-02-28 00:39:03 +13:00
050cc9cee9 Can hotlink the updates chatroom now 2025-02-26 14:50:27 +13:00
fca3267e8d Explain how to update 2025-02-25 15:01:54 +13:00
3b034dd6e5 Optional password protection for the web server 2025-02-25 14:36:49 +13:00
2e13538ca6 Split out readme into pages 2025-02-21 17:45:20 +13:00
d45a0bdc10 UI for linking existing space 2025-02-04 02:45:38 +13:00
b1b9124052 Fully support unlinking channels 2025-01-31 15:09:01 +13:00
8ad299b04c Add foreign keys to database 2025-01-17 11:33:29 +13:00
2009e23689 Docs: Why does the bridge have a website? 2025-01-08 01:01:43 +13:00
4f040e40d6 Autocreate space if autocreating the room 2024-12-02 16:33:18 +13:00
b0a0e62a86 Adapt createRoom/space/invite to self-service 2024-09-25 01:58:26 +12:00
af68657ec4 Make ensureRoom/syncRoom check if autocreatable 2024-09-24 17:21:35 +12:00
dbbb8281e6 Create guild_active table instead of column 2024-09-24 16:31:47 +12:00
e49dc18e67 Implement the speedbump 2024-01-20 01:02:51 +13:00
5ef5dbb2e8 Write more "add a new event type" documentation 2024-01-19 16:43:30 +13:00
ed7404ea19 Fix #16 pinned messages order 2024-01-16 16:02:31 +13:00
e4f66a5077 Notetaking about how PK code paths will work 2023-12-21 16:56:46 +13:00
3a8dbe8c59 Publish WIP PK notes 2023-12-15 17:08:06 +13:00
850de85d82 Add //thread command for Matrix users 2023-10-13 02:08:00 +13:00
5c41b95919 Clarify documentation note 2023-10-11 11:27:50 +13:00
48d69c0539 Start work on pinned events 2023-10-10 17:41:53 +13:00
e2dffe457e Adding icon to readme 2023-10-10 01:17:17 +13:00
8bc696b6f8 Making it easier to find the documentation 2023-10-10 00:58:19 +13:00
3ef569d855 seed.js should now upload the L1 & L2 emojis 2023-10-07 23:39:49 +13:00
944fe2dc43 Document the Extra-Long Names feature 2023-10-02 22:29:37 +13:00
53baeb5df7 fix m->d message deletions 2023-10-02 22:10:50 +13:00
6d83df2e95 Draft user guide 2023-10-02 17:11:42 +13:00
5dbcc74617 adding some more notes 2023-09-22 17:47:36 +12:00
92dee012fc refactor custom emoji schema; make reactions work 2023-09-20 00:37:15 +12:00
b31b7c794c rearrange documentation into folder 2023-09-19 15:55:15 +12:00