Markus Heiser
640ffa3aaa
[translations] WF figure rename label to "weblate clone of SearXNG origin"
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-08-09 17:59:27 +02:00
Markus Heiser
58344b0827
[translations] additional documentation of the Weblate workflows
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-08-09 17:58:27 +02:00
Alexandre Flament
901ab87717
[translations] web integration
...
* make babel.translations.to.master: pull weblate updates
* make babel.master.to.translations: push .pot and .po files to weblate
2021-08-07 15:06:06 +02:00
Markus Heiser
80372d87d9
Merge pull request #252 from searxng/dependabot/pip/master/sphinx-tabs-3.2.0
...
Bump sphinx-tabs from 3.1.0 to 3.2.0
2021-08-06 19:06:29 +00:00
Markus Heiser
c2e8480e60
Merge pull request #251 from searxng/dependabot/pip/master/yamllint-1.26.2
...
Bump yamllint from 1.26.1 to 1.26.2
2021-08-06 19:00:32 +00:00
dependabot[bot]
4b088cd444
Bump sphinx-tabs from 3.1.0 to 3.2.0
...
Bumps [sphinx-tabs](https://github.com/executablebooks/sphinx-tabs ) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/executablebooks/sphinx-tabs/releases )
- [Changelog](https://github.com/executablebooks/sphinx-tabs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/executablebooks/sphinx-tabs/compare/v3.1.0...v3.2.0 )
---
updated-dependencies:
- dependency-name: sphinx-tabs
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-06 07:03:55 +00:00
dependabot[bot]
aec2797dc8
Bump yamllint from 1.26.1 to 1.26.2
...
Bumps [yamllint](https://github.com/adrienverge/yamllint ) from 1.26.1 to 1.26.2.
- [Release notes](https://github.com/adrienverge/yamllint/releases )
- [Changelog](https://github.com/adrienverge/yamllint/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/adrienverge/yamllint/compare/v1.26.1...v1.26.2 )
---
updated-dependencies:
- dependency-name: yamllint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-06 07:03:50 +00:00
Markus Heiser
f5c3e9f3dd
Merge pull request #249 from return42/docs-drop-locales
...
[docs] admin/engines/settings.rst remove 'locales' section
2021-08-04 09:37:24 +00:00
Markus Heiser
b3e07db96e
[docs] admin/engines/settings.rst remove 'locales' section
...
'locales' setting has been removed in:
- f30d01ff
[mod] settings.yml: remove locales
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-08-04 11:32:35 +02:00
Alexandre Flament
4e2ec9b8b3
Merge pull request #247 from dalf/remote_settings_locales
...
settings.yml: remove locales section.
2021-08-04 11:05:13 +02:00
Alexandre Flament
0d20e5dfe3
[mod] searx/locales.py: language names based on Unicode CLDR
...
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 09:50:34 +02:00
Markus Heiser
809bf1a105
[mod] pylint & document searx.locales (settings.yml: remove locales)
...
- 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-04 07:54:53 +02:00
Alexandre Flament
f30d01ffab
[mod] settings.yml: remove locales
...
There are detected from the searx/translations directory
2021-08-03 15:44:45 +02:00
Alexandre Flament
bd17544f82
[fix] make test.robot: firefox profile: intl.accept_languages=en
...
make sure Firefox in test.robot asks for English pages
2021-08-03 15:11:51 +02:00
Alexandre Flament
34ffd08187
Merge pull request #235 from searxng/dependabot-npm
...
dependabot.yml: check npm packages
2021-08-02 11:15:56 +02:00
Alexandre Flament
83b973d401
Merge pull request #238 from dalf/update_babel
...
Automatic update of searx/translations/messages.pot and messages.po files.
2021-08-02 11:04:37 +02:00
Markus Heiser
900baf2eae
[mod] manage - implement babel commands, drop update_translations.sh
...
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-02 10:06:27 +02:00
Alexandre Flament
7fa7177759
Update translations (pot, po)
2021-08-02 09:44:13 +02:00
Alexandre Flament
49aa7822d9
github workflow: babel jobs to update messages.pot
2021-08-02 09:44:13 +02:00
Alexandre Flament
32263ea637
remove .tx directory (transifex)
2021-08-02 09:44:13 +02:00
Alexandre Flament
d1fb3c2592
babel: update searx_extra/update/update_translations.sh
...
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-02 09:44:13 +02:00
Alexandre Flament
efc81ca3dc
babel.cfg: ignore node_modules directories
...
The NPM packages contains python scripts: they should be included by "pybabel extract"
2021-08-02 09:44:13 +02:00
Markus Heiser
e0ca749ff5
Merge pull request #242 from searxng/update_data_update_currencies.py
...
Update searx.data - update_currencies.py
2021-08-02 07:40:19 +00:00
Alexandre Flament
b6711ba0ad
Merge pull request #241 from searxng/update_data_update_languages.py
...
Update searx.data - update_languages.py
2021-08-02 09:01:57 +02:00
Markus Heiser
274edd523c
[fix] get common used languages back (min_engines_per_lang = 13)
...
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-01 13:04:24 +02:00
Markus Heiser
0fc1dcbfa5
Merge pull request #243 from searxng/update_data_update_wikidata_units.py
...
Update searx.data - update_wikidata_units.py
2021-08-01 09:42:01 +00:00
Markus Heiser
33ba700c3b
Merge pull request #240 from searxng/update_data_update_firefox_version.py
...
Update searx.data - update_firefox_version.py
2021-08-01 09:22:38 +00:00
dalf
7fae5647d3
Update searx.data - update_wikidata_units.py
2021-08-01 06:24:23 +00:00
dalf
2963c83daa
Update searx.data - update_currencies.py
2021-08-01 06:24:13 +00:00
dalf
4d3f2f48d2
Update searx.data - update_languages.py
2021-08-01 06:24:12 +00:00
dalf
f5389fd722
Update searx.data - update_firefox_version.py
2021-08-01 06:24:01 +00:00
Markus Heiser
d2d6234f92
Merge pull request #239 from return42/fix-doc-git
...
[fix] documentation - remove brand.git_url & brand.git_branch
2021-08-01 05:29:41 +00:00
Markus Heiser
5e3525a298
Merge pull request #236 from dalf/manage_without_brand
...
manage script: remove unused reference to utils/brand.env and .config.sh
2021-08-01 05:29:24 +00:00
Alexandre Flament
a7a181064f
manage script: remove unused reference to utils/brand.env and .config.sh
2021-08-01 07:05:00 +02:00
Markus Heiser
aee613d256
[fix] documentation - remove brand.git_url & brand.git_branch
...
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-08-01 06:57:14 +02:00
Alexandre Flament
4ca318aad2
dependabot.yml: check npm packages
2021-07-31 09:56:57 +02:00
Alexandre Flament
38ee88b390
Merge pull request #229 from dalf/version-from-git
...
version based on git
2021-07-30 18:57:00 +02:00
Markus Heiser
3b97657f3b
Merge pull request #233 from searxng/dependabot/pip/master/sphinx-4.1.2
...
Bump sphinx from 4.1.1 to 4.1.2
2021-07-30 16:27:44 +00:00
Markus Heiser
a2fc031e7a
Merge pull request #232 from searxng/dependabot/pip/master/pylint-2.9.6
...
Bump pylint from 2.9.5 to 2.9.6
2021-07-30 16:22:01 +00:00
Markus Heiser
5b3eeb6e54
[mod] searx.sh - improve some messages prompted while installation
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-07-30 14:53:09 +02:00
Markus Heiser
85e0908e4f
[fix] searx.sh - get_installed_version_variables()
...
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 14:53:09 +02:00
Markus Heiser
64d64535a2
[fix] buildenv: first unset environment / then import searx package
...
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-30 14:53:09 +02:00
Alexandre Flament
4b43775c91
version based on the git repository
...
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-30 14:40:09 +02:00
dependabot[bot]
d95720b0dc
Bump sphinx from 4.1.1 to 4.1.2
...
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-30 07:04:19 +00:00
dependabot[bot]
146b4f4b42
Bump pylint from 2.9.5 to 2.9.6
...
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-30 07:04:12 +00:00
Alexandre Flament
feef577f99
Merge pull request #230 from dalf/remove-zh-hant-tw
...
Remove zh_Hant_TW translation
2021-07-28 08:34:09 +02:00
Alexandre Flament
0b2dca088f
Remove zh_Hant_TW translation
...
See https://github.com/searxng/searxng/issues/195#issuecomment-887518808
2021-07-27 18:54:25 +02:00
Alexandre Flament
ed0db4d61a
Merge pull request #226 from return42/hardening
...
[mod] hardening SearXNG instances by default (formats)
2021-07-27 11:22:18 +02:00
Alexandre Flament
24fcd7475a
Revert "[brand] !!DO NOT MERGE!! this patch uses branch fix-searx.sh @return42"
...
This reverts commit e946c3462c
.
2021-07-27 08:40:53 +02:00
Markus Heiser
beff764d74
Merge pull request #216 from return42/fix-searx.sh
...
normalize environment of installation tasks (shell) with YAML settings
2021-07-27 05:32:57 +00:00