Age | Commit message (Collapse) | Author |
|
|
|
Force admins to set secret_key if debug mode is disabled
|
|
This commit also enables debug mode for unit tests.
|
|
|
|
Add yacy improvements: HTTP digest auth, category checking
|
|
[fix] fix duckduckgo engine
|
|
- remove paging support: a "vqd" parameter is required between each request. This parameter is uniq for each request
- update the URL (no redirect), use the POST method
- language support: works if there is no more than request per minute, otherwise it is ignored !
|
|
|
|
|
|
Fix XPATH of lobste.rs engine && add timeout
|
|
|
|
|
|
Add post about `command` engine to searx blog
|
|
|
|
Ebay engine in shopping category
|
|
|
|
[mod] Add searx.data module
|
|
Instead of loading the data/*.json in different location,
load these files in the new searx.data module.
|
|
[fix] opensearch.xml URL contains method and autocomplete parameters
|
|
[fix] various fixes of searx.webadapter
|
|
Fix drop python2
|
|
* Fix "?q=test&engines=wikipedia": fix exception
* Fix "?q=test&engines=wikipedia&categories=images": now the engines from images category are included.
* Fix parse_timeout: make sure a value is always returned
* Various typing fixes (searx.webadapter, searx.search.SearchQuery)
|
|
collections.Iterable
|
|
imp.load_source is not documented in Python 3
see documentation : https://docs.python.org/3/library/importlib.html#importing-a-source-file-directly
partial fix of https://github.com/searx/searx/issues/1674
|
|
When the user add searx as a search engine, the browser loads the /opensearch.xml URL without the cookies.
Without the query parameters, the user preferences are ignored (method and autocomplete).
In addition, opensearch.xml is modified to support automatic updates,
see https://developer.mozilla.org/en-US/docs/Web/OpenSearch
|
|
Mod engines init
|
|
Always call initialize engines except on the first run of werkzeug with the reload feature.
the reload feature is activated when:
* searx_debug is True (SEARX_DEBUG environment variable or settings.yml)
* FLASK_APP=searx/webapp.py FLASK_ENV=development flask run (see https://flask.palletsprojects.com/en/1.1.x/cli/ )
Fix SEARX_DEBUG=0 make docs
docs/admin/engines.rst : engines are initialized
See https://github.com/searx/searx/issues/2204#issuecomment-701373438
|
|
Move the extract_text and extract_url functions to searx.utils
|
|
[mod] preferences.py: check language setting with a regex instead of match_language
|
|
supported_languages values: see https://framagit.org/framasoft/peertube/search-index/-/blob/master/client/src/views/Search.vue#L618-641
|
|
* The hack for Yahoo URLs is not necessary anymore. (see searx.engines.yahoo.parse_url)
* move the URL normalization in extract_url to normalize_url
|
|
|
|
|
|
|
|
match_language
|
|
[fix] google engine - div classes has been renamed in HTML result
|
|
Since 1. October 2020 google has changed the 'class' attribute of the HTML
result page.
Fix the xpath expressions and ignore <div class="g" ../> sections which do not
match to title's xpath expression.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
[fix] Sphinx 3.2.1 build: call searx.engines.initialize_engines
|
|
Fix admin/engines.html
Fix #2230
|
|
[fix] Sphinx 3.2.1 build: add missing "engines" variable in the jinja context
|
|
[fix] migration from github.com/asciimoo/searx to github.com/searx/searx : fix URLs
|
|
Fix the admin/engines.html page
|
|
|
|
fix URLs
|
|
Architecture clean up
|
|
* Update call to sphinx-autobuild (remove --poll -B options, add --open-browser)
* Upgrade the Sphinx and sphinx-tabs versions.
* utils/makefile.sphinx: remove the SPHINXVERS variable.
* utils/makefile.sphinx: remove the sphinx-doc and sphinx-live targets, Sphinx is already installed by the pyenvinstall target.
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
requests 2.24.0 uses the ssl module except if it doesn't support SNI, in this case searx fallbacks to pyopenssl.
searx logs a critical message and exit if the ssl modules doesn't support SNI and pyOpenSSL is not installed.
searx logs a critical message and exit if the ssl version is older than 1.0.2.
in requirements.txt, pyopenssl is still required to install searx as a fallback.
|
|
|
|
|