Commit Graph

112 Commits (967ce43b59e90f36c21f3a493bc81ab4e57dae69)

Author SHA1 Message Date
Mark Haines d56e389a95 Fix pyflakes warnings 10 years ago
David Baker 51edfeb3d0 Coturn's timestamps are in seconds, not milliseconds 10 years ago
Erik Johnston 5ffe5ab43f Use state groups to get current state. Make join dance actually work. 10 years ago
Paul "LeoNerd" Evans 13b560971e Make sure to return an empty JSON object ({}) from presence PUT/POST requests rather than an empty string ("") because most deserialisers won't like the latter 10 years ago
Erik Johnston e06adc6d7e SYN-2: Allow server admins to delete room aliases 10 years ago
Erik Johnston 1132663cc7 SYN-48: Fix typo. Get the whois for requested user rather tahan the requester 10 years ago
Erik Johnston 3ccb17ce59 SYN-48: Implement WHOIS rest servlet 10 years ago
Erik Johnston 0fdf308874 Track the IP users connect with. Add an admin column to users table. 10 years ago
David Baker a31bf77776 Make turn server endpoint return an empty object if no turn servers to 10 years ago
David Baker 7dc7c53029 The REST API spec only alows for returning a single server so name the 10 years ago
David Baker 4553651138 Oops 10 years ago
David Baker 5383ba5587 rename endpoint to better reflect what it is and allow specifying multiple uris 10 years ago
Erik Johnston 70899d3ab2 Rename deletions to redactions 10 years ago
David Baker b42b0d3fe5 Use standard base64 encoding with padding to get the same result as 10 years ago
Paul "LeoNerd" Evans a7d53227de Bugfix for older Pythons that lack hmac.compare_digest() 10 years ago
David Baker c96ab4fcbb The config is not hierarchical 10 years ago
David Baker 14ed6799d7 Add support for TURN servers as per the TURN REST API (http://tools.ietf.org/html/draft-uberti-behave-turn-rest-00) 10 years ago
Paul "LeoNerd" Evans c03176af59 Send an HMAC(SHA1) protecting the User ID for the ReCAPTCHA bypass, rather than simply the secret itself, so it's useless if that HMAC leaks 10 years ago
Kegan Dougal 0c4ae63ad5 Implemented /rooms/$roomid/state API. 10 years ago
Erik Johnston 78af6bbb98 Add m.room.deletion. If an event is deleted it will be returned to clients 'pruned', i.e. all client specified keys will be removed. 10 years ago
Paul "LeoNerd" Evans 537c7e1137 Config values are almost never 'None', but they might be empty string. Detect their presence by truth 10 years ago
Paul "LeoNerd" Evans 5f16439752 Make sure the config actually /has/ a captcha_bypass_secret set before trying to compare it 10 years ago
Paul "LeoNerd" Evans 3a8a94448a Allow a (hidden undocumented) key to m.login.recaptcha to specify a shared secret to allow bots to bypass the ReCAPTCHA test (SYN-60) 10 years ago
Kegan Dougal c099b36af3 Comment out password reset for now, until the mechanism is fully discussed (IS token auth vs HS auth) 10 years ago
Kegan Dougal 5f30a69a9e Added PasswordResetRestServlet. Hit the IS to confirm the email/user. Need to send email. 10 years ago
Kegan Dougal 34d7896b06 More helpful 400 error messages. 10 years ago
Kegan Dougal 2c00e1ecd9 Be consistent when associating keys with login types for registration/login. 10 years ago
Kegan Dougal 04fbda46dd Make captcha work again with the new registration logic. 10 years ago
Erik Johnston 5bd9369a62 Correctly handle the 'age' key in events and pdus 10 years ago
Kegan Dougal 285ecaacd0 Split out password/captcha/email logic. 10 years ago
Kegan Dougal 34878bc26a Added LoginType constants. Created general structure for processing registrations. 10 years ago
Kegan Dougal 3ea6f01b4e 80 chars please 10 years ago
Kegan Dougal 37e53513b6 Add config opion for XFF headers when performing ReCaptcha auth. 10 years ago
Kegan Dougal 1829b55bb0 Captchas now work on registration. Missing x-forwarded-for config arg support. Missing reloading a new captcha on the web client / displaying a sensible error message. 10 years ago
Kegan Dougal 0b9e1e7b56 Added a captcha config to the HS, to enable registration captcha checking and for the recaptcha private key. 10 years ago
Erik Johnston 9dd4570b68 Generate m.room.aliases event when the HS creates a room alias 10 years ago
Erik Johnston 982604fbf2 Empty string is not a valid JSON object, so don't return them in HTTP responses. 10 years ago
David Baker d6ecbbdf0a Add support for registering with a threepid to the HS (get credentials from the client and check them against an ID server). 10 years ago
Erik Johnston 1b491e50c9 Implement a kick api 10 years ago
Matthew Hodgson 8a7c1d6a00 fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch. 10 years ago
Kegan Dougal beaf50f5c6 Bubble up SynapseErrors so expected failures aren't masked. 10 years ago
Kegan Dougal 581c54bebe Add exception handling to directory servlet, so we don't 500. Mark directory API as volatile in the api docs. 10 years ago
Erik Johnston 30bcbc433a Fix up directory server to not require uploading room hosts. Update the room hosts table with the current room hosts (if we have them) on GET. 10 years ago
Paul "LeoNerd" Evans cda31fb755 Kill the state 10 years ago
Kegan Dougal dfea1730dc apidocs: mtime_age > last_active_ago. Presence REST: Sanity check values in invite/drop arrays. 10 years ago
Kegan Dougal 10afd895c4 Edited /presence REST servlet to raise SynapseErrors to return a standard error response, rather than a string. 10 years ago
Kegan Dougal acfabfff9c Fixed /presence APIs to urldecode user IDs. 10 years ago
Kegan Dougal 2385d396c3 URL decode user IDs for /profile REST path segments. 10 years ago
Kegan Dougal c77add6d21 Add ban support: /rooms/$roomid/ban with { user_id : foo } 10 years ago
Paul "LeoNerd" Evans aa337f588c Order matters when adding REST servlets 10 years ago