Commit Graph

392 Commits (363786845b728bcd7146b3d949a86021a96eb2d2)

Author SHA1 Message Date
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 0227618d3c Add m.login.application_service registration procedure. 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 ae46f10fc5 Apply sanity to the transport client interface. Convert 'make_join' and 'send_join' to accept iterables of destinations 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
Mark Haines e97f756a05 Use 'in' to test if the key exists, remove unused _filters_for_user 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 c562f237f6 Unused import 10 years ago
Mark Haines 22dd1cde2d Filter the recent events before applying the limit when doing an incremental sync with a gap 10 years ago
Mark Haines 93ed31dda2 Create a separate filter object to do the actual filtering, so that we can 10 years ago
Mark Haines acb68a39e0 Code style fixes. 10 years ago
Mark Haines 9150a0d62e Fix code-style 10 years ago
Kegan Dougal 83172487b0 Add basic filtering public API unit tests. Use defers in the right places. 10 years ago
Kegan Dougal 777d9914b5 Implement filter algorithm. Add basic event type unit tests to assert it works. 10 years ago
Kegan Dougal 50de1eaad9 Add filtering public API; outline filtering algorithm. 10 years ago
Kegan Dougal 2a4fda7b88 Add filtering.filter_events function, with stub passes_filter function. 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
Kegan Dougal c23e3db544 Add filter JSON sanity checks. 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
Paul "LeoNerd" Evans 54e513b4e6 Move storage of user filters into real datastore layer; now have to mock it out in the REST-level tests 10 years ago
Paul "LeoNerd" Evans 059651efa1 Have the Filtering API return Deferreds, so we can do the Datastore implementation nicely 10 years ago
Paul "LeoNerd" Evans 05c7cba73a Initial trivial implementation of an actual 'Filtering' object; move storage of user filters into there 10 years ago
Kegan Dougal fa8e6ff900 Add stub application services REST API. 10 years ago
Mark Haines 7b814d3f7f Add client v2_alpha resource to synapse server resource tree 10 years ago
Mark Haines e26340cee7 Start implementing the v2_alpha sync API 10 years ago
Mark Haines 5759bec43c Replace hs.parse_userid with UserID.from_string 10 years ago
David Baker 49fe31792b Add slightly pedantic trailing slash error. 10 years ago
David Baker f87586e661 right super() param 10 years ago
David Baker 8a850573c9 As yet fairly untested GET API for push rules 10 years ago
David Baker ede491b4e0 Oops: second part of commit dc938606 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 3c77d13aa5 Kill off synapse.api.events.* 10 years ago
Erik Johnston fc409096ac Make auth module use EventTypes constants 10 years ago
Erik Johnston 63810c777d Validate message, topic and name event contents 10 years ago
Erik Johnston fa4b610ae3 Fix stream test. Make sure we add join to auth_events for invitiations 10 years ago
Mark Haines d80d505b1f Limit the size of images that are thumbnailed serverside. Limit the size of file that a server will download from a remote server 10 years ago
Erik Johnston 008303b245 PEP8 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