Hans-Christoph Steiner
d8d043125b
add expert preference to disable all notifications
...
This preference is meant for whitelabel builds that are meant to be
entirely controlled by the server, without user interaction, e.g.
"appliances". Some users have asked for such a thing, so it makes sense to
have it available as an expert preference. In general, we want to ensure
that installs/updates always show a notification so that the user is aware
of what is being installed on their computers. That is the same policy as
other app stores like Google Play, etc.
2018-06-25 21:22:07 +02:00
Hans-Christoph Steiner
5771908f90
make Expert preference show/hide all the expert preferences
...
This should make them less scary to people who do not want to see them at
all. It also means that there can be quite a few expert preferences without
making the list super long for most users.
2018-06-25 21:11:00 +02:00
Hans-Christoph Steiner
654d2ca40e
Merge branch 'whitelabel-overhaul' into 'master'
...
whitelabel overhaul
See merge request fdroid/fdroidclient!692
2018-06-25 18:48:18 +00:00
Hans-Christoph Steiner
9e2800a9b9
Merge branch 'fix-up-mirrors' into 'master'
...
Fix up mirrors
See merge request fdroid/fdroidclient!697
2018-06-25 15:32:54 +00:00
Hans-Christoph Steiner
f1f56abd0f
try the next mirror on any network/HTTP/SSL errors
...
This labels all network, HTTP, and SSL related errors as CONNECTION_FAILED
so that the mirror selection logic will try the connection again with a new
mirror.
2018-06-25 11:58:21 +02:00
Hans-Christoph Steiner
06e922a35e
when adding new repos via Intents, clean out Activities from the Task
2018-06-25 11:58:19 +02:00
Hans-Christoph Steiner
1a7c73064f
fix off-by-one error when adding user mirrors to an existing repo
2018-06-25 11:58:15 +02:00
Hans-Christoph Steiner
654c5313de
reorder gradle "android" sub-blocks in standard order
...
https://developer.android.com/studio/build/build-variants
2018-06-18 16:46:26 +02:00
Hans-Christoph Steiner
91b070675d
mark old "cacheDownloaded" pref as deprecated
2018-06-18 16:46:26 +02:00
Hans-Christoph Steiner
5ffec23b2f
set default values of preferences only in preferences.xml
...
This removes a layer of redundancy where there were defaults set in the
Preferences class, as well as in preferences.xml. This makes it possible
for whitelabel versions to change the default values of the preferences by
changing it only in preferences.xml.
2018-06-18 16:46:26 +02:00
Hans-Christoph Steiner
a5d642911d
move all main preference handling to Preferences class
2018-06-18 16:46:26 +02:00
Hans-Christoph Steiner
74a2b25dfc
dynamically assign menu items to bottom nav tabs
...
This loads menu/main_activity_screens.xml and stores the item IDs as the
positions for the bottom nav tabs.
2018-06-18 16:46:26 +02:00
Hans-Christoph Steiner
c87f6a64f9
get "basic" flavor building and running
2018-06-18 16:46:26 +02:00
Hans-Christoph Steiner
ea80704598
split up everything into 'full' and 'basic' build flavor
...
"full" is the original F-Droid app with all the features. It should still
build the exact same app after this change. "basic" is the smallest
version of F-Droid possible. It does not yet build, nor work.
2018-06-15 23:27:03 +02:00
Hans-Christoph Steiner
90748a3685
version code 1003001
1.3-alpha1
2018-06-15 22:55:33 +02:00
Hans-Christoph Steiner
f159432bf1
update CHANGELOG
2018-06-15 22:54:49 +02:00
Hans-Christoph Steiner
7f314d7781
gitlab-ci: default emulator test to F-Droid image
...
This also only runs one emulator test by default, then runs 3 SDK
levels for final commits. The single default test is the optimized
F-Droid system image included in the Docker image.
2018-06-15 18:27:20 +02:00
Hans-Christoph Steiner
9e4e435ae5
use latest constraint-layout bugfix version
2018-06-15 14:06:47 +02:00
Hans-Christoph Steiner
71e190ad2b
Merge branch 'weblate' into 'master'
...
Weblate
See merge request fdroid/fdroidclient!694
2018-06-15 12:10:02 +00:00
Hans-Christoph Steiner
0f4caf79b8
Weblate
2018-06-15 12:10:02 +00:00
Hans-Christoph Steiner
40d80bd41f
Merge 'fdroidclient-seekbar3' into 'master'
...
* ByteHamster/fdroidclient-seekbar3:
fix pmd "Overriding method merely calls super"
Code style improvements
Explain null value
Make checkstyle happy
Display disabled state
Updated seekbar appearance
fdroid/fdroidclient!693
2018-06-15 13:52:36 +02:00
Hans-Christoph Steiner
55c2cbf9c2
fix pmd "Overriding method merely calls super"
2018-06-15 13:47:02 +02:00
Hans-Christoph Steiner
0d5d071eac
remove redundant calls to String.format()
...
getString() can do formats itself.
2018-06-15 13:27:05 +02:00
ByteHamster
6b0653a488
Code style improvements
2018-06-14 22:48:04 +02:00
ByteHamster
14d80cf1c9
Explain null value
2018-06-14 17:50:13 +02:00
ByteHamster
5aca70c786
Make checkstyle happy
2018-06-14 17:44:59 +02:00
ByteHamster
53894db911
Display disabled state
2018-06-14 16:16:31 +02:00
ByteHamster
1f4b6e483a
Updated seekbar appearance
2018-06-14 16:13:34 +02:00
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