summary refs log tree commit diff
path: root/synapse/storage/prepare_database.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Run pyupgrade for python 3.7 & 3.8. (#16110)Patrick Cloke2023-08-151-2/+10
* Add type hints to schema deltas (#15497)Patrick Cloke2023-04-271-3/+5
* Bump black from 22.12.0 to 23.1.0 (#15103)dependabot[bot]2023-02-221-2/+2
* Do not always start a db txn on Postgres (#14840)Andrew Morgan2023-02-091-4/+9
* Snapshot schema 72 (#13873)David Robertson2022-09-261-4/+4
* Use dummy fallback engines if imports fail (#12979)David Robertson2022-06-071-2/+1
* Reduce the number of "untyped defs" (#12716)David Robertson2022-05-121-1/+1
* Remove unused `# type: ignore`s (#12531)David Robertson2022-04-271-2/+2
* Minor updates, and docs, for schema delta files (#11823)Richard van der Hoff2022-01-251-3/+6
* Use auto_attribs/native type hints for attrs classes. (#11692)Patrick Cloke2022-01-131-3/+3
* Run _upgrade_existing_database on workers if at current schema_version (#11346)Andrew Morgan2021-11-151-18/+22
* Fix typo in comment from #11255. (#11276)Patrick Cloke2021-11-081-1/+1
* Fix rolling back when using workers (#11255)Erik Johnston2021-11-051-11/+12
* Port the Password Auth Providers module interface to the new generic interfac...Azrenbeth2021-10-131-0/+2
* Relax `ignore-missing-imports` for modules that have stubs now and update myp...David Robertson2021-10-081-0/+4
* Use direct references for configuration variables (part 6). (#10916)Patrick Cloke2021-09-291-1/+1
* Use direct references for some configuration variables (part 3) (#10885)Patrick Cloke2021-09-231-1/+1
* Use direct references for some configuration variables (#10798)Patrick Cloke2021-09-131-3/+3
* [pyupgrade] `synapse/` (#10348)Jonathan de Jong2021-07-191-1/+1
* Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381)Jonathan de Jong2021-07-151-3/+3
* Support for database schema version ranges (#9933)Richard van der Hoff2021-06-111-39/+82
* Reorganise the database schema directories (#9932)Richard van der Hoff2021-05-071-23/+25
* Remove `synapse.types.Collection` (#9856)Richard van der Hoff2021-04-221-2/+1
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Deprecate imp (#9718)Cristina2021-03-311-3/+8
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-2/+6
* Fix some typos.Patrick Cloke2021-02-121-1/+1
* Update type hints for Cursor to match PEP 249. (#9299)Jonathan de Jong2021-02-051-2/+2
* Remove old tables after schema version bump (#9055)Erik Johnston2021-01-111-3/+0
* Improve the performance of calculating ignored users in large rooms (#9024)Patrick Cloke2021-01-071-1/+1
* Handle updating schema version without any deltas. (#9033)Erik Johnston2021-01-071-7/+10
* Add additional type hints to the storage module. (#8980)Patrick Cloke2020-12-301-48/+56
* Add logging on startup/shutdown (#8448)Erik Johnston2020-10-021-23/+10
* Use slots in attrs classes where possible (#8296)Patrick Cloke2020-09-141-1/+1
* Merge remote-tracking branch 'origin/release-v1.20.0' into developRichard van der Hoff2020-09-081-17/+70
|\
| * Add more logging to debug slow startup (#8264)Richard van der Hoff2020-09-071-0/+10
| * Refuse to upgrade database on worker processes (#8266)Richard van der Hoff2020-09-071-17/+61
* | Run database updates in a transaction (#8265)Richard van der Hoff2020-09-071-5/+22
|/
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-25/+23
* Fix bug in account data replication stream. (#7656)Erik Johnston2020-06-091-0/+1
* Fix incorrect placeholder syntax in database prepartion code (#7575)Andrew Morgan2020-05-271-3/+2
* Replace device_27_unique_idx bg update with a fg one (#7562)Richard van der Hoff2020-05-261-4/+9
* Support any process writing to cache invalidation stream. (#7436)Erik Johnston2020-05-071-0/+2
* Only run one background update at a timeRichard van der Hoff2020-03-311-1/+1
* Sanity-check database before running upgrades (#6982)Richard van der Hoff2020-02-251-2/+13
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-211-3/+3
* Warn if postgres database has non-C locale. (#6734)Erik Johnston2020-01-281-0/+5
* Add `local_current_membership` table (#6655)Erik Johnston2020-01-151-1/+1
* Split state groups into a separate data store (#6296)Erik Johnston2019-12-201-1/+1
* Explode on duplicate delta file names. (#6565)Erik Johnston2019-12-191-0/+18
* Improve diagnostics on database upgrade failure (#6570)Richard van der Hoff2019-12-191-1/+4
* Add database config class (#6513)Erik Johnston2019-12-181-4/+3
* Clean up newline quote marks around the codebase (#6362)Andrew Morgan2019-11-211-1/+1
* Clean up prepare_database.py a bit and add commentsErik Johnston2019-10-221-7/+30
* Fix schema management to work with multiple data stores.Erik Johnston2019-10-211-41/+108
* Code style (Black)Olivier Wilkinson (reivilibre)2019-08-271-3/+1
* Allow schema deltas to be engine-specificOlivier Wilkinson (reivilibre)2019-08-271-5/+21
* Add membership column to current_state_events table.Erik Johnston2019-07-181-1/+1
* Fix "Unexpected entry in 'full_schemas'" log warning (#5509)Richard van der Hoff2019-06-211-1/+1
* 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
|\
| * fix schemasAmber Brown2019-06-031-2/+2
| * prepareAmber Brown2019-06-031-2/+14
* | Add ability to perform password reset via email without trusting the identity...Andrew Morgan2019-06-061-1/+1
|/
* Remove presence lists (#4989)Neil Johnson2019-04-031-1/+1
* Run black on the rest of the storage module (#4996)Amber Brown2019-04-031-38/+29
* Drop sent_transactionsAaron Raimist2018-12-011-1/+1
* Ignore __pycache__ directories in schema delta dirRichard van der Hoff2018-11-201-1/+1
* Add state_group index to event_to_state_groupsErik Johnston2018-10-041-1/+1
* 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
* 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
* Bump schema version to 46Luke Barnard2017-10-261-1/+1
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-1/+1
* 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
* Add stream_id index to device_lists_outbound_pokesErik Johnston2017-02-281-1/+1
* Change device_inbox stream index to include userErik Johnston2017-01-101-1/+1
* Handle sending events and device messages over federationErik Johnston2016-11-171-1/+1
* Replace postgres GIN with GISTErik Johnston2016-11-031-1/+1
* 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
* 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
* 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