summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-04Merge pull request #247 from dalf/remote_settings_localesAlexandre Flament
settings.yml: remove locales section.
2021-08-04[mod] searx/locales.py: language names based on Unicode CLDRAlexandre Flament
rename "oc" to "Occitan": * https://github.com/unicode-org/cldr/blob/35.1/seed/main/oc.xml#L115 * https://oc.wikipedia.org/wiki/Occitan see https://github.com/searxng/searxng/pull/247#issuecomment-892382001
2021-08-04[mod] pylint & document searx.locales (settings.yml: remove locales)Markus Heiser
- Add ``# lint: pylint`` header to pylint this python file. - Fix issues reported by pylint. - Add source code documentation of modul searx.locales Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-08-03[mod] settings.yml: remove localesAlexandre Flament
There are detected from the searx/translations directory
2021-08-03[fix] make test.robot: firefox profile: intl.accept_languages=enAlexandre Flament
make sure Firefox in test.robot asks for English pages
2021-08-02Merge pull request #235 from searxng/dependabot-npmAlexandre Flament
dependabot.yml: check npm packages
2021-08-02Merge pull request #238 from dalf/update_babelAlexandre Flament
Automatic update of searx/translations/messages.pot and messages.po files.
2021-08-02[mod] manage - implement babel commands, drop update_translations.shMarkus Heiser
In ./manage implement babel.*: - extract : extract messages from source files and generate POT file - update : update existing message catalogs from POT file - compile : compile translation catalogs into binary MO files Replace searx_extra/update/update_translations.sh by command: - ci.babel.update Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-08-02Update translations (pot, po)Alexandre Flament
2021-08-02github workflow: babel jobs to update messages.potAlexandre Flament
2021-08-02remove .tx directory (transifex)Alexandre Flament
2021-08-02babel: update searx_extra/update/update_translations.shAlexandre Flament
the script expects searx/translations/messages.pot to be commited it calls "pybabel extract", and if there is a meaningful change, it calls "pybabel update" exit code 0 when there is a change in messages.pot
2021-08-02babel.cfg: ignore node_modules directoriesAlexandre Flament
The NPM packages contains python scripts: they should be included by "pybabel extract"
2021-08-02Merge pull request #242 from searxng/update_data_update_currencies.pyMarkus Heiser
Update searx.data - update_currencies.py
2021-08-02Merge pull request #241 from searxng/update_data_update_languages.pyAlexandre Flament
Update searx.data - update_languages.py
2021-08-01[fix] get common used languages back (min_engines_per_lang = 13)Markus Heiser
In commit 4d3f2f48d common used languages has been droped. By reducing the number of `min_engines_per_lang` from 15 to 13 we get theses languages back. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-08-01Merge pull request #243 from searxng/update_data_update_wikidata_units.pyMarkus Heiser
Update searx.data - update_wikidata_units.py
2021-08-01Merge pull request #240 from searxng/update_data_update_firefox_version.pyMarkus Heiser
Update searx.data - update_firefox_version.py
2021-08-01Update searx.data - update_wikidata_units.pydalf
2021-08-01Update searx.data - update_currencies.pydalf
2021-08-01Update searx.data - update_languages.pydalf
2021-08-01Update searx.data - update_firefox_version.pydalf
2021-08-01Merge pull request #239 from return42/fix-doc-gitMarkus Heiser
[fix] documentation - remove brand.git_url & brand.git_branch
2021-08-01Merge pull request #236 from dalf/manage_without_brandMarkus Heiser
manage script: remove unused reference to utils/brand.env and .config.sh
2021-08-01manage script: remove unused reference to utils/brand.env and .config.shAlexandre Flament
2021-08-01[fix] documentation - remove brand.git_url & brand.git_branchMarkus Heiser
In commit 4b43775c9 the brand.git_url & brand.git_branch has been removed, with this patch these settings are removed from the documentation. docs/admin/engines/settings.rst - Remove brand.git_url & brand.git_branch docs/dev/makefile.rst - Remove brand.git_url & brand.git_branch modified docs/dev/lxcdev.rst - Remove brand.git_url & brand.git_branch - fix searXNG to SearXNG Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-07-31dependabot.yml: check npm packagesAlexandre Flament
2021-07-30Merge pull request #229 from dalf/version-from-gitAlexandre Flament
version based on git
2021-07-30Merge pull request #233 from searxng/dependabot/pip/master/sphinx-4.1.2Markus Heiser
Bump sphinx from 4.1.1 to 4.1.2
2021-07-30Merge pull request #232 from searxng/dependabot/pip/master/pylint-2.9.6Markus Heiser
Bump pylint from 2.9.5 to 2.9.6
2021-07-30[mod] searx.sh - improve some messages prompted while installationMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-07-30[fix] searx.sh - get_installed_version_variables()Markus Heiser
Fix the quotation marks in the command line to run python -m searx.version Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-07-30[fix] buildenv: first unset environment / then import searx packageMarkus Heiser
The first import of names from the searx package implies loading the settings.yml. Before this is done, the enviroment variables must be unset to not overwrite the values from the settings.yml Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-07-30version based on the git repositoryAlexandre Flament
This commit remove the need to update the brand for GIT_URL and GIT_BRANCH: there are read from the git repository. It is possible to call python -m searx.version freeze to freeze the current version. Useful when the code is installed outside git (distro package, docker, etc...)
2021-07-30Bump sphinx from 4.1.1 to 4.1.2dependabot[bot]
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.1.1 to 4.1.2. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v4.1.1...v4.1.2) --- updated-dependencies: - dependency-name: sphinx dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2021-07-30Bump pylint from 2.9.5 to 2.9.6dependabot[bot]
Bumps [pylint](https://github.com/PyCQA/pylint) from 2.9.5 to 2.9.6. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Changelog](https://github.com/PyCQA/pylint/blob/main/ChangeLog) - [Commits](https://github.com/PyCQA/pylint/compare/v2.9.5...v2.9.6) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2021-07-28Merge pull request #230 from dalf/remove-zh-hant-twAlexandre Flament
Remove zh_Hant_TW translation
2021-07-27Remove zh_Hant_TW translationAlexandre Flament
See https://github.com/searxng/searxng/issues/195#issuecomment-887518808
2021-07-27Merge pull request #226 from return42/hardeningAlexandre Flament
[mod] hardening SearXNG instances by default (formats)
2021-07-27Revert "[brand] !!DO NOT MERGE!! this patch uses branch fix-searx.sh @return42"Alexandre Flament
This reverts commit e946c3462c2b44fb154d0b6595f4f42605a326e5.
2021-07-27Merge pull request #216 from return42/fix-searx.shMarkus Heiser
normalize environment of installation tasks (shell) with YAML settings
2021-07-27Merge pull request #225 from return42/docs-nosqlMarkus Heiser
[docs] document NoSLQ engines MongoDB and redis
2021-07-27Merge pull request #227 from return42/fix-seznamMarkus Heiser
[fix] Seznam engine - some XPath selectors has been changed
2021-07-27[fix] Seznam engine - some XPath selectors has been changedSamuel Dudik
Merged from https://github.com/dudik/searx/commit/5a4207759 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-07-25[mod] hardening SearXNG instances by default (formats)Markus Heiser
Deny formats has been implemented in 6ed4616d. To harden SearXNG instances by default, other formats than HTML should be denied. Most of JSON, RSS and CSV requests are bots [1]:: Bots are the only users of this feature on a public instance, and they abuse it too much that the engines rate limit pretty quickly the IP address of the instance. [1] https://github.com/searxng/searxng/issues/95 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-07-25[mod] use tests/unit/settings/test_settings.yml in unit testsMarkus Heiser
In unit tests settings from searx/settings.yml and the user settings from: unit/settings/test_settings.yml are used. In the latter, settings can be activated that are needed in the unit test but should not activated by default in production. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-07-25[docs] document NoSLQ engines MongoDB and redisNoémi Ványi
Slightly modified merge of commit [3b192e638] [3b192e638] https://github.com/searx/searx/commit/3b192e638 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-07-25Merge pull request #221 from dalf/fix-peertube_fetch_supported_languagesAlexandre Flament
[fix] peertube: update _fetch_supported_languages
2021-07-25Merge pull request #223 from return42/fix-qwantAlexandre Flament
[fix] qwant engine - hardening the engine
2021-07-24[brand] !!DO NOT MERGE!! this patch uses branch fix-searx.sh @return42Markus Heiser
Do not merge this patch in master branch of SearXNG! This branch exists only for testing the feature branch fix-searx.sh @return42. This patch changes the buildenv to:: GIT_URL='https://github.com/return42/searxng' GIT_BRANCH='fix-searx.sh' SEARX_PORT='7777' SEARX_BIND_ADDRESS='127.0.0.12' To test installation procedure, clone feature branch (fix-searx.sh):: $ cd ~/Downloads $ git clone --branch fix-searx.sh https://github.com/return42/searxng searxng $ cd searxng $ ./utils/searx.sh install all ... Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>