Commit Graph

43 Commits (f83ac7820107a086f6b23f404998c50ceeb64d04)

Author SHA1 Message Date
Erik Johnston e892457a03 Comment 8 years ago
Erik Johnston 6c82de5100 Format presence events on the edges instead of reformatting them multiple times 8 years ago
Kegan Dougal 83bcdcee61 Return early on /sync code paths if a '*' filter is used 8 years ago
Kegan Dougal cea4e4e7b2 Glue only_event_fields into the sync rest servlet 8 years ago
Kegan Dougal f97511a1f3 Move event_fields filtering to serialize_event 8 years ago
Kegan Dougal e90fcd9edd Add filter_event_fields and filter_field to FilterCollection 8 years ago
Erik Johnston e5142f65a6 Add 'contains_url' to filter 8 years ago
Erik Johnston a438a6d2bc Implement basic ignore user 9 years ago
Patrik Oldsberg 536f949a1a api/filtering: don't assume that event content will always be a dict 9 years ago
Erik Johnston 35981c8b71 Fix test 9 years ago
Erik Johnston 8c6012a4af Fix tests 9 years ago
Erik Johnston 4021f95261 Move logic from rest/ to handlers/ 9 years ago
Erik Johnston 975903ae17 Sanitize filters 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Mark Haines 392773ccb2 Guest users must be joined to a room to see it in /sync 9 years ago
Mark Haines b9b4466d0d Add top level filters for filtering by room id 9 years ago
Mark Haines 45a9e0ae0c Allow guest access if the user provides a list of rooms in the filter 9 years ago
Mark Haines 489a4cd1cf Add top level filtering by room id 9 years ago
Mark Haines 660dee94af Only include the archived rooms if a include_leave flag in set in the filter 9 years ago
Mark Haines 95f30ecd1f Add API for setting account_data globaly or on a per room basis 9 years ago
Mark Haines 1c960fbb80 s/private_user_data/account_data/ 9 years ago
Mark Haines 285d056629 Remove fields that are both unspecified and unused from the filter checks, check the right top level definitions in the filter 9 years ago
Mark Haines 57be722c46 Include room tags in v2 /sync 9 years ago
Mark Haines 4e05aab4f7 Don't assume that the event has a room_id or sender 9 years ago
Mark Haines 9b6f3bc742 Support filtering events represented as dicts. 9 years ago
Erik Johnston 5c41224a89 Filter room ids before hitting the database 9 years ago
Erik Johnston 87deec824a Docstring 9 years ago
Erik Johnston 45cd2b0233 Refactor api.filtering to have a Filter API 9 years ago
Mark Haines 2fa9e23e04 Update the v2 filters to support filtering presence and remove support for public/private user data 9 years ago
Mark Haines 586beb8318 Update the filters to match the latest spec. 9 years ago
Mark Haines 471555b3a8 Move the rooms out into a room_map mapping from room_id to room. 9 years ago
Mark Haines f31014b18f Start updating the sync API to match the specification 9 years ago
Mark Haines e97f756a05 Use 'in' to test if the key exists, remove unused _filters_for_user 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 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
Kegan Dougal c23e3db544 Add filter JSON sanity checks. 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