summary refs log tree commit diff
path: root/tests/storage/test_redaction.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace _event_dict_property with DictPropertyRichard van der Hoff2020-02-141-1/+1
| | | | | this amounts to the same thing, but replaces `_event_dict` with `_dict`, and removes some of the function layers generated by `property`.
* Add typing to SyncHandler (#6821)Erik Johnston2020-02-031-1/+4
| | | | Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* Make 'event.redacts' never raise. (#6771)Erik Johnston2020-01-231-0/+35
| | | | | | There are quite a few places that we assume that a redaction event has a corresponding `redacts` key, which is not always the case. So lets cheekily make it so that event.redacts just returns None instead.
* Move DB pool and helper functions into dedicated Database classErik Johnston2019-12-051-2/+2
|
* Remove underscore from SQLBaseStore functionsErik Johnston2019-12-041-2/+2
|
* Use new EventPersistenceStoreErik Johnston2019-10-231-5/+6
|
* Fix fetching censored redactions from DBErik Johnston2019-10-021-0/+36
| | | | | | Fetching a censored redactions caused an exception due to the code expecting redactions to have a `redact` key, which redacted redactions don't have.
* Fix testErik Johnston2019-09-051-1/+3
|
* Make redaction retention period configurableErik Johnston2019-09-051-1/+3
|
* Censor redactions in DB after a monthErik Johnston2019-08-301-0/+71
|
* Handle loops in redaction eventsRichard van der Hoff2019-07-301-0/+70
|
* Convert RedactionTestCase to modern test style (#5768)Richard van der Hoff2019-07-261-36/+38
|
* Replace returnValue with return (#5736)Amber Brown2019-07-231-2/+2
|
* Run Black. (#5482)Amber Brown2019-06-201-2/+2
|
* Run Black on the tests again (#5170)Amber Brown2019-05-101-3/+3
|
* Collect room-version variations into one place (#4969)Richard van der Hoff2019-04-011-4/+5
| | | | Collect all the things that make room-versions different to one another into one place, so that it's easier to define new room versions.
* Fix testsErik Johnston2019-01-251-1/+4
|
* Revert "Require event format version to parse or create events"Erik Johnston2019-01-251-4/+1
|
* Fix testsErik Johnston2019-01-241-1/+4
|
* Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2018-08-201-35/+35
|\ | | | | | | erikj/refactor_state_handler
| * Run tests under PostgreSQL (#3423)Amber Brown2018-08-131-1/+1
| |
| * Run black.black2018-08-101-35/+35
| |
* | Fix testsErik Johnston2018-08-091-1/+3
|/
* run isortAmber Brown2018-07-091-4/+4
|
* s/_create_new_client_event/create_new_client_event/Erik Johnston2018-02-061-3/+3
|
* Updates testsErik Johnston2018-02-051-5/+4
|
* Remove some unused functions (#711)Mark Haines2016-04-081-47/+4
| | | | | | | | * Remove some unused functions * get_room_events_stream is only used in tests * is_exclusive_room might actually be something we want
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Remove more unused parametersDaniel Wagner-Hall2015-11-021-4/+0
|
* Factor out some of the common homeserver setup code into aMark Haines2015-02-111-12/+2
| | | | setup_test_homeserver function in utils.
* Replace hs.parse_roomid with RoomID.from_stringMark Haines2015-01-231-2/+2
|
* Replace hs.parse_userid with UserID.from_stringMark Haines2015-01-231-2/+3
|
* Kill off synapse.api.events.*Erik Johnston2014-12-161-13/+10
|
* Fix redaction testsErik Johnston2014-12-111-6/+8
|
* Fix redactions. Fix 'age' keyErik Johnston2014-12-111-3/+3
|
* Fix some testsErik Johnston2014-12-101-59/+49
|
* Fix redaction storage testErik Johnston2014-11-101-0/+4
|
* Fix redaction storage testErik Johnston2014-11-051-0/+12
|
* Rename redaction test case to something helpfulErik Johnston2014-09-251-1/+1
|
* More tests.Erik Johnston2014-09-251-1/+82
|
* Add test for redactionsErik Johnston2014-09-251-0/+181