Patrick Cloke
|
679c691f6f
Remove more usages of cursor_to_dict. (#16551)
|
10 months ago |
Patrick Cloke
|
aa483cb4c9
Update ruff config (#16283)
|
1 year ago |
Shay
|
e625c3dca0
Revert "Stop writing to column `user_id` of tables `profiles` and `user_filters`. (#15953)
|
1 year ago |
Shay
|
f25b0f8808
Stop writing to column `user_id` of tables `profiles` and `user_filters` (#15787)
|
1 year ago |
Shay
|
d0c4257f14
`N + 3`: Read from column `full_user_id` rather than `user_id` of tables `profiles` and `user_filters` (#15649)
|
1 year ago |
Shay
|
9f6ff6a0eb
Add not null constraint to column `full_user_id` of tables `profiles` and `user_filters` (#15537)
|
1 year ago |
Shay
|
301b4156d5
Add column `full_user_id` to tables `profiles` and `user_filters`. (#15458)
|
1 year ago |
Patrick Cloke
|
02d708568b
Replace assertEquals and friends with non-deprecated versions. (#12092)
|
2 years ago |
Richard van der Hoff
|
e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031)
|
2 years ago |
David Robertson
|
e605e4b8f2
Database storage profile passes mypy (#11342)
|
2 years ago |
Jonathan de Jong
|
89cfc3dd98
[pyupgrade] `tests/` (#10347)
|
3 years ago |
Jonathan de Jong
|
4b965c862d
Remove redundant "coding: utf-8" lines (#9786)
|
3 years ago |
Patrick Cloke
|
e7b769aea1
Convert storage test cases to HomeserverTestCase. (#9736)
|
3 years ago |
Dirk Klimpel
|
7a2e9b549d
Remove user's avatar URL and displayname when deactivated. (#8932)
|
3 years ago |
Patrick Cloke
|
4c6c56dc58
Convert simple_select_one and simple_select_one_onecol to async (#8162)
|
4 years ago |
Patrick Cloke
|
050e20e7ca
Convert some of the general database methods to async (#8100)
|
4 years ago |
Erik Johnston
|
852f80d8a6
Fixup tests
|
4 years ago |
Erik Johnston
|
c66a06ac6b
Move storage classes into a main "data store".
|
4 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 |
Richard van der Hoff
|
63ef607f1f
Fix tests for Store.__init__ update
|
6 years ago |
Mark Haines
|
700487a7c7
Fix flake8 warnings for tests
|
8 years ago |
Matthew Hodgson
|
6c28ac260c
copyrights
|
8 years ago |
Mark Haines
|
896253e085
Factor out some of the common homeserver setup code into a
|
9 years ago |
Mark Haines
|
5759bec43c
Replace hs.parse_userid with UserID.from_string
|
9 years ago |
Paul "LeoNerd" Evans
|
bcf5121937
Neaten more of the storage layer tests with assertObjectHasAttributes; more standardisation on test layout
|
10 years ago |
Paul "LeoNerd" Evans
|
ae7dfeb5b6
Use new 'tests.unittest' in new storage level tests
|
10 years ago |
Paul "LeoNerd" Evans
|
493b1e6d3c
Need to prepare() the SQLiteMemoryDbPool before passing it to HomeServer constructor, as DataStore's constructor will want it ready
|
10 years ago |