summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-11-27[enh] settings.yml: add use_default_settings option (2nd version)Alexandre Flament
2020-11-27Photon API Link UpdateM. Efe Çetin
Via https://photon.komoot.io/
2020-11-26[enh] settings.yml: add use_default_settings optionAlexandre Flament
This change is backward compatible with the existing configurations. If a settings.yml loaded from an user defined location (SEARX_SETTINGS_PATH or /etc/searx/settings.yml), then this settings can relied on the default settings.yml with this option: user_default_settings:True
2020-11-26Merge pull request #2327 from renyhp/masterAlexandre Flament
Add preference for displaying advanced settings
2020-11-26Remove unused linesrenyhp
2020-11-26Fix syntax errorrenyhp
2020-11-26Another patchrenyhp
2020-11-23Patch advanced search preferencesrenyhp
2020-11-23Merge pull request #2319 from dalf/multiple-proxiesAlexandre Flament
[enh] Add multiple outgoing proxies
2020-11-22Add preference for displaying advanced settingsrenyhp
2020-11-20[enh] Add multiple outgoing proxiesAlexandre Flament
credits go to @bauruine see https://github.com/searx/searx/pull/1958
2020-11-18Merge pull request #2323 from kvch/fix-unresponsive-engine-set-modifiedAlexandre Flament
Fix RuntimeError during search with translated errors
2020-11-17Fix type of unresponsive_enginesNoémi Ványi
Previously __get_translated_errors returned a list. But unresponsive_engines is a set. Closes #2305
2020-11-17[fix] fix github workflow: deploy documentationAlexandre Flament
2020-11-17[fix] fix github workflowAlexandre Flament
2020-11-17[fix] fix github workflowAlexandre Flament
bug fix of 9c25cd99c4b2bbeeb96f0a4efc3b2c21b06e1881
2020-11-17Merge pull request #2322 from dalf/github-actionsAlexandre Flament
[mod] use github actions instead of travis
2020-11-17[mod] use github actions instead of travisAlexandre Flament
fix https://github.com/searx/searx/issues/2279
2020-11-17Merge pull request #2321 from dalf/fix-standaloneAlexandre Flament
[fix] fix a test_standalone_searx test case
2020-11-17[fix] fix a test_standalone_searx test caseAlexandre Flament
If test_engines_init.py runs before test_standalone_searx.py, the engine list is not empty. It makes test_get_search_query flaky. This commit initializes the engline list in test_standalone_searx.py
2020-11-14Merge pull request #2286 from return42/fix-deviantartAlexandre Flament
[refactor] deviantart - improve results and clean up source code
2020-11-14[refactor] deviantart - improve results and clean up source codeMarkus Heiser
Devian's request and response forms has been changed. - fixed title - fixed time_range_dict to 'popular-*-***' - use image from <noscript> if exists - drop obsolete "http to https, remove domain sharding" - use query URL https://www.deviantart.com/search/deviations?page=5&q=foo - add searx/engines/deviantart.py to pylint check (test.pylint) Error pattern:: There DEBUG:searx:result: invalid title: {'url': 'https://www.deviantart.com/ ... Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-11-14Merge pull request #2288 from dalf/lintAlexandre Flament
[mod] remove unused import
2020-11-14[mod] remove unused importAlexandre Flament
use from searx.engines.duckduckgo import _fetch_supported_languages, supported_languages_url # NOQA so it is possible to easily remove all unused import using autoflake: autoflake --in-place --recursive --remove-all-unused-imports searx tests
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