Commit Graph

530 Commits (c5a25f610ab37f020038299a7e82ebb0424396ee)

Author SHA1 Message Date
Erik Johnston c9d1ee24ca Import SynapseError 10 years ago
Erik Johnston 9b18151104 Handle timeouts slightly nicer. 10 years ago
Erik Johnston 5b645f9d34 Don't do auth for change_membership in federation handler, it doesn't work and federation doesn't do auth in general either. Add a hacky timeout when trying to join a remote room. 10 years ago
Erik Johnston dce6395395 When creating a room and a user supplies a room_alias but no name, use the room_alias as the name. 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
Paul "LeoNerd" Evans d703e712f7 Add support to _simple_insert() to do INSERT OR REPLACE 10 years ago
Erik Johnston 1b491e50c9 Implement a kick api 10 years ago
Paul "LeoNerd" Evans 4081413876 Default PID file should be 'homeserver.pid' to match the other 'homeserver.*' naming convention 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
Mark Haines ee2bcdec65 Limit the size of uploads 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
Erik Johnston b5f9d47c89 Handle new state events which don't have a common ancestor 10 years ago
Erik Johnston e4c40158c5 Snapshot prev_state for generic events 10 years ago
Paul "LeoNerd" Evans cda31fb755 Kill the state 10 years ago
Paul "LeoNerd" Evans dada11dc5f Bugfix for back-pagination of presence 10 years ago
Kegan Dougal 7fc84c7019 Make retrying requests on DNS failures configurable, and turn off retrying only in directory.get_association 10 years ago
Paul "LeoNerd" Evans 756e171ad0 Store SQL DDL deltas as well; attempt to upgrade the database on startup if it's too old 10 years ago
Kegan Dougal b1195c125f hs: Updated synapse.http.client to handle DNSLookupErrors and bail immediately. 10 years ago
Paul "LeoNerd" Evans da31b96b55 Implement presence state visibilty limiting when polling eventsource for stream 10 years ago
Paul "LeoNerd" Evans 86d6232236 Don't eat federation transmit errors during unit tests; fix remote presence EDU-sending test because of this 10 years ago
Paul "LeoNerd" Evans 061e814195 Make sure to print exceptions properly from notifier failures 10 years ago
Kegan Dougal cd0afb85c4 Updated feedback api docs and fixed feedback content template bug 10 years ago
Kegan Dougal dfea1730dc apidocs: mtime_age > last_active_ago. Presence REST: Sanity check values in invite/drop arrays. 10 years ago
Erik Johnston bc21350298 Add option to change content repo location 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 c54d8df504 Update API docs to use 'presence' key not 'state'. Fixed error messages when setting presence. 10 years ago
Kegan Dougal acfabfff9c Fixed /presence APIs to urldecode user IDs. 10 years ago
Kegan Dougal 65693e9e15 Fixed GET /events/$id to be not broken. 10 years ago
Mark Haines bf10cf5f1a move contentrepo class to it's own file 10 years ago
Kegan Dougal 2385d396c3 URL decode user IDs for /profile REST path segments. 10 years ago
Paul "LeoNerd" Evans da3e04df8b Rename the 'do_users_share_a_room' to something slightly less verb-sounding 10 years ago
Paul "LeoNerd" Evans 967b45bc1a Allow optional non-suppression of exceptions through the Distributor 10 years ago
Paul "LeoNerd" Evans ddf3ca7ab3 Neater is_presence_visible() code 10 years ago
Kegan Dougal c77add6d21 Add ban support: /rooms/$roomid/ban with { user_id : foo } 10 years ago
Mark Haines c6eafdfbaf Add copyright notices and fix pyflakes errors 10 years ago
Mark Haines 112c7ea315 Set status message for ratelimit error responses 10 years ago
Mark Haines 683596f91e Raise LimitExceedError when the ratelimiting is throttling requests 10 years ago
Mark Haines 780548b577 rate limiting for message sending 10 years ago
Mark Haines 0a1260b03a Add ratelimiting config 10 years ago
Mark Haines c7a7cdf734 Add ratelimiting function to basehandler 10 years ago
Erik Johnston e166e29e87 Bump version and changelog 10 years ago
Erik Johnston 235f686da9 Update default endpoint port to match the default ports in the config 10 years ago
Mark Haines dd2cd9312a Test ratelimiter 10 years ago
Paul "LeoNerd" Evans aa337f588c Order matters when adding REST servlets 10 years ago
Erik Johnston 4b8244fbf8 Fix bug where we didn't correctly store the ops power levels event. 10 years ago
David Baker 5c778f2f15 Add rest endpoint for the whole user profile 10 years ago
Paul "LeoNerd" Evans d9d6fbb085 Safer handling of incoming presence EDUs that may or maynot contain 'presence' or 'state' 10 years ago
Mark Haines 436b3c7d0c Ratelimiter object 10 years ago