Commit Graph

78 Commits (4586119f0b0901be64f08655d3aaaef289a51bde)

Author SHA1 Message Date
Patrick Cloke 8fe930c215
Move get_bundled_aggregations to relations handler. (#12237) 3 years ago
Richard van der Hoff e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031) 3 years ago
Sean Quah e6acd3cf4f
Upgrade mypy to version 0.931 (#12030) 3 years ago
Patrick Cloke e44f91d678
Refactor search code to reduce function size. (#11991) 3 years ago
Patrick Cloke 8c94b3abe9
Experimental support to include bundled aggregations in search results (MSC3666) (#11837) 3 years ago
Patrick Cloke 2897fb6b4f
Improvements to bundling aggregations. (#11815) 3 years ago
Patrick Cloke 6bf81a7a61
Bundle aggregations outside of the serialization method. (#11612) 3 years ago
Patrick Cloke a19d01c3d9
Support filtering by relations per MSC3440 (#11236) 3 years ago
Patrick Cloke 19d5dc6931
Refactor `Filter` to handle fields according to data being filtered. (#11194) 3 years ago
Patrick Cloke eb9ddc8c2e
Remove the deprecated BaseHandler. (#11005) 3 years ago
Patrick Cloke 94b620a5ed
Use direct references for configuration variables (part 6). (#10916) 3 years ago
Jonathan de Jong 98aec1cc9d
Use inline type hints in `handlers/` and `rest/`. (#10382) 3 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Patrick Cloke b7748d3c00
Import HomeServer from the proper module. (#9665) 4 years ago
Patrick Cloke 1baab20352
Add type hints to various handlers. (#9223) 4 years ago
Patrick Cloke 34a5696f93
Fix typos and spelling errors. (#8639) 4 years ago
Erik Johnston 7941372ec8
Make token serializing/deserializing async (#8427) 4 years ago
Patrick Cloke 8a4a4186de
Simplify super() calls to Python 3 syntax. (#8344) 4 years ago
Patrick Cloke e19de43eb5
Convert streams to async. (#8014) 4 years ago
Patrick Cloke e739b20588
Fix up types and comments that refer to Deferreds. (#7945) 4 years ago
Patrick Cloke be309d99cf
Convert search code to async/await. (#7460) 5 years ago
Patrick Cloke 509e381afa
Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 5 years ago
Erik Johnston 28c98e51ff
Add `local_current_membership` table (#6655) 5 years ago
Andrew Morgan ea0f0ad414
Prevent message search in upgraded rooms we're not in (#6385) 5 years ago
Amber Brown 020add5099
Update black to 19.10b0 (#6304) 5 years ago
Erik Johnston 69f0054ce6 Port to use state storage 5 years ago
Amber Brown 4806651744
Replace returnValue with return (#5736) 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Erik Johnston b54b03f9e1 Allow client event serialization to be async 6 years ago
Richard van der Hoff 03c85335d1
Apply suggestions from code review 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
Travis Ralston 158ffb92f1 Add an option to disable search for homeservers which may not be interested in it (#4230) 6 years ago
Amber Brown 086e1a8f3e Fix search 500ing (#4122) 6 years ago
Amber Brown 3bade14ec0
Fix search 500ing (#4122) 6 years ago
Amber Brown 2608ebc04c
Port handlers/ to Python 3 (#3803) 6 years ago
Matthew Hodgson e9b2d047f6
make /context lazyload & filter aware (#3567) 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Erik Johnston 28ddc6cfbe Also log number of events for serach context 7 years ago
Erik Johnston 4b4cec3989 Add some logging to search queries 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
Richard van der Hoff eaaabc6c4f replace 'except:' with 'except Exception:' 7 years ago
Mark Haines 7e23476814 move filter_events_for_client out of base handler 9 years ago
David Baker 424a7f48f8 Run filter_events_for_client 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Erik Johnston d9a5c56930 Include approximate count of search results 9 years ago
Erik Johnston 27c5e1b374 Search: Don't disregard grouping info in pagination tokens 9 years ago
Erik Johnston 71578e2bf2 Change the result tict to be a list 9 years ago
Erik Johnston da7dd58641 Tidy up a bit 9 years ago
Erik Johnston 4dcaa42b6d Allow paginating search ordered by recents 9 years ago