Commit Graph

65 Commits (1829b55bb0d75d29475ac84eeb3e37cad8b334c7)

Author SHA1 Message Date
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. 11 years ago
Kegan Dougal 0b9e1e7b56 Added a captcha config to the HS, to enable registration captcha checking and for the recaptcha private key. 11 years ago
Erik Johnston 250ee2ea7d AUth the contents of power level events 11 years ago
Erik Johnston 95037d8d9d Change the default power levels to be 0, 50 and 100 11 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. 11 years ago
Kegan Dougal cd0afb85c4 Updated feedback api docs and fixed feedback content template bug 11 years ago
Mark Haines c6eafdfbaf Add copyright notices and fix pyflakes errors 11 years ago
Mark Haines 112c7ea315 Set status message for ratelimit error responses 11 years ago
Mark Haines 683596f91e Raise LimitExceedError when the ratelimiting is throttling requests 11 years ago
Mark Haines c7a7cdf734 Add ratelimiting function to basehandler 11 years ago
Mark Haines dd2cd9312a Test ratelimiter 11 years ago
Erik Johnston 4b8244fbf8 Fix bug where we didn't correctly store the ops power levels event. 11 years ago
Mark Haines 436b3c7d0c Ratelimiter object 11 years ago
Erik Johnston db02021aba Implement auth for kicking. 11 years ago
Erik Johnston b8ab9f1c0a Add all the necessary checks to make banning work. 11 years ago
Erik Johnston db7109c43b Add beginnings of ban support. 11 years ago
Erik Johnston 865469f233 Implement power level lists, default power levels and send_evnet_level/add_state_level events. 11 years ago
Matthew Hodgson 8fe912d95c change the world: make the default matrix API URL prefix /_matrix rather than /matrix to make it easier for existing websites to mount a HS in their namespace without collisions. 11 years ago
Erik Johnston d2bc5d6f29 Create the correct events with the right configuration when creating a new room. 11 years ago
Mark Haines b30358f439 add _get_room_member, fix datastore methods 11 years ago
Kegan Dougal dfa0cd1d90 Modified /join/$identifier to support $identifier being a room ID in addition to a room alias. 11 years ago
Erik Johnston 3a2a5b959c WIP: Completely change how event streaming and pagination work. This reflects the change in the underlying storage model. 11 years ago
Kegan Dougal 5a3df1d029 Feedback: Removed FeedbackRestServlet. Modified keys on FeedbackEvent. Expanded the feedback constants to fully explain what type of feedback they are. 11 years ago
Mark Haines ac21dfff6d Fix pyflakes errors 11 years ago
Erik Johnston fea7b60cf3 Add 'state_key' to valid_keys 11 years ago
Erik Johnston b52b33acf6 Send down state_key to clients 11 years ago
Kegan Dougal cab3095803 Removed member list servlet: now using generic state paths. 11 years ago
Mark Haines 1379dcae6f Take a snapshot of the state of the room before performing updates 11 years ago
Kegan Dougal f690b7b827 Impl: /rooms/roomid/state/eventtype/state_key - Renamed RoomTopicRestServlet to RoomStateEventRestServlet. Support generic state event sending. 11 years ago
Erik Johnston 5670da1c1e Add ts field to all events. 11 years ago
Erik Johnston 063e1b22e6 Stop internal keys from getting into SynapseEvents 11 years ago
Erik Johnston 81a95937de Use new StreamToken in pagination config 11 years ago
Erik Johnston 7c60905ee7 Default from param to 'END' 11 years ago
Erik Johnston 598a1d8ff9 Change the way pagination works to support out of order events. 11 years ago
Kegan Dougal a18b1a649c Added /matrix/content path, HS resource_for_content_repo attribute and FileUploadResource. Added stub methods. 11 years ago
Erik Johnston 291010f100 Not all event streams returns SynapseEvents 11 years ago
Erik Johnston 1a1e0384ef Ensure we have a 'membership' key in RoomMemberEvents 11 years ago
Erik Johnston d260a42ca2 PEP8 cleanups 11 years ago
Erik Johnston 19946509a4 Support generic events. 11 years ago
Erik Johnston 01f089d9fb Correctly return new token when returning events. Serialize events correctly. 11 years ago
Erik Johnston 114984a236 Start chagning the events stream to work with the new DB schema 11 years ago
Paul "LeoNerd" Evans 33d62c2c66 Remember to reflect membership LEAVE events to the leaving member so they know it happened 11 years ago
Erik Johnston 5002efa31b Reimplement the get public rooms api to work with new DB schema 11 years ago
Kegan Dougal 61933f8e52 Added M_UNKNOWN_TOKEN error code and send it when there is an unrecognised access_token 11 years ago
Kegan Dougal 2a793a6c42 Default error code BAD_PAGINATION for EventStreamErrors 11 years ago
Kegan Dougal d253a35539 Added web client prefix 11 years ago
Kegan Dougal c75add6ec8 Added a urls module for keeping client and federation prefixes. 11 years ago
Matthew Hodgson aebe5ce08a fix whitespace 11 years ago
Erik Johnston 6df83555cc Handle a potential race in the notifier when calling get_events_for which resulted in an uncaught KeyError 11 years ago
Paul "LeoNerd" Evans 55944ccf72 Use strings instead of opaque magic-number constants for presence states; rename AWAY to UNAVAILABLE 11 years ago