summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-06Merge branch 'master' into searchpy2Alexandre Flament
2016-11-06[fix] suspend end time checkAdam Tauber
2016-11-06Merge pull request #753 from kvch/lobsters-engineAdam Tauber
add lobste.rs xpath engine
2016-11-06add lobste.rs xpath engineNoémi Ványi
2016-11-05Merge pull request #752 from kvch/gh-pagesAdam Tauber
documentation update && new page
2016-11-05generated files of parentNoémi Ványi
2016-11-05fix typos in own instance pageNoémi Ványi
2016-11-05generated files of parentNoémi Ványi
2016-11-05engine overview fix torrent tableNoémi Ványi
2016-11-05generated files of parentNoémi Ványi
2016-11-05"why use a personal instance?" pageNoémi Ványi
2016-11-05Simplify search.py, basically updated PR #518Alexandre Flament
The timeouts in settings.yml is about the total time (not only the HTTP request but also the prepare the request and parsing the response) It was more or less the case before since the threaded_requests function ignores the thread after the timeout even the HTTP request is ended. New / changed stats : * page_load_time : record the HTTP request time * page_load_count: the number of HTTP request * engine_time : the execution total time of an engine * engine_time_count : the number of "engine_time" measure The avg response times in the preferences are the engine response time (engine_load_time / engine_load_count) To sum up : * Search.search() filters the engines that can't process the request * Search.search() call search_multiple_requests function * search_multiple_requests creates one thread per engine, each thread runs the search_one_request function * search_one_request calls the request function, make the HTTP request, calls the response function, extends the result_container * search_multiple_requests waits for the the thread to finish (or timeout)
2016-11-04generated files of parentNoémi Ványi
2016-11-04requirements: freeze sphinx version at 1.4.8Noémi Ványi
2016-11-04conf: bump searx version to 0.10.0Noémi Ványi
2016-11-04Merge pull request #733 from dalf/searchpyAdam Tauber
Search architecture
2016-11-04generated files of parentNoémi Ványi
2016-11-04docs: fix typos based on #653Noémi Ványi
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-30Merge pull request #744 from kvch/gh-pagesAdam Tauber
add "How to protect an instance" section
2016-10-30add generated files of parentNoémi Ványi
2016-10-30add sample config of filtronNoé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