Commit Graph

49 Commits (3039d61baf7b4ab914a2d659737337cd09127a51)

Author SHA1 Message Date
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
Erik Johnston 76936f43ae Return words to highlight in search results 9 years ago
Erik Johnston 6b95a79724 Add option to include the current room state 9 years ago
Erik Johnston 506874cca9 Optionally include historic profile info 9 years ago
Erik Johnston 66d36b8e41 Be explicit about what we're doing 9 years ago
Erik Johnston 2aa98ff3bc Remove redundant test 9 years ago
Erik Johnston 5ee070d21f Increment by one, not five 9 years ago
Erik Johnston 1ad6222ebf COMMENTS 9 years ago
Erik Johnston 7301e05122 Implement basic pagination for search results 9 years ago
Erik Johnston 05c326d445 Implement order and group by 9 years ago
Erik Johnston f6e6f3d87a Make search API honour limit set in filter 9 years ago
Erik Johnston a2e5f7f3d8 Optionally return event contexts with search results 9 years ago
Erik Johnston 2980136d75 Rename 9 years ago
Erik Johnston 232beb3a3c Use namedtuple as return value 9 years ago
Erik Johnston 5c41224a89 Filter room ids before hitting the database 9 years ago
Erik Johnston c8baada94a Filter search results 9 years ago
Erik Johnston 380f148db7 Remove unused import 9 years ago
Erik Johnston d4b5621e0a Remove duplicate _filter_events_for_client 9 years ago
Erik Johnston b62da463e1 docstring 9 years ago
Erik Johnston 8c9df8774e Make 'keys' optional 9 years ago
Erik Johnston 1d9e109820 More TODO markers 9 years ago
Erik Johnston d25b0f65ea Add TODO markers 9 years ago
Erik Johnston 3e2a1297b5 Remove constraints in preperation of using filters 9 years ago
Erik Johnston 30c2783d2f Search left rooms too 9 years ago
Erik Johnston ca53ad7425 Filter events to only thsoe that the user is allowed to see 9 years ago
Erik Johnston 927004e349 Remove unused room_id parameter 9 years ago
Erik Johnston ae72e247fa PEP8 9 years ago
Erik Johnston 61561b9df7 Keep FTS indexes up to date. Only search through rooms currently joined 9 years ago
Erik Johnston c85c912562 Add basic full text search impl. 9 years ago