Commit Graph

9100 Commits

Author SHA1 Message Date
Torsten Grote
bb8cb29bfe [app] refactor RepoIcon into its own Composable 2024-02-20 09:42:41 -03:00
Torsten Grote
f6970e4245 [app] allow changing preferred repo in app details 2024-02-20 09:42:40 -03:00
Torsten Grote
25326e24f6 [app] Allow repo position/priority to be reordered by long tap + drag 2024-02-20 09:42:40 -03:00
Torsten Grote
0b292f3383 [db] Add convenience method for setting preferred repo via RepoManager 2024-02-20 09:42:40 -03:00
Torsten Grote
108105596d [db] allow re-ordering repo list and thus priorities 2024-02-20 09:42:40 -03:00
Torsten Grote
0bfc0b1059 [app] stop assigning a weight to repos as the DB handles this now
therefore the order of the default repos is reversed, so the archive repos has a lower weight than the official repo
2024-02-20 09:42:40 -03:00
Torsten Grote
51a4bcec58 [db] don't allow initial repos from fixtures to provide weight
The client was already auto-incrementing their weight anyway. But it leaked our internal weight handling into the library consumer which can cause issues like when me are making changes to how we handles repo weights as we are doing now.
2024-02-20 09:42:40 -03:00
Torsten Grote
b993da8db8 [db] New repos now get lower weight than older ones
so they do not override the information from older repos anymore. This is especially an issue for the official repo which historically had the lowest priority while it should have the highest.
2024-02-20 09:42:39 -03:00
Torsten Grote
d9ea1e154b [db] Migrate repo weights and test migration 2024-02-20 09:42:39 -03:00
Torsten Grote
4a01b02fa6 [db] Add DB query for getting repos an app is in 2024-02-20 09:42:39 -03:00
Torsten Grote
b28d2ecd5b [app] Only request updates and suggested versions from preferred repositories
Before, we would install compatible updates from any repository
2024-02-20 09:42:39 -03:00
Torsten Grote
ead8bd1262 [db] Only consider preferred versions for updates and suggested version 2024-02-20 09:42:39 -03:00
Torsten Grote
393c74ab35 [app] adapt to new AppPrefs constructor 2024-02-20 09:42:39 -03:00
Torsten Grote
12af2fa32b [db] reset the preferred repo when it gets disabled or deleted 2024-02-20 09:42:38 -03:00
Torsten Grote
5c27f7033e [db] Move InstantTaskExecutorRule into base DbTest class
so all tests can use LiveData helper methods such as getOrFail() without worrying about that rule
2024-02-20 09:42:38 -03:00
Torsten Grote
704234c9df [db] allow setting a preferred repo per app 2024-02-20 09:42:38 -03:00
Torsten Grote
f4a1d92933 Merge branch 'allow-manual-ci-pipelines' into 'master'
gitlab-ci: allow manually triggering of pipelines

See merge request fdroid/fdroidclient!1346
2024-02-15 14:54:40 +00:00
Hans-Christoph Steiner
30f7ef450b gitlab-ci: allow manually triggering of pipelines 2024-02-15 11:08:37 +01:00
Michael Pöhn
77de2d9acf Merge branch '2723-concurrent-downloads' into 'master'
Cancel download when DownloadService is told to stop

Closes #2723

See merge request fdroid/fdroidclient!1340
2024-02-14 11:27:10 +00:00
Torsten Grote
67995f3be7 [app] cancel download when DownloadService is told to stop
Otherwise, we may download the same file concurrently to the same location which will be messy and not work.
2024-02-14 11:26:06 +00:00
Torsten Grote
28a5c0bb12 Merge branch 'remove-random-PluralsCandidate' into 'master'
remove random 'PluralsCandidate' text that slipped in

See merge request fdroid/fdroidclient!1345
2024-02-13 16:07:51 +00:00
Hans-Christoph Steiner
bca34e6f76 remove random 'PluralsCandidate' text that slipped in
cd0a8687be

sed -i 's,PluralsCandidate,,' app/src/main/res/values*/strings.xml
2024-02-13 16:07:33 +00:00
Torsten Grote
44a61d4c54 Merge branch 'artifacts' into 'master'
Always upload artifacts so we have APKs for testing

See merge request fdroid/fdroidclient!1343
2024-02-13 15:57:51 +00:00
Torsten Grote
87b66c08d5 Always upload artifacts so we have APKs for testing 2024-02-13 11:31:01 -03:00
Hans-Christoph Steiner
2eb8abd593 Merge branch '2713-fix-compose-force-theme' into 'master'
Let compose activities respect app compat day/night theme

Closes #2713

See merge request fdroid/fdroidclient!1336
2024-02-13 13:49:27 +00:00
Torsten Grote
5f81b28775 [app] let compose activities respect app compat day/night theme 2024-02-13 13:48:52 +00:00
Hans-Christoph Steiner
5ae6c0cbe5 Merge branch 'fdroid-link' into 'master'
Last minute change to fdroid.link format

See merge request fdroid/fdroidclient!1341
2024-02-13 13:32:00 +00:00
Torsten Grote
c894e48675 [db] last minute change to fdroid.link format
The new one is simpler and basically wrap the real URL by just prepending https://fdroid.link/#
2024-02-13 09:47:51 -03:00
Michael Pöhn
81e233e89a Merge branch 'debug-logging' into 'master'
Fix debug logging for libraries

See merge request fdroid/fdroidclient!1338
2024-02-13 12:27:16 +00:00
Torsten Grote
359145eaef [app] fix debug logging for libraries 2024-02-13 12:26:03 +00:00
Michael Pöhn
56da183a72 Merge branch 'fix-tls-tests' into 'master'
Fix broken TLS instrumentation tests

See merge request fdroid/fdroidclient!1339
2024-02-13 12:23:04 +00:00
Torsten Grote
f69eeabcff stop allowing KVM failure, tests should be less flaky now 2024-02-09 11:32:12 -03:00
Torsten Grote
fcd1178837 [download] fix broken TLS instrumentation tests
because check.tls.support is down for months already
2024-02-09 11:31:35 -03:00
Torsten Grote
d842590343 [download] fix cleartext instrumentation test 2024-02-09 11:00:25 -03:00
Torsten Grote
386cd720d7 Merge branch 'dns_cache' into 'master'
Added a dns class that caches dns lookups

See merge request fdroid/fdroidclient!1328
2024-02-01 11:57:31 +00:00
Matthew Bogner
cf595783b0 Added a dns class that caches dns lookups 2024-02-01 11:57:31 +00:00
Hans-Christoph Steiner
eebe7f6d6b Merge branch '2725-share-repo-uri' into 'master'
Add a share sheet receiver for plain text that adds a repository if the text contains a repo URL

Closes #2725

See merge request fdroid/fdroidclient!1334
2024-01-30 08:47:56 +00:00
Torsten Grote
8dbb17e7e1 [app] Add a share sheet receiver for plain text
that adds a repository if the text contains a repo URL
2024-01-30 08:47:29 +00:00
Hans-Christoph Steiner
77f86227c5 version code 1019050 2024-01-25 21:03:34 +01:00
Hans-Christoph Steiner
b4edbffd15 update CHANGELOG 2024-01-25 21:03:31 +01:00
Hans-Christoph Steiner
635589b75a run tools/update-mirrors-in-default_repos.xml.py 2024-01-25 21:03:28 +01:00
Hans-Christoph Steiner
ae6aa6476a Merge branch 'weblate' into 'master'
weblate

See merge request fdroid/fdroidclient!1333
2024-01-25 19:41:33 +00:00
Hans-Christoph Steiner
fc7a96424b fix missing quantity "one" in es, it 2024-01-25 17:58:54 +01:00
Hans-Christoph Steiner
ddd76b843f run tools/remove-unused-and-blank-translations.py 2024-01-25 17:18:26 +01:00
Kingproone
87b2132efd Translated using Weblate: Hungarian (hu) by Kingproone <PlayerGuy@protonmail.com>
Currently translated at 100.0% (42 of 42 strings)

Co-authored-by: Kingproone <PlayerGuy@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/hu/
Translation: F-Droid/F-Droid metadata
2024-01-25 17:14:27 +01:00
ssantos
599b63f5d1 Translated using Weblate: Portuguese (pt) by ssantos <ssantos@web.de>
Currently translated at 95.2% (40 of 42 strings)

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

Currently translated at 97.6% (41 of 42 strings)

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

Currently translated at 92.8% (39 of 42 strings)

Co-authored-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/pt/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/pt_PT/
Translation: F-Droid/F-Droid metadata
2024-01-25 17:14:27 +01:00
Issa1553
664b9e874f Translated using Weblate: Dutch (nl) by Issa1553 <fairfull.playing@gmail.com>
Currently translated at 30.9% (13 of 42 strings)

Co-authored-by: Issa1553 <fairfull.playing@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/nl/
Translation: F-Droid/F-Droid metadata
2024-01-25 17:14:27 +01:00
Ray
dc6035c0d8 Translated using Weblate: Yue (Traditional) (yue) by Ray <ray@users.noreply.hosted.weblate.org>
Currently translated at 19.0% (8 of 42 strings)

Translated using Weblate: Chinese (Traditional, Hong Kong) (zh-Hant-HK) by Ray <ray@users.noreply.hosted.weblate.org>

Currently translated at 21.4% (9 of 42 strings)

Co-authored-by: Ray <ray@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/yue_Hant/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/zh_Hant_HK/
Translation: F-Droid/F-Droid metadata
2024-01-25 17:14:27 +01:00
Ihor Hordiichuk
bfd3106b1c Translated using Weblate: Ukrainian (uk) by Ihor Hordiichuk <igor_ck@outlook.com>
Currently translated at 100.0% (42 of 42 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/uk/
Translation: F-Droid/F-Droid metadata
2024-01-25 17:14:27 +01:00
Hans Henrik Juhl
f09ad9ab5d Translated using Weblate: Danish (da) by Hans Henrik Juhl <hans@kopula.dk>
Currently translated at 93.4% (488 of 522 strings)

Co-authored-by: Hans Henrik Juhl <hans@kopula.dk>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/da/
Translation: F-Droid/F-Droid
2024-01-25 17:14:27 +01:00