summary refs log tree commit diff
path: root/synapse/rest/__init__.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Show a confirmation page during user password reset (#8004)Andrew Morgan2020-09-101-4/+2
| | | | | This PR adds a confirmation step to resetting your user password between clicking the link in your email and your password actually being reset. This is to better align our password reset flow with the industry standard of requiring a confirmation from the user after email validation.
* Add /user/{user_id}/shared_rooms/ api (#7785)Will Hunt2020-09-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add shared_rooms api * Add changelog * Add . * Wrap response in {"rooms": } * linting * Add unstable_features key * Remove options from isort that aren't part of 5.x `-y` and `-rc` are now default behaviour and no longer exist. `dont-skip` is no longer required https://timothycrosley.github.io/isort/CHANGELOG/#500-penny-july-4-2020 * Update imports to make isort happy * Add changelog * Update tox.ini file with correct invocation * fix linting again for isort * Vendor prefix unstable API * Fix to match spec * import Codes * import Codes * Use FORBIDDEN * Update changelog.d/7785.feature Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> * Implement get_shared_rooms_for_users * a comma * trailing whitespace * Handle the easy feedback * Switch to using runInteraction * Add tests * Feedback * Seperate unstable endpoint from v2 * Add upgrade node * a line * Fix style by adding a blank line at EOF. * Update synapse/storage/databases/main/user_directory.py Co-authored-by: Tulir Asokan <tulir@maunium.net> * Update synapse/storage/databases/main/user_directory.py Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> * Update UPGRADE.rst Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> * Fix UPGRADE/CHANGELOG unstable paths unstable unstable unstable Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> Co-authored-by: Tulir Asokan <tulir@maunium.net> Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> Co-authored-by: Tulir Asokan <tulir@maunium.net>
* Allow server admins to define and enforce a password policy (MSC2000). (#7118)Dirk Klimpel2020-03-261-0/+2
|
* Allow Synapse to send registration emails + choose Synapse or an external ↵Andrew Morgan2019-09-061-1/+1
| | | | | | | | | | | | | | | | server to handle 3pid validation (#5987) This is a combination of a few different PRs, finally all being merged into `develop`: * #5875 * #5876 * #5868 (This one added the `/versions` flag but the flag itself was actually [backed out](https://github.com/matrix-org/synapse/commit/891afb57cbdf9867f2848341b29c75d6f35eef5a#diff-e591d42d30690ffb79f63bb726200891) in #5969. What's left is just giving /versions access to the config file, which could be useful in the future) * #5835 * #5969 * #5940 Clients should not actually use the new registration functionality until https://github.com/matrix-org/synapse/pull/5972 is merged. UPGRADE.rst, changelog entries and config file changes should all be reviewed closely before this PR is merged.
* Run Black. (#5482)Amber Brown2019-06-201-0/+1
|
* Add simple send_relation API and track in DBErik Johnston2019-05-151-0/+2
|
* Add admin api for sending server_notices (#5121)Richard van der Hoff2019-05-021-1/+3
|
* Move admin api impl to its own packageRichard van der Hoff2019-05-011-3/+2
| | | | It doesn't really belong under rest/client/v1 any more.
* Move admin API to a new prefixRichard van der Hoff2019-05-011-2/+10
|
* Send out emails with links to extend an account's validity periodBrendan Abolivier2019-04-171-0/+2
|
* register capabilities servletNeil Johnson2019-01-291-0/+2
|
* Remove v1 only REST APIs now we don't ship matrix console (#4334)Amber Brown2018-12-291-11/+0
|
* Basic initial support for room upgradesRichard van der Hoff2018-10-251-0/+2
| | | | | Currently just creates a new, empty, room, and sends a tombstone in the old room.
* make it work and fix pep8Matthew Hodgson2018-08-121-0/+2
|
* Move v1-only APIs into their own module & isolate deprecated ones (#3460)Amber Brown2018-07-191-9/+34
|
* run isortAmber Brown2018-07-091-35/+20
|
* Add local group server supportErik Johnston2017-07-171-0/+2
|
* Add REST APIErik Johnston2017-05-311-0/+2
|
* Finish implementing RM endpointLuke Barnard2017-04-111-0/+2
| | | | | - This change causes a 405 to be sent if "m.read_marker" is set via /account_data - This also fixes-up the RM endpoint so that it actually Works.
* Add store-and-forward direct-to-device messagingMark Haines2016-08-251-0/+2
|
* Merge branch 'develop' into dbkr/notifications_apiMatthew Hodgson2016-08-201-0/+2
|\
| * Initial empty implementation that just registers an API endpoint handlerPaul "LeoNerd" Evans2016-08-171-0/+2
| |
* | Merge remote-tracking branch 'origin/develop' into dbkr/notifications_apiDavid Baker2016-08-111-0/+2
|\|
| * GET /devices endpointRichard van der Hoff2016-07-201-0/+2
| | | | | | | | | | | | | | implement a GET /devices endpoint which lists all of the user's devices. It also returns the last IP where we saw that device, so there is some dancing to fish that out of the user_ips table.
* | Add GET /notifications APIDavid Baker2016-05-231-0/+2
|/
* Add an openidish mechanism for proving to third parties that you own a given ↵Mark Haines2016-05-051-0/+2
| | | | user_id
* Add /report endpointErik Johnston2016-05-041-0/+2
|
* Implement logoutErik Johnston2016-03-111-0/+2
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Add /_matrix/versions to report supported versionsDaniel Wagner-Hall2016-01-061-0/+6
|
* Actually host r0 and unstable prefixesDaniel Wagner-Hall2015-12-081-1/+67
|
* Code style fixes.Mark Haines2015-01-291-1/+1
|
* Merge branch 'develop' into pushersDavid Baker2015-01-221-37/+2
|\ | | | | | | | | Conflicts: synapse/rest/__init__.py
| * Move rest APIs back under the rest directoryMark Haines2015-01-221-0/+14
| |
| * Move client v1 api rest servlets into a "client/v1" directoryMark Haines2015-01-221-47/+0
| |
* | Oops: second part of commit dc938606David Baker2015-01-221-1/+2
| |
* | Merge branch 'develop' into pushersDavid Baker2015-01-131-1/+1
|\|
| * Update copyright noticesMark Haines2015-01-061-1/+1
| |
* | Merge branch 'develop' into pushersDavid Baker2014-12-181-1/+1
|\| | | | | | | | | | | | | Conflicts: synapse/api/errors.py synapse/server.py synapse/storage/__init__.py
| * Kill off synapse.api.events.*Erik Johnston2014-12-161-1/+1
| |
* | Start creating a module to do generic notifications (just prints them to ↵David Baker2014-11-191-1/+2
|/ | | | stdout currently!)
* SYN-48: Implement WHOIS rest servletErik Johnston2014-09-291-1/+3
|
* Add support for TURN servers as per the TURN REST API ↵David Baker2014-09-231-1/+2
| | | | (http://tools.ietf.org/html/draft-uberti-behave-turn-rest-00)
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-031-1/+1
| | | | hasn't been incorporated in time for launch.
* Renamed /public/rooms to /publicRoomsKegan Dougal2014-08-271-3/+1
|
* Renaming: /im/sync >> /initialSync. /rooms/$roomid/members/list >> ↵Kegan Dougal2014-08-261-2/+3
| | | | /rooms/$roomid/members. /rooms$roomid/messages/list >> /room/$roomid/messages. Updated cmdclient, tests and webclient.
* Make federation use resource_for_federation as well.Kegan Dougal2014-08-141-2/+1
|
* Start phasing out HttpServer: we should be using Resources instead. Added ↵Kegan Dougal2014-08-141-14/+10
| | | | resource_for_client/federation/web_client to the HomeServer and hooked the C-S servlets to operate on resource_for_client. Dynamically construct the Resource tree.
* Added a -w flag which will host the web client if specified. Currently this ↵Kegan Dougal2014-08-131-1/+7
| | | | just delegates to the webclient RestServlet.
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-131-0/+1
|
* actually register the login servlet (uncommitted code thinko?)Matthew Hodgson2014-08-131-3/+2
|
* Reference Matrix Home Servermatrix.org2014-08-121-0/+44