Adam Tauber
1b42d42695
Merge pull request #2290 from dalf/fix-misc
...
Various bug fixes
4 years ago
Adam Tauber
9c3382d12a
Merge pull request #1681 from MarcAbonce/index_refactor
...
[mod] Separate index and search routes
4 years ago
Alexandre Flament
58d72f2692
[mod] pylint: minor code change to allow pylint globally
...
This commit is only a step, it doesn't fix all the issues reported by pylint
4 years ago
Alexandre Flament
e28b56e262
[fix] webadapter: fix locked categories
4 years ago
Alexandre Flament
eed43783f9
[fix] comamnd engine: fix import
4 years ago
Alexandre Flament
a08df82574
[fix] scanr_structure engine: fix import
4 years ago
Marc Abonce Seguin
8d71420b45
[mod] separate index and search routes
...
This makes it easier to separately handle search and index requests
from a web server or from a reverse proxy.
If a request to index contains a query, a permanent redirect HTTP response
is returned. This should give some level of backwards compatibility
for users that have set a searx instance in their browser's search bar.
4 years ago
Alexandre Flament
d7f21484ee
[mod] pylint: add extension-pkg-whitelist=lxml.etree
4 years ago
Markus Heiser
45f58a4a2a
[fix] searx configuration - quote bash calls in sed replacements
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser
edef9d2f87
[doc] searx configuration - add 'mkdir /etc/searx' before copy
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser
dd23ad8ba2
[fix] doc - add missing quotation marks in docs/build-templates
...
Escape the all the quotation marks (" --> \") in docs/build-templates.
The scripts are *bash evaluated* (e.g)::
eval "echo \"$(< "${REPO_ROOT}/docs/build-templates/searx.rst")\""
Backslash, quotation marks and other need to be escaped.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Noémi Ványi
d553de4909
Merge pull request #2287 from return42/fix-make-run
...
[fix] make.run - use SEARX_DEBUG=1 instead of modifing settings.yml
4 years ago
Markus Heiser
4a15d675d5
[fix] make.run - use SEARX_DEBUG=1 instead of modifing settings.yml
...
Reloading webapp.py when a file is changed exit with error::
$ make run
....
INFO:werkzeug: * Detected change in 'searx/searx/engines/deviantart.py', reloading
INFO:werkzeug: * Restarting with stat
ERROR:searx:server.secret_key is not changed. Please use something else instead of ultrasecretkey.
make: *** [Makefile:69: run] Error 1
Patch suggested by @dalf [1]
[1] https://github.com/searx/searx/issues/2278#issuecomment-719732579
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser
e697d78d5a
[mod] make docs-live - remove --port option from sphinx-autobuild
...
Setting port fixed to 8080 has drawbacks when this port is already in use from
another application [1]. Removing this option from the command line offers the
use of the sphinx-autobuild defaults which are much more flexible [2].
[1] https://github.com/searx/searx/issues/2282
[2] https://github.com/executablebooks/sphinx-autobuild/blob/master/README.md
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Alexandre Flament
54afe37e18
[mod] .travis.yml: build documentation automatically on the master branch
4 years ago
Noémi Ványi
10ddd421f2
Merge pull request #2224 from dalf/update-infobox-engines
...
[enh] update infobox engines
4 years ago
Alexandre Flament
95bd6033fa
[mod] wikidata engine: use one SPARQL request instead of 2 HTTP requests.
4 years ago
Alexandre Flament
ca593728af
[mod] duckduckgo_definitions: display only user friendly attributes / URL
...
various bug fixes
4 years ago
Alexandre Flament
382fded665
[mod] result.py: merge infobox URL and attributes when the same label or the same entity
...
entity are wikidata entity (like "Q42" for "Douglas Adams", see https://www.wikidata.org/wiki/Q42 )
4 years ago
Alexandre Flament
23f4203dfb
[fix] simple theme: infobox: remove useless entity information
4 years ago
Alexandre Flament
ed6696e6bf
[mod] add external_urls.json and wikidata_units.json
4 years ago
Adam Tauber
d3d50eff66
Merge pull request #2275 from dalf/mod-ahmia-filter
...
[mod] ahmia_filter.py: minor changes
4 years ago
Alexandre Flament
5e7060053c
[mod] ahmia_filter.py: minor changes
...
- use result['parsed_url']
- load ahmia_blacklist.txt in searx.datae
4 years ago
Adam Tauber
db703a0283
Merge pull request #565 from MarcAbonce/onions
...
New category: Onions
4 years ago
Adam Tauber
2aef38c3b9
[fix] resolve query_parts regression
4 years ago
Marc Abonce Seguin
32957cdf49
add Ahmia filter plugin for onion results
4 years ago
a01200356
c3daa08537
[enh] Add onions category with Ahmia, Not Evil and Torch
...
Xpath engine and results template changed to account for the fact that
archive.org doesn't cache .onions, though some onion engines migth have
their own cache.
Disabled by default. Can be enabled by setting the SOCKS proxies to
wherever Tor is listening and setting using_tor_proxy as True.
Requires Tor and updating packages.
To avoid manually adding the timeout on each engine, you can set
extra_proxy_timeout to account for Tor's (or whatever proxy used) extra
time.
4 years ago
Adam Tauber
0a44fa8bb7
Merge pull request #2270 from kvch/disable-preference-settings
...
Let admins lock user preferences
4 years ago
Noémi Ványi
33e139cae6
Let admins lock user preferences
4 years ago
Adam Tauber
6beb84efb8
[fix] adjust query unit tests
4 years ago
Adam Tauber
1ac755087c
Merge pull request #2271 from kvch/open-semantic-search-engine
...
Open Semantic Search Engine
4 years ago
Nicholas Kegler
8e15d3e4c1
Open Semantic Search Engine
4 years ago
Adam Tauber
aa3c18dda9
[enh] allow searx query parts anywhere in the query - closes #831
4 years ago
Noémi Ványi
9b872871fe
Merge pull request #1246 from Venca24/devel_hash
...
[enh] add plugin converting strings into hash digests
4 years ago
Venca24
35577051e2
[fix] hash plugin test
4 years ago
Venca24
2b93e70a26
[fix] code style
4 years ago
Venca24
1cbcf2ccb6
[mod] adapt hash plugin to current version of searx
4 years ago
Venca24
40c552c11e
[fix] hash plugin
4 years ago
Venca24
69e5a58058
[fix] code style
4 years ago
Venca24
1ea9438f5d
[fix] hash plugin
4 years ago
Venca24
c9593c8ffd
[enh] add plugin converting strings into hash digests
4 years ago
Noémi Ványi
5707fba561
Merge pull request #2265 from renyhp/patch-1
...
Fix typos in documentation
4 years ago
renyhp
3bada084a2
Extract to /usr/local/filtron/local
...
The /usr/local/filtron/local/go directory will be created by tar.
4 years ago
renyhp
b386a815da
Fix typo chmod searx:searx > chown searx:searx
4 years ago
renyhp
aaf9334c79
Fix typo xgd-open > xdg-open
4 years ago
Adam Tauber
e78bfd4d8b
Merge pull request #2256 from kvch/force-setting-secret-key
...
Force admins to set secret_key if debug mode is disabled
4 years ago
Noémi Ványi
116f7a6daa
Force admins to set secret_key if debug mode is disabled
...
This commit also enables debug mode for unit tests.
4 years ago
Noémi Ványi
e158eeee4b
Propagate error messages from YouTube API
4 years ago
Adam Tauber
835d16cbb1
Merge pull request #2255 from kvch/yacy-improvements
...
Add yacy improvements: HTTP digest auth, category checking
4 years ago
Adam Tauber
dafae2d79f
Merge pull request #2254 from dalf/fix-duckduckgo
...
[fix] fix duckduckgo engine
4 years ago