gnuxie
5304b260e1
Add documentation link to status and help commands.
2024-05-24 15:40:16 +01:00
gnuxie
16435bd8fc
Add some spaces around room pills in protection prompts.
2024-05-22 16:35:36 +01:00
gnuxie
8664d91b1a
Update protect prompt for config.protectAllJoinedRooms.
...
Stop sending prompts to protect room when config.protectAllJoinedRooms
is enabled.
2024-05-22 15:37:31 +01:00
gnuxie
b14a8723ca
Rename ProtectRoomsOnInviteProtection to JoinRoomsOnInviteProtection.
2024-05-22 13:53:18 +01:00
gnuxie
38553b7221
Time to split out the ProtectRoomsOnInviteProtection.
2024-05-22 13:53:18 +01:00
gnuxie
d156eb3f6e
Sometimes we see invitations twice on protect rooms on invite.
2024-05-20 16:56:47 +01:00
gnuxie
180594502d
Ignore invitation events to rooms we are already protecting.
2024-05-20 16:56:47 +01:00
gnuxie
9792df15d3
Use MPS logger in MatrixReactionhandler.
2024-05-20 16:56:47 +01:00
gnuxie
95007952fe
Allow prompts to be cancelled.
2024-05-20 16:56:46 +01:00
gnuxie
1041105aa8
ProtectRoomsOnInviteProtection.
...
Currently creates two prompts sometimes for some reason.
We also need a way to cancel prompts see https://github.com/the-draupnir-project/Draupnir/issues/423 .
Especially once we have finished protecting a room, it doesn't make sense for them to keep clicking.
2024-05-15 18:11:27 +01:00
gnuxie
d1950fbb54
Update for new MPS handleExternalInvite handle.
2024-05-13 16:23:26 +01:00
gnuxie
269a3edb65
Fix prompt for accept.
...
Avoid presentation conflict while finding prestnation renderer for
DeadDocuments
https://github.com/the-draupnir-project/Draupnir/issues/403
Make sure we printReadably when serializing `ReadItem`s.
2024-05-06 17:39:35 +01:00
gnuxie
a4833bcf3a
Fix unban command.
...
https://github.com/the-draupnir-project/Draupnir/issues/401 .
2024-05-06 16:40:03 +01:00
gnuxie
aa72badd3e
Display notice for missing permissions.
2024-05-02 15:57:44 +01:00
gnuxie
0049dfd367
Update for MPS ProtectedRoomsManager.
2024-05-02 15:57:44 +01:00
gnuxie
a85d292841
Renderers for UserConsequence UsersInRoom.
2024-05-02 15:57:44 +01:00
gnuxie
2bbca6d27a
Update for MPS's PowerLevelMirror.
2024-05-02 15:57:44 +01:00
Catalan Lover
9239c23b5d
Make Draupnir refer to it self in help output. ( #358 )
...
Title is the full description of this issue. This PR fixes #357
2024-04-19 13:59:43 +01:00
Gnuxie
3d02c72401
Gnuxie/consequence renderer clarity ( #356 )
...
* Allow span attributes to be rendered.
* Update for MPS 0.18.0.
* Add some consistency to capability renderers.
2024-04-18 17:32:27 +01:00
gnuxie
1a3666815c
Print status at startup and show a log message.
...
Fixes https://github.com/the-draupnir-project/Draupnir/issues/349 .
2024-04-16 18:31:12 +01:00
gnuxie
06e966f227
Improve appservice provisioning
...
Attempt at fixing https://github.com/the-draupnir-project/Draupnir/issues/276 .
2024-04-16 17:46:42 +01:00
gnuxie
5990de6ce3
Use handleProtectionDisable hook to disable protection listeners.
...
Fixes https://github.com/the-draupnir-project/Draupnir/issues/345 .
2024-04-16 12:41:12 +01:00
Gnuxie
ae86e173f5
Update for MPS 0.17.1. ( #347 )
...
* Update for MPS 0.17.1.
Part of https://github.com/the-draupnir-project/Draupnir/issues/333
And https://github.com/the-draupnir-project/Draupnir/issues/345
Fixes https://github.com/the-draupnir-project/Draupnir/issues/337
* Add loggableConfigTracker to Draupnir.
Part of https://github.com/the-draupnir-project/Draupnir/issues/217 .
I don't think this is right yet.
2024-04-16 12:24:17 +01:00
Gnuxie
e634c3c502
Add PolicyChangeNotification protection. ( #346 )
...
Fixes https://github.com/the-draupnir-project/Draupnir/issues/335 .
2024-04-15 23:33:13 +01:00
Gnuxie
97482aab2f
Allow config.disableServerACL to disable ServerBanSynchronisationProtection ( #339 )
...
* Update for MPS ~0.16.0.
* Update for new MPS ProtectionsManager.
Part of https://github.com/the-draupnir-project/Draupnir/issues/317 .
* `config.disableServerACL` now disabled `ServerBanSynchronisationProtection`
Fixes https://github.com/the-draupnir-project/Draupnir/issues/317 .
2024-04-14 14:20:50 +01:00
Gnuxie
86d1605bfa
Protect lists after creation. ( #332 )
2024-04-10 21:25:32 +01:00
Gnuxie
4c775742be
Post MPS Allow use of shortcodes to refer to policy rooms ( #331 )
...
* Update to MPS 0.15.0.
This adds support for mjolnir shortcodes.
* Add shortcode support back post MPS.
Fixes https://github.com/the-draupnir-project/Draupnir/issues/316 .
2024-04-10 21:14:48 +01:00
gnuxie
1ff59481be
Catch all bans in BanPropagationProtection so we can detect edits.
2024-04-06 20:03:38 +01:00
gnuxie
21e640e9bf
Improve readability of redaction synchronisation protection.
2024-04-06 20:03:38 +01:00
gnuxie
80ccb64330
Implement RoomStateBackingStore with BetterSqlite.
2024-04-06 20:03:38 +01:00
gnuxie
2392791444
Add RedactionSynchronisation protection.
2024-04-06 20:03:38 +01:00
gnuxie
45a2429eac
Update MPS dependencies to fix banpropagation bugs.
2024-04-06 20:03:37 +01:00
gnuxie
6957b3e404
Fix eslint (i don't think this was ever working :/)
2024-04-06 20:03:37 +01:00
gnuxie
4a8962b371
Fix draupnirMXID creation from mjolnir record.
2024-04-06 20:03:37 +01:00
gnuxie
ad01b09773
Fix appservice provisioning.
2024-04-06 20:03:37 +01:00
gnuxie
979bef6013
Revert "Attempt make draupnirFactory accessible to integration tests"
...
This reverts commit 68ca69882bd7627414951aef11985408fd29dec8.
2024-04-06 20:03:37 +01:00
gnuxie
6d52137501
Attempt make draupnirFactory accessible to integration tests
...
But this won't work as we'd have to mess about a lot with
the clientsinroommap
2024-04-06 20:03:37 +01:00
gnuxie
14e6dc8457
Remove suprious method from DraupnirManager
...
The ClientsInRoomsMap is updated in the appservice event handler anyhow.
2024-04-06 20:03:36 +01:00
gnuxie
16b8b5b07a
Remove displayname from command handler prefixes.
...
It's unclear to me how to reliably implement this, so i have
removed it for now.
The problem is setting up code to watch for changes to the
displyname in the management room.
2024-04-06 20:03:36 +01:00
gnuxie
7c6c0bf189
Introduce MPS RoomSetResult to capability renderers.
2024-04-06 20:03:36 +01:00
gnuxie
b145790b16
Add capabilityMessageRender to Draupnir class.
2024-04-06 20:03:36 +01:00
gnuxie
fcc22dac5c
capablity renderer stuff that didn't get committed
2024-04-06 20:03:36 +01:00
gnuxie
6b9162bc9d
Capability renderers and glue.
2024-04-06 20:03:36 +01:00
gnuxie
c1bfcf610e
Begin moving from ConsequenceProvider to CapabilityProviderSet.
...
We gotta sort out the glue and the renderering yet.
2024-04-06 20:03:36 +01:00
gnuxie
41db3392df
Stop throwing in Draupnir['makeDraupnirBot']
2024-04-06 20:03:36 +01:00
gnuxie
8044a78fa6
Fix reportPollerTest (it works!)
2024-04-06 20:03:36 +01:00
gnuxie
380f4b1a77
Update for ClientsInRoomsMap rework (MPS).
2024-04-06 20:03:36 +01:00
gnuxie
0dc7c84afd
Fix BanPropagationProtectionTest (it works!)
...
However, it does hang because something is sat on the event loop,
i can't find out what yet.
2024-04-06 20:03:36 +01:00
gnuxie
70d0cec695
Typo in RoomUpdateError
...
We really need a way to type the embedded expressions within JSX to
stop this happening, aswell as accidentally passing `undefined`.
2024-04-06 20:03:36 +01:00
gnuxie
2fe1ad1f37
Fix renderSetMembershipBans - it wasn't finished.
2024-04-06 20:03:36 +01:00