summary refs log tree commit diff
path: root/tests/events (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implement MSC2176: Updated redaction rules (#8984)Patrick Cloke2021-01-051-21/+164
| | | | An experimental room version ("org.matrix.msc2176") contains the new redaction rules for testing.
* Convert the message handler to async/await. (#7884)Patrick Cloke2020-07-221-15/+21
|
* Implement room version 6 (MSC2240). (#7506)Patrick Cloke2020-05-151-1/+1
|
* Fix bug in EventContext.deserialize. (#7393)Erik Johnston2020-05-051-0/+100
| | | | This caused `prev_state_ids` to be incorrect if the state event was not replacing an existing state entry.
* Remove special auth and redaction rules for aliases events in experimental ↵Patrick Cloke2020-03-091-2/+33
| | | | room ver. (#7037)
* Add a `make_event_from_dict` method (#6858)Richard van der Hoff2020-02-071-4/+5
| | | | | | | ... and use it in places where it's trivial to do so. This will make it easier to pass room versions into the FrozenEvent constructors.
* Factor out a `copy_power_levels_contents` methodRichard van der Hoff2020-01-291-2/+43
| | | | I'm going to need another copy (hah!) of this.
* Run Black. (#5482)Amber Brown2019-06-201-47/+47
|
* Fix a number of flake8 errorsRichard van der Hoff2018-10-241-2/+2
| | | | | | | | | | | | Broadly three things here: * disable W504 which seems a bit whacko * remove a bunch of `as e` expressions from exception handlers that don't use them * use `r""` for strings which include backslashes Also, we don't use pep8 any more, so we can get rid of the duplicate config there.
* Run black.black2018-08-101-98/+37
|
* run isortAmber Brown2018-07-091-2/+2
|
* Optimise state resolutionErik Johnston2017-01-171-1/+21
|
* Review commentsKegan Dougal2016-11-221-10/+2
|
* More testsKegan Dougal2016-11-221-1/+56
|
* Add remaining testsKegan Dougal2016-11-211-4/+70
|
* Start adding some testsKegan Dougal2016-11-211-3/+37
|
* Move event_fields filtering to serialize_eventKegan Dougal2016-11-211-0/+21
| | | | Also make it an inclusive not exclusive filter, as the spec demands.
* Fix flake8 warnings for testsMark Haines2016-02-191-0/+1
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Add some unit tests of prune_events()Paul "LeoNerd" Evans2015-10-162-0/+115
|
* Kill off synapse.api.events.*Erik Johnston2014-12-162-232/+0
|
* Fix validation testsErik Johnston2014-11-111-12/+43
|
* Have all unit tests import from our own subclass of trial's unittest ↵Paul "LeoNerd" Evans2014-09-121-1/+1
| | | | TestCase; set up logging in ONE PLACE ONLY
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-032-2/+2
| | | | hasn't been incorporated in time for launch.
* add in copyrights to everything, not just the synapse subdir, and add a ↵Matthew Hodgson2014-08-132-0/+28
| | | | copyrighter.pl whilst we're at it
* Reference Matrix Home Servermatrix.org2014-08-122-0/+173