Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Require types in tests.storage. (#14646) | Patrick Cloke | 2022-12-09 | 1 | -13/+17 |
| | | | | Adds missing type hints to `tests.storage` package and does not allow untyped definitions. | ||||
* | Require SQLite >= 3.27.0 (#13760) | David Robertson | 2022-09-09 | 1 | -1/+0 |
| | |||||
* | Add some type hints to tests files (#12833) | Dirk Klimpel | 2022-05-23 | 1 | -1/+1 |
| | | | Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | ||||
* | Replace assertEquals and friends with non-deprecated versions. (#12092) | Patrick Cloke | 2022-02-28 | 1 | -3/+3 |
| | |||||
* | Refactor `tests.util.setup_test_homeserver` and ↵ | reivilibre | 2021-12-21 | 1 | -1/+2 |
| | | | | `tests.server.setup_test_homeserver`. (#11503) | ||||
* | Revert accidental commits to develop. | Olivier Wilkinson (reivilibre) | 2021-12-03 | 1 | -2/+1 |
| | |||||
* | Move `tests.utils.setup_test_homeserver` to `tests.server` | Olivier Wilkinson (reivilibre) | 2021-12-03 | 1 | -1/+2 |
| | | | | | | | It had no users. We have just taken the identity of a previous function but don't provide the same behaviour, so we need to fix this in the next commit... | ||||
* | update black to 21.6b0 (#10197) | Marcus | 2021-06-17 | 1 | -1/+1 |
| | | | | | Reformat all files with the new version. Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu> | ||||
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -1/+0 |
| | | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>` | ||||
* | Use mock from the stdlib. (#9772) | Patrick Cloke | 2021-04-09 | 1 | -2/+1 |
| | |||||
* | Reduce serialization errors in MultiWriterIdGen (#8456) | Erik Johnston | 2020-10-07 | 1 | -0/+1 |
| | | | | | | We call `_update_stream_positions_table_txn` a lot, which is an UPSERT that can conflict in `REPEATABLE READ` isolation level. Instead of doing a transaction consisting of a single query we may as well run it outside of a transaction. | ||||
* | Convert additional database methods to async (select list, search, ↵ | Patrick Cloke | 2020-08-27 | 1 | -2/+4 |
| | | | | insert_many, delete_*) (#8168) | ||||
* | Convert simple_update* and simple_select* to async (#8173) | Patrick Cloke | 2020-08-27 | 1 | -10/+16 |
| | |||||
* | Convert simple_select_one and simple_select_one_onecol to async (#8162) | Patrick Cloke | 2020-08-26 | 1 | -11/+17 |
| | |||||
* | Convert some of the general database methods to async (#8100) | Patrick Cloke | 2020-08-17 | 1 | -6/+10 |
| | |||||
* | Rename database classes to make some sense (#8033) | Erik Johnston | 2020-08-05 | 1 | -11/+11 |
| | |||||
* | Add `HomeServer.signing_key` property (#7805) | Richard van der Hoff | 2020-07-08 | 1 | -5/+2 |
| | | | ... instead of duplicating `config.signing_key[0]` everywhere | ||||
* | Allow configuration of Synapse's cache without using synctl or environment ↵ | Amber Brown | 2020-05-11 | 1 | -1/+2 |
| | | | | variables (#6391) | ||||
* | Add database config class (#6513) | Erik Johnston | 2019-12-18 | 1 | -6/+8 |
| | | | | | This encapsulates config for a given database and is the way to get new connections. | ||||
* | Fixup tests | Erik Johnston | 2019-12-06 | 1 | -1/+2 |
| | |||||
* | Move DB pool and helper functions into dedicated Database class | Erik Johnston | 2019-12-05 | 1 | -9/+9 |
| | |||||
* | Remove underscore from SQLBaseStore functions | Erik Johnston | 2019-12-04 | 1 | -9/+9 |
| | |||||
* | Run Black on the tests again (#5170) | Amber Brown | 2019-05-10 | 1 | -4/+1 |
| | |||||
* | Fix UPSERTs on SQLite 3.24+ (#4477) | Amber Brown | 2019-01-28 | 1 | -2/+5 |
| | |||||
* | Use native UPSERTs where possible (#4306) | Amber Brown | 2019-01-24 | 1 | -0/+1 |
| | |||||
* | Fix up tests | Richard van der Hoff | 2018-08-28 | 1 | -2/+2 |
| | |||||
* | Run black. | black | 2018-08-10 | 1 | -28/+18 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -4/+4 |
| | |||||
* | Fix tests for Store.__init__ update | Richard van der Hoff | 2017-11-13 | 1 | -1/+1 |
| | | | | Fix the test to pass the right number of args to the Store constructors | ||||
* | User Cursor.__iter__ instead of fetchall | Erik Johnston | 2017-03-23 | 1 | -2/+2 |
| | | | | This prevents unnecessary construction of lists | ||||
* | Don't require config to create database | Erik Johnston | 2016-04-06 | 1 | -1/+1 |
| | |||||
* | Merge pull request #571 from matrix-org/daniel/asids | Daniel Wagner-Hall | 2016-03-03 | 1 | -1/+2 |
|\ | | | | | Mark AS users with their AS's ID | ||||
| * | Mark AS users with their AS's ID | Daniel Wagner-Hall | 2016-02-11 | 1 | -1/+2 |
| | | |||||
* | | Fix flake8 warnings for tests | Mark Haines | 2016-02-19 | 1 | -46/+43 |
|/ | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | synapse/storage/_base.py:_simple_selectupdate_one was unused | Mark Haines | 2015-09-23 | 1 | -20/+0 |
| | |||||
* | Fix daedlock | Erik Johnston | 2015-05-15 | 1 | -1/+2 |
| | |||||
* | Add support for using executemany | Erik Johnston | 2015-05-05 | 1 | -2/+2 |
| | |||||
* | Fix tests after commit 9a0579 | Erik Johnston | 2015-04-08 | 1 | -0/+6 |
| | |||||
* | Make work in both Maria and SQLite. Fix tests | Erik Johnston | 2015-04-01 | 1 | -9/+11 |
| | |||||
* | Tidy up _simple_... methods | Erik Johnston | 2015-03-20 | 1 | -1/+1 |
| | |||||
* | Add a cache for get_event | Mark Haines | 2015-02-11 | 1 | -2/+3 |
| | |||||
* | Factor out some of the common homeserver setup code into a | Mark Haines | 2015-02-11 | 1 | -0/+1 |
| | | | | setup_test_homeserver function in utils. | ||||
* | SYN-163: Add an order by rowid to selects. | Erik Johnston | 2014-11-24 | 1 | -4/+8 |
| | | | | | | | This should fix the bug where the edges of the graph get returned in a different order than they were inserted in, and so no get_event no longer returned the exact same JSON as was inserted. This meant that signature checks failed. | ||||
* | Fix SQLBaseStoreTestCase | Erik Johnston | 2014-11-10 | 1 | -1/+1 |
| | |||||
* | Have all unit tests import from our own subclass of trial's unittest ↵ | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -1/+1 |
| | | | | TestCase; set up logging in ONE PLACE ONLY | ||||
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 1 | -1/+1 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | add in copyrights to everything, not just the synapse subdir, and add a ↵ | Matthew Hodgson | 2014-08-13 | 1 | -0/+14 |
| | | | | copyrighter.pl whilst we're at it | ||||
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 1 | -0/+191 |