summary refs log tree commit diff
path: root/tests/storage/test_roommember.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Reduce run-times of tests by advancing the reactor less (#7757)Andrew Morgan2020-08-271-3/+3
|
* Add a shadow-banned flag to users. (#8092)Patrick Cloke2020-08-141-1/+1
|
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-6/+6
|
* Convert the message handler to async/await. (#7884)Patrick Cloke2020-07-221-24/+32
|
* Stop `get_joined_users` corruption from custom statuses (#7376)Richard van der Hoff2020-05-141-1/+49
| | | | | | | | Fix a bug where the `get_joined_users` cache could be corrupted by custom status events (or other state events with a state_key matching the user ID). The bug was introduced by #2229, but has largely gone unnoticed since then. Fixes #7099, #7373.
* Add `local_current_membership` table (#6655)Erik Johnston2020-01-151-1/+1
| | | | | | | Currently we rely on `current_state_events` to figure out what rooms a user was in and their last membership event in there. However, if the server leaves the room then the table may be cleaned up and that information is lost. So lets add a table that separately holds that information.
* Move background update handling out of storeErik Johnston2019-12-051-5/+13
|
* Move DB pool and helper functions into dedicated Database classErik Johnston2019-12-051-1/+1
|
* Remove underscore from SQLBaseStore functionsErik Johnston2019-12-041-1/+1
|
* Implementation of MSC2314 (#6176)Amber Brown2019-11-281-25/+1
|
* Use new EventPersistenceStoreErik Johnston2019-10-231-1/+2
|
* Servers-known-about statistic (#5981)Amber Brown2019-09-071-37/+89
|
* Merge pull request #5746 from matrix-org/erikj/test_bg_update_currnet_stateErik Johnston2019-07-301-1/+36
|\ | | | | Add unit test for current state membership bg update
| * Add unit test for current state membership bg updateErik Johnston2019-07-231-1/+36
| |
* | Replace returnValue with return (#5736)Amber Brown2019-07-231-1/+1
|/
* Run Black on the tests again (#5170)Amber Brown2019-05-101-1/+1
|
* Collect room-version variations into one place (#4969)Richard van der Hoff2019-04-011-2/+3
| | | | 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/+2
|
* Revert "Require event format version to parse or create events"Erik Johnston2019-01-251-2/+1
|
* Fix testsErik Johnston2019-01-241-1/+2
|
* Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2018-08-201-14/+17
|\ | | | | | | erikj/refactor_state_handler
| * Run tests under PostgreSQL (#3423)Amber Brown2018-08-131-1/+1
| |
| * Run black.black2018-08-101-14/+17
| |
* | 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-1/+1
|
* Updates testsErik Johnston2018-02-051-3/+2
|
* Fix unit testsErik Johnston2016-08-261-41/+0
|
* get_room_members is unused nowMark Haines2016-05-161-18/+0
|
* Remove some unused functions (#711)Mark Haines2016-04-081-7/+0
| | | | | | | | * Remove some unused functions * get_room_events_stream is only used in tests * is_exclusive_room might actually be something we want
* Remove dead code left over from presence changesMark Haines2016-03-171-10/+0
|
* Fix flake8 warnings for testsMark Haines2016-02-191-13/+9
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Make work in both Maria and SQLite. Fix testsErik Johnston2015-04-011-7/+7
|
* 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-3/+4
|
* Kill off synapse.api.events.*Erik Johnston2014-12-161-3/+2
|
* Fix some testsErik Johnston2014-12-101-22/+27
|
* Fix room_member storage testErik Johnston2014-11-101-0/+2
|
* Fix a couple more storage testsErik Johnston2014-11-051-9/+15
|
* Also unittest RoomMemberStore's joined_hosts_for_room()Paul "LeoNerd" Evans2014-09-151-0/+48
|
* Use new 'tests.unittest' in new storage level testsPaul "LeoNerd" Evans2014-09-151-1/+1
|
* Initial hack at some RoomMemberStore unit testsPaul "LeoNerd" Evans2014-09-121-0/+109