summary refs log tree commit diff
path: root/tests/rest/client/v2_alpha (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add a test for wrong user returned by SSORichard van der Hoff2021-01-131-0/+27
* Add a test for UI-Auth-via-SSO (#9082)Richard van der Hoff2021-01-131-1/+39
* Skip unit tests which require optional dependencies (#9031)Richard van der Hoff2021-01-071-10/+16
* Allow re-using a UI auth validation for a period of time (#8970)Patrick Cloke2020-12-181-31/+63
* lintRichard van der Hoff2020-12-151-1/+0
* Remove spurious "SynapseRequest" result from `make_request"Richard van der Hoff2020-12-159-132/+111
* Remove redundant reading of SynapseRequest.argsRichard van der Hoff2020-12-151-9/+1
* remove 'response' result from `_get_shared_rooms`Richard van der Hoff2020-12-151-8/+9
* Replace `request.code` with `channel.code`Richard van der Hoff2020-12-153-8/+8
* Fix errorcode for disabled registration (#8867)Richard van der Hoff2020-12-031-0/+1
* UIA: offer only available auth flowsRichard van der Hoff2020-12-021-17/+77
* Support "identifier" dicts in UIA (#8848)Richard van der Hoff2020-12-011-8/+25
* Simplify the way the `HomeServer` object caches its internal attributes. (#8...Jonathan de Jong2020-11-301-3/+3
* Remove deprecated `/_matrix/client/*/admin` endpoints (#8785)Dirk Klimpel2020-11-251-3/+3
* Remove redundant `HomeserverTestCase.render`Richard van der Hoff2020-11-169-106/+0
* Remove redundant calls to `render()`Richard van der Hoff2020-11-161-4/+2
* Make `make_request` actually render the requestRichard van der Hoff2020-11-161-4/+0
* use global make_request() directly where we have a custom ResourceRichard van der Hoff2020-11-151-2/+12
* Add ability for access tokens to belong to one user but grant access to anoth...Erik Johnston2020-10-291-0/+1
* Remove some extraneous @unittest.INFOs on unit tests (#8592)Andrew Morgan2020-10-202-2/+0
* Only assert valid next_link params when provided (#8417)Andrew Morgan2020-09-291-0/+6
* Show a confirmation page during user password reset (#8004)Andrew Morgan2020-09-101-1/+28
* Add a config option for validating 'next_link' parameters against a domain wh...Andrew Morgan2020-09-081-7/+96
* Re-implement unread counts (again) (#8059)Brendan Abolivier2020-09-021-2/+155
* Add /user/{user_id}/shared_rooms/ api (#7785)Will Hunt2020-09-021-0/+138
* Do not yield on awaitables in tests. (#8193)Patrick Cloke2020-08-271-2/+6
* Switch the JSON byte producer from a pull to a push producer. (#8116)Patrick Cloke2020-08-191-2/+2
* Revert #7736 (#8039)Brendan Abolivier2020-08-061-155/+2
* Improve performance of the register endpoint (#8009)Patrick Cloke2020-08-061-1/+1
* Re-implement unread counts (#7736)Brendan Abolivier2020-07-291-2/+155
* Fix some spelling mistakes / typos. (#7811)Patrick Cloke2020-07-091-1/+1
* Fix inconsistent handling of upper and lower cases of email addresses. (#7021)Dirk Klimpel2020-07-031-30/+145
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-5/+4
* Performance improvements and refactor of Ratelimiter (#7595)Andrew Morgan2020-06-051-6/+3
* Convert sending mail to async/await. (#7557)Erik Johnston2020-05-221-2/+2
* Allow expired accounts to logout (#7443)Andrew Morgan2020-05-141-1/+35
* Do not validate that the client dict is stable during UI Auth. (#7483)Patrick Cloke2020-05-131-45/+10
* Rework UI Auth session validation for registration (#7455)Patrick Cloke2020-05-081-88/+216
* Persist user interactive authentication sessions (#7302)Patrick Cloke2020-04-301-0/+40
* Revert "Revert "Merge pull request #7315 from matrix-org/babolivier/request_t...Brendan Abolivier2020-04-232-1/+62
* Merge pull request #7157 from matrix-org/rev.outbound_device_pokes_testsRichard van der Hoff2020-03-301-2/+2
|\
| * Remove spurious "name" parameter to `default_config`Richard van der Hoff2020-03-241-2/+2
* | Add options to prevent users from changing their profile. (#7096)Dirk Klimpel2020-03-271-0/+302
* | Allow server admins to define and enforce a password policy (MSC2000). (#7118)Dirk Klimpel2020-03-261-0/+179
* | Validate that the session is not modified during UI-Auth (#7068)Patrick Cloke2020-03-261-1/+67
|/
* Revert "Add options to disable setting profile info for prevent changes. (#70...Richard van der Hoff2020-03-171-303/+0
* lint, fix testsdklimpel2020-03-091-2/+2
* updates after reviewdklimpel2020-03-091-10/+7
* lintdklimpel2020-03-091-10/+8
* add testsdklimpel2020-03-091-0/+308
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-211-13/+15
* Add `local_current_membership` table (#6655)Erik Johnston2020-01-152-12/+9
* Port handlers.account_validity to async/await.Erik Johnston2019-12-101-2/+1
* Merge branch 'develop' into babolivier/context_filtersBrendan Abolivier2019-12-041-0/+1
|\
| * Remove assertion and provide a clear warning on startup for missing public_ba...Andrew Morgan2019-11-261-0/+1
* | Update copyrightsBrendan Abolivier2019-11-051-1/+2
|/
* Incorporate reviewBrendan Abolivier2019-11-011-4/+4
* Incorporate reviewBrendan Abolivier2019-11-011-5/+5
* LintBrendan Abolivier2019-10-301-6/+6
* Add more integration testingBrendan Abolivier2019-10-301-6/+39
* Add integration tests for syncBrendan Abolivier2019-10-301-2/+110
* send 404 as http-status when filter-id is unknown to the server (#2380)krombel2019-10-101-1/+1
* okBrendan Abolivier2019-09-271-1/+3
* LintBrendan Abolivier2019-09-271-7/+1
* Add test to validate the changeBrendan Abolivier2019-09-271-13/+57
* Stop advertising unsupported flows for registration (#6107)Richard van der Hoff2019-09-251-12/+17
* Refactor the user-interactive auth handling (#6105)Richard van der Hoff2019-09-251-10/+16
* Refactor code for calculating registration flows (#6106)Richard van der Hoff2019-09-251-12/+67
* Remove unnecessary parentheses around return statements (#5931)Andrew Morgan2019-08-301-1/+1
* Add testsBrendan Abolivier2019-08-011-0/+37
* Remove the ability to query relations when the original event was redacted. (...Andrew Morgan2019-07-181-3/+113
* Include the original event in /relations (#5626)Andrew Morgan2019-07-091-0/+5
* Add origin_server_ts and sender fields to m.replace (#5613)Andrew Morgan2019-07-051-6/+18
* Run Black. (#5482)Amber Brown2019-06-204-50/+40
* Don't send renewal emails to deactivated usersBrendan Abolivier2019-06-141-25/+42
* Track deactivated accounts in the database (#5378)Brendan Abolivier2019-06-141-0/+45
* Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2019-06-112-6/+241
|\
| * Bump bleach version so that tests can run on old deps.Erik Johnston2019-06-111-6/+0
| * Change password reset links to /_matrix.Erik Johnston2019-06-111-0/+241
* | Merge pull request #5363 from matrix-org/babolivier/account_validity_send_mai...Brendan Abolivier2019-06-101-0/+35
|\ \ | |/ |/|
| * Don't check whether the user's account is expired on /send_mail requestsBrendan Abolivier2019-06-051-0/+35
* | Merge pull request #5276 from matrix-org/babolivier/account_validity_job_deltaErik Johnston2019-05-311-5/+10
|\ \
| * | Move delta from +10% to -10%Brendan Abolivier2019-05-311-2/+2
| * | Make max_delta equal to period * 10%Brendan Abolivier2019-05-311-17/+1
| * | TypoBrendan Abolivier2019-05-281-1/+1
| * | Allow configuring a range for the account validity startup jobBrendan Abolivier2019-05-281-0/+21
| |/
* | Add config option for setting homeserver's default room version (#5223)Andrew Morgan2019-05-231-2/+5
* | Merge pull request #5212 from matrix-org/erikj/deny_multiple_reactionsErik Johnston2019-05-211-1/+26
|\ \
| * | Block attempts to annotate the same event twiceErik Johnston2019-05-201-1/+26
* | | Merge pull request #5204 from matrix-org/babolivier/account_validity_expirati...Brendan Abolivier2019-05-211-0/+55
|\ \ \ | |/ / |/| / | |/
| * Add startup background job for account validityBrendan Abolivier2019-05-171-0/+55
* | Rename relation types to match MSCErik Johnston2019-05-201-11/+11
* | Merge pull request #5209 from matrix-org/erikj/reactions_baseErik Johnston2019-05-201-0/+539
|\ \
| * | Fixup commentsErik Johnston2019-05-201-2/+2
| * | Correctly update aggregation counts after redactionErik Johnston2019-05-201-0/+37
| * | Make tests use different user for each reaction it sendsErik Johnston2019-05-171-12/+68
| * | Add basic editing supportErik Johnston2019-05-161-9/+82
| * | Check that event is visible in new APIsErik Johnston2019-05-161-1/+1
| * | Add aggregations APIErik Johnston2019-05-161-3/+248
| * | Add simple pagination APIErik Johnston2019-05-151-0/+30
| * | Add simple send_relation API and track in DBErik Johnston2019-05-151-0/+98
| |/
* | Merge pull request #5174 from matrix-org/dbkr/add_dummy_flow_to_recaptcha_onlyDavid Baker2019-05-161-1/+8
|\ \ | |/ |/|
| * And now I realise why the test is failing...David Baker2019-05-131-1/+8
* | Migrate all tests to use the dict-based config format instead of hanging item...Amber Brown2019-05-132-23/+34
|/
* Run Black on the tests again (#5170)Amber Brown2019-05-101-45/+37
* Add admin api for sending server_notices (#5121)Richard van der Hoff2019-05-024-5/+5
* Move admin api impl to its own packageRichard van der Hoff2019-05-014-10/+12
* Merge branch 'develop' of github.com:matrix-org/synapse into babolivier/accou...Erik Johnston2019-04-171-2/+2
|\
| * Merge pull request #5047 from matrix-org/babolivier/account_expirationBrendan Abolivier2019-04-171-1/+99
| |\
| * \ Merge pull request #5027 from matrix-org/babolivier/account_expirationBrendan Abolivier2019-04-091-2/+49
| |\ \
| * | | Collect room-version variations into one place (#4969)Richard van der Hoff2019-04-011-2/+2
* | | | Add management endpoints for account validityBrendan Abolivier2019-04-171-8/+87
| |_|/ |/| |
* | | Send out emails with links to extend an account's validity periodBrendan Abolivier2019-04-171-1/+99
| |/ |/|
* | Add account expiration featureBrendan Abolivier2019-04-091-2/+49
|/
* Fix registration testRichard van der Hoff2019-03-191-1/+2
* Add ratelimiting on login (#4821)Brendan Abolivier2019-03-151-2/+4
* Add rate-limiting on registration (#4735)Brendan Abolivier2019-03-051-0/+48
* Move register_device into handlerErik Johnston2019-02-181-70/+23
* Fix unit testsErik Johnston2019-02-181-6/+15
* rework format of change password capabilityNeil Johnson2019-01-291-2/+2
* support change_password in capabilities end-pointNeil Johnson2019-01-291-0/+23
* isortNeil Johnson2019-01-291-1/+2
* enforce auth for capabilities endpointNeil Johnson2019-01-291-4/+19
* Support room version capabilities in CS API (MSC1804)Neil Johnson2019-01-251-0/+39
* Fix fallback auth on Python 3 (#4197)Amber Brown2018-11-191-0/+104
* Remove some boilerplate in tests (#4156)Amber Brown2018-11-072-95/+52
* Fix typing being reset causing infinite syncs (#4127)Amber Brown2018-11-031-0/+123
* Port tests/ to Python 3 (#3808)Amber Brown2018-09-071-7/+1
* Integrate presence from hotfixes (#3694)Amber Brown2018-08-181-46/+33
* Fix the testsAmber Brown2018-08-153-35/+19
* Run tests under PostgreSQL (#3423)Amber Brown2018-08-133-3/+3
* Run black.black2018-08-101-13/+4
* Test fixes for Python 3 (#3647)Amber Brown2018-08-093-20/+20
* Move v1-only APIs into their own module & isolate deprecated ones (#3460)Amber Brown2018-07-192-4/+12
* Refactor REST API tests to use explicit reactors (#3351)Amber Brown2018-07-174-208/+276
* run isortAmber Brown2018-07-093-15/+14
* mock registrations_require_3pidMatthew Hodgson2018-01-191-0/+1
* Refactor UI auth implementationRichard van der Hoff2017-12-051-4/+7
* Fix testDavid Baker2017-10-171-0/+1
* use jsonschema.FormatChecker for RoomID and UserID stringspik2017-03-231-2/+2
* Stop generating refresh tokensRichard van der Hoff2016-11-281-8/+4
* Merge pull request #1098 from matrix-org/markjh/bearer_tokenMark Haines2016-10-251-0/+2
|\
| * Fix unit testsMark Haines2016-09-121-0/+2
* | Merge pull request #1164 from pik/error-codesErik Johnston2016-10-191-40/+87
|\ \
| * | Refactor test_filter to use real DataStorepik2016-10-181-43/+81
| * | Error codes for filtersAlexander Maznev2016-10-141-3/+12
| |/
* / storage/appservice: make appservice methods only relying on the cache synchro...Patrik Oldsberg2016-10-061-1/+1
|/
* Implement deleting devicesRichard van der Hoff2016-07-261-4/+10
* Register a device_id in the /v2/register flow.Richard van der Hoff2016-07-201-3/+10
* Further registration refactoringRichard van der Hoff2016-07-191-1/+5
* rest/client/v2_alpha/register.py: Refactor flow somewhat.Richard van der Hoff2016-07-191-1/+2
* Split out the auth handlerDavid Baker2016-06-021-1/+1
* Fix testsDavid Baker2016-03-161-4/+5
* Flake8 fixblide2016-03-101-6/+6
* Register endpoint returns refresh_tokenblide2016-03-101-12/+18
* Fix testsDavid Baker2016-03-071-2/+2
* Fix flake8 warnings for testsMark Haines2016-02-193-14/+11
* Rename config field to reflect yaml nameDaniel Wagner-Hall2016-02-031-2/+2
* copyrightsMatthew Hodgson2016-01-072-2/+2
* Allow guests to register and call /events?room_id=Daniel Wagner-Hall2015-11-041-1/+2
* s/user_id/user/g for consistencyDaniel Wagner-Hall2015-09-011-1/+1
* Attempt to validate macaroonsDaniel Wagner-Hall2015-08-261-2/+2
* Stop looking up "admin", which we never readDaniel Wagner-Hall2015-08-251-1/+0
* Remove completely unused concepts from codebaseDaniel Wagner-Hall2015-08-251-1/+0
* Merge branch 'develop' into refreshDaniel Wagner-Hall2015-08-201-1/+2
|\
| * Fix testsDavid Baker2015-08-041-1/+2
* | s/by_token/by_access_token/gDaniel Wagner-Hall2015-08-201-2/+2
|/
* Use the same reg paths as register v1 for ASes.Kegan Dougal2015-07-291-1/+3
* Fix v2_alpha registration. Add unit tests.Kegan Dougal2015-07-281-0/+132
* Merge branch 'develop' into application-servicesKegan Dougal2015-02-111-8/+5
|\
| * Factor out some of the common homeserver setup code into aMark Haines2015-02-111-8/+5
* | Modify auth.get_user_by_req for authing appservices directly.Kegan Dougal2015-02-091-1/+3
|/
* Merge in auth changes from developMark Haines2015-01-291-0/+1
* More unit-testing of REST errorsPaul "LeoNerd" Evans2015-01-271-1/+35
* Move storage of user filters into real datastore layer; now have to mock it o...Paul "LeoNerd" Evans2015-01-272-3/+27
* Use new V2AlphaRestTestCasePaul "LeoNerd" Evans2015-01-271-38/+2
* Merge branch 'develop' into client_v2_filterPaul "LeoNerd" Evans2015-01-271-0/+45
|\
| * Initial cut of a shared base class for REST unit testsPaul "LeoNerd" Evans2015-01-271-0/+45
* | Minor changes to v2_alpha filter REST test to allow the setUp method to be sh...Paul "LeoNerd" Evans2015-01-271-5/+7
* | Initial trivial REST test of v2_alpha filter APIPaul "LeoNerd" Evans2015-01-261-0/+74
|/
* Create (empty) v2_alpha REST tests directoryPaul "LeoNerd" Evans2015-01-261-0/+15