Erik Johnston
|
2284eb3a53
Add database config class (#6513)
|
5 éve |
Erik Johnston
|
852f80d8a6
Fixup tests
|
5 éve |
Erik Johnston
|
756d4942f5
Move DB pool and helper functions into dedicated Database class
|
5 éve |
Erik Johnston
|
ee86abb2d6
Remove underscore from SQLBaseStore functions
|
5 éve |
Amber Brown
|
b36c82576e
Run Black on the tests again (#5170)
|
5 éve |
Amber Brown
|
7072fe3084
Fix UPSERTs on SQLite 3.24+ (#4477)
|
5 éve |
Amber Brown
|
58f6c48183
Use native UPSERTs where possible (#4306)
|
5 éve |
Richard van der Hoff
|
414fa36f3e
Fix up tests
|
6 éve |
black
|
8b3d9b6b19
Run black.
|
6 éve |
Amber Brown
|
49af402019
run isort
|
6 éve |
Richard van der Hoff
|
63ef607f1f
Fix tests for Store.__init__ update
|
7 éve |
Erik Johnston
|
00957d1aa4
User Cursor.__iter__ instead of fetchall
|
7 éve |
Erik Johnston
|
8aab9d87fa
Don't require config to create database
|
8 éve |
Daniel Wagner-Hall
|
95481e7ba7
Merge pull request #571 from matrix-org/daniel/asids
|
8 éve |
Mark Haines
|
700487a7c7
Fix flake8 warnings for tests
|
8 éve |
Daniel Wagner-Hall
|
763360594d
Mark AS users with their AS's ID
|
8 éve |
Matthew Hodgson
|
6c28ac260c
copyrights
|
9 éve |
Mark Haines
|
1ee3d26432
synapse/storage/_base.py:_simple_selectupdate_one was unused
|
9 éve |
Erik Johnston
|
a2c4f3f150
Fix daedlock
|
9 éve |
Erik Johnston
|
43c2e8deae
Add support for using executemany
|
9 éve |
Erik Johnston
|
22d7a59306
Fix tests after commit 9a0579
|
9 éve |
Erik Johnston
|
9236136f3a
Make work in both Maria and SQLite. Fix tests
|
9 éve |
Erik Johnston
|
7e282a53a5
Tidy up _simple_... methods
|
9 éve |
Mark Haines
|
f5a70e0d2e
Add a cache for get_event
|
9 éve |
Mark Haines
|
896253e085
Factor out some of the common homeserver setup code into a
|
9 éve |
Erik Johnston
|
a46e5ef621
SYN-163: Add an order by rowid to selects.
|
10 éve |
Erik Johnston
|
4ebdb19682
Fix SQLBaseStoreTestCase
|
10 éve |
Paul "LeoNerd" Evans
|
cd62ee3f29
Have all unit tests import from our own subclass of trial's unittest TestCase; set up logging in ONE PLACE ONLY
|
10 éve |
Matthew Hodgson
|
8a7c1d6a00
fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch.
|
10 éve |
Matthew Hodgson
|
3e35a9f96e
add in copyrights to everything, not just the synapse subdir, and add a copyrighter.pl whilst we're at it
|
10 éve |