Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | guard against accidental modification | Richard van der Hoff | 2020-10-13 | 1 | -3/+4 |
| | |||||
* | Allow ThirdPartyRules modules to replace event content | Richard van der Hoff | 2020-10-13 | 1 | -3/+9 |
| | | | | Support returning a new event dict from `check_event_allowed`. | ||||
* | Combine `SpamCheckerApi` with the more generic `ModuleApi`. (#8464) | Richard van der Hoff | 2020-10-07 | 1 | -2/+1 |
| | | | | | Lots of different module apis is not easy to maintain. Rather than adding yet another ModuleApi(hs, hs.get_auth_handler()) incantation, first add an hs.get_module_api() method and use it where possible. | ||||
* | Additional tests for third-party event rules (#8468) | Richard van der Hoff | 2020-10-06 | 1 | -5/+7 |
| | | | | | | | | | * Optimise and test state fetching for 3p event rules Getting all the events at once is much more efficient than getting them individually * Test that 3p event rules can modify events | ||||
* | Fix third-party event modules for `check_visibility_can_be_modified` check | Richard van der Hoff | 2020-10-05 | 1 | -1/+3 |
| | | | | | | PR #8292 tried to maintain backwards compat with modules which don't provide a `check_visibility_can_be_modified` method, but the tests weren't being run, and the check didn't work. | ||||
* | Allow ThirdPartyEventRules modules to manipulate public room state (#8292) | Andrew Morgan | 2020-10-05 | 1 | -6/+45 |
| | | | | | This PR allows `ThirdPartyEventRules` modules to view, manipulate and block changes to the state of whether a room is published in the public rooms directory. While the idea of whether a room is in the public rooms list is not kept within an event in the room, `ThirdPartyEventRules` generally deal with controlling which modifications can happen to a room. Public rooms fits within that idea, even if its toggle state isn't controlled through a state event. | ||||
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -1/+1 |
| | |||||
* | Convert a synapse.events to async/await. (#7949) | Patrick Cloke | 2020-07-27 | 1 | -25/+30 |
| | |||||
* | Third party event rules Update (#6781) | PeerD | 2020-02-06 | 1 | -3/+4 |
| | |||||
* | Change EventContext to use the Storage class (#6564) | Erik Johnston | 2019-12-20 | 1 | -1/+1 |
| | |||||
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -4/+4 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -3/+2 |
| | |||||
* | Make check_threepid_can_be_invited async | Brendan Abolivier | 2019-06-17 | 1 | -0/+1 |
| | |||||
* | Add third party rules hook for 3PID invites | Brendan Abolivier | 2019-06-17 | 1 | -1/+31 |
| | |||||
* | Add third party rules hook into create room | Erik Johnston | 2019-06-17 | 1 | -3/+24 |
| | |||||
* | Add plugin APIs for implementations of custom event rules. | Brendan Abolivier | 2019-06-14 | 1 | -0/+62 |