synapse-product/synapse/storage/databases/main
Richard van der Hoff 9c715a5f19
Fix SSO on workers (#9271)
Fixes #8966.

* Factor out build_synapse_client_resource_tree

Start a function which will mount resources common to all workers.

* Move sso init into build_synapse_client_resource_tree

... so that we don't have to do it for each worker

* Fix SSO-login-via-a-worker

Expose the SSO login endpoints on workers, like the documentation says.

* Update workers config for new endpoints

Add documentation for endpoints recently added (#8942, #9017, #9262)

* remove submit_token from workers endpoints list

this *doesn't* work on workers (yet).

* changelog

* Add a comment about the odd path for SAML2Resource
2021-02-01 15:47:59 +00:00
..
schema Add schema update to fix existing DBs affected by #9193 (#9195) 2021-01-21 16:03:25 +00:00
__init__.py Allow moving account data and receipts streams off master (#9104) 2021-01-18 15:47:59 +00:00
account_data.py Fix receipts or account data not being sent down sync (#9193) 2021-01-21 15:09:09 +00:00
appservice.py Fix error handling around when completing an AS transaction (#8693) 2020-10-30 16:50:48 +00:00
cache.py Separate get_current_token into two. (#8113) 2020-08-19 10:39:31 +01:00
censor_events.py Remove frozendict_json_encoder and support frozendicts everywhere 2020-10-28 15:56:57 +00:00
client_ips.py Register the /devices endpoint on workers. (#9092) 2021-01-13 12:35:40 -05:00
deviceinbox.py Allow moving account data and receipts streams off master (#9104) 2021-01-18 15:47:59 +00:00
devices.py Add number of local devices to Room Details Admin API (#8886) 2020-12-11 10:42:47 +00:00
directory.py Convert additional databases to async/await part 2 (#8200) 2020-09-01 08:39:04 -04:00
e2e_room_keys.py Convert additional database code to async/await. (#8195) 2020-08-28 07:54:27 -04:00
end_to_end_keys.py Fix perf of get_cross_signing_keys (#9116) 2021-01-14 17:57:09 +00:00
event_federation.py Use a chain cover index to efficiently calculate auth chain difference (#8868) 2021-01-11 16:09:22 +00:00
event_push_actions.py Allow moving account data and receipts streams off master (#9104) 2021-01-18 15:47:59 +00:00
events_bg_updates.py Make chain cover index bg update go faster (#9124) 2021-01-15 17:18:37 +00:00
events_worker.py Allow moving account data and receipts streams off master (#9104) 2021-01-18 15:47:59 +00:00
events.py Use execute_batch instead of executemany in places (#9181) 2021-01-21 10:22:53 +00:00
filtering.py Convert additional databases to async/await part 2 (#8200) 2020-09-01 08:39:04 -04:00
group_server.py Use async with for ID gens (#8383) 2020-09-23 16:11:18 +01:00
keys.py Add type hints to the crypto module. (#8999) 2021-01-04 10:04:50 -05:00
media_repository.py Add type hints to media rest resources. (#9093) 2021-01-15 10:57:37 -05:00
metrics.py Fix user_daily_visits to not have duplicate rows for UA. (#8654) 2020-10-26 13:16:32 +00:00
monthly_active_users.py Move additional tasks to the background worker, part 3 (#8489) 2020-10-09 07:37:51 -04:00
openid.py Convert additional databases to async/await part 2 (#8200) 2020-09-01 08:39:04 -04:00
presence.py Use async with for ID gens (#8383) 2020-09-23 16:11:18 +01:00
profile.py Remove user's avatar URL and displayname when deactivated. (#8932) 2021-01-12 16:30:15 -05:00
purge_events.py Drop (almost) unused index on event_json (#8845) 2020-11-30 18:44:09 +00:00
push_rule.py Use async with for ID gens (#8383) 2020-09-23 16:11:18 +01:00
pusher.py Ensure we store pusher data as text (#9117) 2021-01-15 16:57:23 +00:00
receipts.py Fix receipts or account data not being sent down sync (#9193) 2021-01-21 15:09:09 +00:00
registration.py Fix SSO on workers (#9271) 2021-02-01 15:47:59 +00:00
rejections.py Convert simple_select_one and simple_select_one_onecol to async (#8162) 2020-08-26 07:19:32 -04:00
relations.py Convert additional databases to async/await (#8199) 2020-09-01 09:21:48 -04:00
room.py Support icons for Identity Providers (#9154) 2021-01-20 08:15:14 -05:00
roommember.py Speed up remote invite rejection database call (#8815) 2020-11-25 20:06:13 +00:00
search.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
signatures.py Convert additional databases to async/await part 2 (#8200) 2020-09-01 08:39:04 -04:00
state_deltas.py Convert state and stream stores and related code to async (#8194) 2020-08-28 09:37:55 -04:00
state.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
stats.py Add an admin API for users' media statistics (#8700) 2020-11-05 18:59:12 +00:00
stream.py Use vector clocks for room stream tokens. (#8439) 2020-10-07 15:15:33 +01:00
tags.py Allow moving account data and receipts streams off master (#9104) 2021-01-18 15:47:59 +00:00
transactions.py Fix get destinations to catch up query. (#9114) 2021-01-14 16:47:21 +00:00
ui_auth.py Allow background tasks to be run on a separate worker. (#8369) 2020-10-02 08:23:15 -04:00
user_directory.py Use the simple dictionary in full text search for the user directory (#8959) 2020-12-17 14:42:30 +01:00
user_erasure_store.py Fixed a bug with reactivating users with the admin API (#8362) 2020-09-22 18:19:01 +01:00