5974 Commits

Author SHA1 Message Date
PatOnTheBack
fe92b4afc6 Remove Unused Import 2019-07-05 20:31:12 +00:00
Hans-Christoph Steiner
ad9074232d Merge branch 'patch-2' into 'master'
Remove Unused `import re`

See merge request fdroid/fdroidclient!832
2019-07-05 20:30:46 +00:00
PatOnTheBack
2c882741e7 Remove Unused import re 2019-07-05 20:30:46 +00:00
Hans-Christoph Steiner
ec35f0c998
fix lint: "internett" is usually capitalized as "Internett" [Typos] 1.7-alpha2 2019-06-18 23:39:44 +02:00
Hans-Christoph Steiner
47f8e0bc89
version code 1007002 2019-06-18 23:29:09 +02:00
Hans-Christoph Steiner
63a67698ac update CHANGELOG 2019-06-18 23:29:06 +02:00
Hans-Christoph Steiner
44ae615b29
remove unneeded Android string quoting 2019-06-18 23:28:57 +02:00
Hosted Weblate
14739c301f Translated using Weblate: Polish (pl) by WaldiS <admin@sto.ugu.pl>
Currently translated at 100.0% (24 of 24 strings)

Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/pl/

Translated using Weblate: Polish (pl) by WaldiS <admin@sto.ugu.pl>

Currently translated at 100.0% (448 of 448 strings)

Translation: F-Droid/F-Droid
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/pl/

Translated using Weblate: Polish (pl) by WaldiS <admin@sto.ugu.pl>

Currently translated at 100.0% (22 of 22 strings)

Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/pl/

Update translation files

Updated by "Squash Git commits" hook in Weblate.

Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/

Translated using Weblate: Polish (pl) by WaldiS <admin@sto.ugu.pl>

Currently translated at 86.4% (19 of 22 strings)

Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/pl/

Update translation files

Updated by "Squash Git commits" hook in Weblate.

Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/

Translated using Weblate: Polish (pl) by WaldiS <admin@sto.ugu.pl>

Currently translated at 77.3% (17 of 22 strings)

Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/pl/

Translated using Weblate: Polish (pl) by WaldiS <admin@sto.ugu.pl>

Currently translated at 100.0% (431 of 431 strings)

Translation: F-Droid/F-Droid
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/pl/

Update translation files

Updated by "Squash Git commits" hook in Weblate.

Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/

Translated using Weblate: Polish (pl) by WaldiS <admin@sto.ugu.pl>

Currently translated at 50.0% (11 of 22 strings)

Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/pl/

Update translation files

Updated by "Squash Git commits" hook in Weblate.

Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/

Translated using Weblate: Polish (pl) by WaldiS <admin@sto.ugu.pl>

Currently translated at 100.0% (429 of 429 strings)

Translation: F-Droid/F-Droid
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/pl/

Translated using Weblate: Polish (pl) by WaldiS <admin@sto.ugu.pl>

Currently translated at 42.9% (9 of 21 strings)

Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/pl/
2019-06-18 23:17:59 +02:00
Hosted Weblate
2e5beb2f96 Update translation files
Updated by "Squash Git commits" hook in Weblate.

Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
2019-06-18 23:17:59 +02:00
Hosted Weblate
05a225b432 Translated using Weblate: German (de) by ssantos <ssantos@web.de>
Currently translated at 100.0% (24 of 24 strings)

Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/de/
2019-06-18 23:17:59 +02:00
Hans-Christoph Steiner
4260539374 Merge branch 'usb-otg-support' into 'master'
USB OTG support

See merge request fdroid/fdroidclient!830
2019-06-18 20:42:12 +00:00
Hans-Christoph Steiner
6c9afd823e speed up repo searchs by using "depth last"
Recursively search for index-v1.jar starting from the given directory,
looking at files first before recursing into directories.  This is
"depth last" since the index file is much more likely to be shallow
than deep, and there can be a lot of files to search through starting
at 4 or more levels deep, like the fdroid icons dirs and the per-app
"external storage" dirs.
2019-06-18 15:55:19 +02:00
Hans-Christoph Steiner
ca5996c5b3 detect when USB OTG device is plugged in and show Nearby tab 2019-06-17 18:37:26 +02:00
Hans-Christoph Steiner
23b296a012 add Intent Extra to force Nearby tab to show, like the other tabs have 2019-06-17 18:37:00 +02:00
Hans-Christoph Steiner
525f99b056 implement mirror/repos on USB OTG via Storage Access Framework
* https://developer.android.com/training/articles/scoped-directory-access

One potential future direction, if this proves too limiting:
https://github.com/magnusja/libaums
2019-06-17 18:36:58 +02:00
Hans-Christoph Steiner
1ce70d3703 remove mistaken Service entry from full AndroidManifest.xml
LocalHTTPDManager is not a Service subclass.

79e7e78e7f69fc7dbe47684ee102c930e2c3a13f
2019-06-17 16:59:42 +02:00
Hans-Christoph Steiner
474073b48c Merge branch 'great-package-reorg' into 'master'
move classes into packages for "nearby" and "panic"

See merge request fdroid/fdroidclient!829
2019-06-17 11:59:22 +00:00
Hans-Christoph Steiner
02669ea31f move WifiStateChangeReceiver into ".nearby" package 2019-06-17 11:28:52 +02:00
Hans-Christoph Steiner
842db03d8a fold ".views.hiding" into ".panic", it is only use there 2019-06-17 11:28:52 +02:00
Hans-Christoph Steiner
ef90fd2dfd move ".views.panic" to ".panic", it has more than just Views 2019-06-17 11:28:52 +02:00
Hans-Christoph Steiner
69642d88f7 add placeholder SwapWorkflowActivity for basic flavor 2019-06-17 11:28:52 +02:00
Hans-Christoph Steiner
32aad6b562 move ".net.bluetooth" into ".nearby" package 2019-06-17 11:18:07 +02:00
Hans-Christoph Steiner
15d349f863 move LocalHTTPD and WifiStateChangeService into ".nearby" package 2019-06-17 11:18:07 +02:00
Hans-Christoph Steiner
43c7574228 fold ".views.swap" package into ".nearby" class 2019-06-17 10:50:56 +02:00
Hans-Christoph Steiner
790b5ab27d rename 'localrepo' package to 'nearby' to cover the whole thing 2019-06-17 10:50:56 +02:00
Hans-Christoph Steiner
1e00910a42
remove bizarre mistaken app name 2019-06-17 09:09:56 +02:00
Hans-Christoph Steiner
dc80851536
fix broken string format in translation 1.7-alpha1 2019-06-14 22:27:21 +02:00
Hans-Christoph Steiner
ac286dac56
remove unneeded android string quoting 2019-06-14 22:13:19 +02:00
Hosted Weblate
165457d27e Update translation files
Updated by "Squash Git commits" hook in Weblate.

Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
2019-06-14 22:11:19 +02:00
Hans-Christoph Steiner
14033a7975 version code 1007001 2019-06-14 22:07:50 +02:00
Hans-Christoph Steiner
45eab6598e
add ChangeLog entries 2019-06-14 22:00:11 +02:00
Hans-Christoph Steiner
9bc78ed297 Merge branch 'nearby-swap-with-hotspot' into 'master'
nearby swap with hotspot

See merge request fdroid/fdroidclient!828
2019-06-14 19:54:36 +00:00
Hans-Christoph Steiner
df3a09dd2b ensure SwapService is running first, after Location perm prompt 2019-06-14 11:25:41 +02:00
Hans-Christoph Steiner
ec6f9cef2b allow SwapService to start SwapWorkflowActivity on Android < 7.0
https://stackoverflow.com/a/50833599
2019-06-13 21:17:31 +02:00
Hans-Christoph Steiner
254bd6a4db allow hotspots to work for swapping, even if they don't have internet
It is possible to enable the Hotspot AP on a device, and disable mobile
data.  This setup will work fine for swapping, but the detection logic for
whether there is metered internet was blocking it.  So this adds a new
state to represent and handle this condition.
2019-06-13 21:17:31 +02:00
Hans-Christoph Steiner
679820c0b2 get the SSID info when hotspot is active 2019-06-13 21:17:31 +02:00
Hans-Christoph Steiner
9db9f32bf1 show hotspot-specific status messages when hotspot is active 2019-06-13 21:17:31 +02:00
Hans-Christoph Steiner
b11ac7a64a set min width of Wi-Fi SSID field to keep it easily clickable 2019-06-13 21:17:31 +02:00
Hans-Christoph Steiner
abd61208d4 remember Hotspot state when using swap, restore on return 2019-06-13 21:17:31 +02:00
Hans-Christoph Steiner
ca81518f74 Merge branch 'panic-app-wipe' into 'master'
panic app and repo wipe

See merge request fdroid/fdroidclient!827
2019-06-13 10:37:37 +00:00
Hans-Christoph Steiner
d406a5d66c code formatting to please checkstyle 2019-06-12 14:48:50 +02:00
Hans-Christoph Steiner
bac0ae8f25 show all installed apps as possibilities for panic uninstall
F-Droid should be able to uninstall any app, in theory, not just the apps
that are listed in the index.

This lays some groundwork for moving swap's SelectAppsView to the standard
AppList elements used everywhere else.  It also does a little bit towards
getting rid of InstalledApp in favor of just reusing App.
2019-06-12 14:48:50 +02:00
Hans-Christoph Steiner
89140d5334 InstalledAppProvider: use Android sematics for query methods
Throughout Android, a null projection means return the full record.  This
is well documented.

Also, null sortOrder means use default sort order.
2019-06-12 14:48:50 +02:00
Hans-Christoph Steiner
4c352aeadc color destructive panic prefs with red background 2019-06-12 14:48:50 +02:00
Hans-Christoph Steiner
3b53af0657 panic: add destructive option to reset repos to defaults 2019-06-12 14:48:50 +02:00
Hans-Christoph Steiner
72f5398b79 panic: uninstall apps based destructive panic trigger
This will uninstall the list of apps that the user has setup in the Panic
Settings if Privileged Extension is installed.  This also requires that the
user set up a trusted connection between a panic trigger app (e.g. Ripple)
and F-Droid.
2019-06-12 14:48:50 +02:00
Hans-Christoph Steiner
d762e187dc update to PanicKit v1.0 2019-06-12 14:48:50 +02:00
Hans-Christoph Steiner
515b5b08f0 set up Panic preference to choose apps to uninstall on trigger 2019-06-12 14:48:50 +02:00
Hans-Christoph Steiner
3812331166 stop crashing if the suggested version ends up being bogus
It is possible for repo operators to specify a bad CurrentVersionCode for
an app that is also in another repo, and cause confusion in the suggested
version calculation.  Or if one repo's index is very out of date.  This
adds a fallback for these cases, so at least it'll stop the crash and
attempt the user's requested install.
2019-06-12 14:48:50 +02:00
Hans-Christoph Steiner
b400df3ac3 remove unused 'projection' argument from ApkProvider.findApkFromAnyRepo()
One small victory in the ever lasting battle against creeping complexity!
2019-06-12 14:48:50 +02:00