summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/register.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Split out the auth handlerDavid Baker2016-06-021-1/+1
|
* More consistent config namingDavid Baker2016-05-101-1/+1
|
* Add config option to not send email notifs for new usersDavid Baker2016-05-101-1/+4
|
* Add an email pusher for new usersDavid Baker2016-04-291-0/+26
| | | | If they registered with an email address and email notifs are enabled on the HS
* Make v2_alpha reg follow the AS API specificationKegan Dougal2016-04-141-0/+5
| | | | | | The spec is clear the key should be 'user' not 'username' and this is indeed the case for v1. This is not true for v2_alpha though, which is what this commit is fixing.
* remove debug loggingDavid Baker2016-03-161-3/+0
|
* Unused importDavid Baker2016-03-161-1/+0
|
* Make registration idempotent, part 2: be idempotent if the client specifies ↵David Baker2016-03-161-5/+17
| | | | a username.
* pep8 & remove debug loggingDavid Baker2016-03-161-4/+5
|
* Make registration idempotent: if you specify the same session, make it give ↵David Baker2016-03-161-1/+26
| | | | you an access token for the user that was registered on previous uses of that session. Tweak the UI auth layer to not delete sessions when their auth has completed and hence expire themn so they don't hang around until server restart. Allow server-side data to be associated with UI auth sessions.
* Register endpoint returns refresh_tokenblide2016-03-101-5/+8
| | | | Guest registration still doesn't return refresh_token
* Add a parse_json_object functionMark Haines2016-03-091-4/+4
| | | | | to deduplicate all the copy+pasted _parse_json functions. Also document the parse_.* functions.
* Rename config field to reflect yaml nameDaniel Wagner-Hall2016-02-031-1/+1
|
* Fix flake8 warnings for new flake8Daniel Wagner-Hall2016-02-021-1/+2
|
* Pull guest access token out of the auth session params, otherwise it will ↵David Baker2016-02-011-0/+1
| | | | break if you open the email on a different device.
* Add is_guest flag to users db to track whether a user is a guest user or ↵David Baker2016-01-061-1/+4
| | | | not. Use this so we can run _filter_events_for_client when calculating event_push_actions.
* Allow guests to upgrade their accountsDaniel Wagner-Hall2016-01-051-3/+9
|
* Host /unstable and /r0 versions of r0 APIsDaniel Wagner-Hall2015-12-011-2/+2
|
* Allow guests to register and call /events?room_id=Daniel Wagner-Hall2015-11-041-1/+26
| | | | | | | This follows the same flows-based flow as regular registration, but as the only implemented flow has no requirements, it auto-succeeds. In the future, other flows (e.g. captcha) may be required, so clients should treat this like the regular registration flow choices.
* Merge pull request #211 from matrix-org/email_in_useMark Haines2015-08-201-0/+28
|\ | | | | Changes for unique emails
| * Check absent before trying to access keysDavid Baker2015-08-121-3/+3
| |
| * Just leaving off the $ is fine. r* == registerrrrrrrrrDavid Baker2015-08-121-1/+1
| |
| * Remember to yield: not much point testing is a deferred is not NoneDavid Baker2015-08-041-1/+2
| |
| * splt long lineDavid Baker2015-08-041-1/+3
| |
| * Add endpoint that proxies ID server request token and errors if the given ↵David Baker2015-08-041-1/+26
| | | | | | | | email is in use on this Home Server.
* | Simplify LoginHander and AuthHandlerDaniel Wagner-Hall2015-08-121-2/+1
|/ | | | | | | | | * Merge LoginHandler -> AuthHandler * Add a bunch of documentation * Improve some naming * Remove unused branches I will start merging the actual logic of the two handlers shortly
* Don't try & check the username if we don't have one (which we won't if it's ↵David Baker2015-08-031-1/+2
| | | | been saved in the auth layer)
* Use the same reg paths as register v1 for ASes.Kegan Dougal2015-07-291-4/+6
| | | | Namely this means using registration_handler.appservice_register.
* Fix v2_alpha registration. Add unit tests.Kegan Dougal2015-07-281-54/+70
| | | | | | | | V2 Registration forced everyone (including ASes) to create a password for a user, when ASes should be able to omit passwords. Also unbreak AS registration in general which checked too early if the given username was claimed by an AS; it was checked before knowing if the AS was the one doing the registration! Add unit tests for AS reg, user reg and disabled_registration flag.
* pep8 + debug lineDavid Baker2015-07-151-6/+8
|
* Add back in support for remembering parameters submitted to a ↵David Baker2015-07-151-2/+9
| | | | user-interactive auth call.
* Make shared secret registration work againDavid Baker2015-05-141-1/+4
|
* More underscoresDavid Baker2015-04-241-2/+2
|
* Use underscores instead of camelcase for id server stuffDavid Baker2015-04-241-2/+2
|
* make add3pid servlet workDavid Baker2015-04-171-12/+26
|
* Return user ID in use error straight awayDavid Baker2015-04-161-2/+23
|
* Dummy login so we can do the first POST request to get login flows without ↵David Baker2015-04-151-4/+14
| | | | it just succeeding
* Regstration with email in v2David Baker2015-04-151-4/+4
|
* Add app service auth back in to v2 registerDavid Baker2015-04-021-2/+7
|
* Add shared secret auth into register v2 and switch the script over.David Baker2015-04-021-11/+58
|
* Completely replace fallback auth for C/S V2:David Baker2015-04-011-1/+1
| | | | | | | * Now only the auth part goes to fallback, not the whole operation * Auth fallback is a normal API endpoint, not a static page * Params like the recaptcha pubkey can just live in the config Involves a little engineering on JsonResource so its servlets aren't always forced to return JSON. I should document this more, in fact I'll do that now.
* pep8David Baker2015-03-311-2/+2
|
* New registration for C/S API v2. Only ReCAPTCHA working currently.David Baker2015-03-301-0/+86