Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove obsolete RoomEventsStoreTestCase (#13200) | Petr Vaněk | 2022-07-07 | 1 | -69/+0 |
| | | | | | | | | | | All tests are prefixed with `STALE_` and therefore they are silently skipped. They were moved to `STALE_` in version `v0.5.0` in commit 2fcce3b3c508 - `Remove stale tests`. Tests from `RoomEventsStoreTestCase` class are not used for last 8 years, I believe the best would be to remove them entirely. Signed-off-by: Petr Vaněk <arkamar@atlas.cz> | ||||
* | Reduce the amount of state we pull from the DB (#12811) | Erik Johnston | 2022-06-06 | 1 | -4/+8 |
| | |||||
* | Rename storage classes (#12913) | Erik Johnston | 2022-05-31 | 1 | -2/+2 |
| | |||||
* | Replace assertEquals and friends with non-deprecated versions. (#12092) | Patrick Cloke | 2022-02-28 | 1 | -2/+2 |
| | |||||
* | 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 | ||||
* | [pyupgrade] `tests/` (#10347) | Jonathan de Jong | 2021-07-13 | 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>` | ||||
* | Convert storage test cases to HomeserverTestCase. (#9736) | Patrick Cloke | 2021-04-06 | 1 | -44/+17 |
| | |||||
* | Convert simple_select_one and simple_select_one_onecol to async (#8162) | Patrick Cloke | 2020-08-26 | 1 | -4/+16 |
| | |||||
* | Convert some of the data store to async. (#7976) | Patrick Cloke | 2020-07-30 | 1 | -10/+14 |
| | |||||
* | Convert storage layer to async/await. (#7963) | Patrick Cloke | 2020-07-28 | 1 | -2/+4 |
| | |||||
* | Convert state resolution to async/await (#7942) | Patrick Cloke | 2020-07-24 | 1 | -2/+6 |
| | |||||
* | Add delete room admin endpoint (#7613) | Dirk Klimpel | 2020-07-14 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | The Delete Room admin API allows server admins to remove rooms from server and block these rooms. `DELETE /_synapse/admin/v1/rooms/<room_id>` It is a combination and improvement of "[Shutdown room](https://github.com/matrix-org/synapse/blob/develop/docs/admin_api/shutdown_room.md)" and "[Purge room](https://github.com/matrix-org/synapse/blob/develop/docs/admin_api/purge_room.md)" API. Fixes: #6425 It also fixes a bug in [synapse/storage/data_stores/main/room.py](synapse/storage/data_stores/main/room.py) in ` get_room_with_stats`. It should return `None` if the room is unknown. But it returns an `IndexError`. https://github.com/matrix-org/synapse/blob/901b1fa561e3cc661d78aa96d59802cf2078cb0d/synapse/storage/data_stores/main/room.py#L99-L105 Related to: - #5575 - https://github.com/Awesome-Technologies/synapse-admin/issues/17 Signed-off-by: Dirk Klimpel dirk@klimpel.org | ||||
* | Add room details admin endpoint (#7317) | Manuel Stahl | 2020-05-07 | 1 | -0/+11 |
| | |||||
* | Add `rooms.room_version` column (#6729) | Erik Johnston | 2020-01-27 | 1 | -1/+6 |
| | | | This is so that we don't have to rely on pulling it out from `current_state_events` table. | ||||
* | Use new EventPersistenceStore | Erik Johnston | 2019-10-23 | 1 | -1/+2 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -2/+2 |
| | |||||
* | Run tests under PostgreSQL (#3423) | Amber Brown | 2018-08-13 | 1 | -2/+2 |
| | |||||
* | Run black. | black | 2018-08-10 | 1 | -34/+13 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -2/+2 |
| | |||||
* | Fix flake8 warnings for tests | Mark Haines | 2016-02-19 | 1 | -5/+9 |
| | |||||
* | Simplify get_rooms | Erik Johnston | 2016-02-03 | 1 | -26/+0 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Return world_readable and guest_can_join in /publicRooms | Daniel Wagner-Hall | 2015-11-10 | 1 | -0/+2 |
| | |||||
* | Implement configurable stats reporting | Daniel Wagner-Hall | 2015-09-22 | 1 | -1/+1 |
| | | | | | | | | | | SYN-287 This requires that HS owners either opt in or out of stats reporting. When --generate-config is passed, --report-stats must be specified If an already-generated config is used, and doesn't have the report_stats key, it is requested to be set. | ||||
* | Tidy up _simple_... methods | Erik Johnston | 2015-03-20 | 1 | -1/+1 |
| | |||||
* | Factor out some of the common homeserver setup code into a | Mark Haines | 2015-02-11 | 1 | -14/+3 |
| | | | | setup_test_homeserver function in utils. | ||||
* | Replace hs.parse_roomalias with RoomAlias.from_string | Mark Haines | 2015-01-23 | 1 | -2/+2 |
| | |||||
* | Replace hs.parse_roomid with RoomID.from_string | Mark Haines | 2015-01-23 | 1 | -3/+3 |
| | |||||
* | Replace hs.parse_userid with UserID.from_string | Mark Haines | 2015-01-23 | 1 | -1/+2 |
| | |||||
* | Remove unused functions | Mark Haines | 2015-01-13 | 1 | -11/+0 |
| | |||||
* | Kill off synapse.api.events.* | Erik Johnston | 2014-12-16 | 1 | -5/+3 |
| | |||||
* | Remove stale tests | Erik Johnston | 2014-11-05 | 1 | -2/+2 |
| | |||||
* | Neaten more of the storage layer tests with assertObjectHasAttributes; more ↵ | Paul "LeoNerd" Evans | 2014-09-17 | 1 | -6/+5 |
| | | | | standardisation on test layout | ||||
* | Unit tests for (some) room events via the RoomStore | Paul "LeoNerd" Evans | 2014-09-17 | 1 | -0/+85 |
| | |||||
* | Use new assertObjectHasAttributes() in tests/storage/test_room.py | Paul "LeoNerd" Evans | 2014-09-17 | 1 | -3/+6 |
| | |||||
* | More RoomStore tests | Paul "LeoNerd" Evans | 2014-09-17 | 1 | -4/+40 |
| | |||||
* | Initial pass at a RoomStore test | Paul "LeoNerd" Evans | 2014-09-15 | 1 | -0/+53 |