Commit Graph

4427 Commits

Author SHA1 Message Date
Licaon_Kter
e3af1897db Update NFN text 2024-09-03 16:54:44 +00:00
Tobias_Groza
83139ed5e6 Fix visibility of install/update button when no compatible versions are available
This fixes a regression introduced by 73ce4443b0.
2024-09-03 18:40:41 +02:00
Tobias_Groza
af4de1217e Remove unnecessary null check
canAndWantToUpdate returns false if suggestedApk is null
2024-09-03 18:40:41 +02:00
Tobias_Groza
0a1297ff3d Fix detecting repo as user mirror when adding a repo URL with preceeding or trailing whitespace characters 2024-09-03 13:53:46 +00:00
Tobias_Groza
c015f72370 Fix crash when deleting repository
This fixes an NPE that was triggered when deleting a repo via the RepoDetailsActivity. The repo is null after it has been deleted. The corresponding RepoDetails are now closed after the deletion.
2024-09-03 13:00:07 +00:00
Torsten Grote
263c61d8ad [app] don't report negative update scheduling times in settings
When the scheduling time is in the past, our job should have run already, but did not, because conditions we require weren't fulfilled. Times in the past are confusing for users, so we just report that the next run is waiting for conditions to be fulfilled.
2024-08-01 16:25:34 -03:00
Torsten Grote
cc0a036a74 [app] don't require device to be idle for RepoUpdateWorker to run
Sometimes devices are not idle for a long time potentially causing many hours of delay. Some device have been reported to never be idle: https://gitlab.com/fdroid/fdroidclient/-/issues/1794

Closes #1794
2024-08-01 16:22:21 -03:00
Torsten Grote
c2b021a39a [app] add ktlint checking and fix complaints it has 2024-07-12 10:05:30 -03:00
Torsten Grote
eb367041a3 [app] Remove unused UpdateService and related classes
All functionality was migrated to its new WorkManager based replacement: RepoUpdateWorker and RepoUpdateManager
2024-07-12 09:36:38 -03:00
Torsten Grote
59bbeb7c7c [app] Add new RepoUpdateReceiver for system apps to trigger repository updates
One known use-case for this is to do an initial repository update during SetupWizard, so app data is available when needed, e.g. for restoring app backups.
2024-07-12 09:36:38 -03:00
Torsten Grote
e2eed58b36 [app] show earliest next update check in the UI
This is useful for debugging scheduling issues. The user can immediately see if and when an update is scheduled to happen.
2024-07-12 09:36:38 -03:00
Torsten Grote
7912f870f6 [app] replace all usages of UpdateService with new alternatives
This uses LiveData to replace local broadcasts. One advantage of this is that the last live data value doesn't get lost when the view was stopped.
2024-07-12 09:36:38 -03:00
Torsten Grote
6934c62674 [app] add RepoUpdateManager and RepoUpdateWorker
to replace UpdateService which is still based on deprecated JobService API and known to be unreliable.

This also introduces a new lean NotificationManager which can eventually supersede the old one.
2024-07-12 09:31:38 -03:00
Torsten Grote
92554b6459 [app] Give AppUpdateStatusManager the responsibility to queue app updates
This is mostly for efficiency, since it queries the DB for new updates anyway, so it can already enqueue those for auto-update if the respective settings allow.
2024-07-12 09:31:38 -03:00
大王叫我来巡山
a80cc42c55 Translated using Weblate: Chinese (Simplified) (zh-rCN) by 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Currently translated at 100.0% (542 of 542 strings)

Translated using Weblate: Chinese (Simplified) (zh-rCN) by 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>

Currently translated at 100.0% (541 of 541 strings)

Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/zh_Hans/
Translation: F-Droid/F-Droid
2024-07-09 10:28:06 -03:00
Ihor Hordiichuk
d75c3c5234 Translated using Weblate: Ukrainian (uk) by Ihor Hordiichuk <igor_ck@outlook.com>
Currently translated at 100.0% (542 of 542 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/uk/
Translation: F-Droid/F-Droid
2024-07-09 10:28:06 -03:00
Tymofii Lytvynenko
71a5f03604 Translated using Weblate: Ukrainian (uk) by Tymofii Lytvynenko <till.svit@gmail.com>
Currently translated at 100.0% (541 of 541 strings)

Co-authored-by: Tymofii Lytvynenko <till.svit@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/uk/
Translation: F-Droid/F-Droid
2024-07-09 10:28:06 -03:00
Đorđe Vasiljević
095f41db33 Translated using Weblate: Serbian (sr) by Đorđe Vasiljević <djordje.vasiljevich@gmail.com>
Currently translated at 100.0% (542 of 542 strings)

Translated using Weblate: Serbian (sr) by Đorđe Vasiljević <djordje.vasiljevich@gmail.com>

Currently translated at 100.0% (541 of 541 strings)

Translated using Weblate: Serbian (sr) by Đorđe Vasiljević <djordje.vasiljevich@gmail.com>

Currently translated at 99.0% (536 of 541 strings)

Co-authored-by: Đorđe Vasiljević <djordje.vasiljevich@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/sr/
Translation: F-Droid/F-Droid
2024-07-09 10:28:06 -03:00
Licaon Kter
fcc8226a68 Translated using Weblate: Romanian (ro) by Licaon Kter <licaon.kter@protonmail.com>
Currently translated at 100.0% (542 of 542 strings)

Translated using Weblate: Romanian (ro) by Licaon Kter <licaon.kter@protonmail.com>

Currently translated at 100.0% (541 of 541 strings)

Translated using Weblate: Romanian (ro) by Licaon Kter <licaon.kter@protonmail.com>

Currently translated at 100.0% (536 of 536 strings)

Co-authored-by: Licaon Kter <licaon.kter@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/ro/
Translation: F-Droid/F-Droid
2024-07-09 10:28:05 -03:00
lucasmz-dev
e27e3794bc Translated using Weblate: Portuguese (Brazil) (pt-BR) by lucasmz-dev <git@lucasmz.dev>
Currently translated at 93.0% (40 of 43 strings)

Translated using Weblate: Portuguese (Brazil) (pt-rBR) by lucasmz-dev <git@lucasmz.dev>

Currently translated at 100.0% (542 of 542 strings)

Translated using Weblate: Portuguese (Brazil) (pt-rBR) by lucasmz-dev <git@lucasmz.dev>

Currently translated at 100.0% (541 of 541 strings)

Translated using Weblate: Portuguese (Brazil) (pt-rBR) by lucasmz-dev <git@lucasmz.dev>

Currently translated at 100.0% (541 of 541 strings)

Translated using Weblate: Portuguese (Brazil) (pt-rBR) by lucasmz-dev <git@lucasmz.dev>

Currently translated at 100.0% (541 of 541 strings)

Translated using Weblate: Portuguese (Brazil) (pt-rBR) by lucasmz-dev <git@lucasmz.dev>

Currently translated at 100.0% (536 of 536 strings)

Co-authored-by: lucasmz-dev <git@lucasmz.dev>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/pt_BR/
Translation: F-Droid/F-Droid
Translation: F-Droid/F-Droid metadata
2024-07-09 10:28:05 -03:00
ssantos
ba260c945e Translated using Weblate: Portuguese (pt) by ssantos <ssantos@web.de>
Currently translated at 100.0% (542 of 542 strings)

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

Currently translated at 100.0% (536 of 536 strings)

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

Currently translated at 100.0% (536 of 536 strings)

Co-authored-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/pt/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/pt_PT/
Translation: F-Droid/F-Droid
2024-07-09 10:28:05 -03:00
Agnieszka C
b865df41f4 Translated using Weblate: Polish (pl) by Agnieszka C <aga_04@o2.pl>
Currently translated at 100.0% (542 of 542 strings)

Translated using Weblate: Polish (pl) by Agnieszka C <aga_04@o2.pl>

Currently translated at 100.0% (541 of 541 strings)

Translated using Weblate: Polish (pl) by Agnieszka C <aga_04@o2.pl>

Currently translated at 99.0% (536 of 541 strings)

Co-authored-by: Agnieszka C <aga_04@o2.pl>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/pl/
Translation: F-Droid/F-Droid
2024-07-09 10:28:05 -03:00
Random
8afb7b6465 Translated using Weblate: Italian (it) by Random <random-r@users.noreply.hosted.weblate.org>
Currently translated at 100.0% (542 of 542 strings)

Translated using Weblate: Italian (it) by Random <random-r@users.noreply.hosted.weblate.org>

Currently translated at 100.0% (541 of 541 strings)

Translated using Weblate: Italian (it) by Random <random-r@users.noreply.hosted.weblate.org>

Currently translated at 100.0% (536 of 536 strings)

Co-authored-by: Random <random-r@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/it/
Translation: F-Droid/F-Droid
2024-07-09 10:28:04 -03:00
Priit Jõerüüt
4eb10a5afb Translated using Weblate: Estonian (et) by Priit Jõerüüt <hwlate@joeruut.com>
Currently translated at 100.0% (542 of 542 strings)

Co-authored-by: Priit Jõerüüt <hwlate@joeruut.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/et/
Translation: F-Droid/F-Droid
2024-07-09 10:28:04 -03:00
kovabait12
f5b090ac12 Translated using Weblate: Estonian (et) by kovabait12 <gamingugandaknuckles@gmail.com>
Currently translated at 99.8% (540 of 541 strings)

Co-authored-by: kovabait12 <gamingugandaknuckles@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/et/
Translation: F-Droid/F-Droid
2024-07-09 10:28:04 -03:00
Priit Jõerüüt
4b812048d2 Translated using Weblate: Estonian (et) by Priit Jõerüüt <hwlate@joeruut.com>
Currently translated at 100.0% (541 of 541 strings)

Translated using Weblate: Estonian (et) by Priit Jõerüüt <hwlate@joeruut.com>

Currently translated at 100.0% (536 of 536 strings)

Co-authored-by: Priit Jõerüüt <hwlate@joeruut.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/et/
Translation: F-Droid/F-Droid
2024-07-09 10:28:03 -03:00
gallegonovato
9067295a01 Translated using Weblate: Spanish (es) by gallegonovato <fran-carro@hotmail.es>
Currently translated at 100.0% (542 of 542 strings)

Translated using Weblate: Spanish (es) by gallegonovato <fran-carro@hotmail.es>

Currently translated at 100.0% (541 of 541 strings)

Translated using Weblate: Spanish (es) by gallegonovato <fran-carro@hotmail.es>

Currently translated at 100.0% (536 of 536 strings)

Translated using Weblate: Spanish (es) by gallegonovato <fran-carro@hotmail.es>

Currently translated at 100.0% (536 of 536 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/es/
Translation: F-Droid/F-Droid
2024-07-09 10:28:03 -03:00
☆Verdulo
2c85575819 Translated using Weblate: Esperanto (eo) by ☆Verdulo <tomek@disroot.org>
Currently translated at 100.0% (542 of 542 strings)

Translated using Weblate: Esperanto (eo) by ☆Verdulo <tomek@disroot.org>

Currently translated at 100.0% (541 of 541 strings)

Translated using Weblate: Esperanto (eo) by ☆Verdulo <tomek@disroot.org>

Currently translated at 100.0% (536 of 536 strings)

Co-authored-by: ☆Verdulo <tomek@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/eo/
Translation: F-Droid/F-Droid
2024-07-09 10:28:03 -03:00
Andi Chandler
263b0c7b3c Translated using Weblate: English (United Kingdom) (en-rGB) by Andi Chandler <andi@gowling.com>
Currently translated at 100.0% (542 of 542 strings)

Co-authored-by: Andi Chandler <andi@gowling.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/en_GB/
Translation: F-Droid/F-Droid
2024-07-09 10:28:03 -03:00
Rob Pearson
fc958cf558 Translated using Weblate: English (United Kingdom) (en-rGB) by Rob Pearson <rob.dunedin@gmail.com>
Currently translated at 100.0% (541 of 541 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/en_GB/
Translation: F-Droid/F-Droid
2024-07-09 10:28:02 -03:00
Andi Chandler
9916d474d6 Translated using Weblate: English (United Kingdom) (en-rGB) by Andi Chandler <andi@gowling.com>
Currently translated at 100.0% (536 of 536 strings)

Co-authored-by: Andi Chandler <andi@gowling.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/en_GB/
Translation: F-Droid/F-Droid
2024-07-09 10:28:02 -03:00
Λευθέρης Τρόμπακας
8ed7027bcd Translated using Weblate: Greek (el) by Λευθέρης Τρόμπακας <lefteristrompakas@gmail.com>
Currently translated at 100.0% (542 of 542 strings)

Co-authored-by: Λευθέρης Τρόμπακας <lefteristrompakas@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/el/
Translation: F-Droid/F-Droid
2024-07-09 10:28:02 -03:00
ΣΤΑΥΡΟΣ ΔΑΛΙΑΚΟΠΟΥΛΟΣ
32cb3cc923 Translated using Weblate: Greek (el) by ΣΤΑΥΡΟΣ ΔΑΛΙΑΚΟΠΟΥΛΟΣ <stavros.daliakopoulos@gmail.com>
Currently translated at 100.0% (541 of 541 strings)

Translated using Weblate: Greek (el) by ΣΤΑΥΡΟΣ ΔΑΛΙΑΚΟΠΟΥΛΟΣ <stavros.daliakopoulos@gmail.com>

Currently translated at 99.0% (536 of 541 strings)

Co-authored-by: ΣΤΑΥΡΟΣ ΔΑΛΙΑΚΟΠΟΥΛΟΣ <stavros.daliakopoulos@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/el/
Translation: F-Droid/F-Droid
2024-07-09 10:28:02 -03:00
VfBFan
41fbc33c7b Translated using Weblate: German (de) by VfBFan <VfBFan@users.noreply.hosted.weblate.org>
Currently translated at 100.0% (542 of 542 strings)

Translated using Weblate: German (de) by VfBFan <VfBFan@users.noreply.hosted.weblate.org>

Currently translated at 100.0% (541 of 541 strings)

Co-authored-by: VfBFan <VfBFan@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/de/
Translation: F-Droid/F-Droid
2024-07-09 10:28:01 -03:00
Fjuro
75860f6a32 Translated using Weblate: Czech (cs) by Fjuro <fjuro@alius.cz>
Currently translated at 100.0% (542 of 542 strings)

Translated using Weblate: Czech (cs) by Fjuro <fjuro@alius.cz>

Currently translated at 100.0% (541 of 541 strings)

Co-authored-by: Fjuro <fjuro@alius.cz>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/cs/
Translation: F-Droid/F-Droid
2024-07-09 10:28:01 -03:00
109247019824
4813b470e1 Translated using Weblate: Bulgarian (bg) by 109247019824 <stoyan@gmx.com>
Currently translated at 100.0% (542 of 542 strings)

Translated using Weblate: Bulgarian (bg) by 109247019824 <stoyan@gmx.com>

Currently translated at 100.0% (541 of 541 strings)

Translated using Weblate: Bulgarian (bg) by 109247019824 <stoyan@gmx.com>

Currently translated at 100.0% (536 of 536 strings)

Co-authored-by: 109247019824 <stoyan@gmx.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/bg/
Translation: F-Droid/F-Droid
2024-07-09 10:28:01 -03:00
jonnysemon
c6a139b4e3 Translated using Weblate: Arabic (ar) by jonnysemon <jonnysemon@users.noreply.hosted.weblate.org>
Currently translated at 100.0% (542 of 542 strings)

Translated using Weblate: Arabic (ar) by jonnysemon <jonnysemon@users.noreply.hosted.weblate.org>

Currently translated at 100.0% (541 of 541 strings)

Co-authored-by: jonnysemon <jonnysemon@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/ar/
Translation: F-Droid/F-Droid
2024-07-09 10:28:00 -03:00
Torsten Grote
73ce4443b0 [app] Show a warning in app details, if no compatible versions available 2024-07-02 09:32:18 -03:00
Torsten Grote
de643551e3 [app] Don't suggest incompatible versions in app details 2024-07-02 09:32:17 -03:00
Torsten Grote
4a3d9ba2d2 [app] Don't add a fake installed version to app's version list when it isn't from current repo
Doing this causes the "No compatible versions" message to not appear
2024-07-02 09:32:17 -03:00
Torsten Grote
774a51f614 [app] Fix all warnings in AppDetailsRecyclerViewAdapter 2024-07-02 09:32:17 -03:00
Thibault Piron
f710488c46 remove NFC related intent filter since support has been dropped 2024-06-15 09:18:09 +02:00
Ray c
190d06e109 Improve locales list ordering of less common languages 2024-06-14 14:27:22 +00:00
B. Stack
c19bb8f3e9 add trust for user-added root certs (fixes #2797) 2024-06-10 08:25:40 -04:00
Tavi
62f8abbb4c SessionInstaller: refine Xiaomi check
Signed-off-by: Tavi <tavi@divested.dev>
2024-05-28 12:56:54 +00:00
Thore Goebel
5692b5c614 Make Scan-QR-Code string translatable
Fixes https://gitlab.com/fdroid/fdroidclient/-/issues/2801
2024-05-27 15:24:45 +02:00
Thore Goebel
a26d5fe727 Remove unused Repository.canAdd and Repository.isMirror functions 2024-05-27 15:24:45 +02:00
Thore Goebel
199f9b6c52 Rename Fetching.repo to Fetching.receivedRepo
To make it clear that this is the repo as we received it,
not the repo as we may have already stored it in the database.
2024-05-27 15:24:45 +02:00
Thore Goebel
d3ac70276d fix: Use existingRepoId instead of receivedRepoId to launch existing details 2024-05-27 15:24:45 +02:00
Thore Goebel
0bc3907660 Design feedback
- Show the mirror URL in info/warning text rather than in header
- Show a "View repository" button if the repo already exists
- Redesign the warning text to be similar to the one in the app details
- Slightly more padding
2024-05-27 15:24:45 +02:00