Commit Graph

53 Commits (77e56deffcf685ca5d0a264059f0c326e53e99af)

Author SHA1 Message Date
Will Hunt 9e0f5a0ac4 Fix get|set_type_stream_id_for_appservice store functions (#8648) 4 years ago
Will Hunt e8dbbcb64c
Fix get|set_type_stream_id_for_appservice store functions (#8648) 4 years ago
Will Hunt c276bd9969
Send some ephemeral events to appservices (#8437) 4 years ago
Erik Johnston e3debf9682
Add logging on startup/shutdown (#8448) 4 years ago
Patrick Cloke 8a4a4186de
Simplify super() calls to Python 3 syntax. (#8344) 4 years ago
Patrick Cloke e00816ad98
Do not yield on awaitables in tests. (#8193) 4 years ago
Patrick Cloke f40645e60b
Convert events worker database to async/await. (#8071) 4 years ago
Patrick Cloke 050e20e7ca
Convert some of the general database methods to async (#8100) 4 years ago
Patrick Cloke a3a59bab7b
Convert appservice, group server, profile and more databases to async (#8066) 4 years ago
Erik Johnston a7bdf98d01
Rename database classes to make some sense (#8033) 4 years ago
Amber Brown 7cb8b4bc67
Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 5 years ago
Patrick Cloke 509e381afa
Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 5 years ago
Erik Johnston 2284eb3a53
Add database config class (#6513) 5 years ago
Erik Johnston 852f80d8a6 Fixup tests 5 years ago
Erik Johnston 9a4fb457cf Change DataStores to accept 'database' param. 5 years ago
Erik Johnston c66a06ac6b Move storage classes into a main "data store". 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Erik Johnston 4fb44fb5b9 Expose DataStore._get_events as get_events_as_list 6 years ago
Amber Brown 77055dba92
Fix tests on postgresql (#3740) 6 years ago
Amber Brown 99dd975dae
Run tests under PostgreSQL (#3423) 6 years ago
black 8b3d9b6b19 Run black. 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Adrian Tschira 1515560f5c Use str(e) instead of e.message 7 years ago
Erik Johnston cb9f8e527c s/replication_client/federation_client/ 7 years ago
Erik Johnston 6ea27fafad Fix tests 7 years ago
Richard van der Hoff 63ef607f1f Fix tests for Store.__init__ update 7 years ago
Richard van der Hoff eaaabc6c4f replace 'except:' with 'except Exception:' 7 years ago
Erik Johnston c974116f19 Implement device key caching over federation 8 years ago
Erik Johnston 524d61bf7e Fix tests 8 years ago
Patrik Oldsberg 9bfc617791 storage/appservice: make appservice methods only relying on the cache synchronous 8 years ago
Erik Johnston 850b103b36 Implement pluggable password auth 8 years ago
Erik Johnston 84379062f9 Fix AS retries, but with correct ordering 9 years ago
Erik Johnston 310197bab5 Fix AS retries 9 years ago
Erik Johnston 05e01f21d7 Remove event fetching from DB threads 9 years ago
Erik Johnston ce2cdced61 Move cache size fiddling to descriptors only. Fix tests 9 years ago
Erik Johnston 0487c9441f Fix tests 9 years ago
Daniel Wagner-Hall 2680043bc6 Require ID and as_token be unique for ASs 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Erik Johnston 9236136f3a Make work in both Maria and SQLite. Fix tests 10 years ago
Kegan Dougal cf1fa59f4b Use a sender localpart instead of a user ID. 10 years ago
Kegan Dougal c217504949 Edit SQL schema to use string IDs not ints. Use token as ID. Update tests. 10 years ago
Kegan Dougal b59aa74556 Fix tests and missing returns on deferreds. 10 years ago
Kegan Dougal d33ae65efc Remove more reg/unreg methods. Read config not database for cache. 10 years ago
Kegan Dougal b98cd03193 Use event IDs instead of dumping event content in the txns table. 10 years ago
Kegan Dougal 0a60bbf4fa Finish appservice txn storage impl and tests. 10 years ago
Kegan Dougal 1ead1caa18 Implement create_appservice_txn with tests. 10 years ago
Kegan Dougal 1c2dcf762a Partially implement txn store methods with tests. 10 years ago
Kegan Dougal de190e49d5 Add more unit tests for exclusive namespaces. 10 years ago
Kegan Dougal 127efeeb68 Update unit tests to use new format. 10 years ago
Kegan Dougal cb43fbeeb4 Fix tests which broke when event caching was introduced. 10 years ago