summary refs log tree commit diff
path: root/tests/storage/test_appservice.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add database config class (#6513)Erik Johnston2019-12-181-11/+26
| | | | | This encapsulates config for a given database and is the way to get new connections.
* Fixup testsErik Johnston2019-12-061-5/+7
|
* Change DataStores to accept 'database' param.Erik Johnston2019-12-061-2/+3
|
* Move storage classes into a main "data store".Erik Johnston2019-10-211-1/+1
| | | | | This is in preparation for having multiple data stores that offer different functionality, e.g. splitting out state or event storage.
* Run Black. (#5482)Amber Brown2019-06-201-2/+2
|
* Expose DataStore._get_events as get_events_as_listErik Johnston2019-05-141-1/+1
| | | | This is in preparation for reaction work which requires it.
* Fix tests on postgresql (#3740)Amber Brown2018-09-041-63/+68
|
* Run tests under PostgreSQL (#3423)Amber Brown2018-08-131-2/+11
|
* Run black.black2018-08-101-122/+56
|
* run isortAmber Brown2018-07-091-8/+12
|
* Use str(e) instead of e.messageAdrian Tschira2018-04-151-6/+6
| | | | | | | Doing this I learned e.message was pretty shortlived, added in 2.6, they realized it was a bad idea and deprecated it in 2.7 Signed-off-by: Adrian Tschira <nota@notafile.com>
* s/replication_client/federation_client/Erik Johnston2018-03-131-5/+5
|
* Fix testsErik Johnston2018-03-131-5/+5
|
* Fix tests for Store.__init__ updateRichard van der Hoff2017-11-131-7/+7
| | | | Fix the test to pass the right number of args to the Store constructors
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-1/+1
| | | | what could possibly go wrong
* Implement device key caching over federationErik Johnston2017-01-261-5/+16
|
* Fix testsErik Johnston2016-11-211-5/+17
|
* Merge pull request #1155 from matrix-org/erikj/pluggable_pwd_authErik Johnston2016-10-121-3/+14
|\ | | | | Implement pluggable password auth
| * Implement pluggable password authErik Johnston2016-10-031-3/+14
| | | | | | | | | | | | Allows delegating the password auth to an external module. This also moves the LDAP auth to using this system, allowing it to be removed from the synapse tree entirely in the future.
* | storage/appservice: make appservice methods only relying on the cache ↵Patrik Oldsberg2016-10-061-6/+3
|/ | | | synchronous
* Fix AS retries, but with correct orderingErik Johnston2016-06-071-4/+4
|
* Fix AS retriesErik Johnston2016-06-071-3/+3
|
* Remove event fetching from DB threadsErik Johnston2016-06-031-1/+1
|
* Move cache size fiddling to descriptors only. Fix testsErik Johnston2016-03-011-5/+7
|
* Fix testsErik Johnston2016-01-271-3/+3
|
* Require ID and as_token be unique for ASsDaniel Wagner-Hall2016-01-141-16/+85
| | | | | Defaults ID to as_token if not specified. This will change when IDs are fully supported.
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Merge branch 'develop' of github.com:matrix-org/synapse into mysqlErik Johnston2015-04-071-53/+348
|\
| * Use a sender localpart instead of a user ID.Kegan Dougal2015-03-311-2/+2
| | | | | | | | | | Form the user ID at runtime instead, This gives less room for error in AS config files since they cannot specify the domain of another HS.
| * Edit SQL schema to use string IDs not ints. Use token as ID. Update tests.Kegan Dougal2015-03-311-15/+23
| |
| * Fix tests and missing returns on deferreds.Kegan Dougal2015-03-311-12/+29
| |
| * Remove more reg/unreg methods. Read config not database for cache.Kegan Dougal2015-03-311-39/+0
| |
| * Use event IDs instead of dumping event content in the txns table.Kegan Dougal2015-03-091-13/+17
| |
| * Finish appservice txn storage impl and tests.Kegan Dougal2015-03-091-0/+68
| |
| * Implement create_appservice_txn with tests.Kegan Dougal2015-03-091-0/+67
| |
| * Partially implement txn store methods with tests.Kegan Dougal2015-03-091-2/+169
| |
* | Make work in both Maria and SQLite. Fix testsErik Johnston2015-04-011-8/+4
|/
* Add more unit tests for exclusive namespaces.Kegan Dougal2015-02-271-1/+1
|
* Update unit tests to use new format.Kegan Dougal2015-02-271-3/+9
|
* Fix tests which broke when event caching was introduced.Kegan Dougal2015-02-111-1/+4
|
* Add hs_token column and generate a different token f.e application service.Kegan Dougal2015-02-051-4/+6
|
* Fix bug in store defer. Add more unit tests.Kegan Dougal2015-02-041-0/+105