1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 00:40:11 +01:00
Commit Graph

7962 Commits

Author SHA1 Message Date
Hans-Christoph Steiner
e903952029 always use defusedxml.ElementTree, never xml.etree.ElementTree
defusedxml is now available and installed everywhere, including the
buildserver VM and the buildserver host.

This fixes bandit's error because it didn't understand the try: block
* https://gitlab.com/eighthave/fdroidserver/-/jobs/3965835264
* https://bandit.readthedocs.io/en/1.7.5/blacklists/blacklist_calls.html#b313-b320-xml
2023-03-20 14:44:13 +01:00
Hans-Christoph Steiner
4295d254f9 build: actually raise exception when ndk: entry is invalid
pylint said:
fdroidserver/common.py:4238:8: W0133: Exception statement has no effect (pointless-exception-statement)
2023-03-20 14:43:44 +01:00
Hans-Christoph Steiner
bf5e65dd24 pylint: hide broad-exception-caught and broad-exception-raised
I suppose it would be nice to have these enabled, but yeah...
2023-03-20 14:43:44 +01:00
Hans-Christoph Steiner
08d4b4671c Merge branch 'ndk-path-long' into 'master'
metadata.Build.ndk_path(): find long form ndk too

Closes #1099

See merge request fdroid/fdroidserver!1313
2023-03-20 13:40:10 +00:00
FC Stegerman
a5978ad8b2 metadata.Build.ndk_path(): find long form ndk too 2023-03-20 13:39:47 +00:00
Jochen Sprickerhof
668a83a9af Merge branch 'update-handle-bad-xml-namespaces' into 'master'
update: handle messed up namespaces in AndroidManifest.xml

See merge request fdroid/fdroidserver!1326
2023-03-20 13:24:59 +00:00
Hans-Christoph Steiner
e6ff596b4c update: handle messed up namespaces in AndroidManifest.xml 2023-03-20 13:24:59 +00:00
Hans-Christoph Steiner
1f6eab8365
set dev version: 2.3 alpha 0 2023-03-09 16:00:50 +01:00
Hans-Christoph Steiner
35a1cb20e6
version 2.2.1 2023-03-09 14:53:00 +01:00
Hans-Christoph Steiner
e093d471f8 update CHANGELOG for 2.2.1 2023-03-09 13:58:14 +01:00
Hans-Christoph Steiner
770a860fe7 Merge branch 'weblate' into 'master'
weblate

See merge request fdroid/fdroidserver!1325
2023-03-09 12:54:40 +00:00
Hans-Christoph Steiner
202ecc858c gitlab-ci: break out locale tests into job that fails on errors 2023-03-09 13:42:33 +01:00
Hans-Christoph Steiner
5a0453ca9d make -C locale update 2023-03-09 13:20:42 +01:00
Hans-Christoph Steiner
68cd544dfb fix bad formats in translations 2023-03-09 13:16:14 +01:00
Max Xie
950e342d6e
Translated using Weblate: Chinese (Simplified) (zh_Hans) by Max Xie <monyxie@gmail.com>
Currently translated at 77.9% (417 of 535 strings)

Co-authored-by: Max Xie <monyxie@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:33 +01:00
Oğuz Ersen
aa80a762c4
Translated using Weblate: Turkish (tr) by Oğuz Ersen <oguz@ersen.moe>
Currently translated at 100.0% (535 of 535 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/tr/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:33 +01:00
Fjuro
b45fa5d864
Translated using Weblate: Czech (cs) by Fjuro <ifjuro@proton.me>
Currently translated at 100.0% (535 of 535 strings)

Co-authored-by: Fjuro <ifjuro@proton.me>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/cs/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:33 +01:00
Besnik Bleta
963d119a0c
Translated using Weblate: Albanian (sq) by Besnik Bleta <besnik@programeshqip.org>
Currently translated at 97.5% (522 of 535 strings)

Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/sq/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:32 +01:00
VfBFan
7973dd2c8f
Translated using Weblate: German (de) by VfBFan <drop0815@posteo.de>
Currently translated at 100.0% (535 of 535 strings)

Translated using Weblate: German (de) by VfBFan <drop0815@posteo.de>

Currently translated at 100.0% (535 of 535 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
2023-03-09 12:48:32 +01:00
ssantos
ad391f02f3
Translated using Weblate: Portuguese (pt) by ssantos <ssantos@web.de>
Currently translated at 100.0% (535 of 535 strings)

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

Currently translated at 100.0% (535 of 535 strings)

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

Currently translated at 100.0% (535 of 535 strings)

Co-authored-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/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
2023-03-09 12:48:32 +01:00
Agnieszka C
4fc443ce9c
Translated using Weblate: Polish (pl) by Agnieszka C <aga_04@o2.pl>
Currently translated at 100.0% (535 of 535 strings)

Co-authored-by: Agnieszka C <aga_04@o2.pl>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pl/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:32 +01:00
Andrey
37441f6f1a
Translated using Weblate: Russian (ru) by Andrey <andrey@mailbox.org>
Currently translated at 100.0% (535 of 535 strings)

Co-authored-by: Andrey <andrey@mailbox.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ru/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:32 +01:00
Ihor Hordiichuk
cadd53c40c
Translated using Weblate: Ukrainian (uk) by Ihor Hordiichuk <igor_ck@outlook.com>
Currently translated at 100.0% (535 of 535 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/uk/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:32 +01:00
Translator
8c4f8cb388
Translated using Weblate: French (fr) by Translator <kvb@tuta.io>
Currently translated at 100.0% (535 of 535 strings)

Co-authored-by: Translator <kvb@tuta.io>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/fr/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:32 +01:00
Eric
badbe7af5d
Translated using Weblate: Chinese (Simplified) (zh_Hans) by Eric <hamburger2048@users.noreply.hosted.weblate.org>
Currently translated at 77.1% (413 of 535 strings)

Co-authored-by: Eric <hamburger2048@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:32 +01:00
Hosted Weblate
5600e4828f
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
2023-03-09 12:48:32 +01:00
Saurmandal
33e506e5e4
Translated using Weblate: Hindi (hi) by Saurmandal <saurmandal@protonmail.com>
Currently translated at 2.5% (16 of 619 strings)

Co-authored-by: Saurmandal <saurmandal@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/hi/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:32 +01:00
VfBFan
49412de27c
Translated using Weblate: German (de) by VfBFan <drop0815@posteo.de>
Currently translated at 100.0% (619 of 619 strings)

Translated using Weblate: German (de) by VfBFan <drop0815@posteo.de>

Currently translated at 100.0% (619 of 619 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
2023-03-09 12:48:32 +01:00
Hosted Weblate
50c3ed0f4b
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
2023-03-09 12:48:32 +01:00
Rubén
f848824371
Added translation using Weblate: Catalan (ca) by Rubén <rubenx@mail.com>
Co-authored-by: Rubén <rubenx@mail.com>
2023-03-09 12:48:32 +01:00
Ahmad0a
e74fc222f4
Translated using Weblate: Arabic (ar) by Ahmad0a <Ahmad3p@protonmail.com>
Currently translated at 1.7% (11 of 623 strings)

Translated using Weblate: Arabic (ar) by Ahmad0a <Ahmad3p@protonmail.com>

Currently translated at 1.6% (10 of 623 strings)

Added translation using Weblate: Arabic (ar) by Ahmad0a <Ahmad3p@protonmail.com>

Co-authored-by: Ahmad0a <Ahmad3p@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ar/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:32 +01:00
Danial Behzadi
fef8239502
Translated using Weblate: Persian (fa) by Danial Behzadi <dani.behzi@ubuntu.com>
Currently translated at 8.5% (53 of 623 strings)

Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/fa/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:32 +01:00
Đorđe Vasiljević
bded120a90
Translated using Weblate: Serbian (sr) by Đorđe Vasiljević <djordje.vasiljevich@gmail.com>
Currently translated at 0.1% (1 of 623 strings)

Co-authored-by: Đorđe Vasiljević <djordje.vasiljevich@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/sr/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:32 +01:00
Abhiram
3b66bd2899
Translated using Weblate: Malayalam (ml) by Abhiram <abhiram@skiff.com>
Currently translated at 0.8% (5 of 623 strings)

Co-authored-by: Abhiram <abhiram@skiff.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ml/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:32 +01:00
K.B.Dharun Krishna
94a19d5727
Translated using Weblate: Tamil (ta) by K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Currently translated at 1.6% (10 of 623 strings)

Translated using Weblate: Tamil (ta) by K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

Currently translated at 0.1% (1 of 623 strings)

Added translation using Weblate: Tamil (ta) by K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ta/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:32 +01:00
Goudarz Jafari
3f84832953
Translated using Weblate: Persian (fa) by Goudarz Jafari <goudarz.jafari@gmail.com>
Currently translated at 7.8% (49 of 623 strings)

Co-authored-by: Goudarz Jafari <goudarz.jafari@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/fa/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:31 +01:00
Yaron Shahrabani
c3b1c56c72
Translated using Weblate: Hebrew (he) by Yaron Shahrabani <sh.yaron@gmail.com>
Currently translated at 2.2% (14 of 623 strings)

Translated using Weblate: Hebrew (he) by Yaron Shahrabani <sh.yaron@gmail.com>

Currently translated at 1.7% (11 of 623 strings)

Translated using Weblate: Hebrew (he) by Yaron Shahrabani <sh.yaron@gmail.com>

Currently translated at 1.4% (9 of 623 strings)

Translated using Weblate: Hebrew (he) by Yaron Shahrabani <sh.yaron@gmail.com>

Currently translated at 1.1% (7 of 623 strings)

Translated using Weblate: Hebrew (he) by Yaron Shahrabani <sh.yaron@gmail.com>

Currently translated at 0.1% (1 of 623 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/he/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:31 +01:00
Hosted Weblate
6e1e544c44
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
2023-03-09 12:48:31 +01:00
Linerly
29e3f97347
Translated using Weblate: Indonesian (id) by Linerly <linerly@protonmail.com>
Currently translated at 15.0% (92 of 612 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/id/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:31 +01:00
Holiq Ibrahim
952bcda61c
Translated using Weblate: Indonesian (id) by Holiq Ibrahim <holiq.ibrahim376@gmail.com>
Currently translated at 15.0% (92 of 612 strings)

Co-authored-by: Holiq Ibrahim <holiq.ibrahim376@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/id/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:31 +01:00
bobwww
20b50ff522
Added translation using Weblate: Hebrew (he) by bobwww <noambro199@gmail.com>
Co-authored-by: bobwww <noambro199@gmail.com>
2023-03-09 12:48:31 +01:00
Aleksandar Hadzhivelichkov
4c40ba7664
Added translation using Weblate: Bulgarian (bg) by Aleksandar Hadzhivelichkov <Raphaelo245@gmail.com>
Co-authored-by: Aleksandar Hadzhivelichkov <Raphaelo245@gmail.com>
2023-03-09 12:48:31 +01:00
Саша Петровић
9de082d12a
Added translation using Weblate: Serbian (sr) by Саша Петровић <salepetronije@gmail.com>
Co-authored-by: Саша Петровић <salepetronije@gmail.com>
2023-03-09 12:48:31 +01:00
Hosted Weblate
4edb662b4b
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
2023-03-09 12:48:31 +01:00
Coding Otaku
7b65ce1d1f
Translated using Weblate: Malayalam (ml) by Coding Otaku <contact@codingotaku.com>
Currently translated at 0.6% (4 of 576 strings)

Co-authored-by: Coding Otaku <contact@codingotaku.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ml/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:31 +01:00
Amal Benny
0d111732d2
Translated using Weblate: Malayalam (ml) by Amal Benny <amalb1883@gmail.com>
Currently translated at 0.6% (4 of 576 strings)

Co-authored-by: Amal Benny <amalb1883@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ml/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:31 +01:00
Hans-Christoph Steiner
e9ab9a8981 Merge branch 'download_repo_index_v2' into 'master'
index.download_repo_index_v2() and index.download_repo_index_v1()

See merge request fdroid/fdroidserver!1323
2023-03-09 11:48:24 +00:00
Hans-Christoph Steiner
b1f482009a
tame verbose logging in index tests by default 2023-03-09 12:35:31 +01:00
Hans-Christoph Steiner
f3e49f4bcb
download_repo_index_v2() for verified downloading of index-v2 2023-03-09 12:35:29 +01:00
Hans-Christoph Steiner
a557764b4d
sign tests/repo/index-v1.jar once per index.TestCase run
Signing files is a slow operation, especially with jarsigner. This speeds
up the full test run from 10-12 seconds to 2-3 seconds, which makes it
possible to run the tests interactively again. And it stops signing the
file entirely for tests that do not even touch that file.

In the long run, it would probably make sense to have each test case sign
the file as it needs it, but that's a much bigger change.
2023-03-09 12:34:57 +01:00