summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-02[mod] replace references request.request_data (GET or POST parameters) by ↵Alexandre Flament
request.form (based on merge of POST and GET parameters)
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-01Merge pull request #746 from kvch/moar-time-range-supportAdam Tauber
Support time range search in more engines
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-30Merge pull request #745 from kvch/version-info-in-configAdam Tauber
add version info to config endpoint
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-22Merge pull request #736 from kvch/fix-images-infinite-scrollAdam Tauber
[fix] images modal with infinite scroll
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-22Merge pull request #728 from kvch/fix-kickass-torrentsAdam Tauber
fix kickass torrents engine
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-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-22[enh] add latest firefox addon to travisAdam Tauber
2016-10-22[fix] add missing gecko executable to travisAdam Tauber
2016-10-22[enh] update dev requirementsAdam Tauber
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-13Merge pull request #724 from Athemis/masterAdam Tauber
[engine] PDBe (Protein Data Bank Europe)
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-03[enh] update certifi to the current latestAdam Tauber
2016-10-03Merge pull request #677 from pydo/feature/seedpeer-engine-integrationAdam Tauber
Feature/seedpeer engine integration
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-01Add pydo to authorsPydo
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 names II.Adam Tauber
2016-09-28[fix] robot test engine namesAdam Tauber
2016-09-28[fix] do not allow underscore in engine names - closes #708Adam Tauber