summary refs log tree commit diff
path: root/synapse/rest (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add appservice handler and store. Glue together rest > handler > store.Kegan Dougal2015-01-272-3/+8
* Parse /register and /unregister request JSON.Kegan Dougal2015-01-271-2/+78
* Add stub application services REST API.Kegan Dougal2015-01-274-0/+127
* Pass the current time to serialize event, rather than passing anMark Haines2015-01-262-2/+15
* Add client v2_alpha resource to synapse server resource treeMark Haines2015-01-232-0/+67
* Extract the client v1 base RestServlet to a separate classMark Haines2015-01-2311-72/+44
* Replace hs.parse_roomalias with RoomAlias.from_stringMark Haines2015-01-232-6/+7
* Replace hs.parse_roomid with RoomID.from_stringMark Haines2015-01-231-2/+2
* Replace hs.parse_userid with UserID.from_stringMark Haines2015-01-234-16/+21
* Merge rest servlets into the client json resource objectMark Haines2015-01-231-11/+7
* Move rest APIs back under the rest directoryMark Haines2015-01-2226-0/+3059
* Move client v1 api rest servlets into a "client/v1" directoryMark Haines2015-01-2213-1783/+0
* Have /join/:room_id return the room ID in response anyway, for consistency of...Paul "LeoNerd" Evans2015-01-131-1/+1
* Add raw query param for scrollback.Kegan Dougal2015-01-081-1/+4
* Return the raw federation event rather than adding extra keys for federation ...Kegan Dougal2015-01-082-4/+4
* Add 'raw' query parameter to expose the event graph and signatures to savvy c...Kegan Dougal2015-01-082-2/+8
* Update copyright noticesMark Haines2015-01-0613-13/+13
* clean up coding style a bitMark Haines2014-12-162-3/+6
* Kill off synapse.api.events.*Erik Johnston2014-12-163-8/+5
* Rename MessageHandler.handle_event. Add a few comments.Erik Johnston2014-12-151-5/+5
* Merge branch 'develop' of github.com:matrix-org/synapse into events_refactorErik Johnston2014-12-151-0/+32
|\
| * Initial tiny hack at REST API for setting room typing notification statusPaul "LeoNerd" Evans2014-12-111-0/+32
* | Remove unused importsErik Johnston2014-12-123-3/+0
* | Consistently url decode and decode as utf 8 the URL partsErik Johnston2014-12-124-42/+24
* | Actually fix bug when uploading state with empty state_keyErik Johnston2014-12-101-2/+2
* | Fix bug when uploading state with empty state_keyErik Johnston2014-12-101-9/+11
* | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactorErik Johnston2014-12-101-1/+1
|\|
| * track replication destination health, and perform exponential back-off when s...Matthew Hodgson2014-12-071-1/+1
* | Fix registrationErik Johnston2014-12-081-1/+3
* | Convert rest and handlers to use new event structureErik Johnston2014-12-042-65/+49
* | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactorErik Johnston2014-12-031-1/+3
|\|
| * Allow GET /room/:room_id/messages without 'limit' parameter to default to 10Paul "LeoNerd" Evans2014-12-021-1/+3
* | Change DomainSpecificString so that it doesn't use a HomeServer objectErik Johnston2014-12-023-5/+5
|/
* Don't double url-decode state event types.Kegan Dougal2014-11-251-1/+1
* Fix pep8 and pyflakes warningsMark Haines2014-11-201-1/+3
* Merge branch 'develop' into http_client_refactorDavid Baker2014-11-202-9/+6
|\
| * Fix pep8 codestyle warningsMark Haines2014-11-201-1/+0
| * Add a few missing yields, Move deferred lists inside PreserveLoggingContext b...Mark Haines2014-11-201-8/+6
* | Separate out the matrix http client completely because just about all of its ...David Baker2014-11-201-0/+3
|/
* Remember also to UTF-8 decode bytes in room alias names in directory server URLsPaul "LeoNerd" Evans2014-11-181-3/+9
* Remember to URL decode the room_id in room initialSyncPaul "LeoNerd" Evans2014-11-181-1/+1
* Ensure to parse a real pagination config object out of room initialSync reque...Paul "LeoNerd" Evans2014-11-181-2/+4
* Rename message handler's new snapshot_room to room_initial_sync() as that bet...Paul "LeoNerd" Evans2014-11-181-1/+1
* Merge remote-tracking branch 'origin/develop' into room-initial-syncPaul "LeoNerd" Evans2014-11-181-1/+3
|\
| * Split out sending the room alias events from creating the alias so that we ca...Mark Haines2014-11-181-1/+3
* | Merge branch 'develop' into room-initial-syncPaul "LeoNerd" Evans2014-11-173-13/+43
|\|
| * Add an EventValidator. Fix bugs in auth ++ storageErik Johnston2014-11-102-0/+15
| * Merge branch 'develop' of github.com:matrix-org/synapse into federation_autho...Erik Johnston2014-11-071-3/+3
| |\
| * | Implement new replace_state and changed prev_stateErik Johnston2014-11-061-1/+1
| * | Merge branch 'develop' of github.com:matrix-org/synapse into federation_autho...Erik Johnston2014-10-305-60/+84
| |\ \
| * \ \ Merge branch 'event_signing' of github.com:matrix-org/synapse into federation...Erik Johnston2014-10-271-1/+1
| |\ \ \
| * \ \ \ Merge branch 'develop' of github.com:matrix-org/synapse into federation_autho...Erik Johnston2014-10-272-3/+3
| |\ \ \ \
| * | | | | Use state groups to get current state. Make join dance actually work.Erik Johnston2014-10-172-12/+27
* | | | | | Have room initialSync return the room's room_idPaul "LeoNerd" Evans2014-11-101-21/+6
| |_|_|_|/ |/| | | |
* | | | | Fix url decoding bugs with /redact and /send APIs.Kegan Dougal2014-11-051-2/+2
* | | | | Be sure to urlencode/decode event types correctly in both the web client and HS.Kegan Dougal2014-11-051-1/+1
| |_|_|/ |/| | |
* | | | Fix pep8 warningsMark Haines2014-10-305-60/+84
| |_|/ |/| |
* | | Fix pyflakes warningsMark Haines2014-10-271-1/+1
| |/ |/|
* | Coturn's timestamps are in seconds, not millisecondsDavid Baker2014-10-211-1/+1
* | Make sure to return an empty JSON object ({}) from presence PUT/POST requests...Paul "LeoNerd" Evans2014-10-141-2/+2
|/
* SYN-2: Allow server admins to delete room aliasesErik Johnston2014-09-301-1/+19
* SYN-48: Fix typo. Get the whois for requested user rather tahan the requesterErik Johnston2014-09-291-1/+1
* SYN-48: Implement WHOIS rest servletErik Johnston2014-09-292-1/+50
* Track the IP users connect with. Add an admin column to users table.Erik Johnston2014-09-261-7/+1
* Merge branch 'deletions' of github.com:matrix-org/synapse into developErik Johnston2014-09-251-1/+37
|\
| * Rename deletions to redactionsErik Johnston2014-09-241-6/+6
| * Add m.room.deletion. If an event is deleted it will be returned to clients 'p...Erik Johnston2014-09-231-1/+37
* | Merge branch 'turn' into developDavid Baker2014-09-252-1/+62
|\ \
| * | Make turn server endpoint return an empty object if no turn servers toDavid Baker2014-09-251-1/+1
| * | The REST API spec only alows for returning a single server so name theDavid Baker2014-09-241-1/+1
| * | OopsDavid Baker2014-09-241-1/+1
| * | rename endpoint to better reflect what it is and allow specifying multiple urisDavid Baker2014-09-241-5/+3
| * | Use standard base64 encoding with padding to get the same result asDavid Baker2014-09-241-2/+5
| * | The config is not hierarchicalDavid Baker2014-09-231-3/+3
| * | Add support for TURN servers as per the TURN REST API (http://tools.ietf.org/...David Baker2014-09-232-1/+61
| |/
* | Bugfix for older Pythons that lack hmac.compare_digest()Paul "LeoNerd" Evans2014-09-231-1/+11
* | Merge branch 'jira/SYN-60' into developPaul "LeoNerd" Evans2014-09-231-5/+38
|\ \
| * | Send an HMAC(SHA1) protecting the User ID for the ReCAPTCHA bypass, rather th...Paul "LeoNerd" Evans2014-09-231-7/+26
| * | Config values are almost never 'None', but they might be empty string. Detect...Paul "LeoNerd" Evans2014-09-231-1/+1
| * | Make sure the config actually /has/ a captcha_bypass_secret set before trying...Paul "LeoNerd" Evans2014-09-231-2/+3
| * | Allow a (hidden undocumented) key to m.login.recaptcha to specify a shared se...Paul "LeoNerd" Evans2014-09-231-5/+18
| |/
* / Implemented /rooms/$roomid/state API.Kegan Dougal2014-09-231-6/+7
|/
* Comment out password reset for now, until the mechanism is fully discussed (I...Kegan Dougal2014-09-161-1/+1
* Added PasswordResetRestServlet. Hit the IS to confirm the email/user. Need to...Kegan Dougal2014-09-161-0/+22
* More helpful 400 error messages.Kegan Dougal2014-09-151-1/+5
* Be consistent when associating keys with login types for registration/login.Kegan Dougal2014-09-151-1/+1
* Merge branch 'develop' of github.com:matrix-org/synapse into registration-api...Kegan Dougal2014-09-152-2/+2
|\
| * Correctly handle the 'age' key in events and pdusErik Johnston2014-09-152-2/+2
* | Make captcha work again with the new registration logic.Kegan Dougal2014-09-151-0/+1
* | Split out password/captcha/email logic.Kegan Dougal2014-09-151-84/+153
* | Added LoginType constants. Created general structure for processing registrat...Kegan Dougal2014-09-151-20/+75
|/
* Added captcha support on both the HS and web client.Kegan Dougal2014-09-051-2/+34
|\
| * 80 chars pleaseKegan Dougal2014-09-051-2/+4
| * 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 support...Kegan Dougal2014-09-051-3/+26
| * Added a captcha config to the HS, to enable registration captcha checking and...Kegan Dougal2014-09-051-1/+5
* | Generate m.room.aliases event when the HS creates a room aliasErik Johnston2014-09-051-1/+4
|/
* 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
|\
| * Implement a kick apiErik Johnston2014-09-031-2/+5
| * fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has...Matthew Hodgson2014-09-0311-11/+11
| * 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
| * Fix up directory server to not require uploading room hosts. Update the room ...Erik Johnston2014-09-031-1/+1
| * Kill the statePaul "LeoNerd" Evans2014-09-031-5/+1
| * apidocs: mtime_age > last_active_ago. Presence REST: Sanity check values in i...Kegan Dougal2014-09-031-0/+8
| * Edited /presence REST servlet to raise SynapseErrors to return a standard err...Kegan Dougal2014-09-031-7/+12
| * 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 t...David Baker2014-09-031-1/+6
|/
* 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 l...Paul "LeoNerd" Evans2014-09-011-1/+5
* Support multiple login flows when deciding how to login. Updated cmdclient an...Kegan Dougal2014-08-281-1/+1
* 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
|\|
| * Final url modifications: renamed /presence_list to /presence/list to keep the...Kegan Dougal2014-08-271-1/+1
| * Renamed /rooms to /createRoom. Removed ability to PUT raw room IDs, and remov...Kegan Dougal2014-08-271-17/+14
| * 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 addition...Kegan Dougal2014-08-271-13/+50
* | 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. Expand...Kegan Dougal2014-08-261-70/+0
| * Removed MessageRestServlet, use RoomSendEventRestServlet instead. Updated cmd...Kegan Dougal2014-08-261-49/+0
| * Added RoomSendEventRestServlet to send generic non-state events. It even appe...Kegan Dougal2014-08-261-2/+50
* | WIP: Completely change how event streaming and pagination work. This reflects...Erik Johnston2014-08-263-3/+5
|/
* Renaming: /im/sync >> /initialSync. /rooms/$roomid/members/list >> /rooms/$ro...Kegan Dougal2014-08-263-7/+8
* 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 f...Kegan Dougal2014-08-263-2/+103
* 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 to...Kegan Dougal2014-08-261-1/+2
* Merge branch 'develop' of github.com:matrix-org/synapse into client_server_ur...Kegan Dougal2014-08-261-2/+2
|\
| * Encode unicode from json as utf-8. This was required to allow people to regis...Erik Johnston2014-08-241-2/+2
* | 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
|/
* 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
|\
| * More unquotes. Also, don't return the room_id on membership state changes, th...Kegan Dougal2014-08-191-6/+8
| * 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
|\|
| * Pass back the user_id in the response to /login in case it has changed. Store...Kegan Dougal2014-08-141-0/+6
| * 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 res...Kegan Dougal2014-08-142-15/+13
* | Start fixing places that use the data store.Erik Johnston2014-08-141-18/+21
|/
* Implement directory service federation by Federation Queries; avoid local_onl...Paul "LeoNerd" Evans2014-08-131-7/+1
* Add a HomeServer.parse_roomalias() to avoid having to RoomAlias.from_sring(.....Paul "LeoNerd" Evans2014-08-132-13/+6
* Now that HS->HS Profile lookups use Federation Queries, we don't need the 'lo...Paul "LeoNerd" Evans2014-08-131-2/+0
* Added a -w flag which will host the web client if specified. Currently this j...Kegan Dougal2014-08-133-43/+52
* 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