summary refs log tree commit diff
path: root/tests/storage (follow)
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* Require ID and as_token be unique for ASsDaniel Wagner-Hall2016-01-141-16/+85
* Merge pull request #456 from matrix-org/store_event_actionsDavid Baker2016-01-081-1/+1
|\
| * fix testsDavid Baker2016-01-061-1/+1
* | copyrightsMatthew Hodgson2016-01-0713-13/+13
|/
* Fix mock import in tests.Oleg Girko2015-12-061-1/+1
* Merge pull request #359 from matrix-org/markjh/incremental_indexingErik Johnston2015-11-111-0/+76
|\
| * Test for background updatesMark Haines2015-11-101-0/+76
* | Return world_readable and guest_can_join in /publicRoomsDaniel Wagner-Hall2015-11-101-0/+2
|/
* Remove more unused parametersDaniel Wagner-Hall2015-11-022-8/+0
* synapse/storage/_base.py:_simple_selectupdate_one was unusedMark Haines2015-09-231-20/+0
* Implement configurable stats reportingDaniel Wagner-Hall2015-09-224-54/+213
* Stop looking up "admin", which we never readDaniel Wagner-Hall2015-08-251-4/+2
* Remove completely unused concepts from codebaseDaniel Wagner-Hall2015-08-251-2/+0
* /tokenrefresh POST endpointDaniel Wagner-Hall2015-08-201-0/+55
* s/by_token/by_access_token/gDaniel Wagner-Hall2015-08-201-2/+2
* Move all the caches into their own package, synapse.util.cachesErik Johnston2015-08-111-1/+1
* Change Cache to not use *args in its interfaceErik Johnston2015-08-071-6/+6
* Make @cached cache deferreds rather than the deferreds' valuesErik Johnston2015-08-061-4/+7
* Caches should be bound to instances.Erik Johnston2015-06-032-36/+50
* Fix daedlockErik Johnston2015-05-151-1/+2
* Add support for using executemanyErik Johnston2015-05-051-2/+2
* Fix tests after commit 9a0579Erik Johnston2015-04-081-0/+6
* Merge branch 'develop' of github.com:matrix-org/synapse into mysqlErik Johnston2015-04-072-54/+421
|\
| * Use a sender localpart instead of a user ID.Kegan Dougal2015-03-311-2/+2
| * Edit SQL schema to use string IDs not ints. Use token as ID. Update tests.Kegan Dougal2015-03-311-15/+23
| * Fix tests and missing returns on deferreds.Kegan Dougal2015-03-311-12/+29
| * Remove more reg/unreg methods. Read config not database for cache.Kegan Dougal2015-03-311-39/+0
| * Merge branch 'develop' into application-services-txn-reliabilityKegan Dougal2015-03-263-3/+75
| |\
| | * Allow a choice of LRU behaviour for Cache() by using LruCache() or OrderedDict()Paul "LeoNerd" Evans2015-03-251-0/+22
| | * Unit-test that Cache() key eviction is orderedPaul "LeoNerd" Evans2015-03-251-0/+18
| | * Pull out the cache logic from the @cached wrapper into its own class we can r...Paul "LeoNerd" Evans2015-03-201-1/+33
| * | Use event IDs instead of dumping event content in the txns table.Kegan Dougal2015-03-091-13/+17
| * | Finish appservice txn storage impl and tests.Kegan Dougal2015-03-091-0/+68
| * | Implement create_appservice_txn with tests.Kegan Dougal2015-03-091-0/+67
| * | Partially implement txn store methods with tests.Kegan Dougal2015-03-091-2/+169
* | | Make work in both Maria and SQLite. Fix testsErik Johnston2015-04-014-37/+45
| |/ |/|
* | Tidy up _simple_... methodsErik Johnston2015-03-202-2/+2
|/
* Add more unit tests for exclusive namespaces.Kegan Dougal2015-02-271-1/+1
* Update unit tests to use new format.Kegan Dougal2015-02-271-3/+9
* Use cache.pop() instead of a separate membership test + del []Paul "LeoNerd" Evans2015-02-231-0/+7
* Allow @cached-wrapped functions to have a prefill method for setting entriesPaul "LeoNerd" Evans2015-02-231-0/+14
* Take named arguments to @cached() decorator, add a 'max_entries' limitPaul "LeoNerd" Evans2015-02-191-0/+89
* Fix tests which broke when event caching was introduced.Kegan Dougal2015-02-111-1/+4
* Merge branch 'develop' into application-servicesKegan Dougal2015-02-119-86/+21
|\
| * Add a cache for get_eventMark Haines2015-02-111-2/+3
| * Factor out some of the common homeserver setup code into aMark Haines2015-02-119-84/+18
* | Add hs_token column and generate a different token f.e application service.Kegan Dougal2015-02-051-4/+6
* | Fix bug in store defer. Add more unit tests.Kegan Dougal2015-02-041-0/+105
|/
* Extract the id token of the token when authing users, include the token and d...Mark Haines2015-01-281-2/+8
* Replace hs.parse_roomalias with RoomAlias.from_stringMark Haines2015-01-232-4/+4
* Replace hs.parse_roomid with RoomID.from_stringMark Haines2015-01-235-11/+12
* Replace hs.parse_userid with UserID.from_stringMark Haines2015-01-236-11/+17
* Fix manifest. Ignore contrib and docs directories when checking manifest agai...Mark Haines2015-01-221-5/+0
* Remove unused functionsMark Haines2015-01-131-11/+0
* Kill off synapse.api.events.*Erik Johnston2014-12-164-27/+20
* Fix prev_contentErik Johnston2014-12-111-3/+2
* Fix redaction testsErik Johnston2014-12-111-6/+8
* Fix redactions. Fix 'age' keyErik Johnston2014-12-111-3/+3
* Fix some testsErik Johnston2014-12-103-120/+110
* SYN-163: Add an order by rowid to selects.Erik Johnston2014-11-241-4/+8
* Fix SQLBaseStoreTestCaseErik Johnston2014-11-101-1/+1
* Fix stream test.Erik Johnston2014-11-101-5/+12
* Fix room_member storage testErik Johnston2014-11-101-0/+2
* Fix redaction storage testErik Johnston2014-11-101-0/+4
* Fix a couple more storage testsErik Johnston2014-11-052-16/+32
* Remove stale testsErik Johnston2014-11-051-2/+2
* Fix redaction storage testErik Johnston2014-11-051-0/+12
* SYN-2: Allow server admins to delete room aliasesErik Johnston2014-09-301-4/+21
* Unbreak tests after changing storage APIErik Johnston2014-09-291-2/+2
* Rename redaction test case to something helpfulErik Johnston2014-09-251-1/+1
* More tests.Erik Johnston2014-09-251-1/+82
* Add test for redactionsErik Johnston2014-09-251-0/+181
* Test that prev_content get's added if there is a prev_state key (in the event...Erik Johnston2014-09-191-17/+70
* SYN-47: Fix bug where we still returned events for rooms we had left.Erik Johnston2014-09-191-0/+173
* Remark on remaining storage modules that still need unit testsPaul "LeoNerd" Evans2014-09-171-0/+5
* Neaten more of the storage layer tests with assertObjectHasAttributes; more s...Paul "LeoNerd" Evans2014-09-173-20/+22
* Unit tests for (some) room events via the RoomStorePaul "LeoNerd" Evans2014-09-171-0/+85
* Use new assertObjectHasAttributes() in tests/storage/test_room.pyPaul "LeoNerd" Evans2014-09-171-3/+6
* More RoomStore testsPaul "LeoNerd" Evans2014-09-171-4/+40
* Initial pass at a RoomStore testPaul "LeoNerd" Evans2014-09-151-0/+53
* Also unittest RoomMemberStore's joined_hosts_for_room()Paul "LeoNerd" Evans2014-09-151-0/+48
* Use new 'tests.unittest' in new storage level testsPaul "LeoNerd" Evans2014-09-155-5/+5
* Merge remote-tracking branch 'origin/develop' into test-sqlite-memoryPaul "LeoNerd" Evans2014-09-151-1/+1
|\
| * Have all unit tests import from our own subclass of trial's unittest TestCase...Paul "LeoNerd" Evans2014-09-121-1/+1
* | Initial hack at some RoomMemberStore unit testsPaul "LeoNerd" Evans2014-09-121-0/+109
* | Unit-test for RegistrationStore using SQLiteMemoryDbPoolPaul "LeoNerd" Evans2014-09-111-0/+69
* | Need to prepare() the SQLiteMemoryDbPool before passing it to HomeServer cons...Paul "LeoNerd" Evans2014-09-113-9/+12
* | Added unit tests of DirectoryStorePaul "LeoNerd" Evans2014-09-111-0/+66
* | Added unit tests for PresenceDataStore tooPaul "LeoNerd" Evans2014-09-102-2/+166
* | Remember to kill now-dead import in test_profile.pyPaul "LeoNerd" Evans2014-09-101-1/+0
* | Move SQLiteMemoryDbPool implementation into tests.utilsPaul "LeoNerd" Evans2014-09-101-27/+1
* | It's considered polite to actually wait for DB prepare before running testsPaul "LeoNerd" Evans2014-09-101-1/+4
* | Also test avatar_url profile fieldPaul "LeoNerd" Evans2014-09-101-0/+14
* | Tiny trivial PoC unit-test using SQLite in :memory: modePaul "LeoNerd" Evans2014-09-101-0/+78
|/
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has...Matthew Hodgson2014-09-031-1/+1
* add in copyrights to everything, not just the synapse subdir, and add a copyr...Matthew Hodgson2014-08-131-0/+14
* Reference Matrix Home Servermatrix.org2014-08-122-0/+191