summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-07[mod] set 'engine.supported_languages' from the origin python moduleMarkus Heiser
The key of the dictionary 'searx.data.ENGINES_LANGUAGES' is the *engine name* configured in settings.xml. When multiple engines are configured to use the same origin engine (e.g. `engine: google`):: - name: google engine: google use_mobile_ui: false ... - name: google italian engine: google use_mobile_ui: false language: it ... - name: google mobile ui engine: google shortcut: gomui use_mobile_ui: true There exists no entry for ENGINES_LANGUAGES[engine.name] (e.g. `name: google mobile ui` or `name: google italian`). This issue can be solved by recreate the ENGINES_LANGUAGES:: make data.languages But this is nothing an SearXNG admin would like to do when just configuring additional engines, since this just doubles entries in ENGINES_LANGUAGES and BTW: `make data.languages` has various external requirements which might be not installed or not available, on a production host. With this patch, if engine.name fails, ENGINES_LANGUAGES[engine.engine] is used to get the engine.supported_languages (e.g. `google` for the engine named `google mobile`). For an engine, when there is `language: ...` in the YAML settings, the engine supports only one language, in this case engine.supported_languages should contains this value defined in settings.yml (e.g. `it` for the engine named `google italian`). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> Closes: https://github.com/searxng/searxng/issues/384
2021-10-05Merge pull request #377 from return42/engine-imdbMarkus Heiser
[mod] engines - add IMDB / Internet Movie Database
2021-10-05[mod] engines - IMDB: add thumbnailsAlexandre Flament
2021-10-04Merge pull request #381 from return42/fix-translate-commitAlexandre Flament
[fix] commit message of 'make weblate.push.translations'
2021-10-04[fix] commit message of 'make weblate.push.translations'Markus Heiser
Fix `\n` issue in the commit message [1] by using multiple `-m` options [2]:: 7d9ffd680 translations [translations] update messages.pot and messages.po files\nFrom cebc0e39 - 2021-10-04 - Markus Heiser <markus.heiser@darmarIT.de> [1] https://github.com/searxng/searxng/pull/379#issuecomment-933242702 [2] https://git-scm.com/docs/git-commit#Documentation/git-commit.txt--mltmsggt Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-10-04Merge pull request #379 from searxng/fix-weblate-push-translationsMarkus Heiser
[fix] make weblate.push.translations
2021-10-03[fix] make weblate.push.translationsAlexandre Flament
Even when there are changes, the function exit without pushing them.
2021-10-03Merge pull request #375 from dalf/searxng_extraAlexandre Flament
SearXNG: searx_extra
2021-10-03[build] /staticAlexandre Flament
2021-10-03[mod] searxng_extras - minor improvementsMarkus Heiser
- fix docs/searxng_extra/standalone_searx.py.rst - add SPDX tag - pylint standalone_searx.py and update_wikidata_units.py Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-10-03Merge pull request #373 from dalf/searxng-environAlexandre Flament
SearXNG: environment variables
2021-10-03[mod] engines - add IMDB / Internet Movie DatabasePaul Alcock
Merged from @Guilvareux's commit [1] and slightly modfied / see [2]. [1] https://github.com/searx/searx/pull/2980/commits/f2f90071 [2] https://github.com/searx/searx/pull/2980
2021-10-02SearXNG: searxng_extraAlexandre Flament
2021-10-02SearXNG: SEARXNG_SETTINGS_PATHAlexandre Flament
2021-10-02SearXNG: SEARX_BIND_ADDRESSAlexandre Flament
2021-10-02SearXNG: SEARXNG_PORTAlexandre Flament
2021-10-02SearXNG: environment variablesAlexandre Flament
2021-10-02Merge pull request #367 from dalf/searxng-githubAlexandre Flament
SearXNG: .github, searxng-docker
2021-10-02Merge pull request #360 from return42/ddg-liteMarkus Heiser
Implement a DuckDuckGo Lite engine
2021-10-01[upd] make data.languagesMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-10-01[mod] engine duckduckgo - update supported_languages_urlMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-10-01[mod] engine duckduckgo - use DuckDuckGo-LiteMarkus Heiser
Implement a scrapper for DuckDuckGo-Lite [1]. The existing DuckDuckGo [2] engine does not support paging. DuckDuckgo-Lite is much faster, less verbose and does have a paging option (reversed engineered from the input form of [1]). [1] https://lite.duckduckgo.com/lite [2] https://duckduckgo.com/ Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-10-01Merge pull request #371 from dalf/searxng-theme-simpleAlexandre Flament
Searxng theme simple
2021-10-01[build] /staticAlexandre Flament
2021-10-01SearXNG: simple themeAlexandre Flament
2021-10-01SearXNG: .github, searxng-dockerAlexandre Flament
2021-10-01Merge pull request #361 from dalf/searxng-theme-oscarAlexandre Flament
SearXNG theme oscar
2021-10-01Merge pull request #365 from searxng/update_data_update_wikidata_units.pyMarkus Heiser
Update searx.data - update_wikidata_units.py
2021-10-01Merge pull request #366 from searxng/update_data_update_languages.pyMarkus Heiser
Update searx.data - update_languages.py
2021-10-01Merge pull request #364 from searxng/update_data_update_firefox_version.pyMarkus Heiser
Update searx.data - update_firefox_version.py
2021-10-01Merge pull request #363 from searxng/update_data_update_ahmia_blacklist.pyMarkus Heiser
Update searx.data - update_ahmia_blacklist.py
2021-10-01Merge pull request #362 from searxng/update_data_update_currencies.pyMarkus Heiser
Update searx.data - update_currencies.py
2021-10-01Update searx.data - update_languages.pydalf
2021-10-01Update searx.data - update_wikidata_units.pydalf
2021-10-01Update searx.data - update_firefox_version.pydalf
2021-10-01Update searx.data - update_ahmia_blacklist.pydalf
2021-10-01Update searx.data - update_currencies.pydalf
2021-09-30[build] /staticAlexandre Flament
2021-09-30SearXNG: oscar themeAlexandre Flament
2021-09-29Merge pull request #353 from return42/stackexchangeAlexandre Flament
[mod] engines - add Stack Exchange API v2.3
2021-09-29Merge pull request #354 from dalf/mod-searx-network-streamAlexandre Flament
[mod] /image_proxy: fix memory leak
2021-09-29[fix] engine stackexchange - decode HTML entities in title & contentMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-28[mod] searx.network.stream returns a tuple (response, stream)Alexandre Flament
2021-09-28Merge pull request #343 from dalf/fix-checker-memory-issueAlexandre Flament
[fix] checker: fix memory usage
2021-09-28[fix] searx.network.stream: fix memory leakAlexandre Flament
2021-09-28[mod] engines - add superuser.com (Stack Exchange API)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-28[mod] engines - add askubuntu.com (Stack Exchange API)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-28[mod] replace old stackoverflow engine by Stack Exchange API v2.3Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-28[mod] engines - add Stack Exchange API v2.3Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-28[fix] checker: fix memory usageAlexandre Flament
* download images using the "image_proxy" network (HTTP/1 instead of HTTP/2) * don't cache data: URL (reduce memory usage) * after each test: purge image URL cache then call garbage collector * download only the first 64kb of images