Commit Graph

3132 Commits (178918438662a35585a15a9dee67c62755017824)
 

Author SHA1 Message Date
Noémi Ványi 0b7e7acf74
Merge pull request #1921 from kvch/fix-working-outside-request-ctx
[fix] remove usage of request context where not available
4 years ago
Noémi Ványi bce3830b8d [fix] translate engine errors to Occitan when configured 4 years ago
Noémi Ványi ba7c8d7b96 [fix] remove usage of request context where not available 4 years ago
Noémi Ványi 826ef3d009
Merge pull request #1879 from bauruine/fix_startpage_ValueError_on_spanish_datetime
[Fix] Startpage ValueError on Spanish date format
4 years ago
Noémi Ványi fcb44c6542
Merge branch 'master' into fix_startpage_ValueError_on_spanish_datetime 4 years ago
Noémi Ványi 4eddbca81d
Merge pull request #1917 from dalf/requirements-upgrade
[mod] requirements.txt: upgrade dependency versions.
4 years ago
HLFH 3a26093c46
Remove discontinued faroo engine 4 years ago
Alexandre Flament fbf63f72c7
Merge branch 'master' into requirements-upgrade 4 years ago
Noémi Ványi ee856571c9
Merge pull request #1914 from splintah/wikimedia-projects
[add] Additional Wikimedia projects
4 years ago
Noémi Ványi 7878176bb0
Merge branch 'master' into wikimedia-projects 4 years ago
Noémi Ványi 527b1580b7
Merge pull request #1913 from Venca24/devel_rubygems
[add] rubygems engine
4 years ago
Noémi Ványi f172aad5d2
Merge branch 'master' into devel_rubygems 4 years ago
Markus Heiser 5d4fcfcd9e
Merge branch 'master' into requirements-upgrade 4 years ago
Markus Heiser 4e872c2b19
Merge pull request #1916 from dalf/travis-python-version
[mod] .travis.yml: add Python 3.7 and Python 3.8
4 years ago
Dalf 3973951770 [mod] requirements.txt: upgrade dependency versions. 4 years ago
Dalf a7862ba3c1 [mod] .travis.yml: add Python 3.7 and Python 3.8 4 years ago
Splinter Suidman 83fa88cbec
fix: Change Wikiversity and Wikivoyage shortcuts to wv and wy.
Suggested by @Venca24 <https://github.com/asciimoo/searx/pull/1914#issuecomment-610194209>.
4 years ago
Splinter Suidman 87fba9c12d
fix: Remove unnecessary query parameter for Wikimedia projects. 4 years ago
Splinter Suidman c37544e6be
fix: Spelling of Wiktionary. 4 years ago
Splinter Suidman 2b453cb226
fix: Change Wikinews category to news. 4 years ago
Splinter Suidman 536eb2b8dd
Add Wikimedia projects.
A list of the added projects:
- Wikibooks
- Wikinews
- Wikiquote
- Wikisource
- Wiktionary
- Wikiversity
- Wikivoyage
4 years ago
Venca24 5cb9d9e56a [add] rubygems engine 4 years ago
Markus Heiser 65e8af62b1
Merge pull request #1910 from return42/rfc-travis
improve travis build
5 years ago
Markus Heiser 70d114fab5
Merge branch 'master' into rfc-travis 5 years ago
Markus Heiser 41f002b0ea travis: remove before_cache handle
BTW: separate env output in the travis log

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser 07932951f2
Merge pull request #1911 from dalf/docker-tag-fix
[fix] travis: fix docker tag.
5 years ago
Dalf 4dad366146 [fix] travis: fix docker tag.
the "-dirty" ignores the searx/brand.py and utils/brand.env files.
5 years ago
Markus Heiser fc89c698bd make test.pylint: do not run pylint checks in py2
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser 09a4062505 makefile.python: partial revert off 9b48ae47, adds py2 support back
revert "makefile.python: ... drop build support py2" to get back Py2 support.
TPy2 support need virtualenv installed by the OS.

BTW: log environment and python version in travis's install phase

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser 31437d04e8 makefile.python: hardening - start pylint by module
- replace: $(PY_ENV_BIN)/pylint --> $(PY_ENV_BIN)/python -m pylint

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser 565493b57d travis: use Makefile target travis.codecov to install codecov
fix travis build error [1]::

  The command "local/py3/bin/pip install codecov" failed and exited with 127

Use the correct pip (python environment) from build environment::

  $(PY_ENV_BIN)/python -m pip

[1] https://travis-ci.org/github/asciimoo/searx/jobs/669701405#L590

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser e340bb5bd1 travis: remove platform option arm64
[1] https://github.com/asciimoo/searx/pull/1910#issuecomment-607244871

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser adc3a855e6 Revert "travis: disable cache"
This reverts commit eb87b07d51.
5 years ago
Markus Heiser eb87b07d51 travis: disable cache
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser 9e32fb27e7 [fix] travis: Permission denied: '/home/travis/.cache/pip/...'
Fix "Permission denied: '/home/travis/.cache/" errors from travis build [1].

Change owner https://docs.travis-ci.com/user/caching/#caches-and-read-permissions
and remove old log in the *before_caching* phase:

  https://docs.travis-ci.com/user/caching/#before_cache-phase

About pip cache see: https://docs.travis-ci.com/user/caching/#pip-cache

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>

[1] https://travis-ci.org/github/asciimoo/searx/jobs/669664131#L220
5 years ago
Markus Heiser 9b48ae47ec makefile.python: hardening - drop virtualenv, drop build support py2
From py3.3 on a subset of virtualenv is built-in, so you can run '-m venv' ot of
the box.

- replace: $(PY_ENV_BIN)/pip --> $(PY_ENV_BIN)/python -m pip
- remove obsolete virtualenv-exe target and adjust VTENV_OPTS
- remove obsolete msg-pip-exe target
- print list of py launchers available from $(PY_ENV_BIN) to the log
- fix hard coded ./local

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser 8c145ff2fe travis: build on os: linux, dist: bionic, use platform arch: arm64
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser b18880985c travis: make travis build more verbose
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser 8189e18d91
Merge pull request #1905 from dalf/docker-build-fix
[fix] travis: fix docker build.
5 years ago
Alexandre Flament 2a1db2ac4a
Merge branch 'master' into docker-build-fix 5 years ago
Markus Heiser c97c4947d5
Merge pull request #1906 from dalf/pr-1900-typo-fix
[fix] template: fix typo in about.html
5 years ago
Dalf 4bb35e7ef5 [fix] template: fix typo in about.html 5 years ago
Dalf d425e26e80 [fix] fix travis build 5 years ago
Markus Heiser 949378a07f
Merge pull request #1900 from return42/issue-1898
export build variables / support brands
5 years ago
Markus Heiser 1ae39787c1 Makefile: rename target 'searx.brand' to 'buildenv'
And add 'buildenv' as an first order prerequisite to the main targets:

- install
- run
- docs
- docs-live
- project
- node.env
- docker
- test

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser ca65d41da5 [fix] travis: reomve 'make style' from travis build
Commit 8a16903a removes Makefile target style

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser 442b27ac1b bash: use build environment from Makefile
To Makefile target brand, add creation of bash environment in::

  utils/brand.env

In bash scripts (manage.sh) source env by::

  . utils/brand.env

manage.sh help: show GIT_URL and more environment

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser 8a16903a1c make themes: rename 'style' targtes to 'themes' targets
style.legacy could be renamed themes.legacy : it actually builds the files for
the legacy theme, then themes.legacy can be a dependency of themes.  Same for
the other styles.*

Debatable: about style.bootstrap, same convention : theme.bootstrap (even it is
more a toolbox for the oscar theme).

So there is no need to add the missing make styles in the help target.

thanks @dalf:

- https://github.com/asciimoo/searx/pull/1900#discussion_r399160355

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser ec453e0239 [fix] docker 'Error compiling' and 'SyntaxError' messages
The make docker target spits out some SyntaxError.  With this .dockerignore
there is no more error. Explanation:

- the python files are compiled while building the docker image
- a node modules contains some python files
- the python files inside the node module doesn't compile

It raises the fact that node_modules were included in the docker image which
should not happen.  Same the local directory was included.  Dockerfile builds
searx in its own way (without virtualenv)

Thanks @dalf:

- https://github.com/asciimoo/searx/pull/1900#issuecomment-604892737

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser d7523071a0 travis: use build environment from Makefile
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago