summaryrefslogtreecommitdiff
path: root/searx
AgeCommit message (Collapse)Author
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-02[fix] menu style in pointhi oscar themeAdam Tauber
2016-11-01[fix] menu without js - closes #747Adam Tauber
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-11-01show time range support in preferencesNoémi Ványi
2016-10-30[mod] do not proxify images if image proxy is not setAdam Tauber
2016-10-30add version info to config endpointNoémi Ványi
2016-10-29[enh] use morty proxy for image proxification too if it is configuredAdam Tauber
2016-10-29[enh] allow morty proxy without hmac keyAdam Tauber
2016-10-29Merge pull request #697 from Eig8phei/http1.1Adam Tauber
serve pages with HTTP/1.1
2016-10-22[mod] the environment variable SEARX_DEBUG can override the general.debug ↵dalf
value in settings.yml
2016-10-22Merge pull request #737 from dalf/ixquickAdam Tauber
[fix] ixquick : fetch results from ixquick.eu instead of ixquick.com
2016-10-22[fix] ixquick : fetch results from ixquick.eu instead of ixquick.com, close #727dalf
2016-10-22[fix] images modal with infinite scrollNoémi Ványi
2016-10-22Merge pull request #734 from dalf/seeks_urlAdam Tauber
[fix] seeks URLS, close #731
2016-10-22Merge branch 'master' into http1.1Alexandre Flament
2016-10-22fix kickass torrents engineNoémi Ványi
2016-10-22Merge pull request #726 from mmuman/opensearch_shortnameAdam Tauber
[fix] set the title on the opensearch link tag
2016-10-17[fix] unicode url proxiingAdam Tauber
2016-10-17[enh] add result proxy support - #707Adam Tauber
2016-10-16[enh] use HMAC for image proxy url verificationAdam Tauber
2016-10-16Merge branch 'master' into opensearch_shortnameAlexandre Flament
2016-10-15[fix] seeks URLS, close #731dalf
2016-10-13initial commit of pdbe engineAlexander Minges
Adds support for queries to the Protein Data Bank Europe (PDBe).
2016-10-09[fix] set the title on the opensearch link tagFrançois Revol
Firefox uses the title attributes instead of the ShortName from the xml file as set in 0fbd7052 which closed #405
2016-10-01Merge branch 'master' of https://github.com/asciimoo/searx into ↵Pydo
feature/seedpeer-engine-integration
2016-10-01Set default categories for seedpeer providerPydo
2016-10-01[mod] disallow search results for robotsAdam Tauber
2016-10-01Merge branch 'master' of https://github.com/asciimoo/searx into ↵Pydo
feature/seedpeer-engine-integration Resolved conflict searx/settings.yml
2016-10-01Disabled seepeer.eu by default since it does not support httpsPydo
2016-09-28[fix] robot test engine namesAdam Tauber
2016-09-28[fix] do not allow underscore in engine names - closes #708Adam 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-15serve pages with HTTP/1.1Eig8phei
2016-09-10Remove unrelated change that mistakenly ended up into this branchLorenzo J. Lucchini
2016-09-10#607 - noapi fixfirebovine
2016-09-10Adding Urban Dictionary xpath engineLorenzo J. Lucchini
2016-09-10Improving Wolfram Alpha search hit contentLorenzo J. Lucchini
Making WA search hits contain - the (parsed) input inside the "title" instead of just "Wolfram|Alpha", to better match other hit titles and to confirm correct parsing of input to the user - the first output field that contains any text (skipping ones that are only pictures; this is usually the most meaningful "result" field) instead of the raw input as the "content", making it additionally possible to obtain WA computations from JSON API calls
2016-09-10[fix] Result text in Wolfram|Alpha (#607)marc
2016-09-10fix xpath expressions for urban dictionaryfirebovine
2016-09-07[fix] 404 HTTP status on not found pages - closes #681Adam Tauber
2016-09-06[enh] version 0.10.0Adam Tauber
closes #659
2016-09-06[enh] translation updatesAdam Tauber
2016-09-06[fix] unicode urlsAdam Tauber
2016-09-06[enh] is_valid_lang moved to utilspotato