Commit Graph
36 Commits
Author SHA1 Message Date
Ellie AlgaseandCadence Ember 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: https://gitdab.com/cadence/out-of-your-element/pulls/85
2026-06-01 04:54:38 +00:00
Cadence Ember 7781d1e34d Increase d->m catch-up limit to 100 2026-05-21 18:44:48 +12:00
Cadence Ember e7cbfb9fc9 Remove AI joke
This reverts commit 201814e9f4.
2026-03-29 15:43:23 +13:00
Cadence Ember 201814e9f4 Update dependencies 2026-03-23 21:22:33 +13:00
Cadence Ember 8c87d93011 Remove member repetition bugfixes 2026-03-20 00:17:40 +13:00
Cadence Ember 876d91fbf4 Remove sims when the Discord user leaves 2026-03-19 14:30:10 +13:00
ElliuandCadence Ember 35e9c9e1ea Add unlink space feature
Squashed commit of the following:

commit bd9fd5cd3cf3f1301df18074c997ec537a81b4f5
Author: Elliu <elliu@hashi.re>
Date:   Sat Nov 15 15:32:18 2025 +0900

    Revert "fix matrix / db resource cleanup on space unlink"

    This reverts commit ccc10564f1e33ab277bc15f360b8c65f2d0ea867.

commit eec559293861305394770343d501389905fe1650
Author: Cadence Ember <cadence@disroot.org>
Date:   Sat Nov 8 13:01:59 2025 +1300

    Dependency inject snow for testing

commit b45eeb150e0702c201b8f710a3bdaa8e9f7d90be
Author: Elliu <elliu@hashi.re>
Date:   Wed Nov 5 00:20:20 2025 +0900

    manually revert 3597a3b: "Factorize some of the space link/unlink sanity checks"

commit 0f2e575df21bf940e4780c30d2701da989f62471
Author: Elliu <elliu@hashi.re>
Date:   Wed Nov 5 00:04:38 2025 +0900

    on unbriding room, also demote powel level of bridge user in matrix room

commit ccc10564f1e33ab277bc15f360b8c65f2d0ea867
Author: Elliu <elliu@hashi.re>
Date:   Wed Nov 5 00:04:13 2025 +0900

    fix matrix / db resource cleanup on space unlink

commit f4c1ea7c7f7d5a265b84ce464cd8e9e26d934a32
Author: Elliu <elliu@hashi.re>
Date:   Tue Nov 4 23:54:41 2025 +0900

    /unlink-space: properly leave guild and clean DB

commit 5f0ec3b2c861cc8b9edc51389d6176c7a22a1135
Author: Cadence Ember <cadence@disroot.org>
Date:   Sun Nov 2 22:31:14 2025 +1300

    Improve HTML to a state I'm happy with

commit 16309f26b3dd72927e05454cee8c63504b447b7f
Author: Elliu <elliu@hashi.re>
Date:   Sat Nov 1 22:24:51 2025 +0900

    add tests from /unlink-space endpoint

commit 5aff6f9048330a86eda3b2d1862f42df8d2bad84
Author: Elliu <elliu@hashi.re>
Date:   Sat Sep 6 20:05:18 2025 +0900

    Add /api/unlink-space implementation

commit dfc61594f68db4b52b3553ac7d3561ae9ce13b49
Author: Elliu <elliu@hashi.re>
Date:   Sat Sep 6 19:59:44 2025 +0900

    Extract /api/unlink code to its own function

commit 3597a3b5ce9dde3a9ddfe0853253bfda91a38335
Author: Elliu <elliu@hashi.re>
Date:   Sat Sep 6 19:28:42 2025 +0900

    Factorize some of the space link/unlink sanity checks

commit 05d788e26394106d9be24cef8b38f6c6f1e4c984
Author: Elliu <elliu@hashi.re>
Date:   Sat Sep 6 18:23:01 2025 +0900

    Add button to unlink a space

Co-authored-by: Cadence Ember <cadence@disroot.org>
2026-02-13 19:13:02 +13:00
Cadence Ember 1defd83fde Sync create polls permission from Discord 2026-02-12 19:43:29 +13:00
Cadence Ember c4909653aa Fix typecheck 2026-02-11 11:31:27 +13:00
Cadence Ember 279e379d77 The database really works better if you query it 2026-02-10 16:34:47 +13:00
Cadence Ember aa7222c4ed Print d->m errors when there is no room 2026-02-04 12:56:52 +13:00
Cadence Ember fca4c75522 Fix speedbump+retrigger interactions
Send and then edit over speedbump should now just post the edit.

Hopefully this doesn't have any negative consequences.
2026-01-30 19:21:10 +13:00
Cadence Ember 0c781f9b72 Fixes to vote counting 2026-01-26 20:51:30 +13:00
Cadence Ember f3ae7ba792 Rename poll files a bit better 2026-01-26 02:35:58 +13:00
Ellie Algase e565342ac8 initial polls support (not exactly working) 2026-01-25 14:33:09 +13:00
Cadence Ember 92a60955bc Improve Matrix info and add alternative access
React with red question mark to get a DM of the author info, like PK.
2026-01-18 02:39:17 +13:00
Cadence Ember fba50e9505 Fix getPermissions misunderstanding @everyone 2026-01-14 15:11:22 +13:00
Cadence Ember a441c476f8 Support multiple versions of rooms 2025-11-26 15:43:48 +13:00
Cadence Ember b4dd66fbec More consistently generate embeds for Matrix 2025-11-09 01:07:03 +13:00
Cadence Ember 160efc5592 Update dependencies 2025-08-13 20:30:19 +12:00
Cadence Ember 67291a3736 Get member data when running backfill 2025-08-05 01:25:09 +12:00
Cadence Ember 50ca219fc1 Fix retrying d->m errors 2025-08-05 00:06:01 +12:00
Cadence Ember 4cb99feeb2 Rework event dispatchers 2025-03-13 17:15:40 +13:00
Cadence Ember dd63ac7d44 New error trace stringifier 2025-03-12 16:01:36 +13:00
Cadence Ember 98ff9b0e8f Remove async from presence update 2025-02-17 19:35:37 +13:00
Cadence Ember 506e8a8269 Fix types for combining channels with threads 2025-02-17 16:01:47 +13:00
Cadence Ember cfaada6797 Rewrite presence code 2025-02-12 16:50:45 +13:00
Cadence Ember 0f435e930e Per-guild presence sync settings
On by default for existing and small guilds.
Off for new large guilds.
Can be toggled either way.
2025-02-10 16:54:30 +13:00
Cadence Ember 8ad0117fd2 d->m: Presence 2025-02-10 15:23:55 +13:00
Cadence Ember 6bb31deeaf Ignore missed messages if channel was just added 2025-01-16 08:40:26 +13:00
Cadence Ember 97043d90cc await it a bit further up the chain 2025-01-05 19:27:40 +13:00
Cadence Ember 07d6eb3c12 Fix existingPartZero assertion error 2024-11-02 20:35:52 +13:00
Cadence Ember 14115c0e06 Attempt retrigger after speedbump 2024-11-01 17:25:11 +13:00
Cadence Ember bac2deb32f Check existsOrAutocreatable before dispatching 2024-09-29 03:11:59 +13:00
Cadence Ember 6bc3eaf866 Migrate all legacy commands to interactions 2024-09-15 00:33:37 +12:00
Cadence Ember 4247a3114a Move everything to src folder... it had to happen 2024-09-12 17:05:13 +12:00