Commit Graph

71 Commits (4586119f0b0901be64f08655d3aaaef289a51bde)

Author SHA1 Message Date
Shay e78d4f61fc
Refuse to start if DB has an unsafe locale (#12262) 3 years ago
David Robertson f4c5e5864c
Use psycopg2 type stubs (#12269) 3 years ago
Nick Barrett b59d285f7c
Db txn set isolation level (#11799) 3 years ago
Shay 9006ee36d1
Drop support for and remove references to EOL Python 3.6 (#11683) 3 years ago
Erik Johnston 329ef5c715
Fix the inbound PDU metric (#10279) 3 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Richard van der Hoff 3ada9b4264 Drop support for sqlite<3.22 as well 4 years ago
Richard van der Hoff abade34633 Require py36 and Postgres 9.6 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Jonathan de Jong 2814028ce5
Add experimental support for PyPy. (#9123) 4 years ago
Erik Johnston fa8934b175 Reduce serialization errors in MultiWriterIdGen (#8456) 4 years ago
Erik Johnston ae5b2a72c0
Reduce serialization errors in MultiWriterIdGen (#8456) 4 years ago
Richard van der Hoff 3c36ae17a5 Use SequenceGenerator for state group ID allocation 4 years ago
Richard van der Hoff 244dbb04f7
Fix incorrect error message when database CTYPE was set incorrectly. (#7760) 4 years ago
Patrick Cloke 627b0f5f27
Persist user interactive authentication sessions (#7302) 5 years ago
David Vo 5bd2b27525 Only import sqlite3 when type checking 5 years ago
David Vo fbf0782c63
Only import sqlite3 when type checking (#7155) 5 years ago
Richard van der Hoff 132b673dbe
Add some type annotations in `synapse.storage` (#6987) 5 years ago
Uday Bansal 7728d87fd7
Updated warning for incorrect database collation/ctype (#6985) 5 years ago
Erik Johnston 02b44db922
Warn if postgres database has non-C locale. (#6734) 5 years ago
Richard van der Hoff bf46821180 Refuse to start if sqlite is older than 3.11.0 5 years ago
Richard van der Hoff e48ba84e0b Check postgres version in check_database 5 years ago
Richard van der Hoff e97d1cf001 Modify check_database to take a connection rather than a cursor 5 years ago
Richard van der Hoff 4caab0e95e
Backport fixes to sqlite upgrade from develop (#6578) 5 years ago
Erik Johnston 2284eb3a53
Add database config class (#6513) 5 years ago
Erik Johnston afb6d9d53b Fix SQLite 5 years ago
Erik Johnston 3bc687508f Remove add_in_list_sql_clause 5 years ago
Erik Johnston 1d3858371e Disable bytes usage with postgres 5 years ago
Erik Johnston 9267741a5f Fix `devices_last_seen` background update. 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Amber Brown eba7caf09f
Remove Postgres 9.4 support (#5448) 6 years ago
Amber Brown 7efd1d87c2 Run black on the rest of the storage module (#4996) 6 years ago
Richard van der Hoff f191be822b
Add database version to phonehome stats. (#4753) 6 years ago
Amber Brown 7072fe3084
Fix UPSERTs on SQLite 3.24+ (#4477) 6 years ago
Andrew Morgan 0b3fd1401f Don't require sqlite3 when using postgres (#4466) 6 years ago
Erik Johnston 1953067136 Disable native upserts for sqlite, as they don't work 6 years ago
Amber Brown 58f6c48183
Use native UPSERTs where possible (#4306) 6 years ago
Amber Brown 14e4d4f4bf
Port storage/ to Python 3 (#3725) 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Richard van der Hoff d1e56cfcd1 Fix pep8 error on psycopg2cffi hack 7 years ago
Vincent Breitmoser 89de934981 Use psycopg2cffi module instead of psycopg2 if running on pypy 7 years ago
Erik Johnston 3d33eef6fc
Store state groups separately from events (#2784) 7 years ago
Mark Haines d5fb561709 Optionally make committing to postgres asynchronous. 9 years ago
Erik Johnston 8aab9d87fa Don't require config to create database 9 years ago
Daniel Wagner-Hall 763360594d Mark AS users with their AS's ID 9 years ago
Daniel Wagner-Hall d83d004ccd Fix flake8 warnings for new flake8 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Erik Johnston 0c36098c1f Implement rank function for SQLite FTS 9 years ago
Erik Johnston 17c80c8a3d rename schema_prepare to prepare_database 9 years ago
Erik Johnston ec398af41c Expose error more nicely 9 years ago