summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/register.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Flatten the synapse.rest.client package (#10600)reivilibre2021-08-171-879/+0
* MSC2918 Refresh tokens implementation (#9450)Quentin Gliech2021-06-241-18/+70
* Limit length of accepted email addresses (#9855)Erik Johnston2021-04-221-2/+6
* Rename handler and config modules which end in handler/config. (#9816)Patrick Cloke2021-04-201-1/+1
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Require AppserviceRegistrationType (#9548)Will Hunt2021-04-121-7/+16
* Make RateLimiter class check for ratelimit overrides (#9711)Erik Johnston2021-03-301-3/+5
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-2/+7
* Type hints and validation improvements. (#9321)Patrick Cloke2021-02-081-0/+2
* Ratelimit 3PID /requestToken API (#9238)Erik Johnston2021-01-281-0/+6
* UI Auth via SSO: redirect the user to an appropriate SSO. (#9081)Richard van der Hoff2021-01-121-4/+9
* Kill off `HomeServer.get_ip_from_request()` (#9080)Richard van der Hoff2021-01-121-6/+2
* Merge remote-tracking branch 'origin/erikj/as_mau_block' into developErik Johnston2020-12-181-3/+11
|\
| * Correctly handle AS registerations and add testErik Johnston2020-12-171-3/+11
* | Fix errorcode for disabled registration (#8867)Richard van der Hoff2020-12-031-1/+1
|/
* Simplify the way the `HomeServer` object caches its internal attributes. (#8...Jonathan de Jong2020-11-301-2/+2
* Add metrics for tracking 3PID /requestToken requests. (#8712)Erik Johnston2020-11-131-0/+9
* Remove unused OPTIONS handlers. (#8621)Patrick Cloke2020-10-221-3/+0
* Remove the deprecated Handlers object (#8494)Patrick Cloke2020-10-091-3/+3
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-5/+5
* Fix a potential bug of UnboundLocalError (#8329)Jonathan de Jong2020-09-171-5/+8
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
* Don't fail /submit_token requests on incorrect session ID if request_token_in...Brendan Abolivier2020-08-241-0/+7
* Allow denying or shadow banning registrations via the spam checker (#8034)Patrick Cloke2020-08-201-0/+5
* Use the default templates when a custom template file cannot be found (#8037)Andrew Morgan2020-08-171-25/+6
* Remove unnecessary maybeDeferred calls (#8044)Patrick Cloke2020-08-071-1/+1
* Convert synapse.api to async/await (#8031)Patrick Cloke2020-08-061-1/+1
* Improve performance of the register endpoint (#8009)Patrick Cloke2020-08-061-39/+69
* Fix inconsistent handling of upper and lower cases of email addresses. (#7021)Dirk Klimpel2020-07-031-3/+19
* Merge branch 'master' into developPatrick Cloke2020-07-021-6/+4
|\
| * Ensure that HTML pages served from Synapse include headers to avoid embedding.Patrick Cloke2020-07-021-6/+4
* | Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-8/+3
|/
* Performance improvements and refactor of Ratelimiter (#7595)Andrew Morgan2020-06-051-15/+1
* Hash passwords earlier in the password reset process (#7538)Patrick Cloke2020-05-201-2/+2
* Hash passwords earlier in the registration process (#7523)Patrick Cloke2020-05-181-9/+13
* Do not validate that the client dict is stable during UI Auth. (#7483)Patrick Cloke2020-05-131-1/+0
* Rework UI Auth session validation for registration (#7455)Patrick Cloke2020-05-081-0/+1
* Persist user interactive authentication sessions (#7302)Patrick Cloke2020-04-301-2/+2
* Revert "Revert "Merge pull request #7315 from matrix-org/babolivier/request_t...Brendan Abolivier2020-04-231-1/+11
* Support SAML in the user interactive authentication workflow. (#7102)Patrick Cloke2020-04-011-0/+1
* Allow server admins to define and enforce a password policy (MSC2000). (#7118)Dirk Klimpel2020-03-261-0/+2
* Validate that the session is not modified during UI-Auth (#7068)Patrick Cloke2020-03-261-1/+4
* Validate client_secret parameter (#6767)Andrew Morgan2020-01-241-0/+3
* Fixup synapse.rest to pass mypy (#6732)Erik Johnston2020-01-201-1/+2
* Port rest.client.v2Erik Johnston2019-12-051-41/+31
* Update black to 19.10b0 (#6304)Amber Brown2019-11-011-2/+2
* Remove usage of deprecated logger.warn method from codebase (#6271)Andrew Morgan2019-10-311-5/+5
* Stop advertising unsupported flows for registration (#6107)Richard van der Hoff2019-09-251-3/+29
* Refactor code for calculating registration flows (#6106)Richard van der Hoff2019-09-251-62/+62
* Implement MSC2290 (#6043)Andrew Morgan2019-09-231-0/+6
* Disable /register/available if registration is disabled (#6082)Andrew Morgan2019-09-231-0/+5
* Allow HS to send emails when adding an email to the HS (#6042)Andrew Morgan2019-09-201-15/+9
* Apply suggestions from code reviewAndrew Morgan2019-09-061-1/+1
* Fix destructuring assumption bugAndrew Morgan2019-09-061-1/+1
* Allow Synapse to send registration emails + choose Synapse or an external ser...Andrew Morgan2019-09-061-15/+181
* Remove bind_email and bind_msisdn (#5964)Andrew Morgan2019-09-041-2/+0
* Remove double return statements (#5962)Andrew Morgan2019-09-031-2/+0
* Remove unnecessary parentheses around return statements (#5931)Andrew Morgan2019-08-301-5/+5
* Remove shared secret registration from client/r0/register endpointManuel Stahl2019-08-221-53/+4
* Replace returnValue with return (#5736)Amber Brown2019-07-231-20/+18
* Remove access-token support from RegistrationHandler.register (#5641)Richard van der Hoff2019-07-081-6/+5
* Run Black. (#5482)Amber Brown2019-06-201-69/+63
* Unify v1 and v2 REST client APIs (#5226)Amber Brown2019-06-031-5/+5
* Merge pull request #5174 from matrix-org/dbkr/add_dummy_flow_to_recaptcha_onlyDavid Baker2019-05-161-5/+17
|\
| * Re-order flows so that email auth is done lastDavid Baker2019-05-101-4/+12
| * CommentDavid Baker2019-05-101-0/+4
| * Add a DUMMY stage to captcha-only registration flowDavid Baker2019-05-101-1/+1
* | Merge pull request #5187 from matrix-org/dbkr/only_check_threepid_not_in_use_...David Baker2019-05-161-18/+22
|\ \
| * | Only check 3pids not in use when registeringDavid Baker2019-05-141-18/+22
| |/
* / Make all the rate limiting options more consistent (#5181)Amber Brown2019-05-151-10/+13
|/
* Revert 085ae346ace418e0fc043ac5f568f85ebf80038eDavid Baker2019-05-101-1/+1
* Add a DUMMY stage to captcha-only registration flowDavid Baker2019-05-101-1/+1
* Make sure we're not registering the same 3pid twiceBrendan Abolivier2019-04-171-0/+18
* Add ratelimiting on login (#4821)Brendan Abolivier2019-03-151-2/+2
* Make registration ratelimiter separate from the main events oneBrendan Abolivier2019-03-061-1/+1
* Revert "Split ratelimiters in two (one for events, one for registration)"Brendan Abolivier2019-03-061-1/+1
* Split ratelimiters in two (one for events, one for registration)Brendan Abolivier2019-03-051-1/+1
* Add rate-limiting on registration (#4735)Brendan Abolivier2019-03-051-4/+29
* Fix registration on workers (#4682)Erik Johnston2019-02-201-134/+11
* Move register_device into handlerErik Johnston2019-02-181-47/+2
* Update docsErik Johnston2019-02-181-1/+1
* Split out registration to workerErik Johnston2019-02-181-27/+46
* move guard out of is_threepid_reserved and into register.pyNeil Johnson2019-01-221-4/+5
* Fix None guard in config.server.is_threepid_reservedNeil Johnson2019-01-221-1/+3
* Config option to disable requesting MSISDN on registrationNeil Johnson2019-01-211-11/+5
* Neilj/fix autojoin (#4223)Neil Johnson2018-11-281-0/+1
* Add config variables for enabling terms auth and the policy name (#4142)Travis Ralston2018-11-061-1/+1
* pep8Travis Ralston2018-10-151-10/+2
* Auto-consent to the privacy policy if the user registered with termsTravis Ralston2018-10-031-0/+6
* Make the terms flow requriedTravis Ralston2018-10-031-4/+4
* Incorporate Dave's work for GDPR login flowsTravis Ralston2018-10-031-0/+15
* improve human readable error messageNeil Johnson2018-09-041-1/+2
* improve human readable error messagesNeil Johnson2018-09-041-3/+8
* move threepid checker to config, add missing yieldsNeil Johnson2018-08-311-2/+3
* ensure post registration auth checks do not fail erroneouslyNeil Johnson2018-08-311-0/+4
* fix bug where preserved threepid user comes to sign up and server is mau blockedNeil Johnson2018-08-311-0/+5
* Python 3: Convert some unicode/bytes uses (#3569)Amber Brown2018-08-021-6/+6
* Refactor REST API tests to use explicit reactors (#3351)Amber Brown2018-07-171-1/+1
* Merge pull request #3534 from krombel/use_parse_and_asserts_from_servletAmber Brown2018-07-141-11/+12
|\
| * rename assert_params_in_request to assert_params_in_dictKrombel2018-07-131-5/+5
| * Use parse_{int,str} and assert from http.servletKrombel2018-07-131-8/+9
* | Make auth & transactions more testable (#3499)Amber Brown2018-07-141-3/+2
|/
* run isortAmber Brown2018-07-091-10/+12
* Remove run_on_reactor (#3395)Amber Brown2018-06-141-3/+0
* Construct HMAC as bytes on py3Adrian Tschira2018-04-291-4/+6
* move handling of auto_join_rooms to RegisterHandlerKrombel2018-03-141-32/+0
* Move RoomMemberHandler out of HandlersErik Johnston2018-03-011-1/+1
* fix thinko on 3pid whitelistingMatthew Hodgson2018-01-241-2/+2
* fix typo (thanks sytest)Matthew Hodgson2018-01-191-1/+1
* oops, check all login typesMatthew Hodgson2018-01-191-14/+11
* trailing commasMatthew Hodgson2018-01-191-3/+3
* rewrite based on PR feedback:Matthew Hodgson2018-01-191-41/+34
* fix up v1, and improve errorsMatthew Hodgson2018-01-191-4/+12
* add registrations_require_3pidMatthew Hodgson2018-01-191-12/+61
* Refactor UI auth implementationRichard van der Hoff2017-12-051-6/+3
* Add some more comments appservice user registrationRichard van der Hoff2017-11-101-1/+4
* Downcase userids for shared-secret registrationRichard van der Hoff2017-11-101-2/+20
* Downcase userid on registrationRichard van der Hoff2017-11-091-1/+7
* support inhibit_login in /registerRichard van der Hoff2017-11-021-12/+16
* Break dependency of auth_handler on device_handlerRichard van der Hoff2017-11-011-1/+0
* Add config option to auto-join new users to roomsDavid Baker2017-10-161-0/+34
* Modify register/available to be GET with query paramLuke Barnard2017-05-101-5/+4
* Change register/available to POST (from GET)Luke Barnard2017-05-101-1/+1
* Appease the flake8 godsLuke Barnard2017-05-031-5/+10
* Implement username availability checkerLuke Barnard2017-05-031-0/+36
* Add another missing yield on check_device_registeredRichard van der Hoff2017-03-231-1/+1
* Use extend instead of +=David Baker2017-03-141-4/+4
* Oops, remove printDavid Baker2017-03-141-1/+0
* Fix registration for broken clientsDavid Baker2017-03-131-4/+22
* Support registration / login with phone numberDavid Baker2017-03-131-16/+104
* Revert "Support registration & login with phone number"Erik Johnston2017-03-131-104/+16
* Comment when our 3pids would be incompleteDavid Baker2017-03-081-0/+2
* Better error messageDavid Baker2017-03-081-1/+3
* Minor fixes from PR feedbackDavid Baker2017-03-081-4/+2
* TyposDavid Baker2017-03-081-2/+2
* Refector out assert_params_in_requestDavid Baker2017-03-081-18/+8
* Factor out msisdn canonicalisationDavid Baker2017-03-081-9/+2
* Fix pep8David Baker2017-03-081-1/+1
* Add msisdns as 3pids during registrationDavid Baker2017-03-031-0/+47
* WIP support for msisdn 3pid proxy methodsDavid Baker2017-02-141-5/+61
* Fix email push in pusher workerErik Johnston2017-02-021-1/+2
* Fix doc-stringRichard van der Hoff2016-12-011-2/+1
* Rip out more refresh_token codeRichard van der Hoff2016-11-301-2/+0
* Merge branch 'develop' into rav/no_more_refresh_tokensRichard van der Hoff2016-11-301-4/+15
|\
| * Give guest users a device_idRichard van der Hoff2016-11-251-4/+15
* | Stop generating refresh tokensRichard van der Hoff2016-11-281-3/+2
|/
* Fix flake8Mark Haines2016-11-181-1/+0
* Work around client replacing reg paramsDavid Baker2016-11-181-0/+12
* Add helper function for getting access_tokens from requestsMark Haines2016-09-091-2/+4
* Preserve some logcontextsErik Johnston2016-08-241-2/+1
* Fix adding emails on registrationDavid Baker2016-07-291-9/+7
* Implement deleting devicesRichard van der Hoff2016-07-261-5/+5
* Preserve device_id from first call to /registerRichard van der Hoff2016-07-211-11/+10
* Register a device_id in the /v2/register flow.Richard van der Hoff2016-07-201-15/+39
* Merge pull request #933 from matrix-org/rav/type_annotationsRichard van der Hoff2016-07-201-0/+9
|\
| * Type annotationsRichard van der Hoff2016-07-191-0/+9
* | Further registration refactoringRichard van der Hoff2016-07-191-13/+37
|/
* Don't bind email unless threepid contains expected fieldsRichard van der Hoff2016-07-191-28/+25
* rest/client/v2_alpha/register.py: Refactor flow somewhat.Richard van der Hoff2016-07-191-75/+102
* Use body.get to check for 'user'Will Hunt2016-07-161-2/+1
* Fall back to 'username' if 'user' is not given for appservice reg.Will Hunt2016-07-161-3/+5
* on_OPTIONS isn't neccessaryDavid Baker2016-07-121-3/+0
* Separate out requestTokens to separate handlersDavid Baker2016-07-111-28/+37
* 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
* Make v2_alpha reg follow the AS API specificationKegan Dougal2016-04-141-0/+5
* 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 a...David Baker2016-03-161-5/+17
* pep8 & remove debug loggingDavid Baker2016-03-161-4/+5
* Make registration idempotent: if you specify the same session, make it give y...David Baker2016-03-161-1/+26
* Register endpoint returns refresh_tokenblide2016-03-101-5/+8
* Add a parse_json_object functionMark Haines2016-03-091-4/+4
* 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 bre...David Baker2016-02-011-0/+1
* Add is_guest flag to users db to track whether a user is a guest user or not....David Baker2016-01-061-1/+4
* 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
* Merge pull request #211 from matrix-org/email_in_useMark Haines2015-08-201-0/+28
|\
| * 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 ema...David Baker2015-08-041-1/+26
* | Simplify LoginHander and AuthHandlerDaniel Wagner-Hall2015-08-121-2/+1
|/
* Don't try & check the username if we don't have one (which we won't if it's b...David Baker2015-08-031-1/+2
* Use the same reg paths as register v1 for ASes.Kegan Dougal2015-07-291-4/+6
* Fix v2_alpha registration. Add unit tests.Kegan Dougal2015-07-281-54/+70
* pep8 + debug lineDavid Baker2015-07-151-6/+8
* Add back in support for remembering parameters submitted to a user-interactiv...David Baker2015-07-151-2/+9
* 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 it...David Baker2015-04-151-4/+14
* 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
* pep8David Baker2015-03-311-2/+2
* New registration for C/S API v2. Only ReCAPTCHA working currently.David Baker2015-03-301-0/+86