summary refs log tree commit diff
path: root/synapse/storage/registration.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Don't end up with 4 classes in registrationBrendan Abolivier2019-10-081-52/+50
* Move registration's bg updates to a dedicated storeBrendan Abolivier2019-10-071-95/+103
* Bound find_next_generated_user_id DB query.Erik Johnston2019-10-021-1/+3
* Merge pull request #6092 from matrix-org/babolivier/background_update_deactiv...Brendan Abolivier2019-09-241-5/+5
|\
| * Incorporate reviewBrendan Abolivier2019-09-241-3/+3
| * TypoBrendan Abolivier2019-09-231-1/+1
| * Fix the return value in the users_set_deactivated_flag background jobBrendan Abolivier2019-09-231-4/+4
* | Merge remote-tracking branch 'origin/develop' into rav/saml_mapping_workRichard van der Hoff2019-09-241-1/+1
|\ \
| * | remove unused parameter to get_user_id_by_threepid (#6099)Richard van der Hoff2019-09-241-1/+1
| |/
* | Merge remote-tracking branch 'origin/develop' into rav/saml_mapping_workRichard van der Hoff2019-09-241-8/+45
|\|
| * Implement MSC2290 (#6043)Andrew Morgan2019-09-231-1/+21
| * Allow HS to send emails when adding an email to the HS (#6042)Andrew Morgan2019-09-201-7/+24
* | Merge branch 'develop' into rav/saml_mapping_workRichard van der Hoff2019-09-191-79/+152
|\|
| * Fix code style, againJason Robinson2019-09-091-3/+1
| * Simplify count_real_users SQL to only count user_type is null rowsJason Robinson2019-09-091-1/+1
| * Simplify is_real_user_txn check to trust user_type is null if real userJason Robinson2019-09-091-1/+1
| * Auto-fix a few code style issuesJason Robinson2019-09-091-4/+4
| * Only count real users when checking for auto-creation of auto-join roomJason Robinson2019-09-091-0/+39
| * Move delete_threepid_session into RegistrationWorkerStoreAndrew Morgan2019-09-061-25/+25
| * Move get_threepid_validation_session into RegistrationWorkerStoreAndrew Morgan2019-09-061-54/+54
| * Fix and refactor room and user stats (#5971)Erik Johnston2019-09-041-0/+12
| * Merge pull request #5902 from matrix-org/hs/exempt-support-users-from-consentWill Hunt2019-08-281-0/+1
| |\
| | * Ignore consent for support usersHalf-Shot2019-08-231-0/+1
| * | Add Admin API capability to set adminship of a user (#5878)reivilibre2019-08-271-0/+23
| |/
* / Record mappings from saml users in an external tableRichard van der Hoff2019-09-131-0/+41
|/
* Have ClientReaderSlavedStore inherit RegistrationStore (#5806)Andrew Morgan2019-08-011-21/+21
* Replace returnValue with return (#5736)Amber Brown2019-07-231-17/+17
* Implement access token expiry (#5660)Richard van der Hoff2019-07-121-5/+14
* fix typo: backgroud -> backgroundAndrew Morgan2019-07-121-4/+4
* Remove access-token support from RegistrationStore.register (#5642)Richard van der Hoff2019-07-101-20/+4
* Remove support for invite_3pid_guest. (#5625)Richard van der Hoff2019-07-051-47/+0
* Fix a number of "Starting txn from sentinel context" warnings (#5605)Richard van der Hoff2019-07-031-3/+10
* Run Black. (#5482)Amber Brown2019-06-201-60/+47
* Fix typo in deactivation background jobBrendan Abolivier2019-06-191-1/+1
* Fix background job for deactivated flagBrendan Abolivier2019-06-141-2/+4
* Don't send renewal emails to deactivated usersBrendan Abolivier2019-06-141-0/+14
* Track deactivated accounts in the database (#5378)Brendan Abolivier2019-06-141-0/+114
* Fix defaults on checking threepidsErik Johnston2019-06-101-1/+1
* Add ability to perform password reset via email without trusting the identity...Andrew Morgan2019-06-061-3/+287
* Add startup background job for account validityBrendan Abolivier2019-05-171-12/+4
* Merge branch 'develop' of github.com:matrix-org/synapse into babolivier/accou...Erik Johnston2019-04-171-125/+206
|\
| * Merge pull request #5047 from matrix-org/babolivier/account_expirationBrendan Abolivier2019-04-171-17/+151
| |\
| * \ Merge pull request #5027 from matrix-org/babolivier/account_expirationBrendan Abolivier2019-04-091-0/+34
| |\ \
| * \ \ Merge pull request #4982 from matrix-org/erikj/msc1915Erik Johnston2019-04-031-0/+112
| |\ \ \
| | * | | Fixup docstringsErik Johnston2019-04-021-3/+3
| | * | | Grandfather in existing user threepidsErik Johnston2019-04-011-0/+35
| | * | | Track IS used to bind 3PIDsErik Johnston2019-04-011-0/+77
| * | | | Run black on the rest of the storage module (#4996)Amber Brown2019-04-031-130/+99
| |/ / /
* | | / Add management endpoints for account validityBrendan Abolivier2019-04-171-12/+17
| |_|/ |/| |
* | | Send out emails with links to extend an account's validity periodBrendan Abolivier2019-04-171-17/+151
| |/ |/|
* | Add account expiration featureBrendan Abolivier2019-04-091-0/+34
|/
* Move /account/3pid to client_readerErik Johnston2019-02-271-33/+33
* Split /login into client_readerErik Johnston2019-02-181-41/+41
* Split out registration to workerErik Johnston2019-02-181-115/+115
* Ensure synchrotrons can access is_support_user in the storage layerNeil Johnson2019-01-021-25/+25
* create support user (#4141)Neil Johnson2018-12-141-2/+36
* Initialise user displayname from SAML2 data (#4272)Richard van der Hoff2018-12-071-7/+13
* fix style inconsistenciesNeil Johnson2018-10-241-0/+19
* Merge branch 'develop' of github.com:matrix-org/synapse into neilj/fix_mau_initNeil Johnson2018-10-241-1/+1
|\
| * Fix a number of flake8 errorsRichard van der Hoff2018-10-241-1/+1
* | fix race condiftion in calling initialise_reserved_usersNeil Johnson2018-10-231-4/+12
|/
* Implement trail usersErik Johnston2018-08-231-1/+27
* run isortAmber Brown2018-07-091-3/+3
* Fix error on deleting users pending deactivationDavid Baker2018-06-261-1/+3
* Merge pull request #3276 from matrix-org/dbkr/unbindDavid Baker2018-06-111-9/+0
|\
| * Hit the 3pid unbind endpoint on deactivationDavid Baker2018-05-231-9/+0
* | Merge pull request #3264 from matrix-org/neil/sign-up-statsNeil Johnson2018-06-011-0/+36
|\ \
| * | create index in backgroundNeil Johnson2018-05-291-0/+7
| * | daily user type phone home statsNeil Johnson2018-05-221-0/+29
| |/
* / Exempt AS-registered users from doing gdprRichard van der Hoff2018-05-291-0/+1
|/
* Send users a server notice about consentRichard van der Hoff2018-05-221-7/+39
* Merge pull request #3213 from matrix-org/rav/consent_handlerRichard van der Hoff2018-05-161-0/+18
|\
| * ConsentResource to gather policy consent from usersRichard van der Hoff2018-05-151-0/+18
* | Many docstringsDavid Baker2018-05-101-0/+12
* | Part deactivated users in the backgroundDavid Baker2018-05-091-0/+27
|/
* Move more xrange to sixAdrian Tschira2018-04-281-1/+3
* Don't use _cursor_to_dict in find_next_generated_user_id_localpartErik Johnston2018-03-261-3/+1
* Split registration storeErik Johnston2018-03-021-57/+61
* Reinstate event_search_postgres_gist handlerRichard van der Hoff2018-02-021-6/+1
* Remove pushers when deleting access tokensRichard van der Hoff2017-11-291-5/+5
* Make __init__ consitstent across Store heirarchyRichard van der Hoff2017-11-131-2/+2
* Fix 'NoneType' not iterable in /deactivateRichard van der Hoff2017-11-091-2/+1
* Notify auth providers on logoutRichard van der Hoff2017-11-011-5/+8
* Merge pull request #2617 from matrix-org/matthew/auto-displaynameMatthew Hodgson2017-11-011-2/+4
|\
| * switch to setting default displayname in the storage layerMatthew Hodgson2017-11-011-2/+4
* | Remove the last vestiges of refresh_tokensRichard van der Hoff2017-10-311-18/+11
|/
* Add some more statsErik Johnston2017-06-151-0/+13
* User Cursor.__iter__ instead of fetchallErik Johnston2017-03-231-1/+1
* Add /account/3pid/delete endpointDavid Baker2016-12-201-0/+11
* Rip out more refresh_token codeRichard van der Hoff2016-11-301-66/+0
* Add appservice workerErik Johnston2016-08-181-11/+22
* Refactor user_delete_access_tokens. Invalidate get_user_by_access_token to sl...Erik Johnston2016-08-151-38/+32
* Fix typoRichard van der Hoff2016-07-261-1/+1
* Delete refresh tokens when deleting devicesRichard van der Hoff2016-07-261-13/+45
* Implement deleting devicesRichard van der Hoff2016-07-261-4/+22
* Further registration refactoringRichard van der Hoff2016-07-191-2/+4
* Add device_id support to /loginRichard van der Hoff2016-07-181-10/+18
* Add a comment explaining allow_noneMark Haines2016-07-081-0/+2
* Ensure that the guest user is in the database when upgrading accountsMark Haines2016-07-081-0/+13
* Remove spurious txnErik Johnston2016-07-051-9/+0
* Fix for postgresErik Johnston2016-07-051-2/+2
* Add an admin option to shared secret registrationErik Johnston2016-07-051-23/+38
* Feature: Add deactivate account admin APIErik Johnston2016-06-301-0/+9
* Remove registered_users from the distributor.Mark Haines2016-06-171-3/+14
* Add cache to get_user_by_idErik Johnston2016-05-091-0/+3
* pep8David Baker2016-04-061-1/+1
* Make pushers use the event_push_actions table instead of listening on an even...David Baker2016-04-061-20/+0
* Use google style doc strings.Mark Haines2016-04-011-6/+9
* Thats not how transactions work.Erik Johnston2016-03-111-13/+16
* Implement logoutErik Johnston2016-03-111-14/+35
* Fix SQL statementErik Johnston2016-03-111-1/+1
* more pep8David Baker2016-03-111-1/+1
* Make select more sensible when dseleting access tokens, rename pusher deletio...David Baker2016-03-111-5/+3
* Delete old, unused methods and rename new one to just be `user_delete_access_...David Baker2016-03-111-15/+2
* Dear PyCharm, please indent sensibly for me. Thx.David Baker2016-03-111-1/+1
* Fix cache invalidation so deleting access tokens (which we did when changing ...David Baker2016-03-111-8/+20
* Store appservice ID on registerDaniel Wagner-Hall2016-03-101-6/+34
* Load the current id in the IdGenerator constructorMark Haines2016-03-011-3/+3
* Generate guest access token on 3pid invitesDaniel Wagner-Hall2016-02-241-0/+44
* Allocate guest user IDs numericcallyDaniel Wagner-Hall2016-02-051-0/+36
* Add descriptionsErik Johnston2016-02-031-0/+1
* Make notifications go quickerErik Johnston2016-01-181-3/+23
* Postgres doesn't like booleansDavid Baker2016-01-111-2/+2
* This comma is actually importantDavid Baker2016-01-071-1/+1
* Adding is_guest here won't work because it just constructs a dict of uid -> p...David 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-11/+29
* Allow guests to upgrade their accountsDaniel Wagner-Hall2016-01-051-7/+16
* Allow users to change which account a 3pid is bound toMark Haines2015-12-151-1/+1
* Allow guests to register and call /events?room_id=Daniel Wagner-Hall2015-11-041-7/+8
* Add some docstringsDaniel Wagner-Hall2015-09-221-0/+1
* Implement configurable stats reportingDaniel Wagner-Hall2015-09-221-0/+12
* Merge erikj/user_dedup to developDaniel Wagner-Hall2015-08-261-0/+14
* Stop looking up "admin", which we never readDaniel Wagner-Hall2015-08-251-3/+2
* Remove completely unused concepts from codebaseDaniel Wagner-Hall2015-08-251-3/+2
* /tokenrefresh POST endpointDaniel Wagner-Hall2015-08-201-0/+62
* s/by_token/by_access_token/gDaniel Wagner-Hall2015-08-201-3/+3
* Merge pull request #221 from matrix-org/authDaniel Wagner-Hall2015-08-141-6/+6
|\
| * Simplify LoginHander and AuthHandlerDaniel Wagner-Hall2015-08-121-6/+6
| * Change Cache to not use *args in its interfaceErik Johnston2015-08-071-1/+1
* | Move all the caches into their own package, synapse.util.cachesErik Johnston2015-08-111-1/+2
* | Change Cache to not use *args in its interfaceErik Johnston2015-08-071-1/+1
|/
* user_id now in user_threepidsDavid Baker2015-05-011-3/+3
* Don't use self.execute: it's designed for fetching stuffDavid Baker2015-05-011-3/+8
* No id field on userDavid Baker2015-05-011-5/+1
* More missed get_user_by_id API changesDavid Baker2015-05-011-3/+3
* Be more postgressiveDavid Baker2015-04-291-2/+2
* Merge branch 'develop' of github.com:matrix-org/synapse into postgresErik Johnston2015-04-281-8/+72
|\
| * pep8David Baker2015-04-171-1/+1
| * Password reset, finally.David Baker2015-04-171-1/+15
| * Add endpoint to get threepids from serverDavid Baker2015-04-171-0/+11
| * pep8David Baker2015-04-171-1/+1
| * make add3pid servlet workDavid Baker2015-04-171-0/+11
| * 1) Pushers are now associated with an access tokenDavid Baker2015-03-241-1/+1
| * Make deleting other access tokens when you change your password actually workDavid Baker2015-03-241-5/+11
| * Implement password changing (finally) along with a start on making client/ser...David Baker2015-03-231-4/+29
* | Go back to storing JSON in TEXTErik Johnston2015-04-161-5/+0
* | Add missing yield in storage funcErik Johnston2015-04-151-1/+1
* | Handle the fact that in sqlite binary data might be stored as unicode or bytesErik Johnston2015-04-101-1/+3
* | Use generic db exceptions rather than sqlite3 specific onesErik Johnston2015-04-081-3/+1
* | PEP8Erik Johnston2015-04-071-1/+0
* | Don't use AUTOINCREMENT, use an in memory versionErik Johnston2015-04-071-3/+7
* | Make work in both Maria and SQLite. Fix testsErik Johnston2015-04-011-2/+6
* | Fix unicode database supportErik Johnston2015-03-251-4/+14
* | Merge branch 'develop' of github.com:matrix-org/synapse into mysqlErik Johnston2015-03-201-2/+9
|\|
| * Give sensible names for '_simple_...' transactionsErik Johnston2015-03-201-2/+7
| * @cached() annotate get_user_by_token() - achieves a minor DB performance impr...Paul "LeoNerd" Evans2015-03-171-1/+6
* | Convert storage layer to be mysql compatibleErik Johnston2015-03-191-9/+5
|/
* Also give _execute() a descriptionPaul "LeoNerd" Evans2015-03-111-2/+1
* Extract the id token of the token when authing users, include the token and d...Mark Haines2015-01-281-1/+2
* Update copyright noticesMark Haines2015-01-061-1/+1
* Fix pep8 codestyle warningsMark Haines2014-11-201-7/+9
* Add an EventValidator. Fix bugs in auth ++ storageErik Johnston2014-11-101-1/+5
* Add transaction level logging and timing information. Add a _simple_delete me...Erik Johnston2014-10-281-2/+5
* Update docstringErik Johnston2014-09-291-1/+2
* SYN-48: Implement WHOIS rest servletErik Johnston2014-09-291-11/+15
* Add auth check to test if a user is an admin or not.Erik Johnston2014-09-291-0/+8
* Add a .runInteraction() method on SQLBaseStore itself to wrap the .db_poolPaul "LeoNerd" Evans2014-09-121-2/+2
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has...Matthew Hodgson2014-09-031-1/+1
* Be more helpful when failing to register/login, stating why (communication er...Kegan Dougal2014-08-141-2/+2
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-131-0/+1
* Reference Matrix Home Servermatrix.org2014-08-121-0/+113