summary refs log tree commit diff
path: root/synapse/rest/client (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix fallback auth on Python 3 (#4197)Amber Brown2018-11-191-22/+16
* Remove duplicate slashes in generated consent URLsTravis Ralston2018-11-151-2/+2
* Add config variables for enabling terms auth and the policy name (#4142)Travis Ralston2018-11-061-1/+1
* handle empty backups according to latest spec proposal (#4123)Hubert Chathi2018-11-051-3/+18
* Include a version query string arg for the consent routeTravis Ralston2018-10-311-2/+4
* Merge branch 'develop' into travis/login-termsTravis Ralston2018-10-312-1/+91
|\
| * Address review commentsRichard van der Hoff2018-10-261-5/+16
| * Basic initial support for room upgradesRichard van der Hoff2018-10-251-0/+78
| * Refactor state group lookup to reduce DB hits (#4011)Erik Johnston2018-10-251-1/+2
* | Merge branch 'develop' into travis/login-termsTravis Ralston2018-10-242-33/+6
|\|
| * Fix a number of flake8 errorsRichard van der Hoff2018-10-241-1/+1
| * Clean up room alias creationErik Johnston2018-10-191-32/+5
* | pep8Travis Ralston2018-10-152-13/+2
* | Merge branch 'develop' into travis/login-termsTravis Ralston2018-10-151-0/+372
|\|
| * missed oneDavid Baker2018-10-121-0/+1
| * Don't mangle exceptionsDavid Baker2018-10-121-4/+2
| * Split /room_keys/version into 2 servletsDavid Baker2018-10-121-9/+21
| * PR feedback pt. 1David Baker2018-10-121-1/+1
| * isortDavid Baker2018-10-091-1/+1
| * Merge remote-tracking branch 'origin/develop' into dbkr/e2e_backupsDavid Baker2018-10-0913-77/+144
| |\
| * | WIP e2e key backupsDavid Baker2018-09-131-4/+10
| * | try to make flake8 and isort happyHubert Chathi2018-09-061-1/+4
| * | Merge branch 'develop' into e2e_backupsHubert Chathi2018-08-248-68/+74
| |\ \
| * | | missing importMatthew Hodgson2018-08-121-1/+1
| * | | use parse_stringMatthew Hodgson2018-08-121-3/+3
| * | | support DELETE /version with no argsMatthew Hodgson2018-08-121-2/+3
| * | | implement remaining tests and make them workMatthew Hodgson2018-08-121-0/+6
| * | | improve docstringMatthew Hodgson2018-08-121-1/+5
| * | | add a tonne of docstring; make upload_room_keys properly assert versionMatthew Hodgson2018-08-121-1/+10
| * | | more docstring for the e2e_room_keys restMatthew Hodgson2018-08-121-0/+51
| * | | blindly incorporate PR review - needs testing & fixingMatthew Hodgson2018-08-121-0/+2
| * | | make /room_keys/version workMatthew Hodgson2018-08-121-1/+8
| * | | implement /room_keys/version too (untested)Matthew Hodgson2018-08-121-0/+47
| * | | document the APIMatthew Hodgson2018-08-121-0/+133
| * | | make it work and fix pep8Matthew Hodgson2018-08-121-13/+20
| * | | interim WIP checkin; doesn't build yetMatthew Hodgson2018-08-121-4/+33
| * | | total WIP skeleton for /room_keys APIMatthew Hodgson2018-08-121-0/+56
* | | | Rely on the lack of ?u to represent public accessTravis Ralston2018-10-121-2/+2
* | | | Use a flag rather than a new route for the public policyTravis Ralston2018-10-031-2/+2
* | | | Auto-consent to the privacy policy if the user registered with termsTravis Ralston2018-10-031-0/+6
* | | | Make the terms flow requriedTravis Ralston2018-10-031-4/+4
* | | | Flesh out the fallback auth for termsTravis Ralston2018-10-031-7/+67
* | | | Incorporate Dave's work for GDPR login flowsTravis Ralston2018-10-032-0/+35
| |_|/ |/| |
* | | Merge pull request #3835 from krombel/fix_3821Amber Brown2018-09-121-1/+5
|\ \ \
| * | | fix VOIP crashes under Python 3 (#3821)Krombel2018-09-101-1/+5
* | | | Port rest/ to Python 3 (#3823)Amber Brown2018-09-129-55/+60
|/ / /
* | | Merge pull request #3790 from matrix-org/rav/respect_event_format_in_filterRichard van der Hoff2018-09-051-13/+38
|\ \ \
| * | | Implement 'event_format' filter param in /syncRichard van der Hoff2018-09-041-13/+38
* | | | improve human readable error messageNeil Johnson2018-09-041-1/+2
* | | | improve human readable error messagesNeil Johnson2018-09-042-7/+20
|/ / /
* | | move threepid checker to config, add missing yieldsNeil Johnson2018-08-312-5/+7
* | | ensure post registration auth checks do not fail erroneouslyNeil Johnson2018-08-312-0/+8
* | | fix bug where preserved threepid user comes to sign up and server is mau blockedNeil Johnson2018-08-312-1/+10
| |/ |/|
* | Allow guests to access /rooms/:roomId/event/:eventIdWill Hunt2018-08-201-1/+1
* | Port over enough to get some sytests running on Python 3 (#3668)Amber Brown2018-08-201-1/+1
* | Integrate presence from hotfixes (#3694)Amber Brown2018-08-181-1/+2
* | Remove v1/register's broken shared secret functionality (#3703)Amber Brown2018-08-181-54/+0
* | lazyload aware /messages (#3589)Matthew Hodgson2018-08-161-1/+12
* | initial cut at a room summary API (#3574)Matthew Hodgson2018-08-161-0/+1
* | speed up /members and add at= and membership params (#3568)Matthew Hodgson2018-08-151-3/+29
* | Merge pull request #3667 from matrix-org/erikj/fixup_unbindErik Johnston2018-08-152-6/+27
|\ \
| * | Don't fail requests to unbind 3pids for non supporting ID serversErik Johnston2018-08-082-6/+27
| |/
* / Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678)Amber Brown2018-08-101-1/+1
|/
* Merge branch 'master' into developRichard van der Hoff2018-08-022-2/+2
|\
| * Check room visibility for /event/ requestsRichard van der Hoff2018-08-022-2/+2
* | Merge pull request #3620 from fuzzmz/return-404-room-not-foundRichard van der Hoff2018-08-011-2/+2
|\ \
| * | return NotFoundError if room not foundSerban Constantin2018-07-311-2/+2
* | | Python 3: Convert some unicode/bytes uses (#3569)Amber Brown2018-08-022-13/+21
|/ /
* | make /context lazyload & filter aware (#3567)Matthew Hodgson2018-07-271-0/+9
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/client_api...Erik Johnston2018-07-235-4/+172
|\ \
| * | Admin API for creating new users (#3415)Amber Brown2018-07-201-0/+122
| * | Move v1-only APIs into their own module & isolate deprecated ones (#3460)Amber Brown2018-07-194-4/+50
| |/
* | Move RoomContextHandler out of HandlersErik Johnston2018-07-181-2/+2
* | Split MessageHandler into read only and writersErik Johnston2018-07-182-15/+13
|/
* Refactor REST API tests to use explicit reactors (#3351)Amber Brown2018-07-171-1/+1
* check isort by travisKrombel2018-07-163-4/+4
* Fix develop because I broke it :( (#3535)Amber Brown2018-07-141-2/+2
* Merge pull request #3534 from krombel/use_parse_and_asserts_from_servletAmber Brown2018-07-1411-133/+82
|\
| * fix sytestsAmber Brown2018-07-141-1/+1
| * add changelogKrombel2018-07-131-1/+1
| * rename assert_params_in_request to assert_params_in_dictKrombel2018-07-139-30/+30
| * Use parse_{int,str} and assert from http.servletKrombel2018-07-1310-126/+75
* | Make auth & transactions more testable (#3499)Amber Brown2018-07-147-35/+31
|/
* Merge branch 'develop' into rav/enforce_report_apiRichard van der Hoff2018-07-1233-187/+207
|\
| * run isortAmber Brown2018-07-0932-156/+164
| * Attempt to be more performant on PyPy (#3462)Amber Brown2018-06-283-3/+4
| * update doc for deactivate APIMatthew Hodgson2018-06-261-1/+1
| * add GDPR erase param to deactivate APIMatthew Hodgson2018-06-261-1/+12
| * Revert "Revert "Merge pull request #3431 from matrix-org/rav/erasure_visibili...Erik Johnston2018-06-252-3/+14
| * Revert "Merge pull request #3431 from matrix-org/rav/erasure_visibility"Richard van der Hoff2018-06-222-14/+3
| * Merge pull request #3431 from matrix-org/rav/erasure_visibilityErik Johnston2018-06-222-3/+14
| |\
| | * mark accounts as erased when requestedRichard van der Hoff2018-06-122-3/+14
| * | Remove run_on_reactor (#3395)Amber Brown2018-06-143-17/+0
| |/
| * Merge pull request #3276 from matrix-org/dbkr/unbindDavid Baker2018-06-111-3/+10
| |\
| | * Merge remote-tracking branch 'origin/develop' into dbkr/unbindDavid Baker2018-05-241-3/+5
| | |\
| | * | pep8David Baker2018-05-241-1/+1
| | * | Unbind 3pids when they're deleted tooDavid Baker2018-05-241-3/+10
| * | | fix logRichard van der Hoff2018-06-071-1/+1
| * | | Fix event-purge-by-ts admin APIRichard van der Hoff2018-06-071-6/+4
| * | | Consistently use six's iteritems and wrap lazy keys/values in list() if they'...Amber Brown2018-05-311-1/+1
| | |/ | |/|
* / | Enforce the specified API for report_eventRichard van der Hoff2018-05-311-2/+23
|/ /
* | Merge pull request #3243 from NotAFile/py3-six-3Erik Johnston2018-05-241-3/+5
|\ \ | |/ |/|
| * Replace some more comparisons with sixAdrian Tschira2018-05-191-3/+5
* | Stub out ServerNoticesSender on the workersRichard van der Hoff2018-05-221-0/+4
* | Fix logcontext leak in HttpTransactionCacheRichard van der Hoff2018-05-211-25/+21
* | Stop the transaction cache caching failuresRichard van der Hoff2018-05-211-9/+13
|/
* Merge pull request #3221 from matrix-org/erikj/purge_tokenErik Johnston2018-05-181-7/+10
|\
| * Make purge_history operate on tokensErik Johnston2018-05-151-7/+10
* | Move RoomCreationHandler out of synapse.handlers.HandlersRichard van der Hoff2018-05-172-5/+4
|/
* Set Server header in SynapseRequestRichard van der Hoff2018-05-102-3/+0
* notifications: Convert next_token to string according to the specKonstantinos Sideris2018-05-051-1/+1
* Burminate v1authAdrian Tschira2018-04-302-2/+6
* add guard for None on purge_history apiKrombel2018-04-301-1/+14
* Merge pull request #3156 from NotAFile/py3-hmac-bytesRichard van der Hoff2018-04-302-11/+15
|\
| * Construct HMAC as bytes on py3Adrian Tschira2018-04-292-11/+15
* | Use six.moves.urlparseAdrian Tschira2018-04-152-5/+6
|/
* Merge pull request #3079 from matrix-org/erikj/limit_concurrent_sendsErik Johnston2018-04-101-6/+1
|\
| * Use create_and_send_nonmember_event everywhereErik Johnston2018-04-091-6/+1
* | Merge pull request #2996 from krombel/allow_auto_join_roomsRichard van der Hoff2018-04-101-32/+0
|\ \
| * \ Merge branch 'develop' of into allow_auto_join_roomsKrombel2018-03-282-2/+2
| |\ \
| * | | move handling of auto_join_rooms to RegisterHandlerKrombel2018-03-141-32/+0
* | | | Merge pull request #3061 from NotAFile/add-some-byte-stringsRichard van der Hoff2018-04-091-2/+2
|\ \ \ \
| * | | | Add b prefixes to some strings that are bytes in py3Adrian Tschira2018-04-041-2/+2
| | |/ / | |/| |
* | | | Merge pull request #2938 from dklug/developRichard van der Hoff2018-04-091-1/+4
|\ \ \ \ | |_|_|/ |/| | |
| * | | Return 401 for invalid access_token on logoutdklug2018-03-021-1/+4
* | | | Merge pull request #2986 from jplatte/join_reponse_room_idRichard van der Hoff2018-04-051-1/+6
|\ \ \ \
| * | | | Add room_id to the response of `rooms/{roomId}/join`Jonas Platte2018-03-131-1/+6
| | |_|/ | |/| |
* | | | Use "/settings/" (plural)Luke Barnard2018-04-051-1/+1
* | | | Use join_policy API instead of joinableLuke Barnard2018-04-031-6/+6
* | | | This should probably be a PUTDavid Baker2018-03-281-1/+1
* | | | Add joinability for groupsDavid Baker2018-03-281-0/+28
| |_|/ |/| |
* | | Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2018-03-191-1/+1
|\ \ \
| * | | Replace ujson with simplejsonErik Johnston2018-03-152-2/+2
* | | | Replace some ujson with simplejson to make it workErik Johnston2018-03-161-1/+1
| |/ / |/| |
* | | RoomMembershipRestServlet doesn't handle /forgetErik Johnston2018-03-131-1/+1
* | | Add transactional API to history purgeRichard van der Hoff2018-03-121-3/+35
* | | Provide a means to pass a timestamp to purge_historyRichard van der Hoff2018-03-051-3/+55
| |/ |/|
* | Move RoomMemberHandler out of HandlersErik Johnston2018-03-013-13/+15
* | Merge pull request #2854 from matrix-org/erikj/event_create_workerErik Johnston2018-02-131-1/+0
|\ \
| * | Add event_creator workerErik Johnston2018-02-071-1/+0
* | | Fix typos in purge api & docRichard van der Hoff2018-02-131-3/+1
* | | Merge pull request #2858 from matrix-org/rav/purge_updatesRichard van der Hoff2018-02-091-1/+10
|\ \ \ | |/ / |/| |
| * | delete_local_events for purge_historyRichard van der Hoff2018-02-091-1/+10
* | | Update copyrightErik Johnston2018-02-062-0/+2
* | | Update places where we create eventsErik Johnston2018-02-052-9/+11
* | | Merge branch 'develop' into travis/admin-list-mediaTravis Ralston2018-02-014-28/+113
|\ \ \
| * | | fix thinko on 3pid whitelistingMatthew Hodgson2018-01-241-2/+2
| * | | add ?ts massaging for ASes (#2754)Matthew Hodgson2018-01-231-6/+11
| * | | fix typo (thanks sytest)Matthew Hodgson2018-01-191-1/+1
| * | | oops, check all login typesMatthew Hodgson2018-01-191-14/+11
| * | | trailing commasMatthew Hodgson2018-01-192-7/+7
| * | | rewrite based on PR feedback:Matthew Hodgson2018-01-194-76/+43
| * | | fix up v1, and improve errorsMatthew Hodgson2018-01-193-19/+53
| * | | fix pep8Matthew Hodgson2018-01-191-2/+1
| * | | add registrations_require_3pidMatthew Hodgson2018-01-193-13/+96
| |/ /
* / / Add an admin route to get all the media in a roomTravis Ralston2018-01-201-0/+22
|/ /
* | Add /room/{id}/event/{id} to synapseRichard van der Hoff2018-01-091-3/+26
* | Better logging when login can't find a 3pidRichard van der Hoff2017-12-201-4/+10
|/
* Fix error when deleting devicesRichard van der Hoff2017-12-051-1/+1
* Factor out a validate_user_via_ui_auth methodRichard van der Hoff2017-12-052-74/+59
* Refactor UI auth implementationRichard van der Hoff2017-12-054-27/+51
* Delete devices in various logout situationsRichard van der Hoff2017-11-291-2/+25
* Move set_password into its own handlerRichard van der Hoff2017-11-292-3/+4
* Move deactivate_account into its own handlerRichard van der Hoff2017-11-292-5/+6
* Allow guest access to group APIs for readingLuke Barnard2017-11-281-11/+11
* Declare support for r0.3.0Richard van der Hoff2017-11-151-0/+1
* Remove redundent callTravis Ralston2017-11-131-2/+0
* Add a route for determining who you areTravis Ralston2017-11-121-0/+17
* Add some more comments appservice user registrationRichard van der Hoff2017-11-101-1/+4
* Downcase userids for shared-secret registrationRichard van der Hoff2017-11-102-3/+21
* Downcase userid on registrationRichard van der Hoff2017-11-091-1/+7
* Register group servletErik Johnston2017-11-091-0/+1
* Have an explicit API to update room configErik Johnston2017-11-081-0/+27
* Revert "Modify group room association API to allow modification of is_public"Erik Johnston2017-11-081-2/+2
* support inhibit_login in /registerRichard van der Hoff2017-11-021-12/+16
* Allow password_auth_providers to return a callbackRichard van der Hoff2017-11-011-1/+4
* Merge remote-tracking branch 'origin/develop' into rav/refactor_accesstoken_d...David Baker2017-11-013-6/+12
|\
| * Merge pull request #2615 from matrix-org/rav/break_auth_device_depDavid Baker2017-11-012-4/+0
| |\
| | * Break dependency of auth_handler on device_handlerRichard van der Hoff2017-11-012-4/+0
| * | Apparently this is pythonDavid Baker2017-11-011-1/+1
| * | Log login requestsDavid Baker2017-11-011-0/+10
| * | Modify group room association API to allow modification of is_publicLuke Barnard2017-10-311-2/+2
| |/
* / Move access token deletion into auth handlerRichard van der Hoff2017-11-013-22/+10
|/
* Refactor some logic from LoginRestServlet into AuthHandlerRichard van der Hoff2017-10-311-29/+26
* Merge pull request #2591 from matrix-org/rav/device_delete_authRichard van der Hoff2017-10-271-5/+8
|\
| * Device deletion: check UI auth matches access tokenRichard van der Hoff2017-10-271-5/+8
* | Merge pull request #2589 from matrix-org/rav/as_deactivate_accountRichard van der Hoff2017-10-271-16/+32
|\ \
| * | Allow ASes to deactivate their own usersRichard van der Hoff2017-10-271-16/+32
* | | Merge pull request #2582 from matrix-org/luke/group-is-publicLuke Barnard2017-10-271-40/+53
|\ \ \ | |_|/ |/| |
| * | delintLuke Barnard2017-10-261-4/+17
| * | Add is_public to groups table to allow for private groupsLuke Barnard2017-10-261-40/+40
| |/
* | add release endpoints for /thirdpartyKrombel2017-10-261-7/+4
* | register some /unstable endpoints in /r0 as wellKrombel2017-10-264-20/+9
|/
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-237-10/+10
* Remove pointless create() methodRichard van der Hoff2017-10-202-4/+4
* Merge pull request #2545 from matrix-org/dbkr/auto_join_roomsDavid Baker2017-10-171-0/+34
|\
| * Add config option to auto-join new users to roomsDavid Baker2017-10-161-0/+34
* | DelintLuke Barnard2017-10-161-0/+1
* | Implement GET /groups/$groupId/invited_usersLuke Barnard2017-10-161-0/+21
|/
* Merge branch 'develop' into erikj/groups_mergedDavid Baker2017-10-021-10/+6
|\
| * Fix /joined_members to work with AS usersErik Johnston2017-09-281-2/+1
| * Fix bug where /joined_members didn't check user was in roomErik Johnston2017-09-271-10/+7
* | Add remove room APIErik Johnston2017-09-261-0/+11
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/groups_mergedErik Johnston2017-09-193-14/+13
|\|
| * Add left section to /keys/changesErik Johnston2017-09-081-4/+2
| * Send down device list change notif when member leaves/rejoins roomErik Johnston2017-09-071-1/+2
| * fix englishhera2017-08-041-7/+7
| * typohera2017-08-041-1/+1
| * Reduce spammy log line in synchrotronsErik Johnston2017-08-021-1/+1
* | Split out profile handler to fix testsErik Johnston2017-08-251-9/+9
* | FixupErik Johnston2017-08-111-0/+1
* | Add bulk group publicised lookup APIErik Johnston2017-08-091-0/+54
* | Allow update group publicityErik Johnston2017-08-081-0/+28
* | Merge pull request #2378 from matrix-org/erikj/group_sync_supportErik Johnston2017-07-211-0/+5
|\ \
| * | Add groups to sync streamErik Johnston2017-07-201-0/+5
* | | Remove spurious content paramErik Johnston2017-07-201-1/+1
* | | Add update group profile APIErik Johnston2017-07-201-0/+12
|/ /
* | CommentsErik Johnston2017-07-181-1/+3
* | CommentsErik Johnston2017-07-181-103/+48
* | Add local group server supportErik Johnston2017-07-171-0/+642
|/
* split out reducing stuff; just make encode_* staticKrombel2017-07-111-35/+27
* fix testKrombel2017-07-101-1/+3
* encode sync-response statically; omit empty objects from sync-responseKrombel2017-07-101-33/+48
* Fix bug where pusherpool didn't start and broke some roomsErik Johnston2017-07-061-8/+6
* Add API to quarantine mediaErik Johnston2017-06-191-0/+25
* Remove unused importErik Johnston2017-06-191-1/+1
* Change to create new room and join other usersErik Johnston2017-06-191-6/+53
* Forget roomErik Johnston2017-06-191-0/+2
* Add shutdown room APIErik Johnston2017-06-191-1/+66
* Include users who share room with requester in user directoryErik Johnston2017-06-151-2/+6
* Add commentsErik Johnston2017-05-311-0/+16
* Use POSTErik Johnston2017-05-311-1/+1
* Add REST APIErik Johnston2017-05-311-0/+59
* Add count of one time keys to sync streamErik Johnston2017-05-191-0/+1
* Fixed syntax nitsPablo Saavedra2017-05-152-5/+6
* Fixed implementation errorsPablo Saavedra2017-05-152-3/+7
* Configurable maximum number of events requested by /sync and /messages (#2220)Pablo Saavedra2017-05-133-0/+15
* Modify register/available to be GET with query paramLuke Barnard2017-05-101-5/+4
* Change register/available to POST (from GET)Luke Barnard2017-05-101-1/+1
* Merge pull request #2183 from matrix-org/luke/username-availabilityLuke Barnard2017-05-041-0/+41
|\
| * Appease the flake8 godsLuke Barnard2017-05-031-5/+10
| * Implement username availability checkerLuke Barnard2017-05-031-0/+36
* | Add more granular event send metricsErik Johnston2017-05-021-0/+1
|/
* Merge pull request #2163 from matrix-org/erikj/fix_invite_stateErik Johnston2017-04-271-0/+1
|\
| * Comment and remove spurious loggingErik Johnston2017-04-271-1/+0
| * Fix invite state to always include all eventsErik Johnston2017-04-261-0/+2
* | Merge pull request #2130 from APwhitehat/roomexistsErik Johnston2017-04-271-1/+5
|\ \ | |/ |/|
| * Check that requested room_id existsAnant Prakash2017-04-141-1/+5
* | Reduce size of joined_user cacheErik Johnston2017-04-251-1/+7
* | m.read_marker -> m.fully_read (#2128)Luke Barnard2017-04-182-5/+5