summary refs log tree commit diff
path: root/synapse/handlers/search.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix up types and comments that refer to Deferreds. (#7945)Patrick Cloke2020-07-241-3/+4
|
* Convert search code to async/await. (#7460)Patrick Cloke2020-05-111-24/+20
|
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-211-4/+4
| | | | Ensure good comprehension hygiene using flake8-comprehensions.
* Add `local_current_membership` table (#6655)Erik Johnston2020-01-151-1/+1
| | | | | | | Currently we rely on `current_state_events` to figure out what rooms a user was in and their last membership event in there. However, if the server leaves the room then the table may be cleaned up and that information is lost. So lets add a table that separately holds that information.
* Prevent message search in upgraded rooms we're not in (#6385)Andrew Morgan2019-12-111-9/+25
|
* Update black to 19.10b0 (#6304)Amber Brown2019-11-011-8/+4
| | | * update version of black and also fix the mypy config being overridden
* Port to use state storageErik Johnston2019-10-301-5/+7
|
* Replace returnValue with return (#5736)Amber Brown2019-07-231-8/+6
|
* Run Black. (#5482)Amber Brown2019-06-201-67/+62
|
* Allow client event serialization to be asyncErik Johnston2019-05-141-19/+23
|
* Apply suggestions from code reviewRichard van der Hoff2019-01-241-1/+1
| | | Co-Authored-By: anoadragon453 <1342360+anoadragon453@users.noreply.github.com>
* Fix a bug with single-room search searching all roomsAndrew Morgan2019-01-221-32/+10
| | | | | * Create a new method for getting predecessor rooms * Remove formatting change
* Search for messages across predecessor roomsAndrew Morgan2019-01-181-0/+69
| | | | Signed-off-by: Andrew Morgan <andrew@amorgan.xyz>
* Add an option to disable search for homeservers which may not be interested ↵Travis Ralston2018-12-041-0/+3
| | | | | | in it (#4230) This is useful for homeservers not intended for users, such as bot-only homeservers or ones that only process IoT data.
* Fix search 500ing (#4122)Amber Brown2018-10-311-2/+6
|
* Port handlers/ to Python 3 (#3803)Amber Brown2018-09-071-7/+7
|
* make /context lazyload & filter aware (#3567)Matthew Hodgson2018-07-271-1/+1
| | | make /context lazyload & filter aware.
* run isortAmber Brown2018-07-091-9/+8
|
* Also log number of events for serach contextErik Johnston2018-06-221-0/+5
|
* Add some logging to search queriesErik Johnston2018-06-221-0/+9
|
* Consistently use six's iteritems and wrap lazy keys/values in list() if ↵Amber Brown2018-05-311-1/+1
| | | | they're not meant to be lazy (#3307)
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-1/+1
| | | | what could possibly go wrong
* move filter_events_for_client out of base handlerMark Haines2016-05-111-8/+9
|
* Run filter_events_for_clientDavid Baker2016-04-271-4/+4
| | | | so we don't accidentally mail out events people shouldn't see
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Include approximate count of search resultsErik Johnston2015-12-111-1/+7
|
* Merge pull request #405 from matrix-org/erikj/search-tsErik Johnston2015-12-081-6/+4
|\ | | | | Change the result dict to be a list in /search response
| * Change the result tict to be a listErik Johnston2015-12-011-6/+4
| |
* | Search: Don't disregard grouping info in pagination tokensErik Johnston2015-12-011-3/+12
|/
* Tidy up a bitErik Johnston2015-12-011-8/+9
|
* Allow paginating search ordered by recentsErik Johnston2015-11-301-68/+60
|
* Return words to highlight in search resultsErik Johnston2015-11-271-3/+16
|
* Add option to include the current room stateErik Johnston2015-11-201-0/+24
|
* Optionally include historic profile infoErik Johnston2015-11-201-1/+30
|
* Be explicit about what we're doingErik Johnston2015-11-051-1/+1
|
* Remove redundant testErik Johnston2015-11-051-1/+0
|
* Increment by one, not fiveErik Johnston2015-11-051-1/+1
|
* COMMENTSErik Johnston2015-11-051-4/+26
|
* Implement basic pagination for search resultsErik Johnston2015-11-051-13/+65
|
* Implement order and group byErik Johnston2015-11-041-17/+109
|
* Make search API honour limit set in filterErik Johnston2015-10-291-0/+3
|
* Optionally return event contexts with search resultsErik Johnston2015-10-281-1/+52
|
* RenameErik Johnston2015-10-221-3/+3
|
* Use namedtuple as return valueErik Johnston2015-10-221-1/+3
|
* Filter room ids before hitting the databaseErik Johnston2015-10-211-1/+1
|
* Filter search resultsErik Johnston2015-10-211-2/+7
|
* Remove unused importErik Johnston2015-10-161-3/+1
|
* Remove duplicate _filter_events_for_clientErik Johnston2015-10-161-46/+0
|
* docstringErik Johnston2015-10-161-0/+10
|
* Make 'keys' optionalErik Johnston2015-10-141-1/+3
|
* More TODO markersErik Johnston2015-10-141-0/+3
|
* Add TODO markersErik Johnston2015-10-141-1/+4
|
* Remove constraints in preperation of using filtersErik Johnston2015-10-131-51/+10
|
* Search left rooms tooErik Johnston2015-10-131-5/+2
|
* Filter events to only thsoe that the user is allowed to seeErik Johnston2015-10-121-6/+10
|
* Remove unused room_id parameterErik Johnston2015-10-121-1/+49
|
* PEP8Erik Johnston2015-10-121-2/+9
|
* Keep FTS indexes up to date. Only search through rooms currently joinedErik Johnston2015-10-121-9/+22
|
* Add basic full text search impl.Erik Johnston2015-10-091-0/+95