gnuxie
49c5ada4a8
v2.0.0-beta.1
v2.0.0-beta.1
2024-04-19 11:25:13 +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
20b540526e
v2.0.0-beta.0
v2.0.0-beta.0
2024-04-16 13:10:51 +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
6ca5b63b74
typo
2024-04-15 17:53:15 +01:00
Gnuxie
6d4622969f
contributing documentation overhaul. ( #344 )
...
* contributing documentation overhaul.
* hm
* declutter development stuff from readme.
* hmm
* broken link
2024-04-15 17:50:05 +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
198b65e96e
Protect latest from pre-releases ( #336 )
...
Fixes https://github.com/the-draupnir-project/Draupnir/issues/318
2024-04-12 19:18:42 +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
pre-commit-ci[bot]
be907a6f45
[pre-commit.ci] pre-commit autoupdate ( #327 )
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-09 22:37:10 +01:00
dependabot[bot]
fa9525c4f5
Bump the github-actions group with 2 updates ( #326 )
...
Bumps the github-actions group with 2 updates: [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) and [baptiste0928/cargo-install](https://github.com/baptiste0928/cargo-install ).
Updates `docker/setup-buildx-action` from 3.0.0 to 3.3.0
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3.0.0...v3.3.0 )
Updates `baptiste0928/cargo-install` from 2 to 3
- [Release notes](https://github.com/baptiste0928/cargo-install/releases )
- [Changelog](https://github.com/baptiste0928/cargo-install/blob/main/CHANGELOG.md )
- [Commits](https://github.com/baptiste0928/cargo-install/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: baptiste0928/cargo-install
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 18:06:56 +01:00
gnuxie
8e9009b4bc
Update to MPS 0.14.0.
...
Fixes https://github.com/the-draupnir-project/Draupnir/issues/324
Fixes https://github.com/the-draupnir-project/Draupnir/issues/325
2024-04-08 23:34:43 +01:00
gnuxie
ab8b3786df
Update to MPS v0.13.0
...
This fixes a bug where we use the wrong schema for `org.matrix.mjolnir.protected_rooms`.
2024-04-06 23:22:34 +01:00
gnuxie
97b3a2389d
update readme and contributing.
2024-04-06 21:13:22 +01:00
Gnuxie
6949364ca8
Merge pull request #221 from the-draupnir-project/gnuxie/matrix-protection-suite-raw
...
#### This is a rewrite of the core functionality of Draupnir
This has been done with a library called the [matrix-protection-suite](https://github.com/Gnuxie/matrix-protection-suite ) that Draupnir now depends upon. The protection suite provides a plugin system that allows all of Draupnir's functionality to be implemented as protections, that can be disabled/enabled and configured individually as distinct modules. The protection suite also introduces capability interfaces and capability providers which allow the user to modify what each individual protection can do without needing to change modify the protection's code.
https://github.com/the-draupnir-project/Draupnir/pull/221
2024-04-06 20:20:01 +01:00
gnuxie
971b4edf38
Update for MPS v0.12.1
...
This fixes a race condition causing a nasty bug in the room state revision issuer
that was also causing an intermitent test failure.
2024-04-06 20:03:38 +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
4d50b1be15
Add better-sqlite3 so we can use the room state backing store.
2024-04-06 20:03:38 +01:00
gnuxie
c23b284821
Update for MPS 0.12.0
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
326d95df67
fix listUnstarted appservice integration test.
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
0b658fb5d0
fix roomsTests.ts
2024-04-06 20:03:37 +01:00
gnuxie
9a47ec3204
fix redactCommandTest.
2024-04-06 20:03:37 +01:00
gnuxie
02d9712e12
remove standardConsequenceTest
...
superseded with capability providers in MPS.
We forgot to remove the test.
2024-04-06 20:03:37 +01:00
gnuxie
704e9b94c3
remove roomMembersTest
...
this is superseded by `SetMembership` from MPS.
we forgot to remove the test.
2024-04-06 20:03:37 +01:00
gnuxie
ae93e9c8d4
remove protectionSettingsTest
...
they now belong in MPS.
2024-04-06 20:03:37 +01:00
gnuxie
0613447e07
Remove banListTest
...
farewell old friend.
2024-04-06 20:03:37 +01:00
gnuxie
565df8b362
Delete protectedRoomsConfigTest.ts
...
We just don't have a way to test this right now without changing
a bunch of code. Which we would basically want to do to rewrite
the testing harness anyhow, so it's not worth it right now.
2024-04-06 20:03:37 +01:00
gnuxie
c438eca08c
Fix commandUtils
...
Alright, they're not using the safe emitter, but neither are the
consumers.
2024-04-06 20:03:37 +01:00
gnuxie
1d0c57cea8
fix throttleQueueTest
2024-04-06 20:03:37 +01:00
gnuxie
c9db033043
fix utilsTest.ts
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
6ff8c52aca
Remove detectFederationLagTest
...
idk this one might come back some time but we don't have the protection
and associated command anymore.
2024-04-06 20:03:37 +01:00
gnuxie
c3cfad93e7
Fix shutdown room command test.
2024-04-06 20:03:37 +01:00
gnuxie
40ffa2a114
Fix hijack room command test.
2024-04-06 20:03:37 +01:00
gnuxie
692bc298e1
Add 'done' from mocha test context to draupnir test context.
2024-04-06 20:03:37 +01:00
gnuxie
0cb0beecb0
Tidy up helloTest slightly.
2024-04-06 20:03:37 +01:00
gnuxie
96428d617d
Fix CommandReaderTest.ts.
2024-04-06 20:03:37 +01:00