Commit Graph

8889 Commits

Author SHA1 Message Date
Conny Duck
72a8fcfa04 remove unused BluetoothAdapter from AppDetailsActivity 2023-10-30 14:01:57 +00:00
Hans-Christoph Steiner
118d30dc29 Merge branch 'add-repo-npe' into 'master'
Fix NPE in AddRepoActivity

See merge request fdroid/fdroidclient!1306
2023-10-25 17:44:48 +02:00
Torsten Grote
16f7ab819f [app] Fix NPE in AddRepoActivity
This happened when the app was completely stopped and then opened via an intent that would add a repo.
2023-10-25 15:40:47 +00:00
Hans-Christoph Steiner
2d65086cf7 Merge branch 'repo-details-view-apps' into 'master'
Small Repository UI Improvements

Closes #2701 and #2699

See merge request fdroid/fdroidclient!1305
2023-10-25 15:39:41 +00:00
Torsten Grote
a924642633 [app] set targetSdk for installed APK
If we don't do this, it may happen that versions of an app load a bit too slowly and leave enough room for a targetSdk warning to be shown briefly. This is because the default targetSdk, if unknown, is 0.
2023-10-25 11:19:20 -03:00
Torsten Grote
a56b129e54 [app] try to center text in search chip 2023-10-25 11:19:20 -03:00
Torsten Grote
c7debe2f8d [app] show button instead of link in repo details screen
to show list of apps in that repo
2023-10-20 11:21:41 -03:00
Torsten Grote
62c29453cf Merge branch '1.19' into 'master'
Bump version code for 1.19.0-alpha0

See merge request fdroid/fdroidclient!1304
1.19.0-alpha0
2023-10-20 13:28:32 +00:00
Torsten Grote
e993df74d3 [app] bump version code for 1.19.0-alpha0 2023-10-20 10:27:21 -03:00
Hans-Christoph Steiner
6044b21d78 Merge branch 'merge_weblate' into 'master'
weblate

See merge request fdroid/fdroidclient!1303
2023-10-20 13:24:52 +00:00
Ray
58dc91f74c Translated using Weblate: Yue (Traditional) (yue) by Ray <ray@users.noreply.hosted.weblate.org>
Currently translated at 100.0% (515 of 515 strings)

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

Currently translated at 100.0% (515 of 515 strings)

Translated using Weblate: Yue (Traditional) (yue) by Ray <ray@users.noreply.hosted.weblate.org>

Currently translated at 100.0% (514 of 514 strings)

Translated using Weblate: Yue (Traditional) (yue) by Ray <ray@users.noreply.hosted.weblate.org>

Currently translated at 100.0% (513 of 513 strings)

Co-authored-by: Ray <ray@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/yue_Hant/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/zh_Hant_HK/
Translation: F-Droid/F-Droid
2023-10-20 14:36:35 +02:00
linsui
3667db885d Translated using Weblate: Chinese (Simplified) (zh-rCN) by linsui <linsui@inbox.lv>
Currently translated at 100.0% (515 of 515 strings)

Co-authored-by: linsui <linsui@inbox.lv>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/zh_Hans/
Translation: F-Droid/F-Droid
2023-10-20 14:36:35 +02:00
Eric
e2cb5b6518 Translated using Weblate: Chinese (Simplified) (zh-CN) by Eric <hamburger2048@users.noreply.hosted.weblate.org>
Currently translated at 100.0% (42 of 42 strings)

Translated using Weblate: Chinese (Simplified) (zh-rCN) by Eric <hamburger2048@users.noreply.hosted.weblate.org>

Currently translated at 100.0% (514 of 514 strings)

Translated using Weblate: Chinese (Simplified) (zh-rCN) by Eric <hamburger2048@users.noreply.hosted.weblate.org>

Currently translated at 100.0% (513 of 513 strings)

Translated using Weblate: Chinese (Simplified) (zh-rCN) by Eric <hamburger2048@users.noreply.hosted.weblate.org>

Currently translated at 100.0% (510 of 510 strings)

Co-authored-by: Eric <hamburger2048@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/zh_Hans/
Translation: F-Droid/F-Droid
Translation: F-Droid/F-Droid metadata
2023-10-20 14:36:35 +02:00
Đorđe Vasiljević
3ac19856f6 Translated using Weblate: Serbian (sr) by Đorđe Vasiljević <djordje.vasiljevich@gmail.com>
Currently translated at 7.3% (3 of 41 strings)

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

Currently translated at 100.0% (515 of 515 strings)

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

Currently translated at 100.0% (515 of 515 strings)

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

Currently translated at 100.0% (514 of 514 strings)

Co-authored-by: Đorđe Vasiljević <djordje.vasiljevich@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/sr/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/sr/
Translation: F-Droid/F-Droid
Translation: F-Droid/F-Droid metadata
2023-10-20 14:36:35 +02:00
NEXI
6999bb2c15 Translated using Weblate: Serbian (sr) by NEXI <nexiphotographer@gmail.com>
Currently translated at 100.0% (514 of 514 strings)

Translated using Weblate: Serbian (sr) by NEXI <nexiphotographer@gmail.com>

Currently translated at 100.0% (513 of 513 strings)

Translated using Weblate: Serbian (sr) by NEXI <nexiphotographer@gmail.com>

Currently translated at 100.0% (510 of 510 strings)

Co-authored-by: NEXI <nexiphotographer@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/sr/
Translation: F-Droid/F-Droid
2023-10-20 14:36:35 +02:00
Andrey
dc5449fb28 Translated using Weblate: Russian (ru) by Andrey <andrey@mailbox.org>
Currently translated at 100.0% (515 of 515 strings)

Translated using Weblate: Russian (ru) by Andrey <andrey@mailbox.org>

Currently translated at 100.0% (514 of 514 strings)

Co-authored-by: Andrey <andrey@mailbox.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/ru/
Translation: F-Droid/F-Droid
2023-10-20 14:36:35 +02:00
Макар Разин
eb45120156 Translated using Weblate: Russian (ru) by Макар Разин <makarrazin14@gmail.com>
Currently translated at 100.0% (513 of 513 strings)

Co-authored-by: Макар Разин <makarrazin14@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/ru/
Translation: F-Droid/F-Droid
2023-10-20 14:36:35 +02:00
Andrey
b8eb9c2a13 Translated using Weblate: Russian (ru) by Andrey <andrey@mailbox.org>
Currently translated at 100.0% (510 of 510 strings)

Co-authored-by: Andrey <andrey@mailbox.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/ru/
Translation: F-Droid/F-Droid
2023-10-20 14:36:35 +02:00
Danial Behzadi
350a5dfa1b Translated using Weblate: Persian (fa) by Danial Behzadi <dani.behzi@ubuntu.com>
Currently translated at 100.0% (515 of 515 strings)

Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/fa/
Translation: F-Droid/F-Droid
2023-10-20 14:36:35 +02:00
Fjuro
3140abf425 Translated using Weblate: Czech (cs) by Fjuro <ifjuro@proton.me>
Currently translated at 100.0% (42 of 42 strings)

Translated using Weblate: Czech (cs) by Fjuro <ifjuro@proton.me>

Currently translated at 100.0% (515 of 515 strings)

Translated using Weblate: Czech (cs) by Fjuro <ifjuro@proton.me>

Currently translated at 100.0% (514 of 514 strings)

Translated using Weblate: Czech (cs) by Fjuro <ifjuro@proton.me>

Currently translated at 100.0% (513 of 513 strings)

Translated using Weblate: Czech (cs) by Fjuro <ifjuro@proton.me>

Currently translated at 100.0% (510 of 510 strings)

Co-authored-by: Fjuro <ifjuro@proton.me>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/cs/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/cs/
Translation: F-Droid/F-Droid
Translation: F-Droid/F-Droid metadata
2023-10-20 14:36:35 +02:00
109247019824
14952908b0 Translated using Weblate: Bulgarian (bg) by 109247019824 <stoyan@gmx.com>
Currently translated at 100.0% (515 of 515 strings)

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

Currently translated at 100.0% (514 of 514 strings)

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

Currently translated at 100.0% (513 of 513 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
2023-10-20 14:36:35 +02:00
Rex_sa
721a26c2bf Translated using Weblate: Arabic (ar) by Rex_sa <rex.sa@pm.me>
Currently translated at 100.0% (515 of 515 strings)

Translated using Weblate: Arabic (ar) by Rex_sa <rex.sa@pm.me>

Currently translated at 100.0% (514 of 514 strings)

Translated using Weblate: Arabic (ar) by Rex_sa <rex.sa@pm.me>

Currently translated at 100.0% (513 of 513 strings)

Translated using Weblate: Arabic (ar) by Rex_sa <rex.sa@pm.me>

Currently translated at 100.0% (510 of 510 strings)

Co-authored-by: Rex_sa <rex.sa@pm.me>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/ar/
Translation: F-Droid/F-Droid
2023-10-20 14:36:35 +02:00
Torsten Grote
3b96ce0708 Merge branch 'remove-guardian-project-repo' into 'master'
remove Guardian Project repo as a default

Closes #2556

See merge request fdroid/fdroidclient!1302
2023-10-20 12:35:32 +00:00
Hans-Christoph Steiner
064898cf87 remove Guardian Project repo as a default
The requirements for the Guardian Project fdroid repo have changed in the
recent years, meaning they can no longer promise to only include verified
free software releases.  Guardian Project still 100% supports F-Droid and
free software, and will continue to produce only free software.  The key
question here is binaries that include proprietary dependencies.  For
example:

* Tor Browser containts WebAuthn proprietary lib
  https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/41161
  https://gitlab.com/guardianproject/fdroid-metadata/-/issues/3

* ProofMode requires things like Google SafetyNet

* They would like to ship well known binaries which include proprietary
  libs, like releases from Mozilla, Signal, etc.

Other deliberate and inadvertent issues:
https://gitlab.com/guardianproject/fdroid-metadata/-/issues/4

The Guardian Project repo will still mark all known Anti-Features,
including non-free issues.

Since #2557 is implemented, this means that the Guardian Project repo will
still have a built-in trust relationship.

closes #2556
2023-10-20 12:35:23 +00:00
Hans-Christoph Steiner
6ee4a57880 Merge branch 'kill-old-repo-code' into 'master'
Kill old repo adding code in favor of new flow

See merge request fdroid/fdroidclient!1296
2023-10-20 12:31:28 +00:00
Torsten Grote
6ac7f652ad [db] verify fingerprint of known repositories
if the user tries to add a repository at a known address with a different fingerprint than what we have on file, we'll refuse to add the repo
2023-10-20 09:26:17 -03:00
Torsten Grote
bf557417ab [app] start SwapService when trying to add a swap repo 2023-10-20 09:26:17 -03:00
Torsten Grote
e61886c6b6 Upgrade the libraries we can still upgrade
without going to gradle 8, Java 17 and compileSdk 34
2023-10-20 09:26:17 -03:00
Torsten Grote
bd8db11990 [app] Move old repo related classes into new package 2023-10-20 09:26:16 -03:00
Torsten Grote
e677ec2f6e [app] kill old code for adding repos
The new code (added previously) is cleaner and takes proxy settings as well as mirrors into account. It has some extra features like showing a repo preview before the user adds the repo. Also, the UX is hopefully simpler now.
2023-10-20 09:26:16 -03:00
Torsten Grote
10ef3ab055 [db] remove deprecated insertEmptyRepo() method 2023-10-20 09:26:15 -03:00
Torsten Grote
264d9de9de [app] let repos on SD cards and flash drives use the new AddRepoActivity 2023-10-20 09:26:15 -03:00
Torsten Grote
62aa00b5b4 [db] add support for adding repos on content:// and file:// URIs
This complicates the code for this niche use-case, but is wanted by F-Droid to support communities with bad or no internet connectivity.
2023-10-20 09:26:15 -03:00
Torsten Grote
640fc64782 Merge branch 'changelogs-1.19.0-alpha0' into 'master'
add changelogs for 1.19.0-alpha0

See merge request fdroid/fdroidclient!1301
2023-10-19 16:31:49 +00:00
Hans-Christoph Steiner
fe422ca6bc gitlab-ci: include metadata/ in Weblate merge conflict check 2023-10-19 18:08:24 +02:00
Hans-Christoph Steiner
cda285123e add changelogs for 1.19.0-alpha0 2023-10-19 18:08:21 +02:00
Hans-Christoph Steiner
0a625077e7 move default changelog to 1018050
for f in metadata/*/changelogs/default.txt ; do git mv $f $(echo $f | sed s,default,1018050,g); done
2023-10-19 10:07:42 +02:00
Hans-Christoph Steiner
70f74fb3d9 Merge branch 'repo-management' into 'master'
Polish new flow for adding repositories

Closes #2399

See merge request fdroid/fdroidclient!1284
2023-10-19 06:38:16 +00:00
Torsten Grote
7d64492d92 [db] support adding repos protected with basic auth 2023-10-18 11:39:38 +00:00
Torsten Grote
413d9fcfba [app] upgrade robolectric to fix strange test crash 2023-10-18 11:39:38 +00:00
Torsten Grote
cc684c3ee6 [app] show which repo an app is from on app details screen 2023-10-18 11:39:38 +00:00
Torsten Grote
ad8955933d [app] open list of apps of a repo after adding it 2023-10-18 11:39:38 +00:00
Torsten Grote
51d43f9004 [db] update repo cache right after new repo got added
so we can use the new repo right away without waiting for DB to inform us about change. This is important if we want to show list of apps of a repo right after adding it.
2023-10-18 11:39:38 +00:00
Torsten Grote
4bd033e6a7 [app] use DB methods for repo app list
The new DB methods are not only faster, but also show all apps in a repo, even if another repo has the same app with a higher weight.
2023-10-18 11:39:38 +00:00
Torsten Grote
a5ec22fa6c [db] add queries for getting app list items by repo 2023-10-18 11:39:38 +00:00
Torsten Grote
9a5c1a0e49 [app] prototype: show all apps from one repo
accessible from repo details screen, only for enabled repos
2023-10-18 11:39:38 +00:00
Torsten Grote
66b6c955a8 [db] add https:// scheme if it is missing from given repo URI 2023-10-18 11:39:38 +00:00
Torsten Grote
7c0c9c2cae [db] add support for detecting swap repos
Note that those are not really meant to be added to the DB as they are ephemeral by nature.
2023-10-18 11:39:38 +00:00
Torsten Grote
f068d920bd Add RepoManagerAddAllIntegrationTest which adds all known (stable) repos
See: https://forum.f-droid.org/t/known-repositories/721
2023-10-18 11:39:38 +00:00
Torsten Grote
03a5b697bb [db] Handle fdroidrepos:// Uris as well 2023-10-18 11:39:38 +00:00