synapse/tests
Will Hunt b257c788c0
Add /user/{user_id}/shared_rooms/ api (#7785)
* Add shared_rooms api

* Add changelog

* Add .

* Wrap response in {"rooms": }

* linting

* Add unstable_features key

* Remove options from isort that aren't part of 5.x

`-y` and `-rc` are now default behaviour and no longer exist.

`dont-skip` is no longer required

https://timothycrosley.github.io/isort/CHANGELOG/#500-penny-july-4-2020

* Update imports to make isort happy

* Add changelog

* Update tox.ini file with correct invocation

* fix linting again for isort

* Vendor prefix unstable API

* Fix to match spec

* import Codes

* import Codes

* Use FORBIDDEN

* Update changelog.d/7785.feature

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>

* Implement get_shared_rooms_for_users

* a comma

* trailing whitespace

* Handle the easy feedback

* Switch to using runInteraction

* Add tests

* Feedback

* Seperate unstable endpoint from v2

* Add upgrade node

* a line

* Fix style by adding a blank line at EOF.

* Update synapse/storage/databases/main/user_directory.py

Co-authored-by: Tulir Asokan <tulir@maunium.net>

* Update synapse/storage/databases/main/user_directory.py

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>

* Update UPGRADE.rst

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>

* Fix UPGRADE/CHANGELOG unstable paths

unstable unstable unstable

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Co-authored-by: Tulir Asokan <tulir@maunium.net>

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
Co-authored-by: Tulir Asokan <tulir@maunium.net>
2020-09-02 13:18:40 +01:00
..
api Do not yield on awaitables in tests. (#8193) 2020-08-27 17:24:46 -04:00
app
appservice Convert appservice to async. (#7973) 2020-07-30 07:27:39 -04:00
config Use the default templates when a custom template file cannot be found (#8037) 2020-08-17 17:05:00 +01:00
crypto Do not yield on awaitables in tests. (#8193) 2020-08-27 17:24:46 -04:00
events Convert the message handler to async/await. (#7884) 2020-07-22 12:29:15 -04:00
federation Do not yield on awaitables in tests. (#8193) 2020-08-27 17:24:46 -04:00
handlers Ensure that the OpenID Connect remote ID is a string. (#8190) 2020-08-28 08:56:36 -04:00
http Convert the well known resolver to async (#8214) 2020-09-01 09:15:22 -04:00
logging
module_api Convert simple_select_one and simple_select_one_onecol to async (#8162) 2020-08-26 07:19:32 -04:00
push Reduce run-times of tests by advancing the reactor less (#7757) 2020-08-27 11:39:53 +01:00
replication Do not propagate typing notifications from shadow-banned users. (#8176) 2020-08-26 12:05:36 -04:00
rest Add /user/{user_id}/shared_rooms/ api (#7785) 2020-09-02 13:18:40 +01:00
scripts
server_notices Convert stats and related calls to async/await (#8192) 2020-08-27 17:24:37 -04:00
state Convert state resolution to async/await (#7942) 2020-07-24 10:59:51 -04:00
storage Make MultiWriterIDGenerator work for streams that use negative stream IDs (#8203) 2020-09-01 13:36:25 +01:00
test_utils Convert additional databases to async/await part 2 (#8200) 2020-09-01 08:39:04 -04:00
util Convert ReadWriteLock to async/await. (#8202) 2020-08-28 16:47:11 -04:00
__init__.py
server.py Fix client reader sharding tests (#7853) 2020-07-15 15:27:35 +01:00
test_distributor.py
test_event_auth.py
test_federation.py Convert simple_update* and simple_select* to async (#8173) 2020-08-27 07:08:38 -04:00
test_mau.py
test_metrics.py
test_phone_home.py
test_preview.py
test_server.py Iteratively encode JSON responses to avoid blocking the reactor. (#8013) 2020-08-18 08:49:59 -04:00
test_state.py Do not yield on awaitables in tests. (#8193) 2020-08-27 17:24:46 -04:00
test_terms_auth.py
test_test_utils.py
test_types.py
test_visibility.py Do not yield on awaitables in tests. (#8193) 2020-08-27 17:24:46 -04:00
unittest.py Add a shadow-banned flag to users. (#8092) 2020-08-14 12:37:59 -04:00
utils.py Merge branch 'develop' of github.com:matrix-org/synapse into erikj/add_rate_limiting_to_joins 2020-07-31 15:07:01 +01:00