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
Hans-Christoph Steiner
301c2fff2d
remove redundant preference constants
2019-06-12 14:48:50 +02:00
Hans-Christoph Steiner
7ca4ee6539
rename InstalledAppProvider method after what it returns: last update
2019-06-12 14:48:50 +02:00
Hans-Christoph Steiner
736341b34e
Merge branch 'proxy-on-app-start' into 'master'
...
Proxy on app start
See merge request fdroid/fdroidclient!815
2019-06-12 12:47:03 +00:00
Hans-Christoph Steiner
fd625ca8d4
gitlab-ci: android-Q is now officially android-29
2019-06-12 14:24:26 +02:00
Michael Pöhn
5dd866d39e
fix checkstyle
2019-06-12 12:04:15 +02:00
Michael Pöhn
067d39f72d
preferences fragment: setup use tor preferences changed only once
2019-06-11 16:23:22 +02:00
Michael Pöhn
88f3a68f83
deduplicate error prone proxy settings code
2019-06-11 16:23:22 +02:00
Michael Pöhn
292950898e
replace prone useTor preference mirror value from FDroidApp with direct preference calls
2019-06-11 16:23:22 +02:00
Hans-Christoph Steiner
1f565d7638
Merge branch 'typo-fixes' into 'master'
...
Fix Typos
See merge request fdroid/fdroidclient!826
2019-06-11 12:11:03 +00:00
Yoginth
0851fea8eb
Fix Typos
2019-06-05 03:52:40 +00:00
Hans-Christoph Steiner
3ea365a1f5
update changelog
1.7-alpha0
2019-05-24 15:47:48 +02:00
Hans-Christoph Steiner
6d3a7d4537
move all QR Code related classes to .qr package
2019-05-24 15:47:48 +02:00
Hans-Christoph Steiner
23fc17ba5f
purge confusing, unused duplicate string/icon assignment in bottom nav
...
fdroid/fdroidclient#1785
2019-05-24 15:47:48 +02:00
Hans-Christoph Steiner
c652718a4a
fix lint: Repeated word "do" in message: possible typo [Typos]
2019-05-24 15:47:48 +02:00
Hans-Christoph Steiner
1b670df1fd
./tools/remove-unused-and-blank-translations.py
2019-05-24 15:38:36 +02:00
Hosted Weblate
36f29bc6a8
Translated using Weblate: Portuguese (pt) by ssantos <ssantos@web.de>
...
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/pt/
Translated using Weblate: Portuguese (pt) by ssantos <ssantos@web.de>
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/pt/
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/
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/
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/
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: Portuguese (pt) by ssantos <ssantos@web.de>
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/pt/
Translated using Weblate: Portuguese (pt) by Rui Mendes <xz9@protonmail.com>
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/pt/
Translated using Weblate: Portuguese (pt) by Rui Mendes <xz9@protonmail.com>
Currently translated at 100.0% (21 of 21 strings)
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/pt/
Translated using Weblate: Portuguese (pt) by Rui Mendes <xz9@protonmail.com>
Currently translated at 100.0% (21 of 21 strings)
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/pt/
Translated using Weblate: Portuguese (pt) by Rui Mendes <xz9@protonmail.com>
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/pt/
Added translation using Weblate: Portuguese (pt) by Rui Mendes <xz9@protonmail.com>
2019-05-24 15:36:13 +02:00
Hosted Weblate
2289a07483
Translated using Weblate: Icelandic (is) by Sveinn í Felli <sv1@fellsnet.is>
...
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/is/
Translated using Weblate: Icelandic (is) by Sveinn í Felli <sv1@fellsnet.is>
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/is/
2019-05-24 15:36:13 +02:00
Hosted Weblate
4258315286
Translated using Weblate: Hebrew (he) by Yaron Shahrabani <sh.yaron@gmail.com>
...
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/he/
Translated using Weblate: Hebrew (he) by Yaron Shahrabani <sh.yaron@gmail.com>
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/he/
Translated using Weblate: Hebrew (he) by Yaron Shahrabani <sh.yaron@gmail.com>
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/he/
Translated using Weblate: Hebrew (he) by Yaron Shahrabani <sh.yaron@gmail.com>
Currently translated at 100.0% (21 of 21 strings)
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/he/
2019-05-24 15:36:13 +02:00
Hosted Weblate
c2070fb76f
Translated using Weblate: German (de) by Hans-Christoph Steiner <hans@guardianproject.info>
...
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/de/
Translated using Weblate: German (de) by ssantos <ssantos@web.de>
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/de/
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/
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: German (de) by C. Rüdinger <Mail-an-CR@web.de>
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/de/
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: German (de) by C. Rüdinger <Mail-an-CR@web.de>
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/de/
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: German (de) by ssantos <ssantos@web.de>
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/de/
Translated using Weblate: German (de) by CurlingTongs <o11577482@nwytg.net>
Currently translated at 100.0% (21 of 21 strings)
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/de/
Translated using Weblate: German (de) by C. Rüdinger <Mail-an-CR@web.de>
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/de/
Translated using Weblate: German (de) by Sören Strecke <soeren.strecke@live.de>
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/de/
Translated using Weblate: German (de) by C. Rüdinger <Mail-an-CR@web.de>
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/de/
Translated using Weblate: German (de) by ssantos <ssantos@web.de>
Currently translated at 100.0% (21 of 21 strings)
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/de/
2019-05-24 15:36:13 +02:00
Hans-Christoph Steiner
f69b38aad5
Merge branch 'major-swap-overhaul' into 'master'
...
major swap overhaul
See merge request fdroid/fdroidclient!825
2019-05-24 13:34:51 +00:00
Hans-Christoph Steiner
14e006b924
mark two flaky swap test classes to omit them from gitlab-ci runs
...
They work fine on my machine, but fail often/always on gitlab-ci
2019-05-24 15:01:33 +02:00
Hans-Christoph Steiner
7acc0cd4c3
make LocalHTTPDTest resilient to LocalHTTPDManagerTest's detritus
...
LocalHTTPDManagerTest seems to leave port 8888 running sometimes, causing
all of LocalHTTPDTest tests to fail.
2019-05-24 13:36:47 +02:00
Hans-Christoph Steiner
051d58acaf
start LocalRepoService once SelectApps is shown to speed up connecting
2019-05-24 13:36:47 +02:00
Hans-Christoph Steiner
6e8c4eb1bf
store the current Bluetooth name and restore it when swap is done
...
fdroid/fdroidclient#1669
2019-05-24 13:36:47 +02:00
Hans-Christoph Steiner
7f35420e37
purge last RxAndroid code, replace with good ol' Intents
...
Rx needs to be used as the basis of the whole system, it doesn't make sense
to just have one small part handled by Rx.
RxJava is still used in InstallAppProviderService, so that would have to be
tackled separately.
2019-05-24 13:36:47 +02:00
Hans-Christoph Steiner
18a7690758
track all successful peers, and remove all unsuccessful peers
...
Since it is possible to connect to a peer via NFC, "Swap back", QR Code,
etc. once a peer is successfully used, it can show up in the StartSwapView
list of peers.
2019-05-24 13:35:56 +02:00
Hans-Christoph Steiner
0727787713
make BonjourPeer and WifiPeer equals if they point to the same device
2019-05-24 13:35:56 +02:00
Hans-Christoph Steiner
74c3c24f0a
reset idle timer each time a new swap screen is loaded
...
This means that as long as the user is using swap, it'll stay running.
2019-05-24 13:35:56 +02:00
Hans-Christoph Steiner
e02bc4134a
fix display of swap cancel button and installing progress
...
closes #1612
2019-05-24 13:35:56 +02:00
Hans-Christoph Steiner
fea778793c
replace BluetoothSwap with BluetoothManager, using HandlerThread
...
This is the last of the SwapType stuff!
fdroid/fdroidclient#1723
fdroid/fdroidclient#1669
2019-05-24 13:35:56 +02:00
Hans-Christoph Steiner
ddbe93aeb4
SwapWorkflowActivity: save BluetoothAdapter instance for reuse
2019-05-24 13:35:56 +02:00
Hans-Christoph Steiner
da66949b9e
turn LocalRepoService Intents into status Intents like other Services
2019-05-24 13:35:56 +02:00
Hans-Christoph Steiner
effcf4bfa9
purge WifiSwap class in favor of Intents and Services
2019-05-24 13:35:56 +02:00
Hans-Christoph Steiner
46472ba7a4
create BonjourManager to manage jmdns in HandlerThread, with tests
2019-05-24 13:35:55 +02:00
Hans-Christoph Steiner
79e7e78e7f
create testable LocalHTTPDManager for controlling the webserver
...
The RxJava tricks were a nightmare...
2019-05-24 10:02:22 +02:00
Hans-Christoph Steiner
5b610798c2
more reliably set WiFi SSID in nearby/swap interfaces
...
Often times, the WiFi is properly setup, the IP address is showing, but the
SSID is showing as "No network yet".
2019-05-24 10:02:22 +02:00
Hans-Christoph Steiner
11e0c1926c
move swap repo polling to SwapService
...
SwapService is the long lived background service, and it was already doing
the core work anyway.
2019-05-24 10:02:22 +02:00
Hans-Christoph Steiner
6c1375bf3a
quick hack to show "Installing..." when swap install process runs
2019-05-24 10:02:22 +02:00
Hans-Christoph Steiner
e7979fca48
name all SwapService getters properly: getSwapService()
...
This also switches to always using getActivity().getSwapService() to make
it easily traceable where that is happening. It shouldn't be happening in
SwapViews...
2019-05-24 10:02:22 +02:00