Commit Graph

529 Commits

Author SHA1 Message Date
Half-Shot
768947529b Merge remote-tracking branch 'origin/main' into hs/mention-spam-protection 2024-09-20 09:27:39 +01:00
Half-Shot
0c75c17920 Reduce logic further 2024-09-20 09:26:12 +01:00
Half-Shot
a51cd63dde Optimise further 2024-09-20 09:22:43 +01:00
Half-Shot
4ec3f30069 Short circuit on short messages 2024-09-20 09:13:53 +01:00
Half-Shot
19e07a64b5 Test sigil instead. 2024-09-20 09:13:14 +01:00
Half-Shot
b61f39db2c Test HTML messages 2024-09-20 09:12:55 +01:00
Travis Ralston
f66ac77a79
Merge pull request #525 from matrix-org/hs/name-that-protection
Log the name of the failed protection to the moderation room when it fails.
2024-09-20 09:15:44 +02:00
Travis Ralston
d3f8c033b1
Merge pull request #526 from matrix-org/hs/await-redact
Fix NSFW protection not awaiting redaction
2024-09-20 00:46:28 +02:00
Will Hunt
4f73da38b8 await redact in nsfw protection 2024-09-19 22:41:51 +01:00
Will Hunt
0c375992ea fix typo 2024-09-19 22:33:15 +01:00
Will Hunt
ec0c8b7484 Move operator 2024-09-19 22:28:11 +01:00
Will Hunt
5d497b4ca0 plus one 2024-09-19 16:43:44 +01:00
Will Hunt
fadc16bc4c Update deps 2024-09-19 16:26:27 +01:00
Will Hunt
1486c4a96a Merge remote-tracking branch 'origin/main' into hs/mention-spam-protection 2024-09-19 16:25:58 +01:00
Will Hunt
c77d57b842 fix tests 2024-09-19 16:17:37 +01:00
Will Hunt
5f4178ff30
Merge pull request #523 from matrix-org/hs/update-bot-sdk-to-support-authed-media
Support authenticated media (by updating bot-sdk / matrix-appservice-bridge)
2024-09-19 16:10:35 +01:00
Will Hunt
35f59771a9 Name the protection that failed. 2024-09-19 16:06:20 +01:00
Will Hunt
b9d4f21786 add a minimum 2024-09-19 16:01:35 +01:00
Will Hunt
38580c7a46 fix 2024-09-19 16:01:03 +01:00
Will Hunt
4ee523e2c0 increase to 10 2024-09-19 15:59:06 +01:00
Will Hunt
fa9a17cf44 fix log line 2024-09-19 15:55:53 +01:00
Will Hunt
02de47e83f fix imports 2024-09-19 15:54:35 +01:00
Will Hunt
923c00a1dd Add test for mention spam. 2024-09-19 15:50:50 +01:00
Will Hunt
ea58b0b5b5 Add mention spam protection. 2024-09-19 15:35:09 +01:00
Will Hunt
b1e2a3ef19 Disable stores 2024-09-19 14:43:58 +01:00
Will Hunt
1e03128e92 bump bump the package 2024-09-19 14:38:49 +01:00
Will Hunt
07ee4f580f Node 20 2024-09-19 14:08:37 +01:00
Will Hunt
c501f3d290 Update references to bot-sdk 2024-09-19 14:06:34 +01:00
Will Hunt
167597fbb9 Update matrix-appservice-bridge and bot-sdk 2024-09-19 14:06:23 +01:00
Shay
1c5b49df54
Resolve aliases and get via servers before storing watch list (#518) 2024-09-12 14:36:09 -07:00
H. Shay
9e8546366a v1.7.0 2024-09-11 15:49:50 -07:00
Travis Ralston
060dc6e8e4
Merge pull request #519 from matrix-org/dependabot/npm_and_yarn/micromatch-4.0.8
Bump micromatch from 4.0.4 to 4.0.8
2024-09-11 16:28:33 -06:00
Travis Ralston
7ab98a0060
Merge pull request #521 from matrix-org/dependabot/npm_and_yarn/express-4.20.0
Bump express from 4.19.2 to 4.20.0
2024-09-11 16:28:12 -06:00
dependabot[bot]
d72fa10522
Bump express from 4.19.2 to 4.20.0
Bumps [express](https://github.com/expressjs/express) from 4.19.2 to 4.20.0.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.20.0)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-11 22:27:13 +00:00
Shay
4488706fc6
Add a NSFW protection (#520) 2024-09-11 15:26:20 -07:00
dependabot[bot]
21f77e8fdd
Bump micromatch from 4.0.4 to 4.0.8
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.4 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.4...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-30 13:21:03 +00:00
Shay
f526b972a4
Enhance media protections (#516) 2024-07-29 09:48:36 -07:00
Travis Ralston
77357e46af
Merge pull request #515 from matrix-org/update-dco
remove real name requirement from DCO
2024-07-25 16:21:27 -06:00
Josh Simmons
dbcaafc477 remove real name requirement from DCO 2024-07-25 14:52:58 -07:00
Marco Cirillo
1ffde55beb
Do not interrupt redact sequences because of exceptions on backfilling (#479) 2024-07-24 16:14:11 -07:00
Shay
e776d82d89
modernize language (#513) 2024-07-24 15:53:19 -07:00
Shay
6a227c8ad3
Check for via servers before trying to join room in policy list manager (#514) 2024-07-24 15:53:03 -07:00
Shay
2f6120eca9
Add commands to suspend/unsuspend user (#506) 2024-07-24 12:16:12 -07:00
dependabot[bot]
033d84cc70
Bump follow-redirects from 1.15.1 to 1.15.6 (#508)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.1 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.1...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-19 13:21:18 -07:00
dependabot[bot]
4f0bf71a5f
Bump ws from 7.5.5 to 7.5.10 (#509)
Bumps [ws](https://github.com/websockets/ws) from 7.5.5 to 7.5.10.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.5.5...7.5.10)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-19 13:14:26 -07:00
dependabot[bot]
2378de280f
Bump sanitize-html from 2.7.1 to 2.13.0 (#510)
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 2.7.1 to 2.13.0.
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apostrophecms/sanitize-html/compare/2.7.1...2.13.0)

---
updated-dependencies:
- dependency-name: sanitize-html
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-19 13:03:36 -07:00
dependabot[bot]
7b09a93429
Bump braces from 3.0.2 to 3.0.3 (#511)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-19 12:30:51 -07:00
dependabot[bot]
e7e77512a8
Bump express from 4.18.1 to 4.19.2 (#512)
Bumps [express](https://github.com/expressjs/express) from 4.18.1 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.1...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-19 12:22:49 -07:00
dependabot[bot]
3c6039997e
Bump crypto-js from 4.1.1 to 4.2.0 (#492)
Bumps [crypto-js](https://github.com/brix/crypto-js) from 4.1.1 to 4.2.0.
- [Commits](https://github.com/brix/crypto-js/compare/4.1.1...4.2.0)

---
updated-dependencies:
- dependency-name: crypto-js
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-19 12:20:44 -07:00
dependabot[bot]
bb818d850a
Bump postcss from 8.4.16 to 8.4.39 (#507)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.16 to 8.4.39.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.16...8.4.39)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-19 12:12:45 -07:00