summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-28Merge pull request #2189 from dalf/architecture-clean-upAdam Tauber
Architecture clean up
2020-09-28[fix] Update Sphinx package versionsAlexandre Flament
* 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.
2020-09-28[fix] missing 'alias' typo in docs/admin/installation-nginx.rstMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-09-26[mod] upgrade requests to version 2.24.0. use ssl instead of pyopenssl.Alexandre Flament
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.
2020-09-24[mod] more typingAlexandre Flament
2020-09-22[mod] add typing and __slots__Alexandre Flament
2020-09-22[mod] searx/webadapter.py: add get_selected_categories share common code ↵Alexandre Flament
with get_search_query_from_webapp Update searx/webapp.py to use get_selected_categories Close #2142
2020-09-22[mod] searx/webadapter.py: each web parameter has a dedicated function ↵Alexandre Flament
(parse_pageno, page_lang,....).
2020-09-22[mod] check the engine tokens in searx/webadapter.py instead of searx/search.pyAlexandre Flament
2020-09-22[mod] check time_range parameter in searx/webadapter.pyAlexandre Flament
2020-09-22[mod] add searx.search.EngineRefAlexandre Flament
was previously a Dict with two or three keys: name, category, from_bang make clear that this is a engine reference (see tests/unit/test_search.py for example) all variables using this class are renamed accordingly.
2020-09-22[mod] add searx/webadapter.pyAlexandre Flament
* move searx.search.get_search_query_from_webapp to searx.webadapter * move searx.query.SearchQuery to searx.search
2020-09-22"Egde" → "Edge"Qt Resynth
2020-09-22[mod] searx.search: change function declaration: online then offline then ↵Alexandre Flament
utility functions.
2020-09-22[mod] searx.search: remove unused global variable number_of_searchesAlexandre Flament
2020-09-22[mod] searx.query.RawTextQuery: getSearchQuery and changeSearchQuery rename ↵Alexandre Flament
to getQuery and changeQuery getSearchQuery is confusing, the method returns a str not a SearchQuery object
2020-09-22[mod] searx.search.Search: split the search method into different methodsAlexandre Flament
2020-09-22[mod] add searx/webutils.pyAlexandre Flament
contains utility functions and classes used only by webapp.py
2020-09-22[mod] refactor searx.webapp.get_localeAlexandre Flament
* Log each call to get_locale: display the URL, the locale and the source (browser, preferences, form). * Rename _get_browser_language to _get_browser_or_settings_language to match the actual code.
2020-09-22[fix] /autocompleter: return HTTP 400 when q is empty as intent.Alexandre Flament
Fix commit c225db45c8a4ab466bff049216f7e0189dc1b067
2020-09-22fetch google's search langs rather than ui langsMarc Abonce Seguin
2020-09-22fix utils/fetch_languages to work with new languagesMarc Abonce Seguin
2020-09-22fetch supported languages for startpage engineMarc Abonce Seguin
2020-09-22add language names in qwant's fetch languages functionMarc Abonce Seguin
2020-09-21Merge pull request #2211 from return42/fix-centos-7Alexandre Flament
Bugfix of: ERROR: centos-: uWSGI not yet implemented
2020-09-20[fix] remove doc-build for centos-7 from './utils/searx.sh doc'Markus Heiser
Since there is no centos-7 documentation 'searx.sh doc' produce an error message:: ERROR: centos-: uWSGI not yet implemented Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-09-19Merge pull request #1865 from dalf/uwsgi_staticAlexandre Flament
[enh] Docker image: uwsgi serves the static files directly.
2020-09-19Merge pull request #2205 from dalf/fix-simple-theme-autocompleteAlexandre Flament
[fix] simple theme: fix autocomplete
2020-09-19Merge pull request #2190 from dalf/fix-htmltextextractorAlexandre Flament
[fix] searx.utils.HTMLTextExtractor: invalid HTML don't raise an Exception
2020-09-19[fix] simple theme: fix autocompleteAlexandre Flament
AJAX requests send the X-Requested-With HTTP header, so searx.webapp.autocompleter returns the results with the expected data format. Related to #2127 Close #2203
2020-09-13[fix] searx.utils.HTMLTextExtractor: invalid HTML don't raise an ExceptionAlexandre Flament
Close #2188
2020-09-12Merge pull request #2185 from dalf/rawtextquery-auto-parseAlexandre Flament
[mod] searx.RawTextQuery: the constructor call parse_query
2020-09-12[mod] searx.RawTextQuery: the constructor call parse_queryAlexandre Flament
2020-09-12Merge pull request #2137 from dalf/drop-python-2Noémi Ványi
Drop Python 2
2020-09-10Drop Python 2 (5/n): searx.utils.is_valid_lang, input parameter is a str ↵Alexandre Flament
instead of bytes Fix bug in translated.py and dictzone.py
2020-09-10Drop Python 2 (4/n): SearchQuery.query is a str instead of bytesDalf
2020-09-10Drop Python 2 (3/n): objectsDalf
2020-09-10Drop Python 2 (2/n): templatesDalf
2020-09-10Drop Python 2 (1/n): remove unicode string and url_utilsDalf
2020-09-10[fix] make docker produces clean tag version (0.17.0 instead of 0.17.0-- for ↵Alexandre Flament
example) Fix #2152
2020-09-10[fix] docker and k8s: run searxAlexandre Flament
fix #2181
2020-09-10wait for img to load before hiding infobox toggleMarc Abonce Seguin
2020-09-10use Wikipedia's REST v1 APIMarc Abonce Seguin
2020-09-08[mod] results.py: code clean up (#2140)Alexandre Flament
2020-09-08[enh] Add command line engines: git grep, find, etc. (#2128)Noémi Ványi
A new "base" engine called command is introduced. It is the foundation for all command line engines for now. You can use this engine to create your own command line engine. Add some engines (commented out to make sure no one enables anything accidentally): * git grep: This engine lets you grep in the searx repo. * locate: If locate is installed and initialized, you can search on the FS. * find: You can find files with a specific name from where you started searx. * pattern search in files: This engine utilizes the command fgrep. * regex search in files: This engine runs `grep` to find a file based on its contents.
2020-09-07[enh] stop searx when an engine raise an SyntaxError exception (#2177)Alexandre Flament
and some other exceptions: * KeyboardInterrupt * SystemExit * RuntimeError * SystemError * ImportError: an engine with an unmet dependency will stop everything.
2020-09-02Merge pull request #2167 from scottwallacesh/fix_1552Adam Tauber
Add key to settings.yml for opening result links in a new tab
2020-09-01Add key to settings.yml for opening result links in a new tabScott Wallace
Closes #1552 Closes #444
2020-09-01[enh] add option to configure proxies per engine - closes #1827Adam Tauber
2020-08-31Revert "[enh] test: load each engine to check for syntax errors"Alexandre Flament
This reverts commit 4fb3ed2c6335b68f6b28ebc68d5d22f2fd621648.