summary refs log tree commit diff
path: root/synapse/storage/database.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add some background update admin APIs (#11263)Erik Johnston2021-11-081-0/+4
* Add metrics to the threadpools (#11178)Erik Johnston2021-11-011-1/+6
* Add type hints for most `HomeServer` parameters (#11095)Sean Quah2021-10-221-1/+5
* Fix remove_stale_pushers job on SQLite. (#10843)reivilibre2021-09-201-9/+12
* Use `execute_values` more in PostgreSQL (#10754)Erik Johnston2021-09-031-19/+42
* Add support for MSC2716 marker events (#10498)Eric Eastwood2021-08-041-7/+7
* Allow setting transaction limit for db connections (#10440)Toni Spets2021-08-021-0/+21
* Replace `or_ignore` in `simple_insert` with `simple_upsert` (#10442)Erik Johnston2021-07-221-31/+20
* [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-7/+7
* Add script for getting info about recently registered users (#10290)Erik Johnston2021-07-061-1/+1
* Fix logging context when opening new DB connection (#10141)Erik Johnston2021-06-081-3/+9
* More database opentracing (#10136)Richard van der Hoff2021-06-071-2/+5
* Add OpenTracing for database activity. (#10113)Richard van der Hoff2021-06-031-33/+53
* Use the parent's logging context name for runWithConnection. (#9895)Patrick Cloke2021-04-281-1/+3
* Remove various bits of compatibility code for Python <3.6 (#9879)Andrew Morgan2021-04-271-9/+6
* Remove `synapse.types.Collection` (#9856)Richard van der Hoff2021-04-221-1/+1
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Bump black configuration to target py36 (#9781)Dan Callahan2021-04-131-4/+4
* Bugbear: Add Mutable Parameter fixes (#9682)Jonathan de Jong2021-04-081-6/+14
* remove unused param on `make_tuple_comparison_clause`Richard van der Hoff2021-04-081-4/+1
* Drop support for sqlite<3.22 as wellRichard van der Hoff2021-04-081-55/+7
* Add a storage method for returning all current presence from all users (#9650)Andrew Morgan2021-03-251-2/+9
* Enable addtional flake8-bugbear linting checks. (#9659)Jonathan de Jong2021-03-241-1/+1
* Refactor to ensure we call check_consistency (#9470)Erik Johnston2021-02-241-12/+4
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-8/+19
* Update type hints for Cursor to match PEP 249. (#9299)Jonathan de Jong2021-02-051-5/+9
* Use execute_batch in more places (#9188)Erik Johnston2021-01-211-0/+6
* Use execute_batch instead of executemany in places (#9181)Erik Johnston2021-01-211-3/+2
* Fix chain cover background update to work with split out event persisters (#9...Erik Johnston2021-01-141-0/+11
* Use a chain cover index to efficiently calculate auth chain difference (#8868)Erik Johnston2021-01-111-4/+18
* Add type hints to the logging context code. (#8939)Patrick Cloke2021-01-051-3/+5
* Enable reconnection in DB pool (#8726)Erik Johnston2020-11-121-1/+6
* Tell Black to format code for Python 3.5 (#8664)Dan Callahan2020-10-271-2/+2
* Pre-emptively fix synapse.storage.types.Connection for future mypy release (#...Jonathan de Jong2020-10-171-1/+1
* Use autocommit mode for single statement DB functions. (#8542)Erik Johnston2020-10-141-8/+91
* Reduce serialization errors in MultiWriterIdGen (#8456)Erik Johnston2020-10-071-6/+63
* Add logging on startup/shutdown (#8448)Erik Johnston2020-10-021-15/+74
* Catch-up after Federation Outage (split, 1) (#8230)reivilibre2020-09-041-2/+2
* Fix type signature in simple_select_one_onecol and friends (#8241)reivilibre2020-09-041-10/+7
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-2/+2
* Add an overload for simple_select_one_onecol_txn. (#8235)Patrick Cloke2020-09-021-0/+24
* Convert runInteraction to async/await (#8156)Patrick Cloke2020-09-021-15/+14
* Add StreamStore to mypy (#8232)Erik Johnston2020-09-021-0/+34
* Convert simple_delete to async/await. (#8191)Patrick Cloke2020-08-271-8/+55
* simple_search_list_txn should return None, not 0. (#8187)Patrick Cloke2020-08-271-4/+3
* Convert additional database methods to async (select list, search, insert_man...Patrick Cloke2020-08-271-62/+37
* Convert simple_update* and simple_select* to async (#8173)Patrick Cloke2020-08-271-14/+15
* Convert simple_select_one and simple_select_one_onecol to async (#8162)Patrick Cloke2020-08-261-6/+30
* Add more types to synapse.storage.database. (#8127)Patrick Cloke2020-08-201-219/+358
* Convert runWithConnection to async. (#8121)Patrick Cloke2020-08-191-14/+13
* Convert some of the general database methods to async (#8100)Patrick Cloke2020-08-171-14/+9
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-1/+1
* Move some log lines from default logger to sql/transaction loggers (#7952)Andrew Morgan2020-07-281-8/+10
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-2/+1
* Replace iteritems/itervalues/iterkeys with native versions. (#7692)Patrick Cloke2020-06-151-7/+6
* Replace device_27_unique_idx bg update with a fg one (#7562)Richard van der Hoff2020-05-261-1/+0
* Remove `exception_to_unicode`Richard van der Hoff2020-05-151-12/+3
* Fix new flake8 errors (#7470)Erik Johnston2020-05-121-2/+2
* use an upsert to update device_lists_outbound_last_successRichard van der Hoff2020-05-061-0/+1
* Better type annotations for simple_upsert_txnRichard van der Hoff2020-05-061-30/+43
* bg update to clear out duplicate outbound_device_list_pokes (#7193)Richard van der Hoff2020-04-071-1/+82
* Clean up some LoggingContext stuff (#7120)Richard van der Hoff2020-03-241-6/+5
* Hopefully mypy is happy nowBrendan Abolivier2020-03-101-2/+8
* Add some type annotations in `synapse.storage` (#6987)Richard van der Hoff2020-02-271-59/+84
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-211-2/+2
* Minor perf fixes to `get_auth_chain_ids`.Erik Johnston2020-02-191-1/+1
* Reduce performance logging to DEBUG (#6833)Michael Kaye2020-02-051-1/+1
* Add database config class (#6513)Erik Johnston2019-12-181-3/+42
* Pass Database into the data storeErik Johnston2019-12-061-22/+16
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/make_datab...Erik Johnston2019-12-061-23/+28
* Remove unused varErik Johnston2019-12-061-2/+0
* Move background update handling out of storeErik Johnston2019-12-051-0/+3
* CommentsErik Johnston2019-12-051-0/+5
* Move DB pool and helper functions into dedicated Database classErik Johnston2019-12-051-0/+1485