Mark Haines
|
392773ccb2
Guest users must be joined to a room to see it in /sync
|
8 years ago |
Mark Haines
|
c058625959
Merge remote-tracking branch 'origin/develop' into markjh/guest_access
|
8 years ago |
Mark Haines
|
b9b4466d0d
Add top level filters for filtering by room id
|
8 years ago |
Mark Haines
|
45a9e0ae0c
Allow guest access if the user provides a list of rooms in the filter
|
8 years ago |
Mark Haines
|
489a4cd1cf
Add top level filtering by room id
|
8 years ago |
Mark Haines
|
660dee94af
Only include the archived rooms if a include_leave flag in set in the filter
|
8 years ago |
Mark Haines
|
95f30ecd1f
Add API for setting account_data globaly or on a per room basis
|
8 years ago |
Mark Haines
|
1c960fbb80
s/private_user_data/account_data/
|
8 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
|
8 years ago |
Mark Haines
|
57be722c46
Include room tags in v2 /sync
|
8 years ago |
Mark Haines
|
b051781ddb
Merge pull request #325 from matrix-org/markjh/filter_dicts
|
8 years ago |
Mark Haines
|
4e05aab4f7
Don't assume that the event has a room_id or sender
|
8 years ago |
Mark Haines
|
9b6f3bc742
Support filtering events represented as dicts.
|
8 years ago |
Erik Johnston
|
5c41224a89
Filter room ids before hitting the database
|
8 years ago |
Erik Johnston
|
87deec824a
Docstring
|
8 years ago |
Erik Johnston
|
45cd2b0233
Refactor api.filtering to have a Filter API
|
8 years ago |
Mark Haines
|
2fa9e23e04
Update the v2 filters to support filtering presence and remove support for public/private user data
|
8 years ago |
Mark Haines
|
e97f756a05
Use 'in' to test if the key exists, remove unused _filters_for_user
|
9 years ago |
Mark Haines
|
c562f237f6
Unused import
|
9 years ago |
Mark Haines
|
93ed31dda2
Create a separate filter object to do the actual filtering, so that we can
|
9 years ago |
Mark Haines
|
9150a0d62e
Fix code-style
|
9 years ago |
Kegan Dougal
|
83172487b0
Add basic filtering public API unit tests. Use defers in the right places.
|
9 years ago |
Kegan Dougal
|
777d9914b5
Implement filter algorithm. Add basic event type unit tests to assert it works.
|
9 years ago |
Kegan Dougal
|
50de1eaad9
Add filtering public API; outline filtering algorithm.
|
9 years ago |
Kegan Dougal
|
2a4fda7b88
Add filtering.filter_events function, with stub passes_filter function.
|
9 years ago |
Kegan Dougal
|
c23e3db544
Add filter JSON sanity checks.
|
9 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
|
9 years ago |
Paul "LeoNerd" Evans
|
059651efa1
Have the Filtering API return Deferreds, so we can do the Datastore implementation nicely
|
9 years ago |
Paul "LeoNerd" Evans
|
05c7cba73a
Initial trivial implementation of an actual 'Filtering' object; move storage of user filters into there
|
9 years ago |