Commit Graph

13 Commits (f510586372ca61fa47aa5d5025b7ae7a989d9475)

Author SHA1 Message Date
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