summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-11-14Merge pull request #2299 from rachmadaniHaryono/feature/pep8-to-pycodestyleAlexandre Flament
pep8 to pycodestyle
2020-11-14Merge pull request #2296 from rachmadaniHaryono/feature/suppress-outputAlexandre Flament
suppress test output
2020-11-14Merge pull request #2292 from kvch/elasticsearch-engineAlexandre Flament
New engine: Elasticsearch
2020-11-14Merge pull request #2289 from dalf/pylintAlexandre Flament
[mod] pylint: add extension-pkg-whitelist=lxml.etree
2020-11-14Merge pull request #2309 from dalf/mod_search_reprAlexandre Flament
[mod] searx.search: EngineRef, SearchQuery: add __repr__ and __eq__ methods
2020-11-14Merge pull request #2300 from dalf/fix-webapp-indexAlexandre Flament
[fix] fix of / and /search
2020-11-13Merge pull request #2301 from pierrechtux/fix_typo_virualenvAlexandre Flament
Fix typo virualenv
2020-11-13Correct what was obviously a typo in vir(t)ualenv.Pierre Chevalier
2020-11-10New engine: ElasticsearchNoémi Ványi
2020-11-10[mod] searx.search: EngineRef, SearchQuery: add __repr__ and __eq__ methodsAlexandre Flament
2020-11-08Merge pull request #2295 from searx/default-http-headersNoémi Ványi
[enh] add default http headers - closes #715
2020-11-06[fix] fix of / and /searchAlexandre Flament
* URL / : the index page displayed the selected or the default category. * URL / : when the q parameter is set using the URL, the redirect includes the URL query. * URL /search : an empty query doesn't raise an exception.
2020-11-06new: test: ignored warning and errorsrachmadaniHaryono
2020-11-06chg: test: Makefile pep8 testrachmadaniHaryono
2020-11-06chg: dev: pep8 to pycodestylerachmadaniHaryono
2020-11-05[enh] add default http headers - closes #715Adam Tauber
2020-11-05chg: test: suppress outputrachmadaniHaryono
2020-11-04Feature/standalone searx update (#1591)rachmadani haryono
* chg: dev: update standalone_searx parent d8a5df721b33dd8a7cc9e21dba4060f21d629f69 author rachmadaniHaryono <foreturiga@gmail.com> 1603896594 +0800 committer rachmadaniHaryono <foreturiga@gmail.com> 1603896619 +0800 chg: dev: debug engine_shortcuts chg: dev: only initilize if engine is given chg: dev: split main chg: dev: standalone_searx chg: dev: update standalone_searx chg: doc: remove unnecessary log chg: test: differentiate travis chg: test: disable shortcut chg: test: use default engine settings fix: dev: category choices fix: dev: duplicate engine shortcut fix: dev: travis python3 fix: test: use empty string as shortcut fix: test: apkm fix: test: engine shortcut fix: test: mypy fix: test: parameter fix: test: pep8 fix: test: py2 compatibilities fix: test: searx settings fix: test: travis engines new: dev: deduplicate engine new: dev: main receive engines parameter new: dev: parse_argument accept engines parameter new: dev: split search query from get_result func new: test: basic result case Suggestions: use RawTextQuery to make the suggestions URLs. Update all themes accordingly. * new: doc: searx import and init * chg: dev: parse_argument - doc - run on __main__ - simple parse_args * chg: doc: module * chg: dev: import section - remove unused python path modification - new required package * chg: dev: script run - parse_argument func return directly parsed results - main func return dict instead json text - dump directly on sys.stdout.write * chg: dev: get_search_query and get_search_query func * chg: dev: main func - move inner function outside - return dict instead of json text * new: dev: add utils to doc sys path * new: doc: standalone_searx * fix: doc: run script * chg: dev: mypy type hint * chg: dev: SearchQuery don't have attr engines * chg: dev: reset engines __init__ * chg: test: unit test update * chg: dev: pylint and flake8 * new: test: standalone_searx * chg: dev: main func and doc * chg: dev: import and type hint * new: dev: main func - remove get_result func - single func which just translate dict * chg: test: put mypy on dev requirement * chg: doc: update * new: doc: add standalone_searx module member * chg: doc: shell command line * chg: dev: remove mypy * chg: doc: module docstring
2020-11-03Merge pull request #2290 from dalf/fix-miscAdam Tauber
Various bug fixes
2020-11-03Merge pull request #1681 from MarcAbonce/index_refactorAdam Tauber
[mod] Separate index and search routes
2020-11-03[mod] pylint: minor code change to allow pylint globallyAlexandre Flament
This commit is only a step, it doesn't fix all the issues reported by pylint
2020-11-03[fix] webadapter: fix locked categoriesAlexandre Flament
2020-11-03[fix] comamnd engine: fix importAlexandre Flament
2020-11-03[fix] scanr_structure engine: fix importAlexandre Flament
2020-11-02[mod] separate index and search routesMarc Abonce Seguin
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.
2020-11-02[mod] pylint: add extension-pkg-whitelist=lxml.etreeAlexandre Flament
2020-11-02[fix] searx configuration - quote bash calls in sed replacementsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-11-02[doc] searx configuration - add 'mkdir /etc/searx' before copyMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-11-02[fix] doc - add missing quotation marks in docs/build-templatesMarkus Heiser
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>
2020-10-31Merge pull request #2287 from return42/fix-make-runNoémi Ványi
[fix] make.run - use SEARX_DEBUG=1 instead of modifing settings.yml
2020-10-31[fix] make.run - use SEARX_DEBUG=1 instead of modifing settings.ymlMarkus Heiser
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>
2020-10-30[mod] make docs-live - remove --port option from sphinx-autobuildMarkus Heiser
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>
2020-10-28[mod] .travis.yml: build documentation automatically on the master branchAlexandre Flament
2020-10-28Merge pull request #2224 from dalf/update-infobox-enginesNoémi Ványi
[enh] update infobox engines
2020-10-28[mod] wikidata engine: use one SPARQL request instead of 2 HTTP requests.Alexandre Flament
2020-10-28[mod] duckduckgo_definitions: display only user friendly attributes / URLAlexandre Flament
various bug fixes
2020-10-28[mod] result.py: merge infobox URL and attributes when the same label or the ↵Alexandre Flament
same entity entity are wikidata entity (like "Q42" for "Douglas Adams", see https://www.wikidata.org/wiki/Q42 )
2020-10-28[fix] simple theme: infobox: remove useless entity informationAlexandre Flament
2020-10-28[mod] add external_urls.json and wikidata_units.jsonAlexandre Flament
2020-10-27Merge pull request #2275 from dalf/mod-ahmia-filterAdam Tauber
[mod] ahmia_filter.py: minor changes
2020-10-27[mod] ahmia_filter.py: minor changesAlexandre Flament
- use result['parsed_url'] - load ahmia_blacklist.txt in searx.datae
2020-10-26Merge pull request #565 from MarcAbonce/onionsAdam Tauber
New category: Onions
2020-10-26[fix] resolve query_parts regressionAdam Tauber
2020-10-25add Ahmia filter plugin for onion resultsMarc Abonce Seguin
2020-10-25[enh] Add onions category with Ahmia, Not Evil and Torcha01200356
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.
2020-10-25Merge pull request #2270 from kvch/disable-preference-settingsAdam Tauber
Let admins lock user preferences
2020-10-25Let admins lock user preferencesNoémi Ványi
2020-10-25[fix] adjust query unit testsAdam Tauber
2020-10-25Merge pull request #2271 from kvch/open-semantic-search-engineAdam Tauber
Open Semantic Search Engine
2020-10-25Open Semantic Search EngineNicholas Kegler