Commit Graph

219 Commits (7e282a53a542832f44119b886b2d4d474bbe1d0f)

Author SHA1 Message Date
Mark Haines bb04447c44 Include hashes of previous pdus when referencing them 10 years ago
Erik Johnston 1116f5330e Start implementing the invite/join dance. Continue moving auth to use event.state_events 10 years ago
Mark Haines 1c445f88f6 persist hashes and origin signatures for PDUs 10 years ago
Erik Johnston e7bc1291a0 Begin making auth use event.old_state_events 10 years ago
Mark Haines 07639c79d9 Respond with more helpful error messages for unsigned requests 10 years ago
Erik Johnston 7151615260 Update docstring 10 years ago
Erik Johnston 3ccb17ce59 SYN-48: Implement WHOIS rest servlet 10 years ago
Erik Johnston c65306f877 Add auth check to test if a user is an admin or not. 10 years ago
Erik Johnston f7d80930f2 SYN-48: Track User-Agents as well as IPs for client devices. 10 years ago
Erik Johnston 0fdf308874 Track the IP users connect with. Add an admin column to users table. 10 years ago
Erik Johnston dcadfbbd4a Don't strip out null's in serialized events, as that is not need anymore and it's not in the spec (yet) 10 years ago
Erik Johnston 69ddec6589 Don't strip of False values from events when serializing 10 years ago
Erik Johnston 327dcc98e3 SYN-70: And fix another bug where I can't type 10 years ago
Erik Johnston 87deaf1658 SYN-70: Fix typo 10 years ago
Erik Johnston 70899d3ab2 Rename deletions to redactions 10 years ago
Erik Johnston 4e79b09dd9 Fill out the prune_event method. 10 years ago
Mark Haines e3117a2a23 Add a _matrix/key/v1 resource with the verification keys of the local server 10 years ago
Erik Johnston efea61dc50 Rename 'pruned' to 'pruned_because' 10 years ago
Erik Johnston bc250a6afa SYN-12: Implement auth for deletion by adding a 'delete_level' on the ops levels event 10 years ago
Erik Johnston 932b376b4e Add prune_event method 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 9973298e2a Print expected-vs-actual data types on typecheck failure from check_json() 10 years ago
Erik Johnston 1e4b971f95 Fix bug where we didn't always get 'prev_content' key 10 years ago
Erik Johnston 40d2f38abe Fix bug where we incorrectly calculated 'age_ts' from 'age' key rather than the reverse. Don't transmit age_ts to clients for now. 10 years ago
Erik Johnston 5bd9369a62 Correctly handle the 'age' key in events and pdus 10 years ago
Kegan Dougal 34878bc26a Added LoginType constants. Created general structure for processing registrations. 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
Erik Johnston 6d19fe1481 Fix generation of event ids so that they are consistent between local and remote ids 10 years ago
Erik Johnston 781ff713ba When getting a state event also include the previous content 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 480438eee6 Validate power levels event changes. Change error messages to be more helpful. Fix bug where we checked the wrong power levels 10 years ago
Erik Johnston 9dd4570b68 Generate m.room.aliases event when the HS creates a room alias 10 years ago
Erik Johnston 250ee2ea7d AUth the contents of power level events 10 years ago
Erik Johnston 95037d8d9d Change the default power levels to be 0, 50 and 100 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 cd0afb85c4 Updated feedback api docs and fixed feedback content template bug 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 c7a7cdf734 Add ratelimiting function to basehandler 10 years ago
Mark Haines dd2cd9312a Test ratelimiter 10 years ago
Erik Johnston 4b8244fbf8 Fix bug where we didn't correctly store the ops power levels event. 10 years ago
Mark Haines 436b3c7d0c Ratelimiter object 10 years ago
Erik Johnston db02021aba Implement auth for kicking. 10 years ago
Erik Johnston b8ab9f1c0a Add all the necessary checks to make banning work. 10 years ago
Erik Johnston db7109c43b Add beginnings of ban support. 10 years ago
Erik Johnston 865469f233 Implement power level lists, default power levels and send_evnet_level/add_state_level events. 10 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. 10 years ago
Erik Johnston d2bc5d6f29 Create the correct events with the right configuration when creating a new room. 10 years ago
Mark Haines b30358f439 add _get_room_member, fix datastore methods 10 years ago