Commit Graph

71 Commits (0b1688639750e2401571263c127817d0b0a43644)

Author SHA1 Message Date
Mark Haines 3cca61e006 Rename ClientID to ClientInfo since it is a pair of IDs rather than a single identifier 10 years ago
Mark Haines c18e551640 Add a : to the doc string after the type of the return value 10 years ago
Mark Haines 388581e087 Extract the id token of the token when authing users, include the token and device_id in the internal meta data for the event along with the transaction id when sending events 10 years ago
Mark Haines c59bcabf0b Return the device_id from get_auth_by_req 10 years ago
Mark Haines 5759bec43c Replace hs.parse_userid with UserID.from_string 10 years ago
Kegan Dougal 4c68460392 SYN-154: Tweak how the m.room.create check is done. 10 years ago
Kegan Dougal 9cb4f75d53 SYN-154: Better error messages when joining an unknown room by ID. 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Erik Johnston fc409096ac Make auth module use EventTypes constants 10 years ago
Erik Johnston fa4b610ae3 Fix stream test. Make sure we add join to auth_events for invitiations 10 years ago
Erik Johnston ba3d1e2fc0 Remove unused import 10 years ago
Erik Johnston d044121168 Various typos and bug fixes. 10 years ago
Erik Johnston 6630e1b579 Start making more things use EventContext rather than event.* 10 years ago
Erik Johnston 5d7c9ab789 Begin converting things to use the new Event structure 10 years ago
Erik Johnston 75b4329aaa WIP for new way of managing events. 10 years ago
Erik Johnston 027542e2e5 Fix bugs when joining a remote room that has dodgy event graphs. This should also fix the number of times a HS will trigger a GET /event/ 10 years ago
Erik Johnston 64fc859dac Fix bugs in invite/join dances. 10 years ago
Erik Johnston e549aac127 Add missing None check 10 years ago
Mark Haines db9ce032a4 Fix pep8 codestyle warnings 10 years ago
Erik Johnston 512993b57f Only users can set state events which have their own user_id 10 years ago
Mark Haines 3553101eb3 Null check when determining default power levels 10 years ago
Erik Johnston 95614e5220 Fix auth to correctly handle initial creation of rooms 10 years ago
Erik Johnston 6fea478d2e Fix bugs with invites/joins across federatiom. 10 years ago
Erik Johnston a8e565eca8 Add an EventValidator. Fix bugs in auth ++ storage 10 years ago
Erik Johnston 5d439b127b PEP8 10 years ago
Erik Johnston 6447db063a Fix backfill to work. Add auth to backfill request 10 years ago
Erik Johnston 65f846ade0 Notify users about invites. 10 years ago
Erik Johnston 407d8a5019 Fix invite auth 10 years ago
Erik Johnston 49948d72f3 Fix joining over federation 10 years ago
Erik Johnston bf6b72eb55 Start implementing auth chains 10 years ago
Erik Johnston 8421cabb9d Neaten things up a bit 10 years ago
Erik Johnston 351c64e99e Amalgamate all power levels. 10 years ago
Erik Johnston 96c001e668 Fix auth checks to all use the given old_event_state 10 years ago
Erik Johnston 4a1597f295 Fix bug in redaction auth. 10 years ago
Erik Johnston b3b1961496 Fix bug where people could join private rooms 10 years ago
Erik Johnston 5ffe5ab43f Use state groups to get current state. Make join dance actually work. 10 years ago
Erik Johnston f71627567b Finish implementing the new join dance. 10 years ago
Erik Johnston 1116f5330e Start implementing the invite/join dance. Continue moving auth to use event.state_events 10 years ago
Erik Johnston e7bc1291a0 Begin making auth use event.old_state_events 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 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 bc250a6afa SYN-12: Implement auth for deletion by adding a 'delete_level' on the ops levels event 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