Commit Graph

81 Commits (e3abc0a5cc0669b76e5bdf2e1539645d790a7a3d)

Author SHA1 Message Date
Jonathan de Jong bf72d10dbf
Use inline type hints in various other places (in `synapse/`) (#10380) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Patrick Cloke 8a4a4186de
Simplify super() calls to Python 3 syntax. (#8344) 4 years ago
Patrick Cloke 72bec36d50
Directly import json from the standard library. (#8259) 5 years ago
Patrick Cloke c619253db8
Stop sub-classing object (#8249) 5 years ago
Patrick Cloke ad6190c925
Convert stream database to async/await. (#8074) 5 years ago
Patrick Cloke d4a7829b12
Convert synapse.api to async/await (#8031) 5 years ago
Dagfinn Ilmari Mannsåker a3f11567d9
Replace all remaining six usage with native Python 3 equivalents (#7704) 5 years ago
Erik Johnston 0f6e525be3
Fixup synapse.api to pass mypy (#6733) 5 years ago
Brendan Abolivier 8822b33111
Update copyrights 5 years ago
Brendan Abolivier 988d8d6507
Incorporate review 5 years ago
Brendan Abolivier c6dbca2422
Incorporate review 5 years ago
Brendan Abolivier e7943f660a
Add unit tests 5 years ago
Brendan Abolivier acd16ad86a
Implement filtering 5 years ago
Amber Brown 4806651744
Replace returnValue with return (#5736) 6 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Richard van der Hoff 8ea509a935
Update synapse/api/filtering.py 6 years ago
Andrew Morgan c433f61091 Ensure new filter is actually created 6 years ago
Andrew Morgan c9bfb058d8 Fix a bug with single-room search searching all rooms 6 years ago
Andrew Morgan df3a661e4a Search for messages across predecessor rooms 6 years ago
Michael Telatynski a27e501b09 fix the check for whether `is_url` to match all the other ones in codebase (#3405) 6 years ago
Richard van der Hoff 7e07d25ed6 Allow backslashes in event field filters 6 years ago
Schnuffle dc5db01ff2 Replaced all occurences of e.message with str(e) 7 years ago
Richard van der Hoff 87c18d12ee Implement 'event_format' filter param in /sync 7 years ago
Matthew Hodgson a75231b507
Deduplicate redundant lazy-loaded members (#3331) 7 years ago
Amber Brown 49af402019 run isort 7 years ago
Amber Brown 6350bf925e
Attempt to be more performant on PyPy (#3462) 7 years ago
Amber Brown c936a52a9e
Consistently use six's iteritems and wrap lazy keys/values in list() if they're not meant to be lazy (#3307) 7 years ago
Matthew Hodgson 9bbb9f5556 add lazy_load_members to the filter json schema 7 years ago
Matthew Hodgson b2f2282947 make lazy_load_members configurable in filters 7 years ago
Erik Johnston 926ba76e23 Replace ujson with simplejson 7 years ago
pik 566641a0b5 use jsonschema.FormatChecker for RoomID and UserID strings 8 years ago
pik acafcf1c5b Add valid filter tests, flake8, fix typo 8 years ago
pik e56c79c114 check_valid_filter using JSONSchema 8 years ago
Erik Johnston a8f96c63aa Comment 8 years ago
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 9 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