summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2016-12-13small fixesmarc
2016-12-13Add language support for more engines.marc
2016-12-11add year filter to engines with time range support && testsNoémi Ványi
Following engines does not support "Last year": * Bing News * DeviantArt * DuckDuckGo * Yahoo * YouTube (noapi)
2016-12-11add year to time range to engines which support "Last year"Noémi Ványi
Engines: * Bing images * Flickr (noapi) * Google * Google Images * Google News
2016-12-11[fix] 500px unit testsAdam Tauber
2016-12-11[fix] vimeo engine change follow-upAdam Tauber
2016-12-11[fix] google news engine change follow-upAdam Tauber
2016-12-09[fix] kickass test html escapingAdam Tauber
2016-12-09[fix] tests ++ flickr errorAdam Tauber
2016-11-19[enh] add quick answer functionality with an example answererAdam Tauber
2016-11-14[fix] search mocking in webapp testAdam Tauber
2016-11-07[fix] bing paging and language supportAdam Tauber
see https://msdn.microsoft.com/en-us/library/ff795620.aspx for bing specific search operators closes #755
2016-11-02Change plugin API :dalf
- pre_search(request, search) - post_search(request, search) - on_result(request, search, result) with - request is the Flask request - search a searx.Search instance - result a searx result as usual
2016-11-02Clean up the architecturedalf
Purposes : - isolate the plugins calls - distinction between parsing the web request and running the search (Search class). To be able to test code easily, to run searx code outside a web server, to filter the search query parameters with plugins more easily, etc... Details : - request.request_data contains request.form or request.args (initialize inside pre_request() function) - Query class is renamed RawTextQuery - SearchQuery class defines all search parameters - get_search_query_from_webapp create a SearchQuery instance (basically the previous Search.__init__ code) - Search class and SearchWithPlugins class takes a SearchQuery instance as class constructor parameter - SearchWithPlugins class inherites from Search class, and run plugins - A dedicated function search_with_plugins executes plugins to have a well define locals() (which is used by the plugins code). - All plugins code is executed inside the try...except block (webapp.py, index function) - advanced_search HTTP parameter value stays in webapp.py (it is only part of UI) - multiple calls to result_container.get_ordered_results() doesn't compute the order multiple time (note : this method was call only once before) - paging value is stored in the result_container class (compute in the extend method) - test about engine.suspend_end_time is done during search method call (instead of __init__) - check that the format parameter value is one of these : html, rss, json, rss (before the html value was assumed but some text formatting wasn't not done)
2016-11-01add time range search for flickrNoémi Ványi
2016-11-01add time range support for bing imagesNoémi Ványi
2016-11-01add time range search for youtube noapiNoémi Ványi
2016-11-01add time range search for bing newsNoémi Ványi
2016-10-22fix kickass torrents engineNoémi Ványi
2016-10-22[fix] gecko driver cannot detect the page load finish on preferences form ↵Adam Tauber
submit. It now works with this dirty workaround..
2016-10-13initial commit of pdbe engineAlexander Minges
Adds support for queries to the Protein Data Bank Europe (PDBe).
2016-10-01Merge branch 'master' of https://github.com/asciimoo/searx into ↵Pydo
feature/seedpeer-engine-integration Resolved conflict searx/settings.yml
2016-09-28[fix] robot test engine names II.Adam Tauber
2016-09-22[mod] rename "default" theme to "legacy"Adam Tauber
2016-09-20[fix] results with digbit don't truncate anymoremarc
2016-09-10fix tests to reflect: Wolfram|Alpha (input) responsefirebovine
2016-09-10[fix] Result text in Wolfram|Alpha (#607)marc
2016-09-05Put html fixture in file to be pep8 line length compliantPydo
2016-09-05Added seedpeer unitestsPydo
2016-08-27Merge pull request #672 from kvch/self-info-pagingAdam Tauber
Self information on later pages
2016-08-27Merge pull request #671 from kvch/custom-404Adam Tauber
Custom 404 message - fixes #317
2016-08-27remove self info answers from pages after first oneNoemi Vanyi
2016-08-24add custom 404 pageNoemi Vanyi
2016-08-16Merge pull request #664 from kvch/uncapitalize-searxAdam Tauber
uncapitalize searx in templates
2016-08-15uncapitalize searx in templatesNoémi Ványi
2016-08-13add digbt unittestNoemi Vanyi
2016-08-13[fix] google images paging - closes #571Adam Tauber
2016-08-05[fix] merge infoboxes based on weightmarc
also minor changes in attributes and images from wikidata
2016-08-05wikidata refactor and more attributes (see issue #560)marc
2016-07-26[fix] time range detectionAdam Tauber
2016-07-19[fix] deviantart engine xpathsNoemi Vanyi
2016-07-18Merge pull request #621 from stepshal/anomalous-backslash-in-stringAdam Tauber
Fix anomalous backslash in string
2016-07-16[fix] result count testsAdam Tauber
2016-07-15Merge pull request #615 from mmuman/scanrAdam Tauber
Add ScanR structures search engine
2016-07-12[fix] multilingual duckduckgoa01200356
only works if both country and language are set
2016-07-12Add ScanR structures search engineFrançois Revol
In theory ScanR should also search for projects but the API is different, so we'd need another engine.
2016-07-11Fix anomalous backslash in stringstepshal
2016-07-10Fix quantity of blank lines after code object.stepshal
2016-07-09Add INA search engineFrançois Revol
2016-07-04[enh][fix] update to latest dependencies ++ fix tests & travis test runnerAdam Tauber
WARNING: dependency changes