summary refs log tree commit diff
path: root/tests/utils.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add database config class (#6513)Erik Johnston2019-12-181-29/+14
* Remove database config parsing from apps.Erik Johnston2019-12-101-2/+0
* Fixup testsErik Johnston2019-12-051-1/+3
* Implementation of MSC2314 (#6176)Amber Brown2019-11-281-0/+1
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_out_...Erik Johnston2019-10-301-1/+0
|\
| * Option to suppress resource exceeded alerting (#6173)Neil Johnson2019-10-241-1/+0
* | Use new EventPersistenceStoreErik Johnston2019-10-231-2/+8
|/
* Fix postgres unit tests to use prepare_databaseErik Johnston2019-10-221-10/+2
* Remove unnecessary parentheses around return statements (#5931)Andrew Morgan2019-08-301-1/+1
* Remove non-functional 'expire_access_token' setting (#5782)Richard van der Hoff2019-07-301-1/+0
* Merge tag 'v1.2.0rc2' into developAndrew Morgan2019-07-241-1/+1
|\
| * Fix servlet metric names (#5734)Jorik Schellekens2019-07-241-1/+1
* | Replace returnValue with return (#5736)Amber Brown2019-07-231-3/+3
|/
* Fixes to the federation rate limiter (#5621)Richard van der Hoff2019-07-051-6/+0
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-1/+1
* Pass config_dir_path and data_dir_path into Config.read_config. (#5522)Richard van der Hoff2019-06-241-1/+1
* Run Black. (#5482)Amber Brown2019-06-201-9/+9
* Set default room version to v4. (#5379)Neil Johnson2019-06-061-1/+2
* Add ability to perform password reset via email without trusting the identity...Andrew Morgan2019-06-061-1/+0
* Make all the rate limiting options more consistent (#5181)Amber Brown2019-05-151-12/+8
* Use correct config option for ratelimiting in testsErik Johnston2019-05-141-1/+2
* Migrate all tests to use the dict-based config format instead of hanging item...Amber Brown2019-05-131-69/+63
* Run Black on the tests again (#5170)Amber Brown2019-05-101-3/+6
* Collect room-version variations into one place (#4969)Richard van der Hoff2019-04-011-2/+3
* Use an explicit dbname for postgres connections in the tests. (#4928)Richard van der Hoff2019-03-251-18/+16
* Add testErik Johnston2019-03-201-2/+0
* Use a regular HomeServerConfig object for unit testsRichard van der Hoff2019-03-191-11/+15
* Add ratelimiting on failed login attempts (#4865)Brendan Abolivier2019-03-181-0/+2
* Add ratelimiting on login (#4821)Brendan Abolivier2019-03-151-2/+6
* setup masterAmber Brown2019-03-111-0/+2
* Disable captcha registration by default in testsAndrew Morgan2019-03-081-0/+1
* Add rate-limiting on registration (#4735)Brendan Abolivier2019-03-051-0/+2
* Update test_typing to use HomeserverTestCase. (#4771)Richard van der Hoff2019-03-041-14/+21
* Move from TravisCI to BuildKite (#4752)Amber Brown2019-02-271-10/+34
* Fix unit testsErik Johnston2019-02-271-0/+6
* Fix testsErik Johnston2019-01-251-1/+2
* Revert "Require event format version to parse or create events"Erik Johnston2019-01-251-2/+1
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/require_fo...Erik Johnston2019-01-241-1/+3
|\
| * Fix None guard in config.server.is_threepid_reservedNeil Johnson2019-01-221-1/+3
* | Fix testsErik Johnston2019-01-241-1/+2
|/
* Return well_known in /login response (#4319)Richard van der Hoff2018-12-241-0/+3
* create support user (#4141)Neil Johnson2018-12-141-1/+0
* Implement SAML2 authentication (#4267)Richard van der Hoff2018-12-071-0/+1
* Add option to track MAU stats (but not limit people) (#3830)Travis Ralston2018-11-151-0/+1
* Add config variables for enabling terms auth and the policy name (#4142)Travis Ralston2018-11-061-0/+2
* Merge branch 'develop' into matthew/autocreate_autojoinNeil Johnson2018-10-041-51/+61
|\
| * Disable frozen dicts by default (#3987)Amber Brown2018-10-021-1/+2
| * Fix userconsent on Python 3 (#3938)Amber Brown2018-10-021-48/+57
* | move logic into register, fix room alias localpart bug, testsNeil Johnson2018-10-041-0/+1
|/
* Fix client IPs being broken on Python 3 (#3908)Amber Brown2018-09-201-2/+25
* Port tests/ to Python 3 (#3808)Amber Brown2018-09-071-15/+19
* Merge pull request #3800 from matrix-org/neilj/remove-guests-from-mau-count hhs-6Neil Johnson2018-09-061-0/+1
|\
| * ensure guests never enter mau listNeil Johnson2018-09-061-0/+1
* | Merge branch 'master' into developRichard van der Hoff2018-09-061-3/+9
|\ \ | |/ |/|
| * Fix origin handling for pushed transactionsRichard van der Hoff2018-09-051-3/+9
* | Fix tests on postgresql (#3740)Amber Brown2018-09-041-4/+6
* | move threepid checker to config, add missing yieldsNeil Johnson2018-08-311-0/+6
* | Port storage/ to Python 3 (#3725)Amber Brown2018-08-311-0/+2
* | Fix up testsRichard van der Hoff2018-08-281-2/+6
* | Change admin_uri to admin_contact in config and errorsErik Johnston2018-08-241-1/+1
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/refactor_s...Erik Johnston2018-08-201-61/+155
|\|
| * Integrate presence from hotfixes (#3694)Amber Brown2018-08-181-3/+4
| * add new error type ResourceLimitNeil Johnson2018-08-161-0/+1
| * replace admin_email with admin_uri for greater flexibilityNeil Johnson2018-08-151-1/+1
| * support admin_email config and pass through into blocking errors, return Auth...Neil Johnson2018-08-131-0/+1
| * Revert "support admin_email config and pass through into blocking errors, ret...Neil Johnson2018-08-131-1/+0
| * support admin_email config and pass through into blocking errors, return Auth...Neil Johnson2018-08-131-0/+1
| * Run tests under PostgreSQL (#3423)Amber Brown2018-08-131-18/+115
| * Run black.black2018-08-101-43/+35
| * Merge pull request #3439 from vojeroen/send_sni_for_federation_requestsRichard van der Hoff2018-08-101-0/+2
| |\
| | * Merge branch 'develop' into send_sni_for_federation_requestsRichard van der Hoff2018-07-271-0/+3
| | |\
| | * \ Merge remote-tracking branch 'upstream/develop' into send_sni_for_federation_...Jeroen2018-07-141-1/+3
| | |\ \
| | * | | send SNI for federation requestsJeroen2018-06-241-0/+2
* | | | | Fix testsErik Johnston2018-08-091-0/+30
|/ / / /
* | | | Merge pull request #3655 from matrix-org/neilj/disable_hsNeil Johnson2018-08-091-0/+2
|\ \ \ \
| * \ \ \ Merge branch 'develop' into neilj/disable_hsNeil Johnson2018-08-081-0/+4
| |\ \ \ \
| * \ \ \ \ Merge branch 'develop' into neilj/disable_hsNeil Johnson2018-08-081-0/+2
| |\ \ \ \ \
| * | | | | | disable HS from configNeil Johnson2018-08-041-0/+2
* | | | | | | Test fixes for Python 3 (#3647)Amber Brown2018-08-091-4/+5
| |_|/ / / / |/| | | | |
* | | | | | Merge pull request #3654 from matrix-org/rav/room_versionsRichard van der Hoff2018-08-081-0/+4
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Basic support for room versioningRichard van der Hoff2018-08-031-0/+4
* | | | | | mock config.max_mau_valueNeil Johnson2018-08-081-0/+1
* | | | | | add default mau_limits_reserved_threepidsNeil Johnson2018-08-061-0/+1
| |/ / / / |/| | | |
* | | | | fix (lots of) py3 test failuresNeil Johnson2018-08-031-0/+1
|/ / / /
* | | / Python 3: Convert some unicode/bytes uses (#3569)Amber Brown2018-08-021-3/+6
| |_|/ |/| |
* | | Admin API for creating new users (#3415)Amber Brown2018-07-201-0/+3
| |/ |/|
* | Fix unit testsRichard van der Hoff2018-07-131-0/+1
* | run isortAmber Brown2018-07-091-1/+2
|/
* Pass around the reactor explicitly (#3385)Amber Brown2018-06-221-1/+6
* Reject attempts to send event before privacy consent is givenRichard van der Hoff2018-05-221-0/+1
* Move consent config parsing into ConsentConfigRichard van der Hoff2018-05-221-1/+1
* Send users a server notice about consentRichard van der Hoff2018-05-221-0/+1
* Merge pull request #3108 from NotAFile/py3-six-urlparseRichard van der Hoff2018-04-301-3/+2
|\
| * Use six.moves.urlparseAdrian Tschira2018-04-151-3/+2
* | Add some more variables to the unittest configAdrian Tschira2018-04-151-0/+4
|/
* Add b prefixes to some strings that are bytes in py3Adrian Tschira2018-04-041-1/+1
* Add tests for user directory searchRichard van der Hoff2018-01-271-0/+1
* Make it possible to run tests against postgresRichard van der Hoff2018-01-271-9/+34
* Create dbpool as normal in testsRichard van der Hoff2018-01-271-43/+17
* Run on_new_connection for unit testsRichard van der Hoff2018-01-271-7/+17
* Remove unused/bitrotted MemoryDataStoreRichard van der Hoff2018-01-261-151/+13
* Add federation_domain_whitelist option (#2820)Matthew Hodgson2018-01-221-0/+1
* Disable user_directory updates for UTsRichard van der Hoff2018-01-091-0/+4
* fix testsRichard van der Hoff2017-10-311-0/+1
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-4/+4
* Add a config option to block all room invites (#2457)Richard van der Hoff2017-09-191-0/+1
* Only load jinja2 templates onceErik Johnston2017-05-221-0/+1
* Fix unit testsErik Johnston2016-12-091-0/+4
* Fix testsErik Johnston2016-11-231-0/+1
* Fix tests and flake8Erik Johnston2016-11-221-0/+1
* Fix testsErik Johnston2016-11-211-0/+2
* Merge pull request #1098 from matrix-org/markjh/bearer_tokenMark Haines2016-10-251-4/+14
|\
| * Fix unit testsMark Haines2016-09-121-4/+14
* | Merge pull request #1164 from pik/error-codesErik Johnston2016-10-191-1/+1
|\ \
| * | Fix MockHttpRequest always returning M_UNKNOWN errcode in testingpik2016-10-141-1/+1
* | | Implement pluggable password authErik Johnston2016-10-031-0/+1
|/ /
* / Time out typing over federationErik Johnston2016-09-231-1/+8
|/
* Add `create_requester` functionRichard van der Hoff2016-07-261-5/+0
* Rework ldap integration with ldap3Martin Weinelt2016-06-221-0/+1
* Enable use_frozen_events in testsErik Johnston2016-06-171-0/+1
* Split out the auth handlerDavid Baker2016-06-021-10/+5
* Inject fake room list handler in testsDavid Baker2016-06-011-0/+2
* Replaces calls to fetch_room_distributions_into with get_joined_hosts_for_roomMark Haines2016-05-161-1/+1
* Create user with expiryNegi Fazeli2016-05-131-0/+1
* Don't require config to create databaseErik Johnston2016-04-061-3/+3
* tests/utils: added room_invite_state_types to test configPatrik Oldsberg2016-03-041-0/+1
* Pass whole requester to ratelimitingDaniel Wagner-Hall2016-03-031-0/+5
* Merge pull request #571 from matrix-org/daniel/asidsDaniel Wagner-Hall2016-03-031-6/+14
|\
| * Mark AS users with their AS's IDDaniel Wagner-Hall2016-02-111-6/+14
* | Add a /replication API for extracting the updates that happened onMark Haines2016-03-011-2/+3
* | Fix flake8 warnings for testsMark Haines2016-02-191-17/+13
* | Initial cutErik Johnston2016-02-171-2/+2
|/
* Rename config field to reflect yaml nameDaniel Wagner-Hall2016-02-031-1/+1
* Fix the mock homserver used in the testsMark Haines2016-01-291-0/+1
* Fix testsErik Johnston2016-01-271-0/+8
* Remove redundated BaseHomeServerErik Johnston2016-01-261-0/+18
* copyrightsMatthew Hodgson2016-01-071-1/+1
* Host /unstable and /r0 versions of r0 APIsDaniel Wagner-Hall2015-12-011-2/+3
* Test for background updatesMark Haines2015-11-101-0/+3
* Remove more unused parametersDaniel Wagner-Hall2015-11-021-1/+1
* rename schema_prepare to prepare_databaseErik Johnston2015-10-131-1/+1
* Expose error more nicelyErik Johnston2015-10-131-1/+1
* Swap out bcrypt for md5 in testsDaniel Wagner-Hall2015-08-261-0/+13
* Stop looking up "admin", which we never readDaniel Wagner-Hall2015-08-251-1/+0
* Remove completely unused concepts from codebaseDaniel Wagner-Hall2015-08-251-2/+1
* s/by_token/by_access_token/gDaniel Wagner-Hall2015-08-201-1/+1
* Issue macaroons as opaque auth tokensDaniel Wagner-Hall2015-08-181-0/+2
* Fix testsErik Johnston2015-06-121-0/+2
* Discard unused NotifierUserStreamsMark Haines2015-05-131-0/+3
* Don't bother checking for updates if the stream token hasn't advanced for a userMark Haines2015-05-131-1/+1
* Make work in both Maria and SQLite. Fix testsErik Johnston2015-04-011-1/+10
* Update testsErik Johnston2015-02-191-0/+1
* Use git aware version string in User-Agent and Server headersErik Johnston2015-02-181-2/+8
* Add a cache for get_eventMark Haines2015-02-111-0/+1
* Factor out some of the common homeserver setup code into aMark Haines2015-02-111-0/+23
* Have MockClock detect attempts to cancel expired timers, to prevent a repeat ...Paul "LeoNerd" Evans2015-01-131-4/+16
* Kill off synapse.api.events.*Erik Johnston2014-12-161-6/+2
* Fix tests and remove debug loggingErik Johnston2014-12-121-2/+7
* Implement .cancel_call_later() in MockClockPaul "LeoNerd" Evans2014-12-101-2/+5
* Implement .call_later() in MockClockPaul "LeoNerd" Evans2014-12-101-0/+26
* Sign outgoing PDUs.Mark Haines2014-10-161-1/+2
* Raise a SynapseError if the authorisation header is missing or malformedMark Haines2014-10-131-0/+4
* Verify signatures for server2server requestsMark Haines2014-10-131-0/+3
* Merge branch 'develop' into server2server_signingMark Haines2014-09-301-2/+9
|\
| * Unbreak tests after changing storage APIErik Johnston2014-09-291-2/+6
| * Track the IP users connect with. Add an admin column to users table.Erik Johnston2014-09-261-0/+3
| * Fix test.Erik Johnston2014-09-241-1/+1
* | Sign federation transactionsMark Haines2014-09-241-0/+15
|/
* Move SQLiteMemoryDbPool implementation into tests.utilsPaul "LeoNerd" Evans2014-09-101-0/+14
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has...Matthew Hodgson2014-09-031-1/+1
* Fix room permissions testErik Johnston2014-09-021-0/+3
* Fix the tests to include new db callsErik Johnston2014-09-011-0/+14
* Have MemoryDataStore's get_rooms_for_user_where_membership_is() return room m...Paul "LeoNerd" Evans2014-09-011-2/+3
* Fix a couple of bugs in presence handler related to pushing updatesto the cor...Erik Johnston2014-08-291-6/+31
* Ability to assert a DeferredMockCallable has received no callsPaul "LeoNerd" Evans2014-08-281-0/+15
* Remove get_state_for_room function from federation handlerMark Haines2014-08-281-0/+10
* Fill out prev_events before calling persist_eventMark Haines2014-08-271-1/+3
* Merge branch 'develop' into storage_transactionsMark Haines2014-08-261-3/+5
|\
| * Fix ALL THE UNIT TESTSKegan Dougal2014-08-261-3/+5
* | Take a snapshot of the state of the room before performing updatesMark Haines2014-08-221-0/+7
|/
* Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-191-1/+42
|\
| * Add a DeferredMockCallable; like mock's MockCallable but allows awaitingPaul "LeoNerd" Evans2014-08-191-0/+41
| * Rename MockHttpServer to MockHttpResource as it stands for one server resourc...Paul "LeoNerd" Evans2014-08-191-1/+2
* | Change the MemoryDataStore to implement new storage apiErik Johnston2014-08-181-99/+50
* | Fix some of the tests to reflect changes in the storage layer.Erik Johnston2014-08-151-22/+2
|/
* Allow advancing the MockClock's timePaul "LeoNerd" Evans2014-08-131-0/+4
* Move MockClock into tests.utils so we can reĆ¼se itPaul "LeoNerd" Evans2014-08-131-0/+10
* add in copyrights to everything, not just the synapse subdir, and add a copyr...Matthew Hodgson2014-08-131-0/+15
* Reference Matrix Home Servermatrix.org2014-08-121-0/+252