summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2017-08-05add bing videos enginemarc
2017-07-26add google videosmarc
2017-07-20change unresponsive_engines to a set to eliminate duplication of errorsNoémi Ványi
2017-07-12show engine errors in infobox && add new error alertNoémi Ványi
2017-07-10[fix] duckduckgo images doesn't fail with countryless languagemarc
2017-05-27[fix] fix duckduckgo's offsetmarc
First page now starts with 0 offset, rather than starting on the 30th result. DuckDuckGo returns 30 results on each page.
2017-05-23add duckduckgo images enginemarc
2017-05-22[fix] use raw response with etree.parsefromstring - Unicode strings with ↵Adam Tauber
encoding declaration are not supported
2017-05-17[fix] bing imagesmarc
2017-05-15[mod] add/modify image fetching for bing_news, qwant and twitter enginesAlexandre Flament
2017-05-15[enh] py3 compatibilityAdam Tauber
2017-03-22Add framalibre engineFrançois Revol
framalibre.org is a catalogue of Free Software, edited by Framasoft. For now we pass the thumbnail as img_src as it doesn't seem to be used for IT...
2017-03-18add language support for qwantmarc
closes issue #863
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