Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix that user cannot `/forget` rooms after the last member has left (#13546) | Dirk Klimpel | 2022-08-30 | 1 | -2/+2 |
| | |||||
* | Add forgotten status to Room Details API (#13503) | Dirk Klimpel | 2022-08-17 | 1 | -0/+70 |
| | |||||
* | Don't pull out state in `compute_event_context` for unconflicted state (#13267) | Erik Johnston | 2022-07-14 | 1 | -55/+0 |
| | |||||
* | Add some type hints to tests files (#12833) | Dirk Klimpel | 2022-05-23 | 1 | -1/+1 |
| | | | Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | ||||
* | Add type hints to some tests files (#12371) | Dirk Klimpel | 2022-04-05 | 1 | -11/+14 |
| | |||||
* | Replace assertEquals and friends with non-deprecated versions. (#12092) | Patrick Cloke | 2022-02-28 | 1 | -1/+1 |
| | |||||
* | Remove `HomeServer.get_datastore()` (#12031) | Richard van der Hoff | 2022-02-23 | 1 | -2/+2 |
| | | | | | | | The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733 | ||||
* | Refactor `tests.util.setup_test_homeserver` and ↵ | reivilibre | 2021-12-21 | 1 | -1/+1 |
| | | | | `tests.server.setup_test_homeserver`. (#11503) | ||||
* | Revert accidental commits to develop. | Olivier Wilkinson (reivilibre) | 2021-12-03 | 1 | -1/+1 |
| | |||||
* | Move `tests.utils.setup_test_homeserver` to `tests.server` | Olivier Wilkinson (reivilibre) | 2021-12-03 | 1 | -1/+1 |
| | | | | | | | It had no users. We have just taken the identity of a previous function but don't provide the same behaviour, so we need to fix this in the next commit... | ||||
* | Change display names/avatar URLs to None if they contain null bytes before ↵ | Shay | 2021-11-12 | 1 | -0/+48 |
| | | | | | | | | | | | | | | | storing in DB (#11230) * change display names/avatar URLS to None if they contain null bytes * add changelog * add POC test, requested changes * add a saner test and remove old one * update test to verify that display name has been changed to None * make test less fragile | ||||
* | Don't drop user dir deltas when server leaves room (#10982) | David Robertson | 2021-10-06 | 1 | -12/+2 |
| | | | | | | | | | Fix a long-standing bug where a batch of user directory changes would be silently dropped if the server left a room early in the batch. * Pull out `wait_for_background_update` in tests Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | ||||
* | Flatten the synapse.rest.client package (#10600) | reivilibre | 2021-08-17 | 1 | -1/+1 |
| | |||||
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -1/+0 |
| | | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>` | ||||
* | Remove redundant mocking | Richard van der Hoff | 2020-12-02 | 1 | -8/+0 |
| | |||||
* | Apply an IP range blacklist to push and key revocation requests. (#8821) | Patrick Cloke | 2020-12-02 | 1 | -1/+1 |
| | | | | | | | | | | | | Replaces the `federation_ip_range_blacklist` configuration setting with an `ip_range_blacklist` setting with wider scope. It now applies to: * Federation * Identity servers * Push notifications * Checking key validitity for third-party invite events The old `federation_ip_range_blacklist` setting is still honored if present, but with reduced scope (it only applies to federation and identity servers). | ||||
* | Don't instansiate Requester directly (#8614) | Erik Johnston | 2020-10-22 | 1 | -2/+2 |
| | |||||
* | Reduce run-times of tests by advancing the reactor less (#7757) | Andrew Morgan | 2020-08-27 | 1 | -3/+3 |
| | |||||
* | Add a shadow-banned flag to users. (#8092) | Patrick Cloke | 2020-08-14 | 1 | -1/+1 |
| | |||||
* | Rename database classes to make some sense (#8033) | Erik Johnston | 2020-08-05 | 1 | -6/+6 |
| | |||||
* | Convert the message handler to async/await. (#7884) | Patrick Cloke | 2020-07-22 | 1 | -24/+32 |
| | |||||
* | Stop `get_joined_users` corruption from custom statuses (#7376) | Richard van der Hoff | 2020-05-14 | 1 | -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 Johnston | 2020-01-15 | 1 | -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 store | Erik Johnston | 2019-12-05 | 1 | -5/+13 |
| | |||||
* | Move DB pool and helper functions into dedicated Database class | Erik Johnston | 2019-12-05 | 1 | -1/+1 |
| | |||||
* | Remove underscore from SQLBaseStore functions | Erik Johnston | 2019-12-04 | 1 | -1/+1 |
| | |||||
* | Implementation of MSC2314 (#6176) | Amber Brown | 2019-11-28 | 1 | -25/+1 |
| | |||||
* | Use new EventPersistenceStore | Erik Johnston | 2019-10-23 | 1 | -1/+2 |
| | |||||
* | Servers-known-about statistic (#5981) | Amber Brown | 2019-09-07 | 1 | -37/+89 |
| | |||||
* | Merge pull request #5746 from matrix-org/erikj/test_bg_update_currnet_state | Erik Johnston | 2019-07-30 | 1 | -1/+36 |
|\ | | | | | Add unit test for current state membership bg update | ||||
| * | Add unit test for current state membership bg update | Erik Johnston | 2019-07-23 | 1 | -1/+36 |
| | | |||||
* | | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -1/+1 |
|/ | |||||
* | Run Black on the tests again (#5170) | Amber Brown | 2019-05-10 | 1 | -1/+1 |
| | |||||
* | Collect room-version variations into one place (#4969) | Richard van der Hoff | 2019-04-01 | 1 | -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 tests | Erik Johnston | 2019-01-25 | 1 | -1/+2 |
| | |||||
* | Revert "Require event format version to parse or create events" | Erik Johnston | 2019-01-25 | 1 | -2/+1 |
| | |||||
* | Fix tests | Erik Johnston | 2019-01-24 | 1 | -1/+2 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2018-08-20 | 1 | -14/+17 |
|\ | | | | | | | erikj/refactor_state_handler | ||||
| * | Run tests under PostgreSQL (#3423) | Amber Brown | 2018-08-13 | 1 | -1/+1 |
| | | |||||
| * | Run black. | black | 2018-08-10 | 1 | -14/+17 |
| | | |||||
* | | Fix tests | Erik Johnston | 2018-08-09 | 1 | -1/+3 |
|/ | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -4/+4 |
| | |||||
* | s/_create_new_client_event/create_new_client_event/ | Erik Johnston | 2018-02-06 | 1 | -1/+1 |
| | |||||
* | Updates tests | Erik Johnston | 2018-02-05 | 1 | -3/+2 |
| | |||||
* | Fix unit tests | Erik Johnston | 2016-08-26 | 1 | -41/+0 |
| | |||||
* | get_room_members is unused now | Mark Haines | 2016-05-16 | 1 | -18/+0 |
| | |||||
* | Remove some unused functions (#711) | Mark Haines | 2016-04-08 | 1 | -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 changes | Mark Haines | 2016-03-17 | 1 | -10/+0 |
| | |||||
* | Fix flake8 warnings for tests | Mark Haines | 2016-02-19 | 1 | -13/+9 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Make work in both Maria and SQLite. Fix tests | Erik Johnston | 2015-04-01 | 1 | -7/+7 |
| | |||||
* | Factor out some of the common homeserver setup code into a | Mark Haines | 2015-02-11 | 1 | -12/+2 |
| | | | | setup_test_homeserver function in utils. | ||||
* | Replace hs.parse_roomid with RoomID.from_string | Mark Haines | 2015-01-23 | 1 | -2/+2 |
| | |||||
* | Replace hs.parse_userid with UserID.from_string | Mark Haines | 2015-01-23 | 1 | -3/+4 |
| | |||||
* | Kill off synapse.api.events.* | Erik Johnston | 2014-12-16 | 1 | -3/+2 |
| | |||||
* | Fix some tests | Erik Johnston | 2014-12-10 | 1 | -22/+27 |
| | |||||
* | Fix room_member storage test | Erik Johnston | 2014-11-10 | 1 | -0/+2 |
| | |||||
* | Fix a couple more storage tests | Erik Johnston | 2014-11-05 | 1 | -9/+15 |
| | |||||
* | Also unittest RoomMemberStore's joined_hosts_for_room() | Paul "LeoNerd" Evans | 2014-09-15 | 1 | -0/+48 |
| | |||||
* | Use new 'tests.unittest' in new storage level tests | Paul "LeoNerd" Evans | 2014-09-15 | 1 | -1/+1 |
| | |||||
* | Initial hack at some RoomMemberStore unit tests | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -0/+109 |