Commit Graph

82 Commits (7025781df8ab295848cb70a43d0ff8ca5949bc19)

Author SHA1 Message Date
Erik Johnston d94f682a4c During room intial sync, only calculate current state once. 10 years ago
Kegan Dougal 5a7dd05818 Modify auth.get_user_by_req for authing appservices directly. 10 years ago
Kegan Dougal e426df8e10 Grant ASes the ability to create alias in their own namespace. 10 years ago
Kegan Dougal 5b99b471b2 Fix unit tests. 10 years ago
Kegan Dougal c163357f38 Add CS extension for masquerading as users within the namespaces specified by the AS. 10 years ago
Erik Johnston 650e32d455 Change context.auth_events to what the auth_events would be bases on context.current_state, rather than based on the auth_events from the event. 10 years ago
Erik Johnston 0dd3aea319 Keep around the old (buggy) version of the prune_event function so that we can use it to check signatures for events on old servers 10 years ago
Erik Johnston a70a801184 Fix bug where we superfluously asked for current state. Change API of /query_auth/ so that we don't duplicate events in the response. 10 years ago
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
Erik Johnston 0ef5bfd6a9 Start implementing auth conflict res 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