summary refs log tree commit diff
path: root/synapse/storage/prepare_database.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix "Unexpected entry in 'full_schemas'" log warning (#5509)Richard van der Hoff2019-06-211-1/+1
| | | | | There is a README.txt which always sets off this warning, which is a bit alarming when you first start synapse. I don't think we need to warn about this.
* Run Black. (#5482)Amber Brown2019-06-201-6/+7
|
* Merge pull request #5320 from matrix-org/hawkowl/full-schema-v1Erik Johnston2019-06-061-2/+14
|\ | | | | Make a full SQL schema
| * fix schemasAmber Brown2019-06-031-2/+2
| |
| * prepareAmber Brown2019-06-031-2/+14
| |
* | Add ability to perform password reset via email without trusting the ↵Andrew Morgan2019-06-061-1/+1
|/ | | | | | | | | | | | identity server (#5377) Sends password reset emails from the homeserver instead of proxying to the identity server. This is now the default behaviour for security reasons. If you wish to continue proxying password reset requests to the identity server you must now enable the email.trust_identity_server_for_password_resets option. This PR is a culmination of 3 smaller PRs which have each been separately reviewed: * #5308 * #5345 * #5368
* Remove presence lists (#4989)Neil Johnson2019-04-031-1/+1
| | | Remove presence list support as per MSC 1819
* Run black on the rest of the storage module (#4996)Amber Brown2019-04-031-38/+29
|
* Drop sent_transactionsAaron Raimist2018-12-011-1/+1
| | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
* Ignore __pycache__ directories in schema delta dirRichard van der Hoff2018-11-201-1/+1
| | | | Now that we use py3, compiled python ends up in __pycache__ rather than *.pyc.
* Add state_group index to event_to_state_groupsErik Johnston2018-10-041-1/+1
| | | | | This is needed to efficiently check for unreferenced state groups during purge.
* api into monthly_active_users tableNeil Johnson2018-07-311-1/+1
|
* run isortAmber Brown2018-07-091-1/+0
|
* bump versionNeil Johnson2018-05-291-1/+1
|
* Generate user daily statsNeil Johnson2018-04-251-1/+1
|
* Add joinability for groupsDavid Baker2018-03-281-1/+2
| | | | | Adds API to set the 'joinable' flag, and corresponding flag in the table.
* Keep track of last access time for local mediaErik Johnston2018-01-171-1/+1
|
* DB schema interface for password auth providersRichard van der Hoff2017-10-311-0/+70
| | | | | Provide an interface by which password auth providers can register db schema files to be run at startup
* Bump schema version to 46Luke Barnard2017-10-261-1/+1
|
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-1/+1
| | | | what could possibly go wrong
* Fix schema delta versionsErik Johnston2017-10-111-1/+1
|
* Delete expired url cache dataErik Johnston2017-09-281-1/+1
|
* Add DB schema for tracking users who share roomsErik Johnston2017-06-151-1/+1
|
* Add background task to clear out old event_authErik Johnston2017-05-241-1/+1
|
* User Cursor.__iter__ instead of fetchallErik Johnston2017-03-231-1/+1
| | | | This prevents unnecessary construction of lists
* Add stream_id index to device_lists_outbound_pokesErik Johnston2017-02-281-1/+1
| | | | As this is used for replication streaming
* Change device_inbox stream index to include userErik Johnston2017-01-101-1/+1
| | | | | This makes fetching the nost recently changed users much tricker, and brings it in line with e.g. presence_stream indices.
* Handle sending events and device messages over federationErik Johnston2016-11-171-1/+1
|
* Replace postgres GIN with GISTErik Johnston2016-11-031-1/+1
| | | | | This is because GIN can be slow to write too, especially when the table gets large.
* Bump schema versionErik Johnston2016-10-171-1/+1
|
* Readd entries to public_room_list_stream that were deletedErik Johnston2016-09-211-1/+1
|
* Log delta files we're applyingErik Johnston2016-09-081-2/+2
|
* Move to storing state_groups_state as deltasErik Johnston2016-09-011-1/+1
|
* Add some invalidations to a cache_streamErik Johnston2016-08-151-1/+1
|
* Track approximate last access time for remote mediaErik Johnston2016-06-291-1/+1
|
* Add /report endpointErik Johnston2016-05-041-1/+1
|
* Remove some unused functions (#711)Mark Haines2016-04-081-12/+0
| | | | | | | | * Remove some unused functions * get_room_events_stream is only used in tests * is_exclusive_room might actually be something we want
* Don't require config to create databaseErik Johnston2016-04-061-43/+21
|
* Store invites in a separate table.Erik Johnston2016-04-041-1/+1
|
* Mark AS users with their AS's IDDaniel Wagner-Hall2016-02-111-7/+8
|
* Change a log from debug to infoErik Johnston2016-02-091-1/+1
|
* Change event_push_actions_rm_tokens schemaErik Johnston2016-02-031-1/+1
|
* Allow guests to upgrade their accountsDaniel Wagner-Hall2016-01-051-2/+2
|
* Bump schema version.Mark Haines2015-12-041-1/+1
| | | | As we released version 26 in v0.11.1
* s/private_user_data/account_data/Mark Haines2015-11-181-1/+1
|
* Move FTS to delta 25Erik Johnston2015-10-221-1/+1
|
* rename schema_prepare to prepare_databaseErik Johnston2015-10-131-0/+395