5346 Commits

Author SHA1 Message Date
Hans-Christoph Steiner
a8af84ecbc Merge branch 'master' into 'master'
nightly/test build tweaks

See merge request fdroid/fdroidclient!691
2018-06-13 12:54:23 +00:00
Hans-Christoph Steiner
b13394fdb0 run all Robolectric tests against the target SDK 2018-06-13 13:55:06 +02:00
Hans-Christoph Steiner
ab87755b20 set versionCode for nightly builds only in gitlab-ci
Having dynamic build config variables breaks instant APK updates:
https://developer.android.com/studio/build/optimize-your-build#use_static_build_properties
2018-06-13 13:55:06 +02:00
Hans-Christoph Steiner
361281aa3b Merge branch 'seekbar-updates' into 'master'
Tiny updates to seekbar

See merge request fdroid/fdroidclient!690
2018-06-13 08:26:35 +00:00
ByteHamster
1c89076393 Update TextView directly 2018-06-10 22:12:06 +02:00
ByteHamster
c7e692e9e5 Tiny updates to seekbar 2018-06-08 23:09:45 +02:00
Hans-Christoph Steiner
99b3152381 rename progressChangedListener to progressChangedRunnable
!689
2018-06-08 23:00:20 +02:00
Hans-Christoph Steiner
a41d64df4a Merge branch 'seekbar' into 'master'
Seekbar updates

See merge request fdroid/fdroidclient!689
2018-06-08 20:59:43 +00:00
ByteHamster
67e90bd1e7 Updated tickmark 2018-06-08 20:05:24 +02:00
ByteHamster
da856786ba Live updates 2018-06-08 20:00:45 +02:00
ByteHamster
54eaa273b6 Changed seekbar style 2018-06-08 19:23:29 +02:00
Hans-Christoph Steiner
bc6fba88fa Merge branch 'push-requests-for-index-v1' into 'master'
push requests for index-v1

See merge request fdroid/fdroidclient!688
2018-06-08 10:36:07 +00:00
Hans-Christoph Steiner
3878b781fd maven.google.com must be added before jcenter()
* https://stackoverflow.com/a/50570206
* https://stackoverflow.com/a/50563942
* https://developer.android.com/studio/build/dependencies#google-maven
2018-06-08 12:12:04 +02:00
Hans-Christoph Steiner
3cb34aa4b0 prevent crash if push uninstall request is app not in any repo 2018-06-06 21:34:55 +02:00
Hans-Christoph Steiner
c8f804d0f6 support push requests when using the index-v1.json
Before, push requests were only supported when using index.xml.  This adds
support for using push requests in index-v1.json.  `fdroid update` has been
generating them in both index versions for a while now.
2018-06-06 21:34:52 +02:00
Hans-Christoph Steiner
6f7fdec4eb Merge branch 'streamline-whitelabeling' into 'master'
Streamline whitelabeling

See merge request fdroid/fdroidclient!686
2018-06-06 19:10:40 +00:00
Hans-Christoph Steiner
d5d3abe2a3 fix lint "Implied default locale in case conversion"
find app/src/full/java/kellinwood/ -name \*.java |xargs sed -i 's,\.toLowerCase(),.toLowerCase(Locale.ROOT),g'
2018-06-06 21:09:39 +02:00
Hans-Christoph Steiner
e55b121489 simplify gradle repositories to fix Android plugin download error 2018-06-06 20:51:50 +02:00
Hans-Christoph Steiner
00da6080c7 remove unneeded bouncycastle dependencies
These calls to bouncycastle were just used because the library was
there.  Now with the upcoming 'basic' build flavor, there will be no
need for bouncycastle.  It is required for ZipSigner signing of swap
indexes, and TLS support in the swap NanoHTTPD webserver.
2018-06-06 09:47:18 +02:00
Hans-Christoph Steiner
f3974898af switch to faster, documented algorithm for Utils.toHexString()
This is covered already by tests of Utils.getBinaryHash().
2018-06-06 09:47:18 +02:00
Hans-Christoph Steiner
ca577dc65a 'dependencies' must be after 'android' for gradle to expose flavors there
With gradle build flavors, it is possible to specify things like
'myflavorImplementation' but only if the 'dependencies' section is after
the 'android' section where the build flavors are declared.  How 1982 of
them to make where things are declared in the file have meaning.
2018-06-01 11:56:47 +02:00
Hans-Christoph Steiner
c81e3f3d02 define default main tab as 0th element to support flavors 2018-06-01 11:56:47 +02:00
Hans-Christoph Steiner
e6c8cfa3f8 handle null Preferences when looping through SUMMARIES_TO_UPDATE
With more whitelabeling support, we need this workaround to avoid
trying to call a null instance when the whitelabeled version does not
include all of the possible preferences.
2018-06-01 11:56:14 +02:00
Hans-Christoph Steiner
4bcceeaf74 improve strings, also removing "F-Droid" for easier whitelabeling 2018-05-30 13:32:07 +02:00
Hans-Christoph Steiner
2a0150a45e format all 'res/values' XML files using Android Studio Ctrl-Alt-L 2018-05-30 13:31:39 +02:00
Hans-Christoph Steiner
ae7973f5c4 Merge branch 'spdx-4.0' into 'master'
AppDetails: don't mangle spdx link.

Closes #1472

See merge request fdroid/fdroidclient!684
2018-05-29 09:20:57 +00:00
Marcus Hoffmann
724234ef09
AppDetails: don't mangle spdx link.
Stripping the `+` form the license link will direct to the wrong spdx
page. (This would also need changing anyway because of spdx v4.0.0)

closes fdroid/fdroidclient#1472
2018-05-17 00:55:57 +02:00
Hans-Christoph Steiner
63812715aa Merge branch 'fix-tooltip-background' into 'master'
fix tooltip background in actionbar

Closes #1094

See merge request fdroid/fdroidclient!681
2018-05-03 08:09:47 +00:00
Hans-Christoph Steiner
93083c6111 Merge branch 'fix-icon-colors' into 'master'
fix icon color in search for dark theme

Closes #1187

See merge request fdroid/fdroidclient!682
2018-05-03 08:09:05 +00:00
Conny Duck
9103e49e20 fix icon color in search for dark theme 2018-04-29 09:23:57 +02:00
Conny Duck
5ae563ae51 fix tooltip background in actionbar 2018-04-28 22:59:03 +02:00
Conny Duck
3034afedeb add adaptive icon 2018-04-28 21:58:25 +02:00
Hans-Christoph Steiner
b10c8e5c79 version code 1003000 1.3-alpha0 2018-04-25 23:17:58 +02:00
Hans-Christoph Steiner
5043a081a7 update CHANGELOG 2018-04-25 23:17:58 +02:00
Hans-Christoph Steiner
8ab5487daa Merge branch 'weblate' into 'master'
Weblate

See merge request fdroid/fdroidclient!679
2018-04-25 21:20:28 +00:00
Hans-Christoph Steiner
3fcd880848 Weblate 2018-04-25 21:20:28 +00:00
Hans-Christoph Steiner
36b51c506f use separate IntentFilters to make App Links work
The App Links thing is quite strict, all possible scheme/hosts must have
a valid /.well-known/assetlinks.json file that is HTTP 200.

These two URLs are not 200, so they will fail for App Links:
* http://f-droid.org/.well-known/assetlinks.json
* http://www.f-droid.org/.well-known/assetlinks.json
2018-04-25 22:46:42 +02:00
Hans-Christoph Steiner
b1f0f43546 bump targetSdkVersion to 25
We have a lot of work to do to bump to the latest version: #1440
2018-04-25 22:46:42 +02:00
Hans-Christoph Steiner
76150db0c2 Merge branch 'JobIntentService-revamp' into 'master'
JobIntentService revamp

Closes #1426

See merge request fdroid/fdroidclient!678
2018-04-25 20:48:39 +00:00
Hans-Christoph Steiner
2cab890e34 Merge branch 'network-pref-revamp' into 'master'
Network pref revamp

Closes #1381

See merge request fdroid/fdroidclient!677
2018-04-25 20:46:55 +00:00
Hans-Christoph Steiner
fb8cbd04c3 add text description for DisabledAlgorithm and KnownVuln anti-features 2018-04-25 17:29:08 +02:00
Hans-Christoph Steiner
e76aa0390d make Anti-Features list in App Details clickable
This should provide some more info about each anti-feature.
2018-04-25 17:28:43 +02:00
Hans-Christoph Steiner
3a5ecc5e8e do not crash when getting hash of APK that disappears
This changes the logic of Utils.getBinaryHash() to return null on failure
rather than only throwing exceptions.  That makes it easier to handle these
failures where Utils.getBinaryHash() is called.

 #1305
 #855
2018-04-25 17:10:03 +02:00
Hans-Christoph Steiner
94b70608d0 format ApkProvider using Android Studio Ctrl-Alt-L 2018-04-25 11:23:39 +02:00
Hans-Christoph Steiner
80734891a6 Installer instances require an Apk instance, mark @NonNull #1436 2018-04-25 11:13:47 +02:00
Hans-Christoph Steiner
7b66ad4920 don't crash if installerPackageName is null #1436
This will instead lead users with Privileged Extension to the F-Droid
uninstall screen which will probably fail.  But that's better than crashing
in my opinion.

Introduced in c095a85c3dd3c505951bebb52e4ae010c69cc9f9
2018-04-25 11:12:18 +02:00
Hans-Christoph Steiner
e6fb837af0 use JobSchedule to better schedule CleanCacheService
#588
 #1426
2018-04-24 21:09:41 +02:00
Hans-Christoph Steiner
34ac465438 convert ConnectivityMonitorService to JobIntentService #1426 2018-04-24 21:09:41 +02:00
Hans-Christoph Steiner
07ada4e6b2 switch UpdateService to a JobIntentService
closes #1426
2018-04-24 21:09:36 +02:00
Hans-Christoph Steiner
fe260d931c use JobIntentService for CleanCache, DeleteCache, Installer, InstalledApp
This should ensure that these jobs complete before sleep, and also, they
should work more reliably with the new Android 8.0 background restrictions.
https://developer.android.com/reference/android/support/v4/app/JobIntentService.html #1426
2018-04-24 21:05:43 +02:00