summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-01-31utils/searx.sh & filtron.sh: misc changes from first tests (WIP)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-30utils/searx.sh & filtron.sh: misc changes from first tests (WIP)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-29utils/searx.sh & filtron.sh: misc changes from first tests (WIP)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-27utils/searx.sh: add apache site searx.conf:uwsgi (WIP)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-21utils/searx.sh: add apache site searx.conf:uwsgiMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-20utils/filtron.sh: add script to install filtron middleware (apache)Markus Heiser
Preparation for the installation of an apache site. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-20utils/searx.sh: add script to install isolated searx serviceMarkus Heiser
First version which serves searx over uwsgi at http://127.0.0.1:8888 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-16utils/searx.sh: add script to install isolated searx service (WIP)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-14utils/searx.sh: add script to install isolated searx service (WIP)Markus Heiser
WIP: written from scratch / linted but untested Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-13Merge branch 'master' of https://github.com/asciimoo/searx into filtronMarkus Heiser
2020-01-13Merge branch 'filtron' of https://github.com/return42/searx into filtronMarkus Heiser
2020-01-13filtron: log suspiciously frequent queries (WIP)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-12docs: filtron.sh add remark about init systemsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-12utils/filtron.sh: add command 'update filtron'Markus Heiser
BTW: tidy up some code style and fix some issues reported by the linter. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-12Merge pull request #1804 from unixfox/patch-1Markus Heiser
searx.be stopped using Fathom analytics
2020-01-12searx.be stopped using Fathom analyticsEmilien Devos
2020-01-11docs(admin): add description of the utils/filtron.sh scriptMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-11docs: add Sphinx-doc extension sphinxcontrib.programoutputMarkus Heiser
- https://github.com/NextThought/sphinxcontrib-programoutput Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-09utils/filtron.sh: various fix from first installation test (WIP)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-08Merge branch 'master' of https://github.com/asciimoo/searx into filtronMarkus Heiser
2020-01-08utils/filtron.sh: add script to install filtron middlewareMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-08utils: add lib.sh containing common shell scriptMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-08build requirements: add a shell script static analysis toolMarkus Heiser
ShellCheck: https://github.com/koalaman/shellcheck Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-08Merge pull request #1800 from Yetangitu/flickr_noapi_double_encodeAdam Tauber
[engines|fix] flickr_noapi: Fix double-encode error (fixes #1799)
2020-01-07Fix double-encode error (fixes #1799)frankdelange
2020-01-06Merge pull request #1791 from return42/add-docsMarkus Heiser
misc docs
2020-01-06docs: move wiki/Searx-instances from wiki to docsMarkus Heiser
fix project link in conf.py Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-06Merge branch 'master' of https://github.com/asciimoo/searx into add-docsMarkus Heiser
2020-01-06docs(user): move wiki/Searx-instances from wiki to docsMarkus Heiser
fixed some reST markups Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-06Merge pull request #1781 from finn0/bug/oscar-themeMarkus Heiser
Oscar: move info box at top of the page
2020-01-06Merge branch 'master' into bug/oscar-themeMarkus Heiser
2020-01-05docs(user): public instances, fix Searxes@Danwin entryMarkus Heiser
fixes: https://github.com/asciimoo/searx/issues/1770 This is not Searx at all. This is Meta-Searx with other engines. See https://github.com/asciimoo/searx/issues/1770#issuecomment-570776655 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-04docs(user): move wiki/Searx-instances from wiki to docs (WIP)Markus Heiser
Move wiki entry https://github.com/asciimoo/searx/wiki/Searx-instances into user section of the docs (#1785). links has been ported from markdown to reST by:: regexpr: \[([^\]]*)\]\(([^)]*)\) substitution: `\1 <\2>`__ Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-04docs(user): move wiki/Searx-instances from wiki to docsMarkus Heiser
Move wiki entry https://github.com/asciimoo/searx/wiki/Searx-instances into user section of the docs (#1785). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-03Merge branch 'master' of https://github.com/asciimoo/searx into add-docsMarkus 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
2020-01-02[fix] skip invalid encoded attributesAdam Tauber
2020-01-02[fix] handle missing result sizeAdam Tauber
2020-01-02[fix] tmp suspend insecure enginesAdam Tauber
2019-12-31Merge pull request #1623 from ypid/fix/nginx-subdir-hostingMarkus Heiser
Fix Nginx subdir URL install docs which allowed download of settings.yml
2019-12-31Let Nginx deliver static files directory in all examplesRobin Schneider
2019-12-31Simply Nginx example by using alias directive for subdirectory URLRobin Schneider
We explicitly specific the static directory here using alias to allow to host from a other subdirectory than "searx" which just so happens to match the source code directory.
2019-12-31Fix Nginx subdir URL install docs which allowed download of settings.ymlRobin Schneider
Closes: #1617 There is an issue with the setup example in https://asciimoo.github.io/searx/dev/install/installation.html#installation for subdirectory URL deployments: ```nginx root /usr/local/searx; location = /searx { rewrite ^ /searx/; } try_files $uri @searx; } location @searx { uwsgi_param SCRIPT_NAME /searx; include uwsgi_params; uwsgi_modifier1 30; uwsgi_pass unix:/run/uwsgi/app/searx/socket; } ``` `try_files` causes Nginx to search for files in the server root first. If it matches a file, it is returned. Only if no file matched, the request is passed to uwsgi. The worst consequence I can think of is that `settings.yml` can be downloaded without authentication (where secrets and configuration details are stored). To fix this, I propose: ```nginx location = /searx { rewrite ^ /searx/; } location /searx/static { } location /searx { uwsgi_param SCRIPT_NAME /searx; include uwsgi_params; uwsgi_pass unix:/run/uwsgi/app/searx/socket; } ``` And add ``` route-run = fixpathinfo: ``` to `/etc/uwsgi/apps-available/searx.ini` because `uwsgi_modifier1 30` is apparently deprecated. Ref: https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.11.html#fixpathinfo-routing-action I assume this issue exists because some uwsgi upstream docs also use the `try_files` construct (at least I have seen this somewhere in the docs or somewhere else on the Internet but cannot find it right now again). https://uwsgi-docs.readthedocs.io/en/latest/Nginx.html#hosting-multiple-apps-in-the-same-process-aka-managing-script-name-and-path-info also warns about this: > If used incorrectly a configuration like this may cause security problems. For your sanity’s sake, double-triple-quadruple check that your application files, configuration files and any other sensitive files are outside of the root of the static files.
2019-12-30docs(admin): moved settings description from wiki to docsMarkus Heiser
Move wiki entry https://github.com/asciimoo/searx/wiki/settings.yml into admin section of the docs (#1785). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-30docs(dev): fix minor markup typosMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-30docs(admin): add weight & disabled cols to engine tableMarkus Heiser
BTW: remove internal suspend_end_time Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-30Merge pull request #1661 from 0xhtml/fix-engine-spotifyMarkus Heiser
Fix engine spotify As you can read here https://developer.spotify.com/documentation/web-api/#authentication all requests to the spotify api require authentication. You can not test the api without credentials.