Alexandre Flament
aa887eb375
[mod] checker : replace pycld3 by langdetect
...
pycld3 requires the native library cld3
langdetect is a pure python package
4 years ago
Tobi823
16a0a01553
Document workaround for using 2 languages simultaneously #1508
4 years ago
Alexandre Flament
0495e15df4
Merge pull request #2476 from dalf/fix-error-recording-and-checker
...
Fix error recording and checker
4 years ago
Alexandre Flament
67a1aab0d5
[fix] /stats/checker : remove the timestamp field when the checker is disabled
4 years ago
Alexandre Flament
d473407ec9
[fix] checker: fix engine statistics
...
Without this commit, the URL /stats/errors shows percentage above 100% after the checker has run.
4 years ago
Alexandre Flament
ca76f3119a
[fix] error_recorder: record code and lineno about the engine
...
since the PR #2225 , code and lineno were sometimes meaningless
see /stats/errors
4 years ago
Alexandre Flament
80d7411f2c
Merge pull request #2452 from kvch/add-wilby-engine
...
Add wiby.me engine
4 years ago
Alexandre Flament
b405646749
Merge pull request #2451 from mrwormo/invidious-engine
...
[Fix] Invidious Engine
4 years ago
Alexandre Flament
709dd960f1
Merge pull request #2473 from return42/fix-setup.py
...
[fix] setup.py requires pyyaml installed
4 years ago
Alexandre Flament
1d13ad8452
Merge pull request #2460 from dalf/engine-about
...
[enh] engines: add about variable
4 years ago
Markus Heiser
c4a98862bf
[fix] setup.py requires pyyaml installed
...
pip install -e .
...
Obtaining file:///usr/local/searx/searx-src
ERROR: Command errored out with exit status 1:
command: /usr/local/searx/searx-pyenv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/usr/local/searx/searx-src/setup.py'"'"'; __file__='"'"'/usr/local/searx/searx-src/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-vzer91m2
cwd: /usr/local/searx/searx-src/
Complete output (9 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/searx/searx-src/setup.py", line 10, in <module>
from searx.version import VERSION_STRING
File "/usr/local/searx/searx-src/searx/__init__.py", line 19, in <module>
import searx.settings_loader
File "/usr/local/searx/searx-src/searx/settings_loader.py", line 8, in <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Alexandre Flament
a4dcfa025c
[enh] engines: add about variable
...
move meta information from comment to the about variable
so the preferences, the documentation can show these information
4 years ago
Alexandre Flament
5a511f0d62
[fix] CI: fix docker push
4 years ago
Alexandre Flament
824fe40a28
Merge pull request #2467 from dalf/fix-ci
...
[fix] github actions: use ubuntu-20.04 instead of ubuntu-latest
4 years ago
Alexandre Flament
38090daa29
[fix] github actions: use ubuntu-20.04 instead of ubuntu-latest
4 years ago
mrwormo
2dff3887f0
[fix] Invidious engine by enabling requests by randomly picking amongst working instances
4 years ago
Alexandre Flament
484dc99580
Merge pull request #2419 from dalf/checker
...
[enh] add checker
4 years ago
Alexandre Flament
912c7e975c
[fix] checker: don't run the checker when uwsgi is not properly configured
...
Before this commit, even with the scheduler disabled, the checker was running
at least once for each uwsgi worker.
4 years ago
Alexandre Flament
7f0c508598
[fix] checker: fix typo unknown instead of unknow
4 years ago
Alexandre Flament
a0c8b413a6
[mod] searx.shared: minor tweaks
...
searx.shared.shared_abstract.SharedDict inherit from abc.ABC
searx.shared.shared_uwsgi.schedule can schedule multiple functions without issue
4 years ago
Alexandre Flament
87bafbc32b
[mod] checker: add status and timestamp to the result
...
for each engine: replace status by success
4 years ago
Alexandre Flament
f3e1bd308f
[mod] checker: minor adjustements on the default tests
...
the query "time" is convinient because most of the search engine will return some results,
but some engines in the general category will return documentation about the HTML tags <time> or <input type="time">
4 years ago
Alexandre Flament
45bfab77d0
|mod] checker: improve searx-checker command line
...
* output is unbuffered
* verbose mode describe more precisly the errrors
4 years ago
Alexandre Flament
3a9f513521
[enh] checker: background check
...
See settings.yml for the options
SIGUSR1 signal starts the checker.
The result is available at /stats/checker
4 years ago
Alexandre Flament
6e2872f436
[enh] add searx.shared
...
shared dictionary between the workers (UWSGI or werkzeug)
scheduler: run a task once every x seconds (UWSGI or werkzeug)
4 years ago
Markus Heiser
9c581466e1
[fix] do not colorize output on dumb terminals
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Alexandre Flament
ca0889d488
[enh] checker: wikidata & ddd: add specific tests
4 years ago
Alexandre Flament
16a889dd8f
[enh] checker: add rosebud test
4 years ago
Alexandre Flament
8cbc9f2d58
[enh] add checker
4 years ago
Alexandre Flament
f7e11fd722
Merge pull request #2459 from dalf/update-python
...
Update python
4 years ago
Alexandre Flament
9c55d772e9
Merge pull request #2408 from return42/rm-brand-make
...
[mod] move brand options from Makefile to settings.yml
4 years ago
Alexandre Flament
8989bc76cb
[mod] remove pyopenssl dependency
...
requests[security] is now deprecated since version 2.25.0
4 years ago
Alexandre Flament
d54034a5e6
[mod] add Python 3.9 support
4 years ago
Alexandre Flament
f5c3cb7afa
[mod] drop Python 3.5 support
4 years ago
Alexandre Flament
8d0312d014
Merge pull request #2458 from MarcAbonce/hide-links-mobile2
...
Hide links panel in mobile screens
4 years ago
Alexandre Flament
e7ecf3ab42
Merge pull request #2457 from archiecodes/master
...
Fixed typo
4 years ago
Marc Abonce Seguin
635c6516a4
hide links panel in mobile screens
4 years ago
Archie
ff2370eead
Fixed typo
4 years ago
Alexandre Flament
424e6abc7e
[mod] settings.yml: move brand settings to a dedicated section
4 years ago
Alexandre Flament
d5882147e0
[fix] utils/build_env.py: make sure to always use searx/settings.yml
...
ignore SEARX_SETTINGS_PATH
4 years ago
Markus Heiser
a31cb68668
[fix] utils/build_env.py: make sure to always use searx/settings.yml
...
ignore SEARX_SETTINGS_PATH
[1] https://github.com/searx/searx/pull/2408#pullrequestreview-565247895
Suggested-by: @dalf [1]
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser
4853a29803
[mod] improve settings documentation
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser
d0338cb504
[fix] add missing brand.CONTACT_URL to /config API endpoint
...
Suggested-by: @dalf / https://github.com/searx/searx-stats2/issues/59#issuecomment-747961582
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser
9e53470b4c
[mod] get rid of searx/brand.py
...
Removes module searx/brand.py and creates a namespace at searx.brand.
This patch is a first 'proof of concept'. Later we can decide to remove the
brand namespace entirely or not.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser
9485179064
[mod] move brand options from Makefile to settings.yml
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Noémi Ványi
dbfd5567aa
Merge pull request #2456 from return42/pypi-test
...
upload-pypi-test & linuxdoc has been released on PyPi
4 years ago
Markus Heiser
b5ce8dfe34
[fix] requirements-dev.txt use linuxdoc==20210110 from pypi
...
Fore good reasons (force push) PyPi does not accept a git commit as a
requirement [1]. Today linuxdoc has been released on pypi, lets use it.
With this patch issue [#2393 ] should be obsolete.
[#2393 ] https://github.com/searx/searx/issues/2393
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser
dc544498d0
[mod] add target upload-pypi-test https://test.pypi.org/
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Alexandre Flament
c2646df496
Merge pull request #2454 from MarcAbonce/fix-empty-lang-bang
...
Fix empty colon in query from selecting Chinese
4 years ago
Marc Abonce Seguin
571ce9ff07
fix empty colon in query from selecting Chinese
4 years ago