1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-14 02:50:12 +01:00
Commit Graph

8338 Commits

Author SHA1 Message Date
random r
eb11af9226
Translated using Weblate: Italian (it) by random r <epsilin@yopmail.com>
Currently translated at 92.7% (512 of 552 strings)

Co-authored-by: random r <epsilin@yopmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/it/
Translation: F-Droid/F-Droid Server
2023-09-21 14:23:21 +00:00
Andrey
fe44aa2a21
Translated using Weblate: Russian (ru) by Andrey <andrey@mailbox.org>
Currently translated at 100.0% (552 of 552 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-09-21 14:23:20 +00:00
Ihor Hordiichuk
7c0a2e3508
Translated using Weblate: Ukrainian (uk) by Ihor Hordiichuk <igor_ck@outlook.com>
Currently translated at 100.0% (552 of 552 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-09-21 14:23:20 +00:00
Fjuro
1824605730
Translated using Weblate: Czech (cs) by Fjuro <ifjuro@proton.me>
Currently translated at 100.0% (552 of 552 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-09-21 14:23:19 +00:00
Agnieszka C
36195e14e6
Translated using Weblate: Polish (pl) by Agnieszka C <aga_04@o2.pl>
Currently translated at 100.0% (552 of 552 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-09-21 14:23:18 +00:00
Макар Разин
65f4f489a8
Translated using Weblate: Belarusian (be) by Макар Разин <makarrazin14@gmail.com>
Currently translated at 7.6% (42 of 552 strings)

Added translation using Weblate: Belarusian (be) by Макар Разин <makarrazin14@gmail.com>

Translated using Weblate: Russian (ru) by Макар Разин <makarrazin14@gmail.com>

Currently translated at 100.0% (552 of 552 strings)

Translated using Weblate: Ukrainian (uk) by Макар Разин <makarrazin14@gmail.com>

Currently translated at 99.8% (551 of 552 strings)

Co-authored-by: Макар Разин <makarrazin14@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/be/
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ru/
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/uk/
Translation: F-Droid/F-Droid Server
2023-09-21 14:23:18 +00:00
Eric
6a137f5e6a
Translated using Weblate: Chinese (Simplified) (zh_Hans) by Eric <hamburger2048@users.noreply.hosted.weblate.org>
Currently translated at 75.7% (418 of 552 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-09-21 14:23:17 +00:00
Mehrab Poladov
35fedfb37f
Translated using Weblate: Azerbaijani (az) by Mehrab Poladov <thepoladov@protonmail.com>
Currently translated at 0.1% (1 of 552 strings)

Added translation using Weblate: Azerbaijani (az) by Mehrab Poladov <thepoladov@protonmail.com>

Co-authored-by: Mehrab Poladov <thepoladov@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/az/
Translation: F-Droid/F-Droid Server
2023-09-21 14:23:16 +00:00
Hans-Christoph Steiner
c02a194978 Merge branch 'fix_categories' into 'master'
Add default locale for generated categories

See merge request fdroid/fdroidserver!1390
2023-09-21 14:23:07 +00:00
Jochen Sprickerhof
521ff4fe17 Add default locale for generated categories
The client expects at least a name to be set.

Regression of 2c566cf6.
2023-09-21 14:14:06 +00:00
Hans-Christoph Steiner
b5724f507b Merge branch 'licaon-kter-master-patch-70325' into 'master'
Lint 'main' too as it gains popularity

See merge request fdroid/fdroidserver!1392
2023-09-21 13:25:05 +00:00
Licaon_Kter
4d0117d54c fix lint 2023-09-21 13:16:49 +00:00
Licaon_Kter
4a9b69a720 Lint 'main' too 2023-09-21 13:16:49 +00:00
Michael Pöhn
aaf58826c0 Merge branch 'test_sdk_exists' into 'master'
test_sdk_exists to be based on apksigner, that's the requirement

See merge request fdroid/fdroidserver!1391
2023-09-21 13:15:09 +00:00
Hans-Christoph Steiner
17cb026d97 safety: ignore 60350, it is being handled in Debian
* https://security-tracker.debian.org/tracker/CVE-2023-40267
2023-09-20 10:10:15 +02:00
Hans-Christoph Steiner
3757add164 test_sdk_exists to be based on apksigner, that's the requirement
Before, lots of pieces of the Android SDK were required for fdroidserver to
operate, like aapt, zipalign, etc.  Now, apksigner is the only requirement.

%"support APK Signature v2+"
!889
2023-09-17 23:31:07 +02:00
Hans-Christoph Steiner
b470ad2a6f
Merge branch 'error-messages-and-categories' into 'master'
error messages and categories

Closes #1137

See merge request fdroid/fdroidserver!1384
2023-09-08 08:54:50 +00:00
Hans-Christoph Steiner
48559ecec5 category with no apps should be ignored, even if defined in config
https://gitlab.com/fdroid/fdroidclient/-/issues/2619#note_1421280589

The test needed to change because the test index files contained category
definitions that were not ever used in the "copy tests/repo, generate java/gpg
keys, update, and gpgsign" test in tests/run-tests.
2023-09-08 10:45:53 +02:00
Hans-Christoph Steiner
2c566cf68f update: add all categories in metadata files to repo definitions
!1366 makes it so categories are now defined by the repo. Categories can be
defined in the config so that lint has a list of categories to enforce. This
also provides a place for localization and icons for the categories. The old
way of defining categories was just listing them in app metadata files. This
restores that way of functioning when using index-v2.

closes #1137
2023-09-08 10:45:51 +02:00
Hans-Christoph Steiner
64b8ee772c throw useful error if a config YAML file is not a dict 2023-09-08 10:42:27 +02:00
Hans-Christoph Steiner
00aa595f37 deploy: give useful error if rsync is not installed 2023-09-08 10:42:27 +02:00
Hans-Christoph Steiner
ed50de055a
Merge branch 'gradlew-fdroid-8.2' into 'master'
gradlew-fdroid: add key/values for Gradle Android Plugin 8.3, 8.2 and 8.1

See merge request fdroid/fdroidserver!1386
2023-09-08 08:35:29 +00:00
Hans-Christoph Steiner
207859f160 gradlew-fdroid: add key/values for Gradle Android Plugin 8.3/8.2/8.1 2023-09-08 08:35:21 +00:00
Hans-Christoph Steiner
38c0463bd0
Merge branch 'indent' into 'master'
metadata: set mapping indentation to 2

Closes #1154

See merge request fdroid/fdroidserver!1385
2023-09-08 08:26:38 +00:00
linsui
8188bb6bfa metadata: set mapping indentation to 2 2023-09-08 08:18:27 +00:00
Jochen Sprickerhof
c3331b1c58 Merge branch 'gradlew-8.3' into 'master'
Gradle 8.3

See merge request fdroid/fdroidserver!1388
2023-08-21 12:26:40 +00:00
cvzi
f0aa3bae66
Gradle 8.3 2023-08-19 00:17:21 +02:00
Michael Pöhn
8bba38f5dc Merge branch 'config-files-error' into 'master'
log error if config file name is not known; standardize Release Channels config filename

See merge request fdroid/fdroidserver!1369
2023-07-25 14:39:34 +00:00
Hans-Christoph Steiner
9df8caca07 log error if config file name is not known
The case of Anti-Features keys and filenames is quite confusing.  I was
confused to find out that config/antiFeatures.yml is correct, while
config/antifeatures.yml is nothing.  This throws an error message to make
that clear.
2023-07-25 14:31:09 +00:00
Hans-Christoph Steiner
4e28fad55a use constants for names used in the config dict
Hopefully this helps with the Anti-Features case confusion:
* antifeatures
* antiFeatures
* AntiFeatures
2023-07-25 14:31:09 +00:00
Hans-Christoph Steiner
190a95ab17 use consistent name for releaseChannels config file 2023-07-25 14:31:09 +00:00
Jochen Sprickerhof
04aa9d2a06 Merge branch 'mirror-rsync-timeout' into 'master'
mirror-to-mirror.sh: set 1h timeout for rsync runs

See merge request fdroid/fdroidserver!1381
2023-07-25 13:03:41 +00:00
Hans-Christoph Steiner
ce77a33228
mirror-to-mirror.sh: set 1h timeout for rsync runs
This script is run every 10 minutes or so to push new files to the primary
mirrors.  It sets a lock to prevent multiple copies from running in
parallel.  Yesterday, one rsync process got stuck and never exited, thereby
preventing this script from running.  Adding a 1h timeout seems like a safe
way to deal with this kind of problem.  This would not deal with rsync
getting so stuck that it fails to heed the timeout, hopefully that's not an
issue.
2023-07-25 14:52:29 +02:00
Hans-Christoph Steiner
c88eb253f6 Merge branch 'importtemplate' into 'master'
Import - add more template content

See merge request fdroid/fdroidserver!1378
2023-07-12 13:45:10 +00:00
Licaon_Kter
a756ce0b1a Import - add more template content 2023-07-12 13:45:10 +00:00
Hans-Christoph Steiner
15adec73ca Merge branch 'licaon-kter-master-patch-54084' into 'master'
Gradle 8.2.1

See merge request fdroid/fdroidserver!1380
2023-07-12 13:33:52 +00:00
Licaon_Kter
d040fc518a Gradle 8.2.1 2023-07-12 13:33:46 +00:00
Hans-Christoph Steiner
85d87aea14 Merge branch 'alex2-master-patch-82183' into 'master'
Don't specify a release candidate in version constraint for androguard dependency

See merge request fdroid/fdroidserver!1379
2023-07-10 10:19:59 +00:00
Alex Gaynor
5660e7089d Don't specify a release candidate in version constraint for androguard dependency
This causes pip to include pre-releases for all dependencies, which is unfortunate in many cases.
2023-07-08 16:24:00 +00:00
Hans-Christoph Steiner
e1a108fd71 Merge branch 'gradle-release-checksums.py' into 'master'
update to gradle v8.2

See merge request fdroid/fdroidserver!1377
2023-07-04 08:27:43 +00:00
fdroid-bot
fda149821a gradle v8.2 2023-07-04 08:19:00 +00:00
Hans-Christoph Steiner
3f02072f20 Merge branch 'licaon-kter-master-patch-84619' into 'master'
Gradle 8.2

See merge request fdroid/fdroidserver!1375
2023-07-04 08:18:33 +00:00
Licaon_Kter
f9d9abf98d Gradle 8.2 2023-07-04 08:18:21 +00:00
Hans-Christoph Steiner
61925ac4f4 Merge branch 'fix-ci' into 'master'
two small fixes for failing GitLab CI jobs

See merge request fdroid/fdroidserver!1376
2023-07-04 08:18:05 +00:00
Hans-Christoph Steiner
132e953c8c update: use proper name for PIL image filter ANTIALIAS -> LANCZOS
ANTIALIAS was made an alias of LANCZOS in 2.7.0:
https://pillow.readthedocs.io/en/stable/releasenotes/2.7.0.html#antialias-renamed-to-lanczos

The ANTIALIAS alias was removed in Pillow 10.0.0:
https://pillow.readthedocs.io/en/stable/deprecations.html
2023-07-03 17:44:47 +02:00
Hans-Christoph Steiner
3db90b65fb gitlab-ci: switch archlinux job to virtualenv
https://gitlab.com/fdroid/fdroidserver/-/jobs/4466370098

$ pip install -e .[test]
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try 'pacman -S
    python-xyz', where xyz is the package you are trying to
    install.

    If you wish to install a non-Arch-packaged Python package,
    create a virtual environment using 'python -m venv path/to/venv'.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip.

    If you wish to install a non-Arch packaged Python application,
    it may be easiest to use 'pipx install xyz', which will manage a
    virtual environment for you. Make sure you have python-pipx
    installed via pacman.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
2023-07-03 16:17:08 +02:00
Hans-Christoph Steiner
255258f1c8 Merge branch 'lint-categories-from-config' into 'master'
Lint: categories from config

See merge request fdroid/fdroidserver!1366
2023-06-13 16:05:51 +00:00
Hans-Christoph Steiner
6b82710039 test load_localized_config() with categories 2023-06-02 13:28:53 +02:00
Hans-Christoph Steiner
bc58959315 purge remnants of repo/categories.txt, which is long unused 2023-06-02 13:26:03 +02:00
Hans-Christoph Steiner
1c3a87e002 lint: get Categories from config 2023-06-02 13:26:03 +02:00