summary refs log tree commit diff
path: root/synapse/handlers/register.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Log exceptions when failing to auto-join new user according to the `auto_join...reivilibre2024-05-221-1/+1
* Correctly mention previous copyright (#16820)Erik Johnston2024-01-231-0/+2
* Update license headersPatrick Cloke2023-11-211-11/+16
* Add + as an allowed character for Matrix IDs (MSC4009) (#15911)Patrick Cloke2023-07-111-7/+2
* `N + 3`: Read from column `full_user_id` rather than `user_id` of tables `pro...Shay2023-06-021-1/+1
* Implement MSC4009 to widen the allowed Matrix ID grammar (#15536)Patrick Cloke2023-05-051-13/+14
* Move Spam Checker callbacks to a dedicated file (#15453)Andrew Morgan2023-04-181-2/+2
* Revert pruning of old devices (#15360)Erik Johnston2023-03-311-50/+2
* Fix registering a device on an account with lots of devices (#15348)Erik Johnston2023-03-291-0/+2
* Delete stale non-e2e devices for users, take 3 (#15183)Erik Johnston2023-03-291-2/+48
* Make cleaning up pushers depend on the device_id instead of the token_id (#15...Quentin Gliech2023-03-241-2/+2
* Avoid unneeded work if auto-join rooms aren't configured. (#15262)Patrick Cloke2023-03-141-2/+8
* Remove unused `room_alias` field from `/createRoom` response (#15093)David Robertson2023-02-221-2/+2
* Move `StateFilter` to `synapse.types` (#14668)David Robertson2022-12-121-1/+1
* Add a type hint for `get_device_handler()` and fix incorrect types. (#14055)Patrick Cloke2022-11-221-0/+4
* Allow admins to require a manual approval process before new accounts can be ...Brendan Abolivier2022-09-291-0/+8
* Support enabling/disabling pushers (from MSC3881) (#13799)Brendan Abolivier2022-09-211-2/+2
* `synapse.api.auth.Auth` cleanup: make permission-related methods use `Request...Quentin Gliech2022-08-221-6/+9
* Decouple `synapse.api.auth_blocking.AuthBlocking` from `synapse.api.auth.Auth...Quentin Gliech2022-06-141-1/+2
* Wait for lazy join to complete when getting current state (#12872)Erik Johnston2022-06-011-1/+2
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-1/+1
* Minor typing fixes (#12034)Richard van der Hoff2022-02-211-3/+3
* Add a config flag to inhibit `M_USER_IN_USE` during registration (#11743)Brendan Abolivier2022-01-261-12/+14
* Partially revert #11675; prevent attempting to create pushers on workers (#11...Andrew Morgan2022-01-201-7/+5
* Add a flag to the `synapse_review_recent_signups` script to ignore and filter...lukasdenk2022-01-171-5/+7
* Save the OIDC session ID (sid) with the device on login (#11482)Quentin Gliech2021-12-061-3/+12
* Support configuring the lifetime of non-refreshable access tokens separately ...reivilibre2021-12-031-3/+17
* Add type annotations to some of the configuration surrounding refresh tokens....reivilibre2021-11-291-0/+5
* Support expiry of refresh tokens and expiry of the overall session when refre...reivilibre2021-11-261-8/+36
* Rename unstable `access_token_lifetime` configuration option to `refreshable_...reivilibre2021-11-231-2/+6
* Rename `get_refresh_token_for_user_id` to `create_refresh_token_for_user_id` ...reivilibre2021-11-181-1/+1
* Rename `get_access_token_for_user_id` method to `create_access_token_for_user...reivilibre2021-11-171-1/+1
* Remove the deprecated BaseHandler. (#11005)Patrick Cloke2021-10-081-5/+4
* Use direct references for configuration variables (part 7). (#10959)Patrick Cloke2021-10-041-3/+6
* Clean-up registration tests (#10945)Patrick Cloke2021-09-301-1/+3
* Use direct references for configuration variables (part 6). (#10916)Patrick Cloke2021-09-291-1/+1
* Use direct references for configuration variables (part 5). (#10897)Patrick Cloke2021-09-241-1/+1
* Use direct references for some configuration variables (part 3) (#10885)Patrick Cloke2021-09-231-4/+7
* Always add local users to the user directory (#10796)David Robertson2021-09-211-5/+4
* Require type hints in the handlers module. (#10831)Patrick Cloke2021-09-201-1/+1
* Use direct references for some configuration variables (#10798)Patrick Cloke2021-09-131-4/+4
* Add a constant for m.federate. (#10775)Patrick Cloke2021-09-081-2/+8
* Correctly initialise the `synapse_user_logins` metric. (#10677)Richard van der Hoff2021-08-241-0/+18
* [pyupgrade] `synapse/` (#10348)Jonathan de Jong2021-07-191-9/+6
* Add a module type for account validity (#9884)Brendan Abolivier2021-07-161-0/+5
* MSC2918 Refresh tokens implementation (#9450)Quentin Gliech2021-06-241-6/+46
* Improve the reliability of auto-joining remote rooms (#10237)Brendan Abolivier2021-06-231-16/+47
* Standardise the module interface (#10062)Brendan Abolivier2021-06-181-1/+1
* Change the format of access tokens away from macaroons (#5588)Richard van der Hoff2021-05-121-3/+1
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Bugbear: Add Mutable Parameter fixes (#9682)Jonathan de Jong2021-04-081-1/+3
* Make RateLimiter class check for ratelimit overrides (#9711)Erik Johnston2021-03-301-3/+3
* Import HomeServer from the proper module. (#9665)Patrick Cloke2021-03-231-1/+1
* Add type hints to the room member handler. (#9631)Patrick Cloke2021-03-171-2/+2
* Pass SSO IdP information to spam checker's registration function (#9626)Andrew Morgan2021-03-161-2/+2
* Fix the auth provider on the logins metric (#9573)Richard van der Hoff2021-03-101-16/+30
* Prometheus metrics for logins and registrations (#9511)Richard van der Hoff2021-03-041-2/+33
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-8/+20
* Collect terms consent from the user during SSO registration (#9276)Richard van der Hoff2021-02-011-0/+2
* Make importing display name and email optional (#9277)Richard van der Hoff2021-02-011-2/+3
* Merge remote-tracking branch 'origin/erikj/as_mau_block' into developErik Johnston2020-12-181-1/+6
|\
| * Correctly handle AS registerations and add testErik Johnston2020-12-171-1/+6
* | Allow spam-checker modules to be provide async methods. (#8890)David Teller2020-12-111-1/+1
|/
* Properly report user-agent/IP during registration of SSO users. (#8784)Patrick Cloke2020-11-231-99/+115
* Add admin API for logging in as a user (#8617)Erik Johnston2020-11-171-10/+14
* Add ability for access tokens to belong to one user but grant access to anoth...Erik Johnston2020-10-291-2/+5
* Remove the deprecated Handlers object (#8494)Patrick Cloke2020-10-091-1/+1
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-1/+1
* Allow denying or shadow banning registrations via the spam checker (#8034)Patrick Cloke2020-08-201-2/+24
* Improve the error code when trying to register using a name reserved for gues...Patrick Cloke2020-08-201-1/+3
* Add a shadow-banned flag to users. (#8092)Patrick Cloke2020-08-141-0/+8
* Convert replication code to async/await. (#7987)Patrick Cloke2020-08-031-1/+1
* Use a postgres sequence to generate guest user IDsRichard van der Hoff2020-07-161-21/+1
* Additional configuration options for auto-join rooms (#7763)Patrick Cloke2020-06-301-62/+168
* Convert the registration handler to async/await. (#7649)Patrick Cloke2020-06-081-66/+41
* Convert user directory handler and related classes to async/await. (#7640)Patrick Cloke2020-06-051-2/+4
* Add an option to disable autojoin for guest accounts (#6637)Travis Ralston2020-06-051-1/+7
* Allow new users to be registered via the admin API even if the monthly active...Dirk Klimpel2020-06-051-1/+6
* Performance improvements and refactor of Ratelimiter (#7595)Andrew Morgan2020-06-051-8/+1
* Check if the localpart is reserved for guests earlier in the registration flo...Brendan Abolivier2020-06-031-9/+9
* Hash passwords earlier in the registration process (#7523)Patrick Cloke2020-05-181-7/+2
* async/await is_server_admin (#7363)Andrew Morgan2020-05-011-27/+22
* Convert auth handler to async/await (#7261)Patrick Cloke2020-04-151-7/+21
* Kill off RegistrationError (#6691)Richard van der Hoff2020-01-131-9/+3
* Don't assign numeric IDs for empty usernames (#6690)Richard van der Hoff2020-01-131-1/+1
* Issue #6406 Fix parameter mismatchSyam G Krishnan2019-12-041-1/+1
* Replace instance variations of homeserver with correct case/spacingAndrew Morgan2019-11-121-1/+1
* raise exception after multiple failuresAndrew Morgan2019-11-061-3/+10
* Address review commentsAndrew Morgan2019-11-061-12/+12
* Don't forget to ratelimit calls outside of RegistrationHandlerAndrew Morgan2019-11-061-2/+2
* Numeric ID checker now checks @0, don't ratelimit on checkingAndrew Morgan2019-11-061-16/+25
* Update black to 19.10b0 (#6304)Amber Brown2019-11-011-2/+2
* Remove unused variableErik Johnston2019-10-031-2/+0
* Don't regenerate numeric user ID if registration fails.Erik Johnston2019-10-031-4/+4
* Only count real users when checking for auto-creation of auto-join roomJason Robinson2019-09-091-8/+4
* Remove bind_email and bind_msisdn (#5964)Andrew Morgan2019-09-041-44/+6
* Fix docstringAndrew Morgan2019-09-031-2/+1
* Remove unnecessary variable declarationAndrew Morgan2019-09-031-1/+0
* Remove unused methods from c/s api v1 in register.py (#5963)Andrew Morgan2019-09-021-104/+0
* Remove unnecessary parentheses around return statements (#5931)Andrew Morgan2019-08-301-1/+1
* Revert "Add "require_consent" parameter for registration"Brendan Abolivier2019-08-221-12/+2
* Add "require_consent" parameter for registrationHalf-Shot2019-08-221-2/+12
* Replace returnValue with return (#5736)Amber Brown2019-07-231-8/+8
* Implement access token expiry (#5660)Richard van der Hoff2019-07-121-11/+24
* Remove access-token support from RegistrationStore.register (#5642)Richard van der Hoff2019-07-101-1/+1
* Remove access-token support from RegistrationHandler.register (#5641)Richard van der Hoff2019-07-081-24/+3
* Better logging for auto-join. (#5643)Richard van der Hoff2019-07-081-0/+7
* Move get_or_create_user to test code (#5628)Richard van der Hoff2019-07-081-51/+0
* Remove support for invite_3pid_guest. (#5625)Richard van der Hoff2019-07-051-30/+0
* Run Black. (#5482)Amber Brown2019-06-201-123/+101
* Limit displaynames and avatar URLsRichard van der Hoff2019-06-011-0/+2
* Limit UserIds to a length that fits in a state key (#5198)ReidAnderson2019-05-201-1/+10
* Allow password providers to bind emails (#4947)Andrew Morgan2019-03-281-0/+17
* Support 3PID login in password providers (#4931)Andrew Morgan2019-03-261-5/+5
* fix test_auto_create_auto_join_where_no_consent (#4886)Neil Johnson2019-03-191-0/+5
* 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-8/+31
* switch from google.com to recaptcha.net for reCAPTCHA (#4731)Matthew Hodgson2019-02-251-2/+2
* Fix registration on workers (#4682)Erik Johnston2019-02-201-5/+195
* Move register_device into handlerErik Johnston2019-02-181-4/+47
* Split out registration to workerErik Johnston2019-02-181-4/+59
* create support user (#4141)Neil Johnson2018-12-141-2/+13
* Initialise user displayname from SAML2 data (#4272)Richard van der Hoff2018-12-071-7/+16
* Rip out half-implemented m.login.saml2 support (#4265)Richard van der Hoff2018-12-061-29/+0
* Neilj/fix autojoin (#4223)Neil Johnson2018-11-281-2/+21
* Delete the disused & unspecced identicon functionality (#4106)Amber Brown2018-10-291-3/+0
* Make room_member_handler a member of RoomCreationHandlerRichard van der Hoff2018-10-251-2/+4
* remove trailing whiter spaceNeil Johnson2018-10-241-1/+1
* fix tupleRichard van der Hoff2018-10-241-1/+2
* remove errant exception and styleNeil Johnson2018-10-231-5/+5
* clean up config error logic and importsNeil Johnson2018-10-171-14/+16
* no need to join room if creatorNeil Johnson2018-10-131-1/+2
* improve auto room join logic, comments and testsNeil Johnson2018-10-121-3/+8
* move logic into register, fix room alias localpart bug, testsNeil Johnson2018-10-041-27/+18
* emit room aliases eventMatthew Hodgson2018-09-291-3/+8
* fix thinkosMatthew Hodgson2018-09-291-6/+6
* fix UTsMatthew Hodgson2018-09-281-4/+9
* untested stab at autocreating autojoin roomsMatthew Hodgson2018-09-281-0/+18
* don't ratelimit autojoinsMatthew Hodgson2018-09-151-0/+1
* fix bug where preserved threepid user comes to sign up and server is mau blockedNeil Johnson2018-08-311-1/+2
* remove blank lineNeil Johnson2018-08-141-1/+0
* Update register.pyNeil Johnson2018-08-141-10/+0
* support admin_email config and pass through into blocking errors, return Auth...Neil Johnson2018-08-131-13/+14
* Revert "support admin_email config and pass through into blocking errors, ret...Neil Johnson2018-08-131-14/+13
* support admin_email config and pass through into blocking errors, return Auth...Neil Johnson2018-08-131-13/+14
* Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678)Amber Brown2018-08-101-1/+1
* py3 fixNeil Johnson2018-08-031-1/+1
* bug fixesNeil Johnson2018-08-031-4/+4
* do mau checks based on monthly_active_users tableNeil Johnson2018-08-021-6/+4
* Merge pull request #3630 from matrix-org/neilj/mau_sign_in_log_in_limitsNeil Johnson2018-08-011-2/+17
|\
| * make count_monthly_users async synapse/handlers/auth.pyNeil Johnson2018-08-011-4/+5
| * limit register and sign in on number of monthly usersNeil Johnson2018-07-301-2/+16
* | Python 3: Convert some unicode/bytes uses (#3569)Amber Brown2018-08-021-1/+1
|/
* run isortAmber Brown2018-07-091-3/+8
* Remove run_on_reactor (#3395)Amber Brown2018-06-141-4/+1
* Infrastructure for a server notices roomRichard van der Hoff2018-05-171-0/+14
* Merge branch 'develop' of into allow_auto_join_roomsKrombel2018-03-281-4/+10
|\
| * Also do check inside linearizerErik Johnston2018-03-271-3/+4
| * PEP8Erik Johnston2018-03-261-1/+3
| * Linearize calls to _generate_user_idErik Johnston2018-03-261-4/+7
* | move handling of auto_join_rooms to RegisterHandlerKrombel2018-03-141-2/+34
|/
* Refactor get_or_register_3pid_guestErik Johnston2018-03-131-4/+22
* rewrite based on PR feedback:Matthew Hodgson2018-01-191-10/+5
* fix up v1, and improve errorsMatthew Hodgson2018-01-191-1/+12
* Merge pull request #2773 from matrix-org/erikj/hash_bgErik Johnston2018-01-101-1/+1
|\
| * Do bcrypt hashing in a background threadErik Johnston2018-01-101-1/+1
* | switch to a simpler 'search_all_users' button as per review feedbackMatthew Hodgson2017-12-041-1/+1
* | kick the user_directory index when new users registerMatthew Hodgson2017-11-291-0/+8
|/
* Revert "Allow upper-case characters in mxids"Richard van der Hoff2017-11-091-3/+3
* Allow upper-case characters in mxidsRichard van der Hoff2017-11-091-3/+3
* Move access token deletion into auth handlerRichard van der Hoff2017-11-011-1/+2
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-1/+1
* Allow = in mxids and groupidsRichard van der Hoff2017-10-201-3/+2
* Disallow capital letters in useridsRichard van der Hoff2017-10-201-6/+4
* Split out profile handler to fix testsErik Johnston2017-08-251-2/+2
* Modify condition on empty localpartLuke Barnard2017-05-101-1/+1
* Modify register/available to be GET with query paramLuke Barnard2017-05-101-0/+7
* Fix email push in pusher workerErik Johnston2017-02-021-4/+6
* Prevent user tokens being used as guest tokens (#1675)Richard van der Hoff2016-12-061-1/+1
* Stop putting a time caveat on access tokensRichard van der Hoff2016-11-291-3/+2
* rest/client/v1/register: use the correct requester in createUserPatrik Oldsberg2016-10-061-4/+2
* storage/appservice: make appservice methods only relying on the cache synchro...Patrik Oldsberg2016-10-061-3/+2
* Forbid non-ASes from registering users whose names begin with '_' (SYN-738)Paul "LeoNerd" Evans2016-07-271-0/+7
* Add `create_requester` functionRichard van der Hoff2016-07-261-7/+9
* Further registration refactoringRichard van der Hoff2016-07-191-5/+8
* Bug fix: expire invalid access tokensNegar Fazeli2016-07-131-3/+3
* Add an admin option to shared secret registrationErik Johnston2016-07-051-1/+3
* Fix style violationsKent Shikama2016-07-041-1/+2
* Optionally include password hash in createUser endpointKent Shikama2016-07-031-2/+2
* Add a comment on why we don't create a profile for upgrading usersMark Haines2016-06-171-0/+1
* Remove registered_users from the distributor.Mark Haines2016-06-171-13/+10
* Fix a bug caused by a change in auth_handler functionNegar Fazeli2016-06-081-2/+2
* Split out the auth handlerDavid Baker2016-06-021-1/+1
* Fix set profile error with Requester.Negi Fazeli2016-05-231-4/+5
* Create user with expiryNegi Fazeli2016-05-131-0/+53
* Move all the wrapper functions for distributor.fireMark Haines2016-04-081-4/+1
* Make registration idempotent, part 2: be idempotent if the client specifies a...David Baker2016-03-161-1/+11
* Store appservice ID on registerDaniel Wagner-Hall2016-03-101-1/+4
* Use syntax that works on both py2.7 and py3Mark Haines2016-03-071-1/+1
* handlers/register: make sure another user id is generated when a collision oc...Patrik Oldsberg2016-02-291-0/+1
* Generate guest access token on 3pid invitesDaniel Wagner-Hall2016-02-241-0/+15
* Enforce user_id exclusivity for AS registrationsDaniel Wagner-Hall2016-02-111-5/+12
* Fix up logcontextsErik Johnston2016-02-081-1/+1
* Allocate guest user IDs numericcallyDaniel Wagner-Hall2016-02-051-19/+36
* Fix flake8 warnings for new flake8Daniel Wagner-Hall2016-02-021-1/+1
* Pass make_guest whne we autogen a user IDDavid Baker2016-02-021-1/+3
* Underscores are allowed in user idsErik Johnston2016-01-221-1/+1
* Don't explode when given a unicode username in /register/Erik Johnston2016-01-201-3/+2
* M_INVALID_USERNAME to be consistent with the parameter nameDavid Baker2016-01-151-1/+1
* Add specific error code for invalid user names.David Baker2016-01-141-1/+2
* comma styleDavid Baker2016-01-061-1/+1
* Add is_guest flag to users db to track whether a user is a guest user or not....David Baker2016-01-061-1/+3
* Allow guests to upgrade their accountsDaniel Wagner-Hall2016-01-051-10/+27
* Merge pull request #450 from matrix-org/matthew/no-identiconsMatthew Hodgson2015-12-181-19/+3
|\
| * fix indentation levelMatthew Hodgson2015-12-171-3/+3
| * stop generating default identicons. reverts most of 582019f870adbc4a8a8a9ef97...Matthew Hodgson2015-12-171-19/+3
* | Fix typo that broke registration on the mobile clientsDavid Baker2015-12-181-1/+1
|/
* Reuse the captcha client rather than creating a new one for each requestMark Haines2015-12-031-4/+2
* Wrap calls to distributor.fire in appropriately named functions so that stati...Mark Haines2015-12-011-4/+8
* Allow guests to register and call /events?room_id=Daniel Wagner-Hall2015-11-041-5/+7
* Remove unused importDaniel Wagner-Hall2015-08-261-1/+0
* Swap out bcrypt for md5 in testsDaniel Wagner-Hall2015-08-261-1/+1
* Merge erikj/user_dedup to developDaniel Wagner-Hall2015-08-261-2/+2
* Move token generation to auth handlerDaniel Wagner-Hall2015-08-201-19/+7
* Re-add whitespace around caveat operatorsDaniel Wagner-Hall2015-08-191-4/+4
* Remove padding space around caveat operatorsDaniel Wagner-Hall2015-08-181-4/+4
* Fix some formatting to use tuplesDaniel Wagner-Hall2015-08-181-4/+4
* Issue macaroons as opaque auth tokensDaniel Wagner-Hall2015-08-181-6/+13
* Simplify LoginHander and AuthHandlerDaniel Wagner-Hall2015-08-121-5/+5
* Fix v2_alpha registration. Add unit tests.Kegan Dougal2015-07-281-1/+2
* code beautifyMuthu Subramanian2015-07-081-1/+0
* Integrate SAML2 basic authentication - uses pysaml2Muthu Subramanian2015-07-081-0/+30
* revert accidental bcrypt gensalt round reduction from loadtestingMark Haines2015-05-071-1/+1
* pynacl-0.3.0 was released so we can finally start using it directly from pypiMark Haines2015-05-071-1/+1
* pep8David Baker2015-04-171-4/+1
* Need to yield the username check, otherwise very very weird things happen.David Baker2015-04-171-1/+1
* Oops, left debugging in.David Baker2015-04-161-6/+0
* Return user ID in use error straight awayDavid Baker2015-04-161-63/+39
* Regstration with email in v2David Baker2015-04-151-1/+5
* New registration for C/S API v2. Only ReCAPTCHA working currently.David Baker2015-03-301-1/+10
* Factor out user id validation checksErik Johnston2015-03-181-0/+8
* Implement exclusive namespace checks.Kegan Dougal2015-02-271-5/+6
* Merge branch 'develop' into application-servicesKegan Dougal2015-02-111-5/+8
|\
| * Code-style fixesMark Haines2015-02-101-5/+8
* | Merge branch 'develop' into application-servicesKegan Dougal2015-02-091-0/+17
|\|
| * don't give up if we can't create default avatars during testsMatthew Hodgson2015-02-071-9/+12
| * ...and here's the actual impl. git fail.Matthew Hodgson2015-02-071-0/+14