Commit Graph

150 Commits (watcha-develop)

Author SHA1 Message Date
Nick Mills-Barrett 2ee0b6ef4b
Safe async event cache (#13308) 2 years ago
Nick Mills-Barrett cc21a431f3
Async get event cache prep (#13242) 2 years ago
Brendan Abolivier 4d3b8fb23f
Don't actually one-line the SQL statements we send to the DB (#13129) 2 years ago
Erik Johnston 0d1d3e0708
Speed up `get_unread_event_push_actions_by_room` (#13005) 2 years ago
reivilibre fbf904bd54
Fix media thumbnails being unusable before the index had been added in the background. (#12823) 3 years ago
David Robertson 17e1eb7749
Reduce the number of "untyped defs" (#12716) 3 years ago
David Robertson fa0eab9c8e
Use `ParamSpec` in a few places (#12667) 3 years ago
David Robertson 26c1ad71c5
Use `Concatenate` to annotate `do_execute` (#12666) 3 years ago
Sean Quah a50fb411b3
Update `delay_cancellation` to accept any awaitable (#12468) 3 years ago
reivilibre e630722f11
Optimise `_update_client_ips_batch_txn` to batch together database operations. (#12252) 3 years ago
Erik Johnston 66053b6bfb
Prefill more stream change caches. (#12372) 3 years ago
David Robertson a7293ef16f Bump `black` and `click` versions (#12320) 3 years ago
Sean Quah 8a519f8abc
Update `LoggingTransaction.call_after` and `call_on_exception` docstrings (#12315) 3 years ago
David Robertson a2b00a4486
Bump `black` and `click` versions (#12320) 3 years ago
reivilibre 89f11f8c6f
Improve type annotations for `execute_values`. (#12311) 3 years ago
David Robertson f4c5e5864c
Use psycopg2 type stubs (#12269) 3 years ago
Sean Quah 6121056740
Handle cancellation in `DatabasePool.runInteraction()` (#12199) 3 years ago
Brendan Abolivier 6d482ba259
Pass `isolation_level` to `runWithConnection` (#11847) 3 years ago
Nick Barrett b59d285f7c
Db txn set isolation level (#11799) 3 years ago
Patrick Cloke 3e0536cd2a
Replace uses of simple_insert_many with simple_insert_many_values. (#11742) 3 years ago
Patrick Cloke 10a88ba91c
Use auto_attribs/native type hints for attrs classes. (#11692) 3 years ago
Patrick Cloke f901f8b70e
Require Collections as the parameters for simple_* methods. (#11580) 3 years ago
Richard van der Hoff ff6fd52160
checks for generators in database functions (#11564) 3 years ago
Sean Quah 5305a5e881
Type hint the constructors of the data store classes (#11555) 3 years ago
Richard van der Hoff f0562183e7
skip some dict munging in event persistence (#11560) 3 years ago
Sean Quah 84fac0f814
Add type annotations to `synapse.metrics` (#10847) 3 years ago
Erik Johnston 4ee71b9637
Add some background update admin APIs (#11263) 3 years ago
Erik Johnston 82d2168a15
Add metrics to the threadpools (#11178) 3 years ago
Sean Quah 2b82ec425f
Add type hints for most `HomeServer` parameters (#11095) 3 years ago
reivilibre 437961744c
Fix remove_stale_pushers job on SQLite. (#10843) 3 years ago
Erik Johnston 0eae330a26
Use `execute_values` more in PostgreSQL (#10754) 3 years ago
Eric Eastwood 684d19a11c
Add support for MSC2716 marker events (#10498) 3 years ago
Toni Spets ba5287f5e8
Allow setting transaction limit for db connections (#10440) 3 years ago
Erik Johnston 38b346a504
Replace `or_ignore` in `simple_insert` with `simple_upsert` (#10442) 3 years ago
Jonathan de Jong 95e47b2e78
[pyupgrade] `synapse/` (#10348) 3 years ago
Jonathan de Jong bdfde6dca1
Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381) 3 years ago
Erik Johnston 6655ea5587
Add script for getting info about recently registered users (#10290) 3 years ago
Erik Johnston 1092718cac
Fix logging context when opening new DB connection (#10141) 4 years ago
Richard van der Hoff 0acb5010ec
More database opentracing (#10136) 4 years ago
Richard van der Hoff 9eea4646be
Add OpenTracing for database activity. (#10113) 4 years ago
Patrick Cloke 10a08ab88a
Use the parent's logging context name for runWithConnection. (#9895) 4 years ago
Andrew Morgan fe604a022a
Remove various bits of compatibility code for Python <3.6 (#9879) 4 years ago
Richard van der Hoff 294c675033
Remove `synapse.types.Collection` (#9856) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Dan Callahan 1d5f0e3529
Bump black configuration to target py36 (#9781) 4 years ago
Jonathan de Jong 2ca4e349e9
Bugbear: Add Mutable Parameter fixes (#9682) 4 years ago
Richard van der Hoff 24c58ebfc9 remove unused param on `make_tuple_comparison_clause` 4 years ago
Richard van der Hoff 3ada9b4264 Drop support for sqlite<3.22 as well 4 years ago
Andrew Morgan fae81f2f68
Add a storage method for returning all current presence from all users (#9650) 4 years ago
Jonathan de Jong 4c3827f2c1
Enable addtional flake8-bugbear linting checks. (#9659) 4 years ago