Markus Heiser
e0c99d9dcb
bugfix: fetch_supported_languages bing, -news, -videos, -images
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-01 08:01:36 +01:00
Markus Heiser
40843fe95a
searx/data/engines_languages.json: sort json file (no content change)
...
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-03-01 07:56:46 +01:00
Markus Heiser
2f6f9665a9
requirements-dev.txt: add missing pylint for liniting tests
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-29 17:01:11 +01:00
Markus Heiser
c89c05bceb
bugfix: google-news and bing-news has changed the language parameter
...
closes: https://github.com/asciimoo/searx/issues/1838
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-25 18:44:28 +01:00
Markus Heiser
6a3ef5561b
Merge pull request #1861 from return42/fix-prefs
...
fix serious bugs of the test procedure
2020-02-25 08:56:34 +01:00
Markus Heiser
8685d1b7d8
Merge branch 'master' into fix-prefs
2020-02-24 08:16:42 +01:00
Markus Heiser
700574357a
make test: bugfix, pyenvinstall is a prerequisite for the pylint test
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-24 08:14:09 +01:00
Markus Heiser
692c331b30
Merge pull request #1863 from MarcAbonce/monkey-patch-occitan-locale
...
Monkey patch babel get_translations to support Occitan
2020-02-24 08:08:16 +01:00
Markus Heiser
aa95a0d70b
searx/testing.py: fixed pep8 error
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-24 07:55:14 +01:00
Marc Abonce Seguin
51e78211de
monkey patch babel get_translations to support Occitan
2020-02-23 21:46:26 -07:00
Markus Heiser
81f106e5de
searx/testing.py: bugfix process model (do not use Flask's debug mode)
...
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-23 23:03:05 +01:00
Markus Heiser
4a94b4cca6
searx/testing.py: pylint & SPDX tag (no functional change)
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-23 22:51:07 +01:00
Markus Heiser
1cae4fa88d
preferences.py: implement defaults if unset
...
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-23 20:56:05 +01:00
Markus Heiser
179be12732
preferences.py: pylint, SPDX tag & docstrings (no functional change)
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-23 20:52:00 +01:00
Markus Heiser
09f4e2cd31
Merge pull request #1846 from piplongrun/autocomplete_swisscows
...
Add Swisscows autocomplete option
2020-02-23 14:54:10 +00:00
Markus Heiser
f272781ab7
Merge branch 'master' into autocomplete_swisscows
2020-02-23 14:43:33 +00:00
Markus Heiser
57efb45ce5
Merge pull request #1773 from Monogramm/docker/opencontainers
...
📝 Add Opencontainers labels in docker image
2020-02-23 14:43:14 +00:00
Markus Heiser
b7105da2af
Add missing autocomplete backends to settings.yml comment
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-23 15:41:08 +01:00
Markus Heiser
78c5216d76
Merge branch 'master' into autocomplete_swisscows
2020-02-23 14:24:42 +00:00
Markus Heiser
55aa7f96c1
Merge branch 'master' into docker/opencontainers
2020-02-23 11:55:20 +00:00
Markus Heiser
8c26097757
Merge pull request #1842 from piplongrun/engine-etools
...
Add new eTools.ch engine
2020-02-23 11:52:29 +00:00
Markus Heiser
98322ac15c
Merge branch 'master' into engine-etools
2020-02-23 11:47:49 +00:00
Markus Heiser
90d23e7ef6
Merge pull request #1860 from MarcAbonce/fix-default-locale
...
Fix default locale and language issues
2020-02-23 11:39:04 +00:00
Marc Abonce Seguin
c0006cadf7
fix default locale and language issues
2020-02-23 02:03:42 -07:00
Markus Heiser
2ade2ce10a
Merge pull request #1855 from return42/fix-dead-links
...
docs: fix dead Searx-instance links to https://searx.space
2020-02-20 18:31:05 +00:00
Markus Heiser
a9d184473f
docs: fix dead Searx-instance links to https://searx.space
...
Related to #1853 / BTW update year of copyright note
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-20 18:11:34 +01:00
Adam Tauber
6df4172887
[fix] allow settin custom locale from settins.yml
2020-02-18 00:56:27 +01:00
Markus Heiser
ab2f56e886
Merge pull request #1843 from dalf/searx_space
...
[mod] move public instance list to https://searx.space
2020-02-15 09:06:37 +00:00
piplongrun
b136480546
Add Swisscows autocomplete option
2020-02-14 19:19:24 +01:00
Dalf
88f9ac58f4
[mod] move public instance list to https://searx.space
2020-02-14 13:48:44 +01:00
piplongrun
e1b60106b7
Add etools engine to the list
2020-02-12 23:59:18 +01:00
piplongrun
f0684a5bb5
Add eTools engine
2020-02-12 23:58:50 +01:00
Markus Heiser
7f224713e5
Merge pull request #1621 from nfk/locale
...
Fix regional settings #844
2020-02-08 14:54:22 +00:00
Markus Heiser
7c79eb9b1b
Merge commit 'refs/pull/1621/head' of https://github.com/asciimoo/searx
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-08 15:08:33 +01:00
Markus Heiser
50b070c5d3
Merge pull request #1835 from dalf/uwsgi_fix
...
[fix] Disable HTTP keep alive
2020-02-08 12:52:22 +00:00
Markus Heiser
3f127b6c95
Merge branch 'master' into uwsgi_fix
2020-02-08 12:47:56 +00:00
Markus Heiser
3062e2adf9
Merge pull request #1823 from kvch/make-engines-private
...
Thanks! .. excellent work, I see you on #1836 :)
2020-02-08 12:04:42 +00:00
Noémi Ványi
99435381a8
[enh] introduce private engines
...
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-08 11:47:39 +01:00
Dalf
0579d93783
[fix] Disable HTTP keep alive
...
Fix HTTP 429 response from filtron
See https://github.com/searx/searx-docker/issues/24
2020-02-07 19:16:15 +01:00
Adam Tauber
f9c7a678d2
[doc] fix rst format to be able to upload the package to pypi
2020-02-07 12:00:45 +01:00
Adam Tauber
ab1b1ac358
Merge pull request #1831 from nfk/nicofonk/fix/werkzeug_import
...
Fix deprecated werkzeug import
2020-02-06 21:58:42 +00:00
Nicolas Gelot
b8b13372c8
Fix deprecated werkzeug import
...
Close : #1830
Signed-off-by: Nicolas Gelot <nicolas.gelot@e.email>
2020-02-06 22:49:35 +01:00
Adam Tauber
6060ab85f8
[enh] version v0.16.0
2020-01-30 13:39:06 +01:00
Adam Tauber
89662cd33e
[enh] update AUTHORS.rst with new contributors
2020-01-30 13:33:19 +01:00
Adam Tauber
b6a2aff94a
[enh] update translations
2020-01-30 11:16:15 +01:00
Adam Tauber
8e3bd3fcbd
[mod] add py2 deprecation warning to webapp
2020-01-28 15:52:50 +01:00
Markus Heiser
54675c7690
Merge pull request #1766 from dalf/fix-infinite-scroll
...
[mod] infinite scroll: XHR requests are sent with the header "Accept: text/html"
2020-01-28 11:04:02 +00:00
Markus Heiser
e64ff38217
Merge branch 'master' into fix-infinite-scroll
2020-01-28 10:59:03 +00:00
Mathieu Brunot
24472ce718
Merge branch 'master' into docker/opencontainers
2020-01-14 15:43:43 +01:00
Markus Heiser
bda1895655
Merge pull request #1804 from unixfox/patch-1
...
searx.be stopped using Fathom analytics
2020-01-12 11:25:47 +00:00