Alexandre Flament
db5b060455
[fix] update buildenv
...
CONTACT_URL is unset in Makefile, but searx/brand.py and
utils/brand.env are not updated.
This commit fixes this issue.
4 years ago
Alexandre Flament
59217bb5be
Merge pull request #2397 from dalf/update-ci
...
updates for Python 3.9 / update CI
4 years ago
Alexandre Flament
3f8ebf70b1
[fix] pylint: use "raise ... from ..."
4 years ago
Alexandre Flament
eb33ae6893
[fix] Python 3.9: use html.unescape instead of HTMLParser.unescape
4 years ago
Alexandre Flament
6402fb0b9a
[enh] CI: use actions/cache@v2 for Python dependencies
4 years ago
Alexandre Flament
04447f8c1a
Merge pull request #2398 from dalf/mod-search-query
...
Mod search query
4 years ago
Alexandre Flament
35feb00a5b
Merge pull request #2405 from dalf/no-emojis
...
[mod] remove emojis from source code
4 years ago
Alexandre Flament
72d2bb2289
Merge pull request #2399 from return42/fix-lxc
...
[fix] determine path to makefile.lxc in a LXC
4 years ago
Alexandre Flament
32e4eab336
Merge pull request #2401 from return42/drop-virtualenv-cmd
...
[mod] remove obsolete virtualenv command
4 years ago
Alexandre Flament
f4983e7415
[mod] remove emojis from source code
4 years ago
Markus Heiser
be08e5bfab
[fix] yum installation of 'Development Tools'
...
'yum install' does not support '@development-tools' notation for group
installation.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser
1a4524e03c
[mod] remove obsolete virtualenv command
...
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>
4 years ago
Markus Heiser
c89df6739f
[fix] determine path to makefile.lxc in a LXC
...
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>
4 years ago
Alexandre Flament
eda8934f15
[mod] searx.search.EngineRef: remove from_bang parameter
...
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.
4 years ago
Alexandre Flament
995ba2f406
[mod] searx.search.SearchQuery: remove categories parameter
...
The categories parameter is useless in the constructor:
it is always the categories from the EngineRef.
The categories becomes a property.
4 years ago
Alexandre Flament
14c7cc0e11
[mod] Makefile: make CONTACT_URL optional
4 years ago
BBaoVanC
19fce74443
Add link to contact instance maintainer to footer of each page ( #2391 )
4 years ago
Alexandre Flament
5c6a5407a0
[fix] fix of PR #2225
4 years ago
Alexandre Flament
9b27935f71
Merge pull request #2225 from dalf/processors
...
Processors
4 years ago
Alexandre Flament
02fc4147ce
[mod] dictzone, translated, currency_convert: use engine_type online_curency and online_dictionnary
4 years ago
Alexandre Flament
7ec8bc3ea7
[mod] split searx.search into different processors
...
see searx.search.processors.abstract.EngineProcessor
First the method searx call the get_params method.
If the return value is not None, then the searx call the method search.
4 years ago
Alexandre Flament
c0cc01e936
[mod] searx.search: search_multiple_requests is a method of Search class
4 years ago
Alexandre Flament
3b87efb3db
[mod] move seax/search.py to searx/search/__init__.py
4 years ago
Alexandre Flament
13a2b1a44d
Merge pull request #2344 from dalf/mod-themes
...
[mod] themes: remove legacy, courgette and pix-art themes
4 years ago
Alexandre Flament
9bc1856e2b
[mod] themes: remove legacy, courgette and pix-art themes
4 years ago
Alexandre Flament
88660fde90
Merge pull request #2396 from lucky13820/patch-1
...
Fix the StartPage result title is showing the url
4 years ago
Alexandre Flament
36235dfde2
Merge pull request #2387 from return42/issue-2383
...
[themes] add hyperlink to searx instances list in error message
4 years ago
lucky13820
fea8958e99
Fix the StartPage result title is showing the url
...
Fix the issue 2395 where StartPage result title is showing the url. https://github.com/searx/searx/issues/2395
4 years ago
Markus Heiser
9db7d6357b
[themes] add hyperlink to searx instances list in error message
...
closes : #2383
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Alexandre Flament
002d53abf3
Merge pull request #2389 from searx/update-changelog
...
prepare release 0.18.0: update CHANGELOG.rst
4 years ago
Alexandre Flament
39ac81478c
prepare release 0.18.0
4 years ago
Alexandre Flament
7865566338
Merge pull request #2384 from return42/improve-doc
...
Improve doc of the installation skripts
4 years ago
Alexandre Flament
d110624df0
Merge pull request #2388 from searx/update-authors
...
update AUTHORS.rst with new contributors
4 years ago
Alexandre Flament
17fdfb6759
Merge pull request #2380 from return42/dev-quickstart
...
[doc] update developer quickstart guide
4 years ago
Alexandre Flament
b167ad67a0
update AUTHORS.rst with new contributors
4 years ago
Alexandre Flament
292b73a3fc
Merge pull request #2385 from joshu9h/patch-1
...
[Fix] Startpage
4 years ago
Alexandre Flament
36600118fb
Merge pull request #2372 from dalf/remove-broken-engines
...
[remove] remove searchcode_doc and twitter
4 years ago
joshu9h
8260435c8b
[Fix] Startpage
4 years ago
Markus Heiser
dc94a1d4c0
[doc] add a tip about how to brand and stash a searx instance setup
...
BTW: drop a trailing whitespace
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser
c8d2b19c85
[doc] document why to use sudoer to run intsallation scripts
...
related to:
- https://gist.github.com/dalf/60450e19b042bd39b9ce470c095d89b3#gistcomment-3263827
- https://github.com/searx/searx/issues/2013#issuecomment-647132313
- https://github.com/searx/searx/issues/2017#issuecomment-647700327
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser
ea62df1dc0
[doc] update developer quickstart guide
...
See https://github.com/searx/searx/issues/2369#issuecomment-740652878
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Alexandre Flament
3c4a9c1188
Merge pull request #2358 from dalf/fix-command
...
[fix] command engine: SearchQuery.query is str not bytes
4 years ago
Alexandre Flament
9f8ebeca44
Merge pull request #2375 from dalf/raise_for_errors
...
[enh] add raise_for_httperror
4 years ago
Alexandre Flament
d703119d3a
[enh] add raise_for_httperror
...
check HTTP response:
* detect some comme CAPTCHA challenge (no solving). In this case the engine is suspended for long a time.
* otherwise raise HTTPError as before
the check is done in poolrequests.py (was before in search.py).
update qwant, wikipedia, wikidata to use raise_for_httperror instead of raise_for_status
4 years ago
Alexandre Flament
033f39bff7
Merge pull request #2376 from dalf/fix-mojeek
...
Fix mojeek
4 years ago
Alexandre Flament
6bc6d5e9fd
Merge pull request #2371 from dalf/mod-genius
...
[mod) genious: return valid results even if contents are empty
4 years ago
Alexandre Flament
0ba74cd812
[mod] results: don't crash when an engine don't have a category
...
According to
820b468bfe/searx/engines/__init__.py (L87-L88)
an engine can have no category at all.
Without this commit, searx raise an exception in searx/results.py
Note: in this case, the engine is not shown in the preferences.
4 years ago
Alexandre Flament
d41cafd5f3
[fix] xpath, mojeek: fix commit 58d72f2692
...
before commit 58d72f2
, category was not set in xpath.py,
so searx/engines/__init__py was setting the category to ['general']
the commit 58d72f2
set the category to [] which is not replaced by searx/engines/__init__.py
consequence: the mojeek engine is hidden in the preferences.
this commit revert the xpath.py change.
close #2368
4 years ago
Noémi Ványi
820b468bfe
Merge pull request #2373 from kvch/display-https-engines
...
Display if an engine does not support HTTPS requests
4 years ago
Noémi Ványi
3a63dfbdd7
display if an engine does not support https
...
Closes #302
4 years ago