summaryrefslogtreecommitdiff
path: root/searx
AgeCommit message (Collapse)Author
2020-03-25make project: re-build generic files of the searx projectMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-25[fix] brands: add variables from build env to jinja templatingMarkus Heiser
We have some variables in the build environment which are also needed in the templating process. Theses variables are relavant if one creates a fork with its own branding. We treat these variables under the term 'brands'. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-23Merge branch 'master' of https://github.com/asciimoo/searx into filtronMarkus Heiser
2020-03-23[enh] submit search on suggestion select - closes #807Adam Tauber
2020-03-23[fix] load new page with infinite scroll if there is no scrollbar - fixes #759Adam Tauber
2020-03-23[enh] add clear search button to oscar theme - fixes #454Adam Tauber
2020-03-21Merge branch 'master' of https://github.com/asciimoo/searx into filtronMarkus Heiser
2020-03-16[fix] remove debug printAdam Tauber
2020-03-16[fix] handle weights in accept language parsing - fixes w3ms en;q=1.0Adam Tauber
2020-03-15Merge branch 'master' of https://github.com/asciimoo/searx into filtronMarkus Heiser
2020-03-13[fix] convert query to string to produce valid filename for csv outputAdam Tauber
2020-03-13[fix] add answers, suggestions, corrections to csv outputAdam Tauber
fixes #1888
2020-03-13[fix] add answers, suggestions, corrections to rss outputAdam Tauber
fixes #1888
2020-03-09[Fix] Startpage ValueError on Spanish date formatSpühler Stefan
datetime.parser.parse() does not know the Spanish date format which leads to a ValueError. Fixes #1870 Traceback (most recent call last): File "/usr/local/searx/searx/search.py", line 160, in search_one_http_request_safe search_results = search_one_http_request(engine, query, request_params) File "/usr/local/searx/searx/search.py", line 97, in search_one_http_request return engine.response(response) File "/usr/local/searx/searx/engines/startpage.py", line 102, in response published_date = parser.parse(date_string, dayfirst=True) File "/usr/local/searx/searx-ve/lib/python3.6/site-packages/dateutil/parser/_parser.py", line 1358, in parse return DEFAULTPARSER.parse(timestr, **kwargs) File "/usr/local/searx/searx-ve/lib/python3.6/site-packages/dateutil/parser/_parser.py", line 649, in parse raise ValueError("Unknown string format:", timestr) ValueError: ('Unknown string format:', '24 Ene 2013')
2020-03-04docs: describe uwsgi setup of all suported distributionsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-01bugfix(!biv) : bing-video do not like "older" User-AgentsMarkus Heiser
When selecting other languages than 'en', bing-video did not handle the language correct and gave very bad results. Since User-Agent is normaly rotated in searx, the behavior of a !biv search was unpredictable and paging was broken. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-01bing_news: parital rollback of c89c05bcMarkus Heiser
The bing_news bug (discussed in #1838) was caused by wrong language tags, which was fixed e0c99d9d / no need to change the bing_news search string. closes: https://github.com/asciimoo/searx/issues/1838 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-01update languages: engines_languages.json languages.pyMarkus Heiser
build by Makefile target: make project Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-01bugfix: fetch_supported_languages bing, -news, -videos, -imagesMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-01searx/data/engines_languages.json: sort json file (no content change)Markus Heiser
To get meaningfull diffs, the json file has to be sorted. Before applying any further content patch, the json file needs a inital sort (without changing any content). Sorted by:: import sys, json with open('engines_languages.json') as f: j = json.load(f) with open('engines_languages.json', 'w') as f: json.dump(j, f, indent=2, sort_keys=True) Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-25bugfix: google-news and bing-news has changed the language parameterMarkus Heiser
closes: https://github.com/asciimoo/searx/issues/1838 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-24Merge branch 'master' into fix-prefsMarkus Heiser
2020-02-24searx/testing.py: fixed pep8 errorMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-23monkey patch babel get_translations to support OccitanMarc Abonce Seguin
2020-02-23searx/testing.py: bugfix process model (do not use Flask's debug mode)Markus Heiser
Don't enable Flask's debug mode, the debugger from Flask will cause a wired process model, where the server never dies. Further read: - debug mode: https://flask.palletsprojects.com/quickstart/#debug-mode - Flask.run(..): https://flask.palletsprojects.com/api/#flask.Flask.run closes: https://github.com/asciimoo/searx/issues/1862 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-23searx/testing.py: pylint & SPDX tag (no functional change)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-23preferences.py: implement defaults if unsetMarkus Heiser
Implemnts defaults for: - search.default_lang, search.autocomplete, search.safe_search, - ui.default_theme, ui.default_locale - server.image_proxy This fixes also: https://github.com/asciimoo/searx/pull/1860#issuecomment-590082955 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-23preferences.py: pylint, SPDX tag & docstrings (no functional change)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-23Add missing autocomplete backends to settings.yml commentMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-23Merge branch 'master' into autocomplete_swisscowsMarkus Heiser
2020-02-23Merge branch 'master' into engine-etoolsMarkus Heiser
2020-02-23fix default locale and language issuesMarc Abonce Seguin
2020-02-18[fix] allow settin custom locale from settins.ymlAdam Tauber
2020-02-14Add Swisscows autocomplete optionpiplongrun
2020-02-14[mod] move public instance list to https://searx.spaceDalf
2020-02-12Add etools engine to the listpiplongrun
2020-02-12Add eTools enginepiplongrun
2020-02-08Merge commit 'refs/pull/1621/head' of https://github.com/asciimoo/searxMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-08[enh] introduce private enginesNoémi Ványi
This PR adds a new setting to engines named `tokens`. It expects a list of tokens which lets searx validate if the request should be accepted or not.
2020-02-06Fix deprecated werkzeug importNicolas Gelot
Close: #1830 Signed-off-by: Nicolas Gelot <nicolas.gelot@e.email>
2020-01-30[enh] version v0.16.0Adam Tauber
2020-01-30[enh] update translationsAdam Tauber
2020-01-28[mod] add py2 deprecation warning to webappAdam Tauber
2020-01-28Merge branch 'master' into fix-infinite-scrollMarkus Heiser
2020-01-07Fix double-encode error (fixes #1799)frankdelange
2020-01-06Merge branch 'master' into bug/oscar-themeMarkus Heiser
2020-01-02[fix] pep8Adam Tauber
2020-01-02[fix] add py3 compatibilityAdam Tauber
2020-01-02[fix] handle empty responseAdam Tauber
2020-01-02[fix] handle missing thumbnailAdam Tauber