summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-16Static buildAlexandre Flament
2021-06-16[mod] simple theme: update dependenciesAlexandre Flament
2021-06-15[doc] admin manual - describe installation of external pluginsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-15Merge pull request #146 from return42/ddg-definitionsMarkus Heiser
[pylint] searx/engines/duckduckgo_definitions.py
2021-06-15Merge pull request #148 from return42/fix-yamllintMarkus Heiser
[fix] test.yamllint - fixed typo
2021-06-15[fix] test.yamllint - fixed typoMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-14[pylint] searx/engines/duckduckgo_definitions.pyMarkus Heiser
BTW: normalize indentations Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-14Merge pull request #145 from return42/fix-mortyMarkus Heiser
[fix] utils/morty.sh - PUBLIC_URL_MORTY is based on PUBLIC_URL
2021-06-13[fix] utils/morty.sh - PUBLIC_URL_MORTY is based on PUBLIC_URLMarkus Heiser
The public URL of the searx instance: PUBLIC_URL="https://mydomain.xy/searx" The default is SEARX_URL which is taken from ./utils/brand.env. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-13Merge pull request #139 from return42/refactor-webappMarkus Heiser
[coding-style] searx/webapp.py - normalize indentations
2021-06-13Merge pull request #144 from return42/fix-yamllintAlexandre Flament
[yamllint] ./utils/templates/etc/searx/*.yml
2021-06-12[yamllint] ./utils/templates/etc/searx/*.ymlMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-11Merge pull request #134 from searxng/google-default-languageAlexandre Flament
[enh] google engine: supports "default language"
2021-06-11Merge pull request #143 from return42/emacsMarkus Heiser
[emacs] clean up .dir-locals.el file
2021-06-11[emacs] clean up .dir-locals.el fileMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-11[fix] log messages from: google- images, news, scholar, videosMarkus Heiser
- HTTP header Accept-Language --> lang_info['headers']['Accept-Language'] - remove obsolete query_url log messages which is already logged by httpx._client:HTTP request Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-11[mod] google - get_lang_info add documentataion & commentsMarkus Heiser
BTW: remove obsolete log messages from google engine Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-10[enh] google engine: supports "default language"Alexandre Flament
Same behaviour behaviour than Whoogle [1]. Only the google engine with the "Default language" choice "(all)"" is changed by this patch. When searching for a locate place, the result are in the expect language, without missing results [2]: > When a language is not specified, the language interpretation is left up to > Google to decide how the search results should be delivered. The query parameters are copied from Whoogle. With the ``all`` language: - add parameter ``source=lnt`` - don't use parameter ``lr`` - don't add a ``Accept-Language`` HTTP header. The new signature of function ``get_lang_info()`` is: lang_info = get_lang_info(params, lang_list, custom_aliases, supported_any_language) Argument ``supported_any_language`` is True for google.py and False for the other google engines. With this patch the function now returns: - query parameters: ``lang_info['params']`` - HTTP headers: ``lang_info['headers']`` - and as before this patch: - ``lang_info['subdomain']`` - ``lang_info['country']`` - ``lang_info['language']`` [1] https://github.com/benbusby/whoogle-search [2] https://github.com/benbusby/whoogle-search/releases/tag/v0.5.4
2021-06-10[coding-style] searx/webapp.py - normalize indentationsMarkus Heiser
No functional change! Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-10Merge pull request #90 from searxng/enh-osm-engineAlexandre Flament
[enh] improve openstreetmap engine
2021-06-10[static] make themes.all - based on commit 12af3b39Markus Heiser
Based on commit 12af3b39 this patch is generated by:: make themes.all Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-10Merge pull request #135 from searxng/refactor-webappAlexandre Flament
Refactor webapp
2021-06-10Merge pull request #138 from return42/fix-docAlexandre Flament
[fix] section "Overrides" in engine's documentation
2021-06-09[fix] make simple/result_templates/map.html more CSP compliant [1]Markus Heiser
[1] https://github.com/searxng/searxng/issues/57 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-09[fix] openstreetmap - fix some minor whitespace & indentation issuesMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-09[data.all] add searx_extra/update/update_osm_keys_tags.pyMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-09[pylint] searx_extra/update/update_osm_keys_tags.pyMarkus Heiser
BTW: move some comments into script's doc-string Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-09[pylint] searx/data/__init__.pyMarkus Heiser
BTW: add doc strings and moved __all__ to the top [1] [1] https://www.python.org/dev/peps/pep-0008/#module-level-dunder-names Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-09[fix] searx/data/__init__.py: rename __init__ as __all__Alexandre Flament
2021-06-09[enh] openstreetmap / map template: improve resultsAlexandre Flament
implements ideas described in #69 * update the engine * use wikidata * update map.html template
2021-06-09[fix] strip spaces from searx user agentAlexandre Flament
h11 (used by httpx) rejects HTTP request with a trailing space in HTTP headers
2021-06-09[fix] section "Overrides" in engine's documentationMarkus Heiser
[1] https://github.com/searxng/searxng/pull/97#discussion_r646094256 Suggested-by: @dalf [1] Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-08[mod] refactor searx.webapp.renderAlexandre Flament
render automatically adds these variables to the template context: * advanced_search * all_categories * categories before render was checking if the variable was already set but it is actually never set by the callers
2021-06-08[mod] move hook to set Unix thread name into searx.unixthreadnameAlexandre Flament
requires setproctitle (but optional)
2021-06-08[mod] remove unused filter searx.webapp.extract_domainAlexandre Flament
it was used in the pix-art theme
2021-06-08[mod] refactor searx.webapp.renderAlexandre Flament
no functional change, reorder declarations
2021-06-08[mod] refactor searx.webapp.render: remove unused parametersAlexandre Flament
2021-06-08[mod] remove check of Python 2.Alexandre Flament
2021-06-08[mod] remove searx.webapp.get_base_url functionAlexandre Flament
see the result of: git grep "base_url" searx/templates "base_url" is not used any more.
2021-06-08[mod] refactor: move Flask proxy fix to searx.flaskfix moduleAlexandre Flament
2021-06-08Merge pull request #97 from return42/drop-searx-adminMarkus Heiser
[docs] reorder blog articles
2021-06-05Merge pull request #105 from return42/yamlAlexandre Flament
[enh] add test.yamllint - lint yaml files
2021-06-05[emacs] flycheck - activate yamllint and use .yamllint.ymlMarkus Heiser
Open YAML file and use: M-x flycheck-mode Since we use yamllint from local/py3/bin, creating a virtualenv is a prerequisite: make pyenv Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-05[yamllint] searx/settings.ymlMarkus Heiser
Fixed messages reported by:: make test.yamllint Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-05[yamllint] searx/settings_robot.ymlMarkus Heiser
Fixed messages reported by:: make test.yamllint Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-05[yamllint] tests/unit/settings/user_settings_remove2.ymlMarkus Heiser
Fixed messages reported by:: make test.yamllint Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-05[yamllint] tests/unit/settings/user_settings_remove.ymlMarkus Heiser
Fixed messages reported by:: make test.yamllint Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-05[yamllint] tests/unit/settings/user_settings_simple.ymlMarkus Heiser
Fixed messages reported by:: make test.yamllint Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-05[yamllint] tests/unit/settings/user_settings_keep_only.ymlMarkus Heiser
Fixed messages reported by:: make test.yamllint Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-05[yamllint] tests/unit/settings/user_settings.ymlMarkus Heiser
Fixed messages reported by:: make test.yamllint Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>