Commit graph

9097 commits

Author SHA1 Message Date
Hosted Weblate
273b763aed
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/
Translation: F-Droid/F-Droid Server
2025-03-19 17:53:54 +01:00
Hans-Christoph Steiner
c62094274c
Translated using Weblate: Tamil (ta) by Hans-Christoph Steiner <hans@guardianproject.info>
Currently translated at 98.6% (604 of 612 strings)

Co-authored-by: Hans-Christoph Steiner <hans@eds.org>
Co-authored-by: Hans-Christoph Steiner <hans@guardianproject.info>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ta/
Translation: F-Droid/F-Droid Server
2025-03-19 17:53:54 +01:00
Kristoffer Grundström
29487d8c3a
Translated using Weblate: Swedish (sv) by Kristoffer Grundström <swedishsailfishosuser@tutanota.com>
Currently translated at 12.5% (77 of 612 strings)

Co-authored-by: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/sv/
Translation: F-Droid/F-Droid Server
2025-03-19 17:53:54 +01:00
Marcus skoding
560d7fd200
Translated using Weblate: Swedish (sv) by Marcus skoding <ggd7cnc9m@mozmail.com>
Currently translated at 12.5% (77 of 612 strings)

Translated using Weblate: Swedish (sv) by Marcus skoding <ggd7cnc9m@mozmail.com>

Currently translated at 12.2% (75 of 612 strings)

Co-authored-by: Marcus skoding <ggd7cnc9m@mozmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/sv/
Translation: F-Droid/F-Droid Server
2025-03-19 17:53:54 +01:00
Kristoffer Grundström
f76114ba5c
Translated using Weblate: Swedish (sv) by Kristoffer Grundström <swedishsailfishosuser@tutanota.com>
Currently translated at 12.2% (75 of 612 strings)

Co-authored-by: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/sv/
Translation: F-Droid/F-Droid Server
2025-03-19 17:53:54 +01:00
Kuldeep Singh
40daf5e153
Added translation using Weblate: Punjabi (pa) by Kuldeep Singh <kuldeepburjbhalaike@gmail.com>
Co-authored-by: Kuldeep Singh <kuldeepburjbhalaike@gmail.com>
2025-03-19 17:53:54 +01:00
தமிழ்நேரம்
72ca7ebc4f
Translated using Weblate: Tamil (ta) by தமிழ்நேரம் <anishprabu.t@gmail.com>
Currently translated at 100.0% (612 of 612 strings)

Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ta/
Translation: F-Droid/F-Droid Server
2025-03-19 17:53:54 +01:00
Hosted Weblate
db7afbedf5
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/
Translation: F-Droid/F-Droid Server
2025-03-19 17:53:54 +01:00
Bård Sigurd Møller
e50ce950a3
Translated using Weblate: Norwegian Nynorsk (nn) by Bård Sigurd Møller <git@bsmoller.no>
Currently translated at 0.6% (4 of 611 strings)

Added translation using Weblate: Norwegian Nynorsk (nn) by Bård Sigurd Møller <git@bsmoller.no>

Co-authored-by: Bård Sigurd Møller <git@bsmoller.no>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/nn/
Translation: F-Droid/F-Droid Server
2025-03-19 17:53:54 +01:00
Edgars Andersons
7f207496bb
Translated using Weblate: Latvian (lv) by Edgars Andersons <Edgars+Weblate@gaitenis.id.lv>
Currently translated at 7.0% (43 of 612 strings)

Translated using Weblate: Latvian (lv) by Edgars Andersons <Edgars+Weblate@gaitenis.id.lv>

Currently translated at 6.8% (42 of 611 strings)

Co-authored-by: Edgars Andersons <Edgars+Weblate@gaitenis.id.lv>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/lv/
Translation: F-Droid/F-Droid Server
2025-03-19 17:53:54 +01:00
Hans-Christoph Steiner
edd88cc701
version 2.4 alpha 1 2025-03-19 17:45:15 +01:00
Hans-Christoph Steiner
a01e91da6c
update CHANGELOG.md 2025-03-19 17:45:12 +01:00
Hans-Christoph Steiner
e23b196a0f
run tests/refresh-SUSS_DEFAULT.py 2025-03-19 17:45:08 +01:00
Hans-Christoph Steiner
52045f9819 Merge branch 'weblate' into 'master'
weblate

See merge request fdroid/fdroidserver!1616
2025-03-19 16:24:40 +00:00
Golubev Alexander
ca082daaea Translated using Weblate: Russian (ru) by Golubev Alexander <fatzer2@gmail.com>
Currently translated at 100.0% (613 of 613 strings)

Co-authored-by: Golubev Alexander <fatzer2@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ru/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
大王叫我来巡山
9429f0917b Translated using Weblate: Chinese (Simplified Han script) (zh_Hans) by 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Currently translated at 100.0% (613 of 613 strings)

Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
Максим Горпиніч
c5d5ab3a79 Translated using Weblate: Ukrainian (uk) by Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Currently translated at 100.0% (613 of 613 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/uk/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
LucasMZ
26860dbf2f Translated using Weblate: Portuguese (Brazil) (pt_BR) by LucasMZ <git@lucasmz.dev>
Currently translated at 100.0% (613 of 613 strings)

Co-authored-by: LucasMZ <git@lucasmz.dev>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pt_BR/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
ssantos
0907755efe Translated using Weblate: Portuguese (pt) by ssantos <ssantos@web.de>
Currently translated at 100.0% (613 of 613 strings)

Translated using Weblate: Portuguese (Portugal) (pt_PT) by ssantos <ssantos@web.de>

Currently translated at 100.0% (613 of 613 strings)

Translated using Weblate: Portuguese (pt) by ssantos <ssantos@web.de>

Currently translated at 99.8% (612 of 613 strings)

Co-authored-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pt/
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pt_PT/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
WaldiS
2a36726798 Translated using Weblate: Polish (pl) by WaldiS <sto@tutanota.de>
Currently translated at 100.0% (613 of 613 strings)

Translated using Weblate: Polish (pl) by WaldiS <sto@tutanota.de>

Currently translated at 99.8% (612 of 613 strings)

Co-authored-by: WaldiS <sto@tutanota.de>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pl/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
Liner Seven
c0da9df12f Translated using Weblate: Japanese (ja) by Liner Seven <linour7gmekiblo@gmail.com>
Currently translated at 100.0% (613 of 613 strings)

Co-authored-by: Liner Seven <linour7gmekiblo@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ja/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
Aindriú Mac Giolla Eoin
bb5d7a0e91 Translated using Weblate: Irish (ga) by Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
Currently translated at 100.0% (613 of 613 strings)

Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ga/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
Lula Bye
dedc92b467 Translated using Weblate: French (fr) by Lula Bye <translate.cylinder716@passinbox.com>
Currently translated at 97.3% (597 of 613 strings)

Co-authored-by: Lula Bye <translate.cylinder716@passinbox.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/fr/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
Nicolás Pérez
99b8f76487 Translated using Weblate: Spanish (es) by Nicolás Pérez <ccnicolasperez@gmail.com>
Currently translated at 100.0% (613 of 613 strings)

Co-authored-by: Nicolás Pérez <ccnicolasperez@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/es/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
VfBFan
d3eff85c51 Translated using Weblate: German (de) by VfBFan <drop0815@posteo.de>
Currently translated at 100.0% (613 of 613 strings)

Co-authored-by: VfBFan <drop0815@posteo.de>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/de/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
Fjuro
fcbbf3bea3 Translated using Weblate: Czech (cs) by Fjuro <fjuro@users.noreply.hosted.weblate.org>
Currently translated at 100.0% (613 of 613 strings)

Co-authored-by: Fjuro <fjuro@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/cs/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
pitroig
2b8c957d12 Translated using Weblate: Catalan (ca) by pitroig <ona@riseup.net>
Currently translated at 100.0% (613 of 613 strings)

Co-authored-by: pitroig <ona@riseup.net>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ca/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
Hans-Christoph Steiner
a95f4f11b0
pick-complete-translations.py: use new Weblate API 2025-03-19 17:13:29 +01:00
Hans-Christoph Steiner
b416d9b604 Merge branch 'skip-test-for-unsupported-arch' into 'master'
skip tests that won't run on a given CPU architecture

See merge request fdroid/fdroidserver!1330
2025-03-19 14:56:18 +00:00
Hans-Christoph Steiner
0b3fe26524
skip tests that won't run on a given CPU architecture 2025-03-19 15:47:06 +01:00
Hans-Christoph Steiner
025828932d purge test exceptions for Python < 3.9, that's the min version 2025-03-19 11:11:36 +01:00
Michael Pöhn
17a4912e83 Merge branch 'gitlab-ci-signing-server' into 'master'
gitlab-ci: "PUBLISH" job to test in the signing server's setup

See merge request fdroid/fdroidserver!1613
2025-03-12 16:48:36 +00:00
Hans-Christoph Steiner
c5f442616e gitlab-ci: "PUBLISH" job to test in the signing server's setup 2025-03-12 17:27:26 +01:00
Hans-Christoph Steiner
2f4e0f47a1 signatures: make from . import net optional
This eliminates the need to have python3-requests installed on the signing
server.  This was missed in 031ae1103e
2025-03-12 17:27:26 +01:00
Hans-Christoph Steiner
3e6cb67e69 Merge branch 'signing-server' into 'master'
complete workflow for porting the signing server for config.yml

See merge request fdroid/fdroidserver!1610
2025-03-12 13:11:21 +00:00
Hans-Christoph Steiner
d06e33697a lint: missing valid config key: apk_signing_key_block_list 2025-03-12 13:37:17 +01:00
Hans-Christoph Steiner
9d147c6b6b test_common: remove self.tmpdir and use standard self.testdir pat 2025-03-12 13:37:17 +01:00
Hans-Christoph Steiner
858068c64b only show "unsafe perms on config.yml" when secrets are present
This should make for fewer false positives.
2025-03-12 13:37:17 +01:00
Hans-Christoph Steiner
36007d50e5 AbstractBaseTest class for sharing setUp and tearDown in tests 2025-03-12 13:37:17 +01:00
Hans-Christoph Steiner
f269232b96 hide error messages in tests that are meant to fail 2025-03-12 13:37:17 +01:00
Hans-Christoph Steiner
8cf1297e2c clarify config data types and structures 2025-03-12 13:37:17 +01:00
Hans-Christoph Steiner
081e02c109 expand {env: foo} in any place a string can be
`keypass: {env: keypass}` has been in use in production repos for
years.  That is not anything new. It makes it possible to maintain
_config.yml_ publicly even when it needs secrets.  This change makes
sure it is possible to use {env: foo} syntax anywhere where a string
value is valid. The "list of dicts" values can be str, list of str or
list of dicts with str.

Before the {env: keypass} syntax, the actual password was just inline
in the config file.  Before this commit, it was only possible to use
{env: key} syntax in simple, string-only configs, e.g. from
examples/config.yml:
2025-03-12 13:37:17 +01:00
Hans-Christoph Steiner
031ae1103e function-local imports to limit deps for publish/signindex/gpgsign
This eliminates the need to have these installed on the signing server:

* python3-qrcode
* python3-requests

The signing server currently uses a git clone to run _fdroidserver_ and
`apt-get install` for dependencies.  This leaves "qrcode" in
"install_requires" since moving it to "extras_require" would break
`fdroid update` and `fdroid nightly` for anything that does
`pip install fdroidserver`:

https://gitlab.com/eighthave/fdroidserver/-/jobs/9386520037
2025-03-12 13:37:13 +01:00
Hans-Christoph Steiner
864ccb560b Merge branch 'pydocfix' into 'master'
🪐 fix pydoc link in hooks/pre-commit

See merge request fdroid/fdroidserver!1612
2025-03-12 09:17:58 +00:00
Michael Pöhn
14e13b4f4a
🪐 fix pydoc link in hooks/pre-commit
updated pydoc linter flags based on how it's used in .gitlab-ci.yml
2025-03-12 10:04:46 +01:00
Michael Pöhn
1521d5c659 Merge branch 'YAML-1.2' into 'master'
standardize config on ruamel.yaml with a YAML 1.2 config

See merge request fdroid/fdroidserver!1611
2025-03-10 08:34:06 +00:00
Hans-Christoph Steiner
3ab2baf542 _yaml.config_dump() for writing out config
This outputs YAML in a string that is suitable for use in regexps
and string replacements, as well as complete files.  It is therefore
explicitly set up to avoid writing out headers and footers.
2025-03-10 08:49:18 +01:00
Hans-Christoph Steiner
2f47938dbf standardize config on ruamel.yaml with a YAML 1.2 config
This is a key piece of the ongoing `PUBLISH` _config.yml_ migration. There was uneven implementation of which YAML parser to use, and that could lead to bugs where one parser might read a value one way, and a different parser will read the value a different way. I wanted to be sure that YAML 1.2 would always work.

This makes all code that handles config files use the same `ruamel.yaml` parsers.  This only touches other usages of YAML parsers when there is overlap.  This does not port all of _fdroidserver_ to `ruamel.yaml` and YAML 1.2.  The metadata files should already be YAML 1.2 anyway.

# Conflicts:
#	fdroidserver/lint.py
2025-03-10 08:48:58 +01:00
Hans-Christoph Steiner
53b62415d3 load lint_licenses where it is needed to avoid circular imports
This is the only thing that common.py imports from lint.py.
2025-03-07 14:52:23 +01:00
Jochen Sprickerhof
16fb0fbe91 Merge branch 'purge-config.py' into 'master'
purge config.py

See merge request fdroid/fdroidserver!1607
2025-03-05 14:42:01 +00:00