Commit graph

8694 commits

Author SHA1 Message Date
Hans-Christoph Steiner
d69028e1b1 Merge branch 'master' into 'master'
release 2.3.0

See merge request fdroid/fdroidserver!1567
2024-11-21 16:01:50 +00:00
Hans-Christoph Steiner
eae5ae3ae8
version 2.3.0 2024-11-21 16:49:01 +01:00
Hans-Christoph Steiner
37dc6c121d run tests/refresh-SUSS_DEFAULT.py 2024-11-21 15:23:29 +01:00
Hans-Christoph Steiner
2a6d584713 Merge branch 'gradle-release-checksums.py' into 'master'
update to gradle v8.11.1

See merge request fdroid/fdroidserver!1566
2024-11-21 12:48:17 +00:00
fdroid-bot
50b686b33b gradle v8.11.1 2024-11-21 12:26:23 +00:00
linsui
9203941b78 Merge branch 'fix-checkupdates-one-MR-per-app' into 'master'
checkupdates: reuse per-app branches when making merge requests; plus bug fixes

See merge request fdroid/fdroidserver!1551
2024-11-21 12:25:47 +00:00
Hans-Christoph Steiner
0ec9cd6921 checkupdates: only update app branches if metadata file changed 2024-11-21 12:15:14 +00:00
Hans-Christoph Steiner
e3f724681a checkupdates: parse default branch from upstream remote 2024-11-21 12:15:14 +00:00
Hans-Christoph Steiner
fd15ac9276 checkupdates: mark as Draft when only changing Current Version
https://gitlab.com/fdroid/fdroidserver/-/merge_requests/1551#note_2190155816
2024-11-21 12:15:14 +00:00
Hans-Christoph Steiner
c97503b5f3 checkupdates: get default branch from git config 2024-11-21 12:15:14 +00:00
Hans-Christoph Steiner
fbe9152ee5 checkupdates: commit summary is merge request title 2024-11-21 12:15:14 +00:00
Hans-Christoph Steiner
cd8d4ef88b checkupdates: reuse per-app branches when making merge requests
https://gitlab.com/fdroid/fdroidserver/-/merge_requests/1551#note_2206085258
2024-11-21 12:15:14 +00:00
Hans-Christoph Steiner
20ff302e89 checkupdates: remove duplicate push in push_commits() 2024-11-21 12:15:14 +00:00
Hans-Christoph Steiner
17c480d299 checkupdates: make iter_commits only include commits in appid branch
iter_commits() follows `git rev-list` (which selects different commits
than `git diff`).  With ... notation, `git rev-list` will return all
the commits that are not shared by the two branches.  This needs only
the commits in the right side of the comparison (like how `git diff`
does it).
2024-11-21 12:15:14 +00:00
Hans-Christoph Steiner
f34a132132 Merge branch 'weblate' into 'master'
weblate

See merge request fdroid/fdroidserver!1564
2024-11-20 16:42:27 +00:00
Phantomwise
fb880ad14f Translated using Weblate: French (fr) by Phantomwise <phantomwise67@protonmail.com>
Currently translated at 94.4% (559 of 592 strings)

Co-authored-by: Phantomwise <phantomwise67@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/fr/
Translation: F-Droid/F-Droid Server
2024-11-20 17:31:53 +01:00
Hugo Carvalho
82e47bd392 Translated using Weblate: Portuguese (Portugal) (pt_PT) by Hugo Carvalho <hugokarvalho@hotmail.com>
Currently translated at 100.0% (592 of 592 strings)

Co-authored-by: Hugo Carvalho <hugokarvalho@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pt_PT/
Translation: F-Droid/F-Droid Server
2024-11-20 17:31:53 +01:00
linsui
a72be3e415 Translated using Weblate: Chinese (Simplified Han script) (zh_Hans) by linsui <linsui@inbox.lv>
Currently translated at 100.0% (592 of 592 strings)

Translated using Weblate: Chinese (Simplified Han script) (zh_Hans) by linsui <linsui@inbox.lv>

Currently translated at 100.0% (592 of 592 strings)

Co-authored-by: linsui <linsui@inbox.lv>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
Translation: F-Droid/F-Droid Server
2024-11-20 17:31:53 +01:00
ygsk10
fcf4875c76 Translated using Weblate: Chinese (Simplified Han script) (zh_Hans) by ygsk10 <yogaskung@protonmail.ch>
Currently translated at 100.0% (592 of 592 strings)

Translated using Weblate: Chinese (Simplified Han script) (zh_Hans) by ygsk10 <yogaskung@protonmail.ch>

Currently translated at 100.0% (592 of 592 strings)

Co-authored-by: ygsk10 <yogaskung@protonmail.ch>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
Translation: F-Droid/F-Droid Server
2024-11-20 17:31:53 +01:00
Hans-Christoph Steiner
a8e31796d8 Merge branch 'wasm' into 'master'
scanner: disallow wasm file

See merge request fdroid/fdroidserver!1562
2024-11-20 12:49:15 +00:00
linsui
56d5f360ed scanner: disallow wasm file 2024-11-20 19:10:30 +08:00
Jochen Sprickerhof
e137aa9c44 Merge branch 'refactor-tests' into 'master'
Refactor TestCase files into python modules

See merge request fdroid/fdroidserver!1561
2024-11-20 09:58:58 +00:00
Hans-Christoph Steiner
487269c667 tests: standardize on VerboseFalseOptions as mock 2024-11-20 10:46:21 +01:00
SilentGhost
7ff32bc4b0 Refactor TestCase files into python modules
Convert all TestCase files into standard python modules to be run and
discovered by unittest.
2024-11-20 10:37:52 +01:00
Hans-Christoph Steiner
4d6682bc70 update: fix _strip_and_copy_image to work with pathlib 2024-11-19 20:27:29 +01:00
Hans-Christoph Steiner
65119b3193 rename to test_gradlew-fdroid to match Python unittest naming 2024-11-19 20:27:29 +01:00
Hans-Christoph Steiner
00e9b7dcd7 Merge branch 'color-output' into 'master'
add --color arg for optional colorized log output

See merge request fdroid/fdroidserver!1552
2024-11-19 13:04:38 +00:00
Hans-Christoph Steiner
290587f449 add ColorFormatter class for optional colorized log output 2024-11-19 13:04:23 +00:00
Hans-Christoph Steiner
7e8e2403cd black formatting 2024-11-19 13:04:23 +00:00
Hans-Christoph Steiner
801d6f9566 Merge branch 'hg-gotorevisionx' into 'master'
Fix local build scenario with Mercurial repositories

See merge request fdroid/fdroidserver!1560
2024-11-18 21:12:23 +00:00
relan
118c7fc783 Remove "hg purge" after "hg update"
1. "hg purge" works only on interactive shell (see #1015).
2. No need to clean anything because we did this before "hg update".
2024-11-18 21:12:04 +00:00
relan
87909fae74 Remove ignored files on gotorevisionx for hg
Other revisions can change the list of ignored files and if we don't
remove them, switching to another revision can fail.
2024-11-18 21:12:04 +00:00
Hans-Christoph Steiner
3bd2bc69d3 Merge branch 'fix-file-exists' into 'master'
Vagrantfile: fix undefined method `exists?' error

See merge request fdroid/fdroidserver!1558
2024-11-18 21:09:22 +00:00
relan
7661518775 Vagrantfile: fix undefined method `exists?' error
This method has been deprecated for a long time, now it's gone.
2024-11-18 21:09:12 +00:00
Hans-Christoph Steiner
d7813b2abc Merge branch 'fix-chown-dot' into 'master'
Fix warning from "chown" about the syntax

See merge request fdroid/fdroidserver!1559
2024-11-18 21:08:35 +00:00
relan
5b57ced0a6 Fix warning from "chown" about the syntax
The warning:

    chown: warning: '.' should be ':': ‘vagrant.vagrant’
2024-11-14 21:45:46 +03:00
Hans-Christoph Steiner
069f088b38 Merge branch 'gradle-release-checksums.py' into 'master'
update to gradle v8.11

See merge request fdroid/fdroidserver!1556
2024-11-13 07:24:20 +00:00
fdroid-bot
dde2947ad2 gradle v8.11 2024-11-13 06:40:37 +00:00
Hans-Christoph Steiner
c42edd4163 Merge branch 'fdroid-install-updates' into 'master'
`fdroid install` updates

See merge request fdroid/fdroidserver!1554
2024-11-13 06:40:00 +00:00
Hans-Christoph Steiner
1be808c728 include net.TestCase in dist tarball
Now that `fdroid install` is something that is expected to work as part of
any package, the test suite should also include the net tests, which
`fdroid install` relies on.
2024-11-08 17:59:06 +02:00
Hans-Christoph Steiner
ad66baa266 net: skip test in CI that mysteriously fails there
I couldn't figure out why it is failing there.
2024-11-08 17:49:15 +02:00
Hans-Christoph Steiner
85e585161f net: use localhost instead of IP for both sides of test setup 2024-11-08 17:49:15 +02:00
Hans-Christoph Steiner
90eeb63809 net: ignore proxy env vars, tests only use localhost
Proxy settings via environment variables can interfere with this
test. The requests library will automatically pick up proxy
settings from environment variables. Proxy settings can force the
local connection over the proxy, which might not support that,
then this fails with an error like 405 or others.
2024-11-08 17:49:14 +02:00
Hans-Christoph Steiner
05e091804d install: verify sig for all downloaded APKs if apksigner is installed 2024-11-08 17:12:42 +02:00
Hans-Christoph Steiner
addb7b9acc install: echo characters that the user inputs at the prompt 2024-11-08 17:12:42 +02:00
Hans-Christoph Steiner
b9b4ca9778 install: download any app from f-droid.org 2024-11-08 17:12:42 +02:00
Hans-Christoph Steiner
dfbf54bbba Merge branch 'rewordfrosting' into 'master'
Reword extra blocks

See merge request fdroid/fdroidserver!1555
2024-11-08 15:09:05 +00:00
Licaon_Kter
96ed60fda3 Reword extra blocks 2024-11-08 15:09:05 +00:00
Hans-Christoph Steiner
d666c030f7 Merge branch 'weblate' into 'master'
weblate

See merge request fdroid/fdroidserver!1553
2024-11-05 14:31:18 +00:00
Hans-Christoph Steiner
69d2c874b6
enable new languages: Irish (ga) and Japanese (ja) 2024-11-05 15:20:56 +01:00