summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2017-01-27Merge branch 'master' into flask_perimeterAlexandre Flament
2017-01-20[mod] add a __common__ template that can't be selected but that provides a ↵Alexandre Flament
common place for shared templates. What has been moved into this template : * opensearch*.xml is always the same whatever the themes. * the text inside */about.html
2017-01-16[enh] show spelling correctionsDavid A Roberts
2017-01-02[mod] searx uses flask framework only in webapp.py. Make migration to ↵Alexandre Flament
another framework easier.
2016-12-30[fix] use english as default language in bingAdam Tauber
If no language is specified, bing returns results with multiple languages for one query which isn't really useful. Setting english as default insted if nothing.
2016-12-29change language list to only include languages with a minimum of enginesmarc
that support them. users can still query lesser supported through the :lang_code bang.
2016-12-15tests for _fetch_supported_languages in enginesmarc
and refactor method to make it testable without making requests
2016-12-13tests for language support in enginesmarc
2016-12-13[mod] fetch supported languages for several enginesmarc
utils/fetch_languages.py gets languages supported by each engine and generates engines_languages.json with each engine's supported language.
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