summary refs log tree commit diff
path: root/synapse/events/spamcheck.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add type hints to the spam check module (#6915)Andrew Morgan2020-03-231-34/+42
|\ | | | | | | | | * commit '10027c80b': Add type hints to the spam check module (#6915)
| * Add type hints to the spam check module (#6915)Patrick Cloke2020-02-141-18/+26
| | | | | | | | Add typing information to the spam checker modules.
* | Filter the results of user directory searching via the spam checker (#6888)Andrew Morgan2020-03-231-0/+27
|\| | | | | | | | | * commit '49f877d32': Filter the results of user directory searching via the spam checker (#6888)
| * Filter the results of user directory searching via the spam checker (#6888)Patrick Cloke2020-02-141-0/+27
| | | | | | Add a method to the spam checker to filter the user directory results.
* | Expose some homeserver functionality to spam checkers (#6259)Andrew Morgan2020-03-161-1/+13
|\| | | | | | | | | * commit '3a74c03ff': Expose some homeserver functionality to spam checkers (#6259)
| * Expose some homeserver functionality to spam checkers (#6259)Travis Ralston2019-10-311-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Offer the homeserver instance to the spam checker * Newsfile * Linting * Expose a Spam Checker API instead of passing the homeserver object * Alter changelog * s/hs/api
* | Revert "Use the v2 lookup API for 3PID invites (#5897)"Andrew Morgan2020-02-241-0/+1
| | | | | | | | | | This reverts commit 978f263e7c5d1eb440efaf07abc5009408ade25d, reversing changes made to 4f6ee99818d9c338944a10585d0aea4c7349d456.
* | Use the v2 lookup API for 3PID invites (#5897)Andrew Morgan2020-02-241-1/+0
|\|
| * Run Black. (#5482)Amber Brown2019-06-201-1/+3
| |
* | Dinsic Blacking with black==18.6b2Andrew Morgan2020-02-111-6/+18
| |
* | [DINSIC] Block internal users from inviting external users to a public room ↵Andrew Morgan2019-04-161-2/+6
| | | | | | | | | | | | (#5061) Co-Authored-By: babolivier <contact@brendanabolivier.com>
* | Merge branch 'develop' into dinsicAndrew Morgan2019-04-151-1/+1
|\|
| * Remove periods from copyright headers (#5046)Andrew Morgan2019-04-111-1/+1
| |
* | Fix commentsErik Johnston2019-03-211-2/+2
| |
* | Add 3PID invite support to spam checkerErik Johnston2019-03-211-3/+8
| |
* | Correctly handle 3PID invites in create room spam checkErik Johnston2019-03-211-2/+7
| | | | | | | | We also add an option to outright deny third party invites
* | Add user_may_join_room spam checkErik Johnston2019-03-181-0/+18
| |
* | Add invite_list and cloning param to create room ruleErik Johnston2019-03-181-5/+16
|/
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-1/+1
| | | | what could possibly go wrong
* Spam checking: add the invitee to user_may_inviteDavid Baker2017-10-051-2/+2
|
* spam check room publishingDavid Baker2017-10-041-0/+18
|
* Add room creation checks to spam checkerDavid Baker2017-10-041-0/+32
| | | | | Lets the spam checker deny attempts to create rooms and add aliases to them.
* s/roomid/room_id/David Baker2017-10-031-2/+2
|
* pass room id tooDavid Baker2017-10-031-2/+2
|
* Actually write warpper functionDavid Baker2017-10-031-0/+16
|
* Don't test is spam_checker not NoneDavid Baker2017-09-271-1/+7
| | | | | Sometimes it's a Mock object which is not none but is still not what we're after
* Remove unintentional debuggingDavid Baker2017-09-271-1/+0
|
* pep8David Baker2017-09-271-0/+1
|
* Make the spam checker a moduleDavid Baker2017-09-261-17/+20
|
* fix thinko'd docstringMatthew Hodgson2017-09-221-1/+1
|
* PoC for filtering spammy events (#2456)Richard van der Hoff2017-09-191-0/+38
Demonstration of how you might add some hooks to filter out spammy events.