anonymousland-synapse/synapse
Richard van der Hoff 28877fade9
Implement a username picker for synapse (#8942)
The final part (for now) of my work to implement a username picker in synapse itself. The idea is that we allow
`UsernameMappingProvider`s to return `localpart=None`, in which case, rather than redirecting the browser
back to the client, we redirect to a username-picker resource, which allows the user to enter a username.
We *then* complete the SSO flow (including doing the client permission checks).

The static resources for the username picker itself (in 
https://github.com/matrix-org/synapse/tree/rav/username_picker/synapse/res/username_picker)
are essentially lifted wholesale from
https://github.com/matrix-org/matrix-synapse-saml-mozilla/tree/master/matrix_synapse_saml_mozilla/res. 
As the comment says, we might want to think about making them customisable, but that can be a follow-up. 

Fixes #8876.
2020-12-18 14:19:46 +00:00
..
_scripts Strip trailing / from server_url in register_new_matrix_user (#8823) 2020-11-26 10:57:26 +00:00
api Merge remote-tracking branch 'origin/erikj/as_mau_block' into develop 2020-12-18 09:51:56 +00:00
app Implement a username picker for synapse (#8942) 2020-12-18 14:19:46 +00:00
appservice Tie together matches_user_in_member_list and get_users_in_room caches (#8676) 2020-10-30 15:23:16 +00:00
config Implement a username picker for synapse (#8942) 2020-12-18 14:19:46 +00:00
crypto Apply an IP range blacklist to push and key revocation requests. (#8821) 2020-12-02 11:09:24 -05:00
events Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00
federation Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00
groups Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
handlers Implement a username picker for synapse (#8942) 2020-12-18 14:19:46 +00:00
http Add a maximum size for well-known lookups. (#8950) 2020-12-16 17:25:24 -05:00
logging Various clean-ups to the logging context code (#8935) 2020-12-14 14:19:47 -05:00
metrics Various clean-ups to the logging context code (#8935) 2020-12-14 14:19:47 -05:00
module_api Add admin API for logging in as a user (#8617) 2020-11-17 10:51:25 +00:00
push Ensure that a URL exists in the content during push. (#8965) 2020-12-18 07:26:15 -05:00
replication Merge remote-tracking branch 'origin/erikj/as_mau_block' into develop 2020-12-18 09:51:56 +00:00
res Implement a username picker for synapse (#8942) 2020-12-18 14:19:46 +00:00
rest Implement a username picker for synapse (#8942) 2020-12-18 14:19:46 +00:00
server_notices Add admin API for logging in as a user (#8617) 2020-11-17 10:51:25 +00:00
spam_checker_api Combine SpamCheckerApi with the more generic ModuleApi. (#8464) 2020-10-07 12:03:26 +01:00
state Pass room_id to get_auth_chain_difference (#8879) 2020-12-04 15:52:49 +00:00
static Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
storage Allow re-using a UI auth validation for a period of time (#8970) 2020-12-18 07:33:57 -05:00
streams Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
util Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00
__init__.py 1.24.0 2020-12-09 11:07:24 +00:00
event_auth.py Ensure that event.redacts is the proper type before handling it (#8457) 2020-10-05 10:24:17 -04:00
notifier.py Do not assume that the contents dictionary includes history_visibility. (#8945) 2020-12-16 08:46:37 -05:00
python_dependencies.py Fix installing pysaml2 on Python 3.5. (#8898) 2020-12-08 13:41:25 -05:00
secrets.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
server.py Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00
types.py Implement a username picker for synapse (#8942) 2020-12-18 14:19:46 +00:00
visibility.py Try and drop stale extremities. (#8929) 2020-12-18 09:49:18 +00:00