summary refs log tree commit diff
path: root/synapse/rest (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add config opion for XFF headers when performing ReCaptcha auth.Kegan Dougal2014-09-051-2/+5
|
* Captchas now work on registration. Missing x-forwarded-for config arg ↵Kegan Dougal2014-09-051-3/+26
| | | | support. Missing reloading a new captcha on the web client / displaying a sensible error message.
* Added a captcha config to the HS, to enable registration captcha checking ↵Kegan Dougal2014-09-051-1/+5
| | | | and for the recaptcha private key.
* Empty string is not a valid JSON object, so don't return them in HTTP responses.Erik Johnston2014-09-053-7/+7
|
* Merge branch 'develop' of github.com:matrix-org/synapse into developDavid Baker2014-09-0311-29/+67
|\ | | | | | | | | Conflicts: synapse/http/client.py
| * Implement a kick apiErik Johnston2014-09-031-2/+5
| |
| * fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-0311-11/+11
| | | | | | | | hasn't been incorporated in time for launch.
| * Bubble up SynapseErrors so expected failures aren't masked.Kegan Dougal2014-09-031-0/+2
| |
| * Add exception handling to directory servlet, so we don't 500. Mark directory ↵Kegan Dougal2014-09-031-2/+16
| | | | | | | | API as volatile in the api docs.
| * Fix up directory server to not require uploading room hosts. Update the room ↵Erik Johnston2014-09-031-1/+1
| | | | | | | | hosts table with the current room hosts (if we have them) on GET.
| * Kill the statePaul "LeoNerd" Evans2014-09-031-5/+1
| | | | | | | | ... key from all the Presence messages
| * apidocs: mtime_age > last_active_ago. Presence REST: Sanity check values in ↵Kegan Dougal2014-09-031-0/+8
| | | | | | | | invite/drop arrays.
| * Edited /presence REST servlet to raise SynapseErrors to return a standard ↵Kegan Dougal2014-09-031-7/+12
| | | | | | | | error response, rather than a string.
| * Fixed /presence APIs to urldecode user IDs.Kegan Dougal2014-09-031-1/+5
| |
| * URL decode user IDs for /profile REST path segments.Kegan Dougal2014-09-031-0/+6
| |
* | Add support for registering with a threepid to the HS (get credentials from ↵David Baker2014-09-031-1/+6
|/ | | | the client and check them against an ID server).
* Add ban support: /rooms/$roomid/ban with { user_id : foo }Kegan Dougal2014-09-031-2/+2
|
* Order matters when adding REST servletsPaul "LeoNerd" Evans2014-09-021-21/+21
|
* Add rest endpoint for the whole user profileDavid Baker2014-09-021-0/+21
|
* Rename 'state' presence key to the much more obvious 'presence'; maintain a ↵Paul "LeoNerd" Evans2014-09-011-1/+5
| | | | legacy 'state' copy for now
* Support multiple login flows when deciding how to login. Updated cmdclient ↵Kegan Dougal2014-08-281-1/+1
| | | | and spec. Webclient doesn't need updating for this.
* Merge branch 'develop' of github.com:matrix-org/synapse into developErik Johnston2014-08-271-0/+46
|\
| * Added RestServlet for /rooms/$roomid/initialSyncKegan Dougal2014-08-271-0/+30
| |
| * Added RestServlet for /rooms/$roomid/stateKegan Dougal2014-08-271-0/+16
| |
* | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-274-37/+14
|\|
| * Renamed /ds to /directoryKegan Dougal2014-08-271-1/+1
| |
| * Renamed /public/rooms to /publicRoomsKegan Dougal2014-08-273-36/+13
| |
* | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-273-31/+81
|\| | | | | | | | | | | | | Conflicts: synapse/handlers/events.py synapse/rest/events.py synapse/rest/room.py
| * Final url modifications: renamed /presence_list to /presence/list to keep ↵Kegan Dougal2014-08-271-1/+1
| | | | | | | | the top-level namespace clean. Updated tests.
| * Renamed /rooms to /createRoom. Removed ability to PUT raw room IDs, and ↵Kegan Dougal2014-08-271-17/+14
| | | | | | | | removed tests which tested that. Updated cmdclient and webclient.
| * Added support for GET /events/$eventid with auth checks.Kegan Dougal2014-08-271-0/+17
| |
| * Modified /join/$identifier to support $identifier being a room ID in ↵Kegan Dougal2014-08-271-13/+50
| | | | | | | | addition to a room alias.
* | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-262-112/+47
|\|
| * Pepper UT TODOsKegan Dougal2014-08-262-0/+6
| |
| * Feedback: Removed FeedbackRestServlet. Modified keys on FeedbackEvent. ↵Kegan Dougal2014-08-261-70/+0
| | | | | | | | Expanded the feedback constants to fully explain what type of feedback they are.
| * Removed MessageRestServlet, use RoomSendEventRestServlet instead. Updated ↵Kegan Dougal2014-08-261-49/+0
| | | | | | | | cmdclient, tests and webclient. All appears to work.
| * Added RoomSendEventRestServlet to send generic non-state events. It even ↵Kegan Dougal2014-08-261-2/+50
| | | | | | | | appears to work..!
* | WIP: Completely change how event streaming and pagination work. This ↵Erik Johnston2014-08-263-3/+5
|/ | | | reflects the change in the underlying storage model.
* Renaming: /im/sync >> /initialSync. /rooms/$roomid/members/list >> ↵Kegan Dougal2014-08-263-7/+8
| | | | /rooms/$roomid/members. /rooms$roomid/messages/list >> /room/$roomid/messages. Updated cmdclient, tests and webclient.
* Fix pyflakes errorsMark Haines2014-08-261-1/+1
|
* Implemented /rooms/$roomid/[invite|join|leave] with POST / PUT (incl txn ids)Kegan Dougal2014-08-262-8/+35
|
* Added basic in-memory REST transaction storage. Only the latest transaction ↵Kegan Dougal2014-08-263-2/+103
| | | | for a given path/access_token combo is stored in order to prevent storing ALL request/response pairs.
* Added servlet for /rooms/$roomid/[invite|join|leave]Kegan Dougal2014-08-261-0/+40
|
* Adjusted webclient to use new state paths. Updated membership msg template ↵Kegan Dougal2014-08-261-1/+2
| | | | to actually show the person invited. Factored out common membership functions in matrix service.
* Merge branch 'develop' of github.com:matrix-org/synapse into ↵Kegan Dougal2014-08-261-2/+2
|\ | | | | | | client_server_url_rename
| * Encode unicode from json as utf-8. This was required to allow people to ↵Erik Johnston2014-08-241-2/+2
| | | | | | | | register on my laptop
* | Removed member list servlet: now using generic state paths.Kegan Dougal2014-08-261-81/+22
| |
* | Impl: /rooms/roomid/state/eventtype/state_key - Renamed RoomTopicRestServlet ↵Kegan Dougal2014-08-221-12/+35
|/ | | | to RoomStateEventRestServlet. Support generic state event sending.
* Kill the "_homeserver_" injected messages for room membership changesPaul "LeoNerd" Evans2014-08-201-2/+2
|
* Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-191-8/+10
|\ | | | | | | | | | | | | Conflicts: tests/rest/test_presence.py tests/rest/test_rooms.py tests/utils.py
| * More unquotes. Also, don't return the room_id on membership state changes, ↵Kegan Dougal2014-08-191-6/+8
| | | | | | | | they already know it.
| * Unquote sender IDs.Kegan Dougal2014-08-191-2/+2
| |
* | Add a 'backfill room' buttonErik Johnston2014-08-191-0/+16
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-182-5/+9
|\|
| * Update the default longpoll timeout time.Kegan Dougal2014-08-181-1/+1
| |
| * Precent lack of presence visiblity from causing room /members/list to failPaul "LeoNerd" Evans2014-08-181-4/+8
| |
* | We don't need to do a json.loads hereErik Johnston2014-08-181-2/+2
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-151-0/+7
|\|
| * Also include users' presence when responding to /rooms/:room_id/members/listPaul "LeoNerd" Evans2014-08-151-0/+7
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-154-62/+19
|\| | | | | | | | | Conflicts: synapse/storage/stream.py
| * Pass back the user_id in the response to /login in case it has changed. ↵Kegan Dougal2014-08-141-0/+6
| | | | | | | | Store and use that on the webclient rather than the input field.
| * Added a urls module for keeping client and federation prefixes.Kegan Dougal2014-08-141-2/+1
| |
| * Make federation use resource_for_federation as well.Kegan Dougal2014-08-142-47/+1
| |
| * Start phasing out HttpServer: we should be using Resources instead. Added ↵Kegan Dougal2014-08-142-15/+13
| | | | | | | | 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.
* | Start fixing places that use the data store.Erik Johnston2014-08-141-18/+21
|/
* Implement directory service federation by Federation Queries; avoid ↵Paul "LeoNerd" Evans2014-08-131-7/+1
| | | | local_only hack; add unit tests
* Add a HomeServer.parse_roomalias() to avoid having to ↵Paul "LeoNerd" Evans2014-08-132-13/+6
| | | | RoomAlias.from_sring(..., hs=hs) - similar to parse_userid()
* Now that HS->HS Profile lookups use Federation Queries, we don't need the ↵Paul "LeoNerd" Evans2014-08-131-2/+0
| | | | 'local_only' antirecursion hack
* Added a -w flag which will host the web client if specified. Currently this ↵Kegan Dougal2014-08-133-43/+52
| | | | just delegates to the webclient RestServlet.
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-1311-0/+11
|
* actually register the login servlet (uncommitted code thinko?)Matthew Hodgson2014-08-131-3/+2
|
* Reference Matrix Home Servermatrix.org2014-08-1211-0/+1129