Torsten Grote
e92497be74
[app] Hard-code category for nightly builds
2023-06-07 11:44:32 -03:00
Hans-Christoph Steiner
394518fe4e
Merge branch 'translations' into 'master'
...
Revert conflicting translation changes
See merge request fdroid/fdroidclient!1230
2023-06-07 14:42:09 +00:00
Torsten Grote
9a19443705
Revert conflicting translation changes
2023-06-07 11:39:03 -03:00
Hans-Christoph Steiner
7bb9de9457
Merge branch 'repo-management' into 'master'
...
Use repo data for anti-features and categories
Closes #2544
See merge request fdroid/fdroidclient!1226
2023-06-07 14:01:07 +00:00
Torsten Grote
c3ba9d33a4
[app] Fix nsfw anti-feature
2023-06-07 13:52:21 +00:00
Torsten Grote
b70b3a9a06
[app] Use RepoManager for enabling/disabling repos
2023-06-07 13:52:21 +00:00
Torsten Grote
e382900f39
[app] Use RepoManager for deleting repositories
2023-06-07 13:52:21 +00:00
Torsten Grote
e819741c1a
[app] Introduce RepoManager for managing list of repos
...
Later this will also be used for adding/removing repos.
2023-06-07 13:52:21 +00:00
Torsten Grote
2011eb30f6
[app] Expose repo timestamp in the repo details UI
...
This timestamp is more relevant than the time the client downloaded the update.
2023-06-07 13:52:21 +00:00
Torsten Grote
44a2d95f18
[app] Show localized anti-feature text, reason and icon from index data
2023-06-07 13:52:21 +00:00
Torsten Grote
567d4d5e5d
[app] Load category images from repository, if available
2023-06-07 13:52:21 +00:00
Torsten Grote
0b28cced32
[db] Expose repoId of category and add method to get localized icon
...
The repoId is needed, so we can download the category icon from the correct repo.
2023-06-07 13:52:21 +00:00
Torsten Grote
20f8a8b9fb
[app] Localize category names with data from repo index
...
Before we had localizations hard-coded, so custom categories from other repos were not localized.
Fixes #2544
2023-06-07 13:52:21 +00:00
Torsten Grote
9fd8d20b7c
[app] Add repo icon and address to repo listing
2023-06-07 13:52:21 +00:00
Hans-Christoph Steiner
231a8b7710
Merge branch '2618-timeouts' into 'master'
...
Make connections in tests or via Tor with higher timeouts
Closes #2618
See merge request fdroid/fdroidclient!1229
2023-06-07 13:48:20 +00:00
Torsten Grote
b0d04e3664
[download] increase high HTTP timeouts to 5min
...
Apparently, this can still be a sane choice for Tor as well :o
2023-06-07 09:47:20 -03:00
Torsten Grote
b755a295e5
[app] Run HttpDownloaderTest with higher timeouts
2023-06-06 11:47:33 -03:00
Torsten Grote
fe78d954b6
[download] Allow making connections with higher HTTP timeouts
...
always use that for Tor proxies
2023-06-06 11:47:16 -03:00
Torsten Grote
0edf8d2746
Merge branch 'revert-nfc-breakage' into 'master'
...
revert NFC breakage that slipped into !1207
See merge request fdroid/fdroidclient!1227
2023-06-06 12:08:47 +00:00
Hans-Christoph Steiner
5bb92e999b
remove redundant declaration of android.permission.NFC
...
It is declared in main.
2023-06-06 12:08:14 +00:00
Hans-Christoph Steiner
bcb6e5ab5d
Revert "Move NFC permissions to full flavor"
...
This reverts the NFC part of commit 6bbcb61571 .
2023-06-06 12:08:14 +00:00
Hans-Christoph Steiner
62b3828d39
Revert "[app] Split out NFC logic properly between basic and full"
...
This reverts commit 8cf868c1a8 .
2023-06-06 12:08:14 +00:00
Hans-Christoph Steiner
74161ba8b6
Merge branch 'priv-ext-session' into 'master'
...
Don't use SessionInstaller, if PrivilegedInstaller can be used instead
See merge request fdroid/fdroidclient!1228
2023-06-06 11:15:15 +00:00
Torsten Grote
4674d64891
[app] Don't use SessionInstaller, if PrivilegedInstaller can be used instead
2023-06-05 11:35:06 -03:00
Torsten Grote
2a28f2bca7
Merge branch 'package-installer' into 'master'
...
Add new PackageInstaller API and use with basic
Closes #2542 , #2592 , #2560 , and #1836
See merge request fdroid/fdroidclient!1216
2023-06-02 18:59:52 +00:00
Torsten Grote
1599a4d822
[app] Disable priv-ext by default for basic flavor
...
as it isn't allowed to use it and the client isn't currently able to detect this, so all installs fail by default.
2023-06-02 15:07:21 -03:00
Torsten Grote
fa3686dd81
[app] Show app size on app details screen (expert mode only)
2023-06-01 13:57:21 -03:00
Torsten Grote
7398dc0e3e
[app] Show a warning when an app does not support unattended updates
2023-06-01 13:57:20 -03:00
Torsten Grote
a78b32a8be
[app] don't use SessionInstaller on Xiaomi devices, because it is broken there
2023-06-01 13:57:20 -03:00
Torsten Grote
8a0519e811
[app] work around Android 12 crash when sending confirmation intent with parcelable App
2023-06-01 13:57:20 -03:00
Torsten Grote
b76c5a5f0b
[app] don't cancel notification before posting it
...
otherwise notifications keep flickering.
(cherry picked from commit 02cfd45d4664934d434092ff33ae73605dbdc2d0)
2023-06-01 13:57:20 -03:00
Torsten Grote
55db6b6bf2
[app] improve state restoring when coming back to app details screen
...
previously download progress would appear stuck when the screen was left during a download. No install button was shown.
(cherry picked from commit ca58399b137921fc736b8fd119440310e1e6c985)
2023-06-01 13:57:20 -03:00
Torsten Grote
ff312aa7a7
[app] listen to install interaction broadcasts in app list controller
...
and don't unregister the receiver before the actual broadcast arrived.
(cherry picked from commit 0a4623b57fb69006ca786594c31a8f824e12538c)
2023-06-01 13:57:20 -03:00
Torsten Grote
07f4dc1203
[app] Set PACKAGE_SOURCE_STORE for all installs on Android 13+
...
because there might be repercussions, if this isn't set. E.g. apps like GadgetBridge not getting access to Notification Listener anymore.
https://www.xda-developers.com/android-13-restricted-setting-notification-listener/
2023-06-01 13:57:19 -03:00
Torsten Grote
49ff280bb9
[app] crash when long pressing version name in about dialog
2023-06-01 13:57:19 -03:00
Torsten Grote
848a71fa59
[app] Fix notification icon loading for downloading/installing apps
2023-06-01 13:57:19 -03:00
Torsten Grote
415fd0c59d
Revert "[app] Disable auto-download of APKs because basic can't do it yet due to recent targetSdk"
...
This reverts commit f8a0c1c448 .
2023-06-01 13:57:19 -03:00
Torsten Grote
7df86e3858
[app] Move install file operations off the UiThread
2023-06-01 13:57:19 -03:00
Torsten Grote
dba639c750
[app] Turn InstallHistoryService into a JobIntentService
...
so it can be started while the app is in the background
(cherry picked from commit 99cafe72d41d23c4d77ef4a2f5c02f4a505509c8)
2023-06-01 13:57:19 -03:00
Torsten Grote
510b3415e9
[app] Allow background downloads/installs on Android 8
...
It is not allowed anymore to start services while the app is in the background. To work around this, the InstallManagerService was turned into a singleton (it needs to receive broadcasts for as long as possible) and DownloaderService was turned into a JobIntentService which we are still allowed to "start" from the background. This start might be delayed, but better late than never.
This is a temporary workaround that allows us to start this service from the background. The long term plan is to use WorkManager for it as well.
2023-06-01 13:57:18 -03:00
Torsten Grote
dcc3787c21
[app] Add SessionInstaller
...
# The commit message #2 will be skipped:
# f sessioninstaller
2023-06-01 13:57:18 -03:00
Torsten Grote
ce969d4806
Merge branch 'fix-unknown-sources' into 'master'
...
Don't show repeated unknown sources screen when installing apps
See merge request fdroid/fdroidclient!1225
2023-05-31 21:16:39 +00:00
Torsten Grote
91bbfd4cf0
[app] don't show repeated unknown sources screen when installing apps
...
by limiting the use of PackageManager#canRequestPackageInstalls() method to flavors targeting at least O
2023-05-31 17:41:45 -03:00
Torsten Grote
137182aab5
Merge branch 'dep-update' into 'master'
...
Update dependencies
See merge request fdroid/fdroidclient!1222
2023-05-30 18:42:02 +00:00
Torsten Grote
21f8a23814
Upgrade all (most of) the things
2023-05-30 09:39:15 -03:00
Torsten Grote
9c50183b68
Upgrade to Android Studio Electric Eel to solve some test bugs
2023-05-30 09:39:15 -03:00
Torsten Grote
ebc9fa1664
Merge branch 'codespell' into 'master'
...
Fix typos found by codespell
See merge request fdroid/fdroidclient!1224
2023-05-29 16:37:27 +00:00
Dimitri Papadopoulos
b6bb64457c
Fix typos found by codespell
2023-05-29 15:47:22 +00:00
Torsten Grote
8f5dfd67ed
Merge branch 'basic' into 'master'
...
Bump targetSdk of basic flavor to 33
Closes #2552
See merge request fdroid/fdroidclient!1207
2023-05-29 15:46:56 +00:00
Torsten Grote
cd5023fbb5
[app] Split out strings for full/basic flavor, but keeping them translatable in main resource
2023-05-29 12:00:50 -03:00