summary refs log tree commit diff
path: root/tests/storage (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add delete room admin endpoint (#7613)Dirk Klimpel2020-07-141-0/+8
* Add `HomeServer.signing_key` property (#7805)Richard van der Hoff2020-07-081-5/+2
* Back out MSC2625 implementation (#7761)Brendan Abolivier2020-07-011-29/+16
* Remove debug loggingBrendan Abolivier2020-06-121-2/+0
* Test that a mark_unread action updates the right counterBrendan Abolivier2020-06-121-5/+16
* Fix testsBrendan Abolivier2020-06-101-14/+18
* Replace instances of reactor pumping with get_success. (#7619)Andrew Morgan2020-06-031-118/+149
* Optimise some references to hs.config (#7546)Richard van der Hoff2020-05-222-58/+65
* Add ability to wait for replication streams (#7542)Erik Johnston2020-05-222-3/+3
* Merge tag 'v1.13.0rc2' into developRichard van der Hoff2020-05-141-1/+49
|\
| * Stop `get_joined_users` corruption from custom statuses (#7376)Richard van der Hoff2020-05-141-1/+49
* | Shuffle persist event data store functions. (#7440)Erik Johnston2020-05-131-1/+2
* | Allow configuration of Synapse's cache without using synctl or environment va...Amber Brown2020-05-113-10/+11
* | Add room details admin endpoint (#7317)Manuel Stahl2020-05-071-0/+11
* | Add MultiWriterIdGenerator. (#7281)Erik Johnston2020-05-041-0/+184
|/
* Return total number of users and profile attributes in admin users endpoint (...Manuel Stahl2020-04-281-0/+46
* bg update to clear out duplicate outbound_device_list_pokes (#7193)Richard van der Hoff2020-04-071-0/+52
* Make do_next_background_update return a boolRichard van der Hoff2020-03-311-3/+3
* Make `has_completed_background_updates` asyncRichard van der Hoff2020-03-311-1/+3
* Remove unused `start_background_update`Richard van der Hoff2020-03-311-5/+9
* Change device list streams to have one row per ID (#7010)Erik Johnston2020-03-191-45/+0
|\
| * Remove handling of multiple rows per IDErik Johnston2020-02-281-45/+0
* | Improve get auth chain difference algorithm. (#7095)Erik Johnston2020-03-181-17/+140
* | Break down monthly active users by appservice_id (#7030)Neil Johnson2020-03-061-0/+42
|/
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-215-46/+42
* Replace _event_dict_property with DictPropertyRichard van der Hoff2020-02-141-1/+1
* Add typing to SyncHandler (#6821)Erik Johnston2020-02-031-1/+4
* Type defintions for use in refactoring for redaction changes (#6803)Richard van der Hoff2020-01-301-4/+11
* Add `rooms.room_version` column (#6729)Erik Johnston2020-01-272-2/+10
* Make 'event.redacts' never raise. (#6771)Erik Johnston2020-01-231-0/+35
* Add `local_current_membership` table (#6655)Erik Johnston2020-01-151-1/+1
* Allow admin users to create or modify users without a shared secret (#6495)Manuel Stahl2020-01-091-0/+2
* port BackgroundUpdateTestCase to HomeserverTestCase (#6653)Richard van der Hoff2020-01-071-35/+37
* Remove unused get_prev_events_and_hashes_for_roomRichard van der Hoff2020-01-061-13/+6
* rename get_prev_events_for_room to get_prev_events_and_hashes_for_roomRichard van der Hoff2020-01-061-2/+2
* Split state groups into a separate data store (#6296)Erik Johnston2019-12-201-1/+1
* Add database config class (#6513)Erik Johnston2019-12-183-18/+34
* Fix race which caused deleted devices to reappear (#6514)Richard van der Hoff2019-12-101-20/+29
* Fixup testsErik Johnston2019-12-064-11/+11
* Change DataStores to accept 'database' param.Erik Johnston2019-12-061-2/+3
* Move background update handling out of storeErik Johnston2019-12-054-25/+59
* Move DB pool and helper functions into dedicated Database classErik Johnston2019-12-0510-41/+43
* Remove underscore from SQLBaseStore functionsErik Johnston2019-12-046-24/+24
* Implementation of MSC2314 (#6176)Amber Brown2019-11-281-25/+1
* add etag and count to key backup endpoints (#5858)Hubert Chathi2019-11-271-4/+4
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_purg...Erik Johnston2019-11-041-7/+9
|\
| * Merge branch 'develop' into cross-signing_federationHubert Chathi2019-10-311-48/+102
| |\
| * | rename get_devices_by_remote to get_device_updates_by_remoteHubert Chathi2019-10-301-6/+6
| * | Merge branch 'develop' into cross-signing_federationHubert Chathi2019-10-306-9/+88
| |\ \
| * \ \ Merge branch 'develop' into cross-signing_federationHubert Chathi2019-10-244-3/+5
| |\ \ \
| * | | | fix unit testHubert Chathi2019-10-221-1/+3
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_purg...Erik Johnston2019-10-311-48/+102
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Port to use state storageErik Johnston2019-10-301-48/+102
| | |_|/ | |/| |
* / | | Split purge API into events vs stateErik Johnston2019-10-301-7/+8
|/ / /
* | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_out_...Erik Johnston2019-10-302-1/+76
|\ \ \
| * | | Make ObservableDeferred.observe() always return deferred.Erik Johnston2019-10-301-1/+1
| * | | remove unneeded importsHubert Chathi2019-10-251-3/+1
| * | | switch to using HomeserverTestCaseHubert Chathi2019-10-251-19/+25
| * | | remove some unnecessary linesHubert Chathi2019-10-241-5/+0
| * | | delete keys when deleting backupsHubert Chathi2019-10-241-0/+76
| | |/ | |/|
* / | Use new EventPersistenceStoreErik Johnston2019-10-234-8/+12
|/ /
* / Move storage classes into a main "data store".Erik Johnston2019-10-214-3/+5
|/
* Merge pull request #6193 from matrix-org/uhoreg/interpret_device_key_in_storageHubert Chathi2019-10-111-6/+6
|\
| * make storage layer in charge of interpreting the device key dataHubert Chathi2019-10-101-6/+6
* | Fix MAU reaping where reserved users are specified. (#6168)Neil Johnson2019-10-111-9/+49
* | Fix postgres unit testsErik Johnston2019-10-101-1/+1
|/
* Merge pull request #6146 from matrix-org/erikj/fix_destination_retry_timingsErik Johnston2019-10-021-0/+11
|\
| * Fix errors storing large retry intervals.Erik Johnston2019-10-021-0/+11
* | Fix fetching censored redactions from DBErik Johnston2019-10-021-0/+36
|/
* Fix dummy event insertion consent bug (#6053)Neil Johnson2019-09-262-9/+178
* Test that pruning of old user IPs worksErik Johnston2019-09-241-0/+71
* Test background updateErik Johnston2019-09-231-0/+79
* Query devices table for last seen info.Erik Johnston2019-09-231-1/+0
* Add 'failure_ts' column to 'destinations' table (#6016)Richard van der Hoff2019-09-171-3/+5
* Merge pull request #5934 from matrix-org/erikj/censor_redactionsErik Johnston2019-09-091-1/+76
|\
| * Fix testErik Johnston2019-09-051-1/+3
| * Make redaction retention period configurableErik Johnston2019-09-051-1/+3
| * Censor redactions in DB after a monthErik Johnston2019-08-301-0/+71
* | Servers-known-about statistic (#5981)Amber Brown2019-09-071-37/+89
|/
* Fix registration testHalf-Shot2019-08-231-0/+1
* Merge pull request #5788 from matrix-org/rav/metaredactionsRichard van der Hoff2019-08-121-0/+70
|\
| * Handle loops in redaction eventsRichard van der Hoff2019-07-301-0/+70
* | Merge pull request #5746 from matrix-org/erikj/test_bg_update_currnet_stateErik Johnston2019-07-301-1/+36
|\ \ | |/ |/|
| * Add unit test for current state membership bg updateErik Johnston2019-07-231-1/+36
* | Convert RedactionTestCase to modern test style (#5768)Richard van der Hoff2019-07-261-36/+38
* | Replace returnValue with return (#5736)Amber Brown2019-07-234-6/+6
|/
* Support Prometheus_client 0.4.0+ (#5636)Amber Brown2019-07-181-3/+1
* Implement access token expiry (#5660)Richard van der Hoff2019-07-121-3/+5
* Remove access-token support from RegistrationStore.register (#5642)Richard van der Hoff2019-07-103-41/+17
* Run Black. (#5482)Amber Brown2019-06-2011-72/+74
* Run as background process and fix commentsErik Johnston2019-06-191-1/+1
* Add experimental option to reduce extremities.Erik Johnston2019-06-181-0/+41
* Prometheus histograms are cumalativeErik Johnston2019-06-141-10/+10
* fix prometheus rendering errorAmber H. Brown2019-06-141-38/+23
* Expose statistics on extrems to prometheus (#5384)Amber Brown2019-06-132-79/+146
* Prevent multiple device list updates from breaking a batch send (#5156)Andrew Morgan2019-06-061-0/+69
* Set default room version to v4. (#5379)Neil Johnson2019-06-061-0/+6
* Add testErik Johnston2019-05-291-0/+248
* Store key validity time in the storage layerRichard van der Hoff2019-05-231-14/+30
* Rewrite store_server_verify_key to store several keys at once (#5234)Richard van der Hoff2019-05-231-14/+30
* Expose DataStore._get_events as get_events_as_listErik Johnston2019-05-141-1/+1
* Run Black on the tests again (#5170)Amber Brown2019-05-109-80/+44
* Add admin api for sending server_notices (#5121)Richard van der Hoff2019-05-021-1/+4
* Move admin api impl to its own packageRichard van der Hoff2019-05-011-2/+3
* Rewrite Datastore.get_server_verify_keysRichard van der Hoff2019-04-091-3/+50
* Rewrite test_keys as a HomeserverTestCaseRichard van der Hoff2019-04-081-19/+15
* Remove presence lists (#4989)Neil Johnson2019-04-031-118/+0
* Collect room-version variations into one place (#4969)Richard van der Hoff2019-04-013-8/+11
* Migrate the user directory initial population to a background task (#4864)Amber Brown2019-03-191-8/+3
* fixupAmber Brown2019-03-121-2/+2
* Rewrite userdir to be faster (#4537)Amber Brown2019-03-071-2/+0
* UPSERT many functionality (#4644)Amber Brown2019-02-201-0/+88
* Fix flake8 (#4519)Amber Brown2019-01-304-10/+1
* Fix UPSERTs on SQLite 3.24+ (#4477)Amber Brown2019-01-282-4/+7
* Fix testsErik Johnston2019-01-253-3/+8
* Revert "Require event format version to parse or create events"Erik Johnston2019-01-253-8/+3
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/require_fo...Erik Johnston2019-01-241-0/+1
|\
| * Use native UPSERTs where possible (#4306)Amber Brown2019-01-241-0/+1
* | Fix testsErik Johnston2019-01-243-3/+8
|/
* Fix adding new rows instead of updating them if one of the key values is a NU...Amber Brown2019-01-091-0/+71
* create support user (#4141)Neil Johnson2018-12-142-2/+54
* Initialise user displayname from SAML2 data (#4272)Richard van der Hoff2018-12-071-1/+1
* Add option to track MAU stats (but not limit people) (#3830)Travis Ralston2018-11-151-0/+25
* Add test to assert set_e2e_device_keys correctly returns False on no-opErik Johnston2018-11-081-0/+15
* Refactor state group lookup to reduce DB hits (#4011)Erik Johnston2018-10-251-65/+110
* fix style inconsistenciesNeil Johnson2018-10-241-2/+2
* fix race condiftion in calling initialise_reserved_usersNeil Johnson2018-10-231-2/+8
* Add testsErik Johnston2018-10-021-0/+45
* Fix userconsent on Python 3 (#3938)Amber Brown2018-10-021-46/+2
* docstrings and unittests for storage.state (#3958)Richard van der Hoff2018-09-271-0/+39
* Fix client IPs being broken on Python 3 (#3908)Amber Brown2018-09-201-35/+167
* improve namingNeil Johnson2018-09-121-3/+3
* expose number of real reserved usersNeil Johnson2018-09-121-0/+31
* Port tests/ to Python 3 (#3808)Amber Brown2018-09-071-64/+38
* ensure guests never enter mau listNeil Johnson2018-09-062-4/+6
* guest users should not be part of mau totalNeil Johnson2018-09-051-2/+42
* Fix tests on postgresql (#3740)Amber Brown2018-09-047-138/+151
* Port storage/ to Python 3 (#3725)Amber Brown2018-08-311-0/+106
* Fix up testsRichard van der Hoff2018-08-281-2/+2
* Implement trail usersErik Johnston2018-08-231-0/+1
* Merge pull request #3673 from matrix-org/erikj/refactor_state_handlerErik Johnston2018-08-222-2/+6
|\
| * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/refactor_s...Erik Johnston2018-08-2020-648/+543
| |\
| * | Fix testsErik Johnston2018-08-092-2/+6
* | | Split the state_group_cache in two (#3726)Matthew Hodgson2018-08-221-11/+94
| |/ |/|
* | call reap on start up and fix under reaping bugNeil Johnson2018-08-161-0/+13
* | speed up /members and add at= and membership params (#3568)Matthew Hodgson2018-08-151-1/+1
* | in case max_mau is less than I thinkNeil Johnson2018-08-141-1/+1
* | Merge pull request #3670 from matrix-org/neilj/mau_sync_blockNeil Johnson2018-08-142-12/+13
|\ \
| * | rename _user_last_seen_monthly_activeNeil Johnson2018-08-092-12/+13
| |/
* | Run tests under PostgreSQL (#3423)Amber Brown2018-08-1318-21/+31
* | Run black.black2018-08-1020-622/+493
* | Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678)Amber Brown2018-08-101-1/+1
|/
* Test fixes for Python 3 (#3647)Amber Brown2018-08-092-2/+2
* implement reserved users for mau limitsNeil Johnson2018-08-071-1/+58
* wip commit - tests failingNeil Johnson2018-08-032-13/+13
* fix (lots of) py3 test failuresNeil Johnson2018-08-031-1/+0
* fix py3 test failureNeil Johnson2018-08-031-0/+1
* fix caching and testsNeil Johnson2018-08-031-13/+37
* remove unused count_monthly_usersNeil Johnson2018-08-021-65/+0
* fix test, update constructor callNeil Johnson2018-08-021-1/+1
* insertion into monthly_active_usersNeil Johnson2018-08-021-3/+63
* Revert "change monthly_active_users table to be a single column"Neil Johnson2018-08-021-3/+3
* change monthly_active_users table to be a single columnNeil Johnson2018-08-011-3/+3
* Merge branch 'develop' of github.com:matrix-org/synapse into neilj/mau_trackerNeil Johnson2018-08-011-0/+65
|\
| * fix isortNeil Johnson2018-08-011-1/+0
| * fix known broken testNeil Johnson2018-08-011-25/+20
| * coding styleNeil Johnson2018-07-311-1/+0
| * fix user_ips countingNeil Johnson2018-07-311-9/+33
| * monthly_active_testsNeil Johnson2018-07-301-0/+48
* | api into monthly_active_users tableNeil Johnson2018-07-311-0/+42
|/
* flake8Matthew Hodgson2018-07-251-12/+12
* add tests for _get_some_state_from_cacheMatthew Hodgson2018-07-251-0/+150
* incorporate more reviewMatthew Hodgson2018-07-241-0/+9
* make test workMatthew Hodgson2018-07-191-37/+46
* first cut of a UT for testing state store (untested)Matthew Hodgson2018-07-191-0/+151
* run isortAmber Brown2018-07-0915-36/+44
* fix testsRichard van der Hoff2018-05-291-0/+1
* Send users a server notice about consentRichard van der Hoff2018-05-221-3/+8
* Use stream rather depth ordering for push actionsErik Johnston2018-05-111-2/+2
* Fix a couple of logcontext leaks in unit testsRichard van der Hoff2018-05-021-1/+0
* Merge pull request #3103 from NotAFile/py3-baseexcepton-messageRichard van der Hoff2018-04-201-6/+6
|\
| * Use str(e) instead of e.messageAdrian Tschira2018-04-151-6/+6
* | Avoid creating events with huge numbers of prev_eventsRichard van der Hoff2018-04-161-0/+68
|/
* s/replication_client/federation_client/Erik Johnston2018-03-131-5/+5
* Fix testsErik Johnston2018-03-131-5/+5
* Fix comment typoRichard van der Hoff2018-03-051-1/+1
* Test and fix find_first_stream_ordering_after_tsRichard van der Hoff2018-03-051-0/+67
* Merge pull request #2892 from matrix-org/erikj/batch_inserts_push_actionsErik Johnston2018-02-261-1/+1
|\
| * Fix unit testsErik Johnston2018-02-201-1/+1
* | Fix testErik Johnston2018-02-201-1/+1
|/
* Fix unit testErik Johnston2018-02-151-4/+6
* s/_create_new_client_event/create_new_client_event/Erik Johnston2018-02-062-4/+4
* Updates testsErik Johnston2018-02-052-8/+6
* Add tests for user directory searchRichard van der Hoff2018-01-271-0/+88
* Fix tests for Store.__init__ updateRichard van der Hoff2017-11-135-11/+11
* Fix tests for refresh_token removalRichard van der Hoff2017-11-011-3/+3
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-1/+1
* Remove dead classRichard van der Hoff2017-10-171-76/+0
* Merge pull request #2309 from matrix-org/erikj/user_ip_replErik Johnston2017-07-061-4/+1
|\
| * Fix upErik Johnston2017-06-271-4/+1
* | Update testErik Johnston2017-07-041-1/+1
|/
* Fix up client ips to read from pending dataErik Johnston2017-06-271-4/+1
* Remove unhelpful testErik Johnston2017-06-151-115/+0
* Add more granular event send metricsErik Johnston2017-05-022-3/+3
* Fix up testsErik Johnston2017-03-301-1/+1
* User Cursor.__iter__ instead of fetchallErik Johnston2017-03-231-2/+2
* Fix caching of remote servers' signature keysRichard van der Hoff2017-03-221-0/+53
* Aggregate event push actionsErik Johnston2017-02-141-0/+86
* Fix unit testsErik Johnston2017-01-301-4/+4
* Fix unit testsErik Johnston2017-01-261-0/+17
* Implement device key caching over federationErik Johnston2017-01-261-5/+16
* Speed up cache size calculationErik Johnston2017-01-171-1/+5
* fix importsRichard van der Hoff2016-11-301-3/+0
* Rip out more refresh_token codeRichard van der Hoff2016-11-301-55/+0
* 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 authErik Johnston2016-10-031-3/+14
* | storage/appservice: make appservice methods only relying on the cache synchro...Patrik Oldsberg2016-10-061-6/+3
|/
* Fix unit testsErik Johnston2016-08-261-41/+0
* Ensure invalidation list does not grow unboundedlyErik Johnston2016-08-191-0/+48
* Rename to on_invalidateErik Johnston2016-08-191-2/+2
* Make cache_context an explicit optionErik Johnston2016-08-191-2/+2
* Remove lru optionErik Johnston2016-08-191-1/+1
* Add concept of cache contextsErik Johnston2016-08-191-0/+66
* PEP8Richard van der Hoff2016-08-031-2/+0
* Include device name in /keys/query responseRichard van der Hoff2016-08-031-0/+92
* Create separate methods for getting messages to pushMark Haines2016-07-281-0/+41
* Delete refresh tokens when deleting devicesRichard van der Hoff2016-07-261-0/+34
* Implement updating devicesRichard van der Hoff2016-07-261-0/+36
* PEP8Richard van der Hoff2016-07-251-1/+1
* Fix background_update testsRichard van der Hoff2016-07-251-6/+16
* Fix PEP8 errorsRichard van der Hoff2016-07-201-2/+0
* GET /devices endpointRichard van der Hoff2016-07-202-0/+133
* Merge pull request #922 from matrix-org/erikj/file_api2Erik Johnston2016-07-202-6/+7
|\
| * Add filter param to /messages APIErik Johnston2016-07-142-6/+7
* | Add device_id support to /loginRichard van der Hoff2016-07-181-7/+14
|/
* 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
* get_room_members is unused nowMark Haines2016-05-161-18/+0
* Remove some unused functions (#711)Mark Haines2016-04-084-266/+4
* Don't require config to create databaseErik Johnston2016-04-061-1/+1
* Remove dead code left over from presence changesMark Haines2016-03-171-10/+0
* Merge pull request #571 from matrix-org/daniel/asidsDaniel Wagner-Hall2016-03-031-1/+2
|\
| * Mark AS users with their AS's IDDaniel Wagner-Hall2016-02-111-1/+2
* | Move cache size fiddling to descriptors only. Fix testsErik Johnston2016-03-011-5/+7
* | Fix flake8 warnings for testsMark Haines2016-02-1910-85/+77
* | Remove old tests.Erik Johnston2016-02-181-26/+0
|/
* Simplify get_roomsErik Johnston2016-02-031-26/+0
* Fix testsErik Johnston2016-01-272-5/+4