summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-10Merge pull request #2454 from MarcAbonce/fix-empty-lang-bangAlexandre Flament
Fix empty colon in query from selecting Chinese
2021-01-09fix empty colon in query from selecting ChineseMarc Abonce Seguin
2021-01-08Merge pull request #2447 from unixfox/issue-template-noticeAlexandre Flament
add notice for the issue templates
2021-01-08Merge pull request #2448 from return42/fix-1998Alexandre Flament
[fix] Library Genesis links shifted by 1 #1998
2021-01-07[fix] Library Genesis links shifted by 1 #1998Markus Heiser
Fixes: #1998 Suggested-by: @linuxmue Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-01-07add notice for the issue templatesEmilien Devos
2021-01-06Merge pull request #2445 from searx/unixfox-patch-1Alexandre Flament
Remove voat due to its shutdown
2021-01-06Remove voat due to its shutdownÉmilien Devos
Voat shutted down on December 25th, 2020 at 12 noon PST: https://voat.co/host/voat/static/inactive.min.html?ReturnUrl=/
2021-01-05Merge pull request #2428 from dalf/update-dependenciesAlexandre Flament
[upd] update Python dependencies
2021-01-05Merge pull request #2435 from return42/fix-lxc-envAlexandre Flament
[LXC] replace ubu1910 image by ubu2010 image
2021-01-02[mod] add Ubuntu 20.10 image to the LXC suiteMarkus Heiser
Ubuntu 20.10 image [1] is avialable from https://images.linuxcontainers.org BTW: replace builhost package 'ttf-dejavu' by more common meta package 'fonts-dejavu' ('ttf-dejavu' is no longer available in 20.10). [1] https://github.com/lxc/lxc-ci/commit/d161de601bffe4055d77b9d52a826ce5d81567d9 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-01-02[fix] remove Ubuntu 19.10 from the LXC suite (EOL)Markus Heiser
Official support for Ubuntu 19.10 'Eoan Ermine' ended on July 17, 2020. The image has been dropped [1] from https://images.linuxcontainers.org [1] https://github.com/lxc/lxc-ci/commit/d161de601bffe4055d77b9d52a826ce5d81567d9 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-12-28[upd] update dependenciesAlexandre Flament
minor change in the oscar theme becase the last version of jinja2 respect more carefully the spaces in the templates
2020-12-27Merge pull request #2411 from dalf/update-secret-key-checkAlexandre Flament
Update secret key check
2020-12-27Merge pull request #2423 from return42/mod1-boilerplateAlexandre Flament
Speed up PyLint & revert obsolete CSS issue
2020-12-27[perf] pylint: Use multiple processes to speed up Pylint.Markus Heiser
Specifying '-j 0' will auto-detect the number of processors available to use. Suggested-by: @dalf / https://github.com/searx/searx/pull/2421#issuecomment-751444257 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-12-27Revert "[fix] sphinx 3.1 CSS issues"Markus Heiser
This reverts commit 0616684baa58b86cac5df6546432d4372f965fe2. Since PR https://github.com/sphinx-doc/sphinx/pull/7878 has been merged into Spinx-doc (v3.1.2), this patch is no longer needed: See sphinx-doc project, PR 7838 & 7484 with elementary patch to the basic CSS: - https://github.com/sphinx-doc/sphinx/issues/7838#issuecomment-646009605 - https://github.com/sphinx-doc/sphinx/pull/7484#issuecomment-646058972 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-12-27[mod] check secret_key when searx.webapp is importedAlexandre Flament
Without this commit the module searx checks the secret_key value. With this commit, make docs, utils/standalone_searx.py, utils/fetch_firefox_version.py works without SEARX_DEBUG=1 For reference see https://github.com/searx/searx/pull/2386
2020-12-27[mod] documentation: change the jinja context doesn't depend on searx.webappAlexandre Flament
Before this commit, in the documentation, the jinja context is 'webapp' and contains the global variable in the searx.webapp module. This commit changes this to include only the mandatory variables to build the documentation.
2020-12-27Merge pull request #2420 from return42/fix-sphinx-book-targetsAlexandre Flament
fix makefile `books/{name}.*` targets and add documentation about these targets
2020-12-27Merge pull request #2412 from dalf/update-buildenvAlexandre Flament
[fix] update buildenv
2020-12-27Merge pull request #2421 from return42/mod-pyenvinstallAlexandre Flament
[perf] optimize creation of the virtualenv & pyenvinstal targets
2020-12-26[mod] LXC_ENV_FOLDER moved from ./lxc to ./lxc-envMarkus Heiser
BTW: - add target $(LXC_ENV_FOLDER) - fix indentations Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-12-26[fix] utils/lib.sh: various typos in messages and commentsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-12-24[fix] message to install different python versions from apt PPAMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-12-24[perf] pyenvinstall: reinstall only when requirements are changeMarkus Heiser
Create a (PY_ENV)/requirements.sha256 file with sha256 sums of the ./requirements*.txt files and reinstall only if the sha256 sums change. Suggested-by: @dalf / https://github.com/searx/searx/pull/2418#pullrequestreview-558426579 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-12-24[perf] virtualenv: install boilerplate only onceMarkus Heiser
Install boilerplate packages (pip, wheel, setuptools and requirements.txt) only once, when virtualenv is created. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-12-24[doc] describe 'make books/{name}.html' and 'books/{name}.pdf'Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-12-24[fix] makefile.sphinx: additions to commit c2a6f145Markus Heiser
In commit c2a6f145 the sphinx-doc and sphinx-live targets has been removed, since Sphinx is already installed by the pyenvinstall target. This commit removes the targets from the remaining prerequisites of the 'BOOK' targets Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-12-24Merge pull request #2418 from return42/fix-pyenv-installAlexandre Flament
[fix] makefile.python: remove duplicate pyenv-(un)install targets
2020-12-24Merge pull request #2417 from return42/fix-seetings-templateAlexandre Flament
[fix] use SEARX_SETTINGS_TEMPLATE from .config environment
2020-12-24[fix] makefile.python: remove duplicate pyenv-(un)install targetsMarkus Heiser
Makefile targets 'pyenv-install' and 'pyenv-uninstall' are unused duplicates of 'pyenvinstall' and 'pyenvuninstall'. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-12-23[mod] utils/searx.sh install: create branch if not already existsMarkus Heiser
This patch keeps an eye on: 1. When installing searx, the branch to install needs to be a local branch. 2. The branch to install can be different from the current branch. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-12-23[fix] use SEARX_SETTINGS_TEMPLATE from .config environmentMarkus Heiser
In commit a70b9b9f the SEARX_SETTINGS_TEMPLATE environment was added to the .config file, but was not use in utils/searx.sh. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-12-22Merge pull request #2415 from return42/upd-useragentAlexandre Flament
update useragents
2020-12-22[upd] make SEARX_DEBUG=1 useragents.updateMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-12-21[fix] update buildenvAlexandre Flament
CONTACT_URL is unset in Makefile, but searx/brand.py and utils/brand.env are not updated. This commit fixes this issue.
2020-12-20Merge pull request #2397 from dalf/update-ciAlexandre Flament
updates for Python 3.9 / update CI
2020-12-20[fix] pylint: use "raise ... from ..."Alexandre Flament
2020-12-20[fix] Python 3.9: use html.unescape instead of HTMLParser.unescapeAlexandre Flament
2020-12-20[enh] CI: use actions/cache@v2 for Python dependenciesAlexandre Flament
2020-12-20Merge pull request #2398 from dalf/mod-search-queryAlexandre Flament
Mod search query
2020-12-20Merge pull request #2405 from dalf/no-emojisAlexandre Flament
[mod] remove emojis from source code
2020-12-20Merge pull request #2399 from return42/fix-lxcAlexandre Flament
[fix] determine path to makefile.lxc in a LXC
2020-12-20Merge pull request #2401 from return42/drop-virtualenv-cmdAlexandre Flament
[mod] remove obsolete virtualenv command
2020-12-20[mod] remove emojis from source codeAlexandre Flament
2020-12-18[fix] yum installation of 'Development Tools'Markus Heiser
'yum install' does not support '@development-tools' notation for group installation. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-12-18[mod] remove obsolete virtualenv commandMarkus Heiser
Installation and use of the command 'virtualenv' was only needed in py2 and py2 is no longer suported by searx. In py3 the command is replaced by 'python -m venv'. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-12-18[fix] determine path to makefile.lxc in a LXCMarkus Heiser
The path to the makefile.lxc is not always static and '/share/searx/utils/makefile.lxc' can be wrong. When target 'lxc.activate' is called within the LXC container the path to makefile.lxc depends on LXC_SHARE_FOLDER and the basename of the folder where searx was cloned inital on the HOST system. This patch determines the path of 'makefile.lxc' next to 'makefile.include' itself. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-12-18[mod] searx.search.EngineRef: remove from_bang parameterAlexandre Flament
from_bang is True when the user query contains a bang. In this case the category is also set to 'none'. from_bang only usage was in searx.webadapter.parse_specific : if from_bang is True, then the EngineRef category is ignored and force to 'none'. This commit also removes the searx.webadapter.parse_sepecific function.