summaryrefslogtreecommitdiff
path: root/searx/webapp.py
AgeCommit message (Collapse)Author
2019-12-21hide suggestions box if emptyMarc Abonce Seguin
This bug happens only in python3 because map returns an iterator.
2019-12-02Merge pull request #1744 from dalf/optimizationsAdam Tauber
[mod] speed optimization
2019-11-16webapp.py: use html.escape if cgi.escape is not availablelorddavidiii
- cgi.escape was removed in python 3.8 - also use html.escape in framalibre.py
2019-11-15[mod] speed optimizationDalf
compile XPath only once avoid redundant call to urlparse get_locale(webapp.py): avoid useless call to request.accept_languages.best_match
2019-10-22[fix] preserve bangs in correctionsMarc Abonce Seguin
2019-10-16add initial support for offline engines && command engineNoémi Ványi
2019-08-02[enh] Add timeout limit per request (#1640)Alexandre Flament
The new url parameter "timeout_limit" set timeout limit defined in second. Example "timeout_limit=1.5" means the timeout limit is 1.5 seconds. In addition, the query can start with <[number] to set the timeout limit. For number between 0 and 99, the unit is the second : Example: "<30 searx" means the timeout limit is 3 seconds For number above 100, the unit is the millisecond: Example: "<850 searx" means the timeout is 850 milliseconds. In addition, there is a new optional setting: outgoing.max_request_timeout. If not set, the user timeout can't go above searx configuration (as before: the max timeout of selected engine for a query). If the value is set, the user can set a timeout between 0 and max_request_timeout using <[number] or timeout_limit query parameter. Related to #1077 Updated version of PR #1413 from @isj-privacore
2019-07-27[fix] small fixes in preferences view's textMarc Abonce Seguin
2019-07-27[fix] fix the debug message "starting webserver on ip:port"Dalf
was "port:ip"
2019-07-17[enh] Add Server-Timing header (#1637)Alexandre Flament
Server Timing specification: https://www.w3.org/TR/server-timing/ In the browser Dev Tools, focus on the main request, there are the responses per engine in the Timing tab.
2019-07-17Suggestions: use RawTextQuery to make the suggestions URLs. Update all ↵Dalf
themes accordingly.
2019-07-01[fix] preserve bangs in suggestions and correctionsMarc Abonce Seguin
2019-07-01[fix] never pass bangs to autocomplete suggestionsMarc Abonce Seguin
2019-05-18fix: dev: python3 dict keys jsonifyrachmadaniHaryono
2019-01-18[FIX] image_proxifyVenca24
2019-01-07Revert "remove 'all' option from search languages"Noémi Ványi
This reverts commit 4d1770398a6af8902e75c0bd885781584d39e796.
2018-03-27refactor engine's search language handlingMarc Abonce Seguin
Add match_language function in utils to match any user given language code with a list of engine's supported languages. Also add language_aliases dict on each engine to translate standard language codes into the custom codes used by the engine.
2018-03-17[fix] get doi_rewriters from settings - fixes #1245Adam Tauber
2018-02-19[enh] update translations - add taiwanese and filipinoAdam Tauber
2017-12-06Merge pull request #973 from MarcAbonce/languagesAdam Tauber
Remove 'all' option from search languages
2017-12-06remove 'all' option from search languagesmarc
2017-12-05[enh] make custom oscar option configurable from urlAdam Tauber
2017-11-23[fix] autocompleter py3 compatibility - fixes #1088Adam Tauber
2017-11-15fix bug: TypeError: set(['bing', 'google']) is not JSON serializable, when ↵yujunqiang
curl 'http://127.0.0.1:8888/?q=xxxxxxxx&categories=general&format=json'
2017-11-01minor fixes of doi resolverNoémi Ványi
Closes #1047
2017-11-01[enh] oa_doi_rewrite plugin broadens doai_rewritejibe-b
2017-10-26[mod] compress saved preferences in urlAdam Tauber
2017-09-08fix hmac python3 compatibilityNoémi Ványi
2017-09-08[fix] static path fixed in templates and webapp, line endings fixedmisnyo
2017-07-20[enh] allow default empty values for normal and result proxiesAdam Tauber
2017-07-12show engine errors in infobox && add new error alertNoémi Ványi
2017-07-10[enh] generate search url of saved preferencesAdam Tauber
2017-06-12[fix] load engines if debug mode is enabled using uwsgiAdam Tauber
2017-05-22[fix] rss feed : the jinja template was not found when the rss feed returns ↵Alexandre Flament
an valid feed including an error.
2017-05-15[mod] settings.yml can be /etc/searx/settings.ymlAlexandre Flament
The exact order is * first from SEARX_SETTINGS_PATH, * if not found then from searx code base, * if not found then from /etc/searx/settings.yml * if not found an exception stops searx loading
2017-05-15[mod] the static and templates directories can be defined in the settings.ymlAlexandre Flament
2017-05-15[enh] py3 compatibilityAdam Tauber
2017-03-23[mod] upgrade requirements.txtAlexandre Flament
2017-01-27Merge branch 'master' into flask_perimeterAlexandre Flament
2017-01-20[enh] validate input and raise an exception inside search.py. The exception ↵Alexandre Flament
message is output in json and rss format.
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-15Merge branch 'master' into flask_perimeterAlexandre Flament
2017-01-07[mod] /config API : add language_support, paging, safesearch, ↵Dalf
supported_languages, time_range_support, timeout fields.
2017-01-02[mod] searx uses flask framework only in webapp.py. Make migration to ↵Alexandre Flament
another framework easier.
2016-12-28[fix] load engines with uwsgi tooAdam Tauber
2016-12-28Merge branch 'master' into languagesAdam Tauber
2016-12-27[fix] do not reload engines twice if started with debug modeAdam Tauber
2016-12-27[enh] explicit engine initAdam Tauber
2016-12-25[fix] robot tests ++ set default value for server http protocol versionAdam Tauber