Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add database config class (#6513) | Erik Johnston | 2019-12-18 | 1 | -11/+26 |
| | | | | | This encapsulates config for a given database and is the way to get new connections. | ||||
* | Fixup tests | Erik Johnston | 2019-12-06 | 1 | -5/+7 |
| | |||||
* | Change DataStores to accept 'database' param. | Erik Johnston | 2019-12-06 | 1 | -2/+3 |
| | |||||
* | Move storage classes into a main "data store". | Erik Johnston | 2019-10-21 | 1 | -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 Brown | 2019-06-20 | 1 | -2/+2 |
| | |||||
* | Expose DataStore._get_events as get_events_as_list | Erik Johnston | 2019-05-14 | 1 | -1/+1 |
| | | | | This is in preparation for reaction work which requires it. | ||||
* | Fix tests on postgresql (#3740) | Amber Brown | 2018-09-04 | 1 | -63/+68 |
| | |||||
* | Run tests under PostgreSQL (#3423) | Amber Brown | 2018-08-13 | 1 | -2/+11 |
| | |||||
* | Run black. | black | 2018-08-10 | 1 | -122/+56 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -8/+12 |
| | |||||
* | Use str(e) instead of e.message | Adrian Tschira | 2018-04-15 | 1 | -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 Johnston | 2018-03-13 | 1 | -5/+5 |
| | |||||
* | Fix tests | Erik Johnston | 2018-03-13 | 1 | -5/+5 |
| | |||||
* | Fix tests for Store.__init__ update | Richard van der Hoff | 2017-11-13 | 1 | -7/+7 |
| | | | | Fix the test to pass the right number of args to the Store constructors | ||||
* | replace 'except:' with 'except Exception:' | Richard van der Hoff | 2017-10-23 | 1 | -1/+1 |
| | | | | what could possibly go wrong | ||||
* | Implement device key caching over federation | Erik Johnston | 2017-01-26 | 1 | -5/+16 |
| | |||||
* | Fix tests | Erik Johnston | 2016-11-21 | 1 | -5/+17 |
| | |||||
* | Merge pull request #1155 from matrix-org/erikj/pluggable_pwd_auth | Erik Johnston | 2016-10-12 | 1 | -3/+14 |
|\ | | | | | Implement pluggable password auth | ||||
| * | Implement pluggable password auth | Erik Johnston | 2016-10-03 | 1 | -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 Oldsberg | 2016-10-06 | 1 | -6/+3 |
|/ | | | | synchronous | ||||
* | Fix AS retries, but with correct ordering | Erik Johnston | 2016-06-07 | 1 | -4/+4 |
| | |||||
* | Fix AS retries | Erik Johnston | 2016-06-07 | 1 | -3/+3 |
| | |||||
* | Remove event fetching from DB threads | Erik Johnston | 2016-06-03 | 1 | -1/+1 |
| | |||||
* | Move cache size fiddling to descriptors only. Fix tests | Erik Johnston | 2016-03-01 | 1 | -5/+7 |
| | |||||
* | Fix tests | Erik Johnston | 2016-01-27 | 1 | -3/+3 |
| | |||||
* | Require ID and as_token be unique for ASs | Daniel Wagner-Hall | 2016-01-14 | 1 | -16/+85 |
| | | | | | Defaults ID to as_token if not specified. This will change when IDs are fully supported. | ||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-04-07 | 1 | -53/+348 |
|\ | |||||
| * | Use a sender localpart instead of a user ID. | Kegan Dougal | 2015-03-31 | 1 | -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 Dougal | 2015-03-31 | 1 | -15/+23 |
| | | |||||
| * | Fix tests and missing returns on deferreds. | Kegan Dougal | 2015-03-31 | 1 | -12/+29 |
| | | |||||
| * | Remove more reg/unreg methods. Read config not database for cache. | Kegan Dougal | 2015-03-31 | 1 | -39/+0 |
| | | |||||
| * | Use event IDs instead of dumping event content in the txns table. | Kegan Dougal | 2015-03-09 | 1 | -13/+17 |
| | | |||||
| * | Finish appservice txn storage impl and tests. | Kegan Dougal | 2015-03-09 | 1 | -0/+68 |
| | | |||||
| * | Implement create_appservice_txn with tests. | Kegan Dougal | 2015-03-09 | 1 | -0/+67 |
| | | |||||
| * | Partially implement txn store methods with tests. | Kegan Dougal | 2015-03-09 | 1 | -2/+169 |
| | | |||||
* | | Make work in both Maria and SQLite. Fix tests | Erik Johnston | 2015-04-01 | 1 | -8/+4 |
|/ | |||||
* | Add more unit tests for exclusive namespaces. | Kegan Dougal | 2015-02-27 | 1 | -1/+1 |
| | |||||
* | Update unit tests to use new format. | Kegan Dougal | 2015-02-27 | 1 | -3/+9 |
| | |||||
* | Fix tests which broke when event caching was introduced. | Kegan Dougal | 2015-02-11 | 1 | -1/+4 |
| | |||||
* | Add hs_token column and generate a different token f.e application service. | Kegan Dougal | 2015-02-05 | 1 | -4/+6 |
| | |||||
* | Fix bug in store defer. Add more unit tests. | Kegan Dougal | 2015-02-04 | 1 | -0/+105 |