Hans-Christoph Steiner
2cf2fe5341
when downgrading, reset the database
2018-08-08 00:00:01 +02:00
Hans-Christoph Steiner
91c84a8588
version code 1003051
2018-08-07 23:33:33 +02:00
Hans-Christoph Steiner
8de89cc6dd
update changelogs
2018-08-07 23:33:33 +02:00
Hans-Christoph Steiner
0d1a53863e
./tools/png-pre-compress to strip unneeded stuff
2018-08-07 23:33:33 +02:00
Hans-Christoph Steiner
fc65502ce4
make some LocalHTTPD tests require no Keep-Alive
2018-08-07 23:33:33 +02:00
Hans-Christoph Steiner
e3b26b76f6
make swap webserver never support HTTP Connection Keep-Alive
...
NanoHTTPD has issues with HTTP Keep-Alive, especially when other requests
are mixed in, like the /request-swap POST or perhaps the F-Droid HEAD to
fetch the ETag before the GET.
This disables gzip encoding and sets a Content Security Policy while I'm at
it. APKs, PNGs, and JARs are already compressed, so gzip would only ever
cause problems. And the index page is meant to be viewed by browsers, so
having a CSP will limit potential malicious swap activity.
2018-08-07 23:33:33 +02:00
Hans-Christoph Steiner
47929fa4b3
Merge branch 'master' into 'master'
...
bump to latest netcipher to fix TLSv1.3
Closes #1040
See merge request fdroid/fdroidclient!728
2018-08-07 18:55:25 +00:00
Hans-Christoph Steiner
03619dea3e
Merge branch 'weblate' into 'master'
...
Weblate
See merge request fdroid/fdroidclient!727
2018-08-07 16:24:00 +00:00
Hans-Christoph Steiner
b6c69f7548
Weblate
2018-08-07 16:24:00 +00:00
Hans-Christoph Steiner
2194dbd649
bump to latest netcipher to fix TLSv1.3, closes #1040
2018-08-07 17:21:38 +02:00
Hans-Christoph Steiner
73388ddf8c
Merge branch 'make-swap-great-again' into 'master'
...
make swap great again ;-)
Closes #248
See merge request fdroid/fdroidclient!726
2018-08-07 13:41:15 +00:00
Hans-Christoph Steiner
738216c205
totally rework LocalHTTPD based on nanohttpd 2.3.1
...
The webserver was totally broken since nanohttpd had changed so much since
the swap webserver was implemented. This syncs up with the sample file and
gets rid of our hacks. The only differences now are the stuff that is
removed since it is totally unused in F-Droid. This also adds a full test
suite.
this actually closes #248
2018-08-07 13:51:47 +02:00
Hans-Christoph Steiner
f1e5653601
hardcode limited MIME Types for the swap webserver
...
The MIME Types only need to be set on files that we are actually using to
display in the browser. All others should not be set so that they cannot
be abused.
2018-08-07 11:28:48 +02:00
Hans-Christoph Steiner
e4c9d1d522
move requestSwap method to static Intent-sending method pattern
2018-08-07 11:28:48 +02:00
Hans-Christoph Steiner
ddb85befa6
index.xml must use "sha256" as hash type, not "SHA-256"
...
Otherwise the string matching in RepoXMLHandler.endElement() fails, and the
swap repo's index.xml will use "SHA-256" instead of the correct "sha256".
2018-08-07 11:28:48 +02:00
Hans-Christoph Steiner
f56fbf4dcb
swap connections fail with strange errors with keep-alive enabled
2018-08-07 11:28:48 +02:00
Hans-Christoph Steiner
57a00938a0
fix broken index.jar signing for swap repos
...
Broken in the switch to bouncycastle: 5c6c54cadfa8511296b8f7374b113c4e26b7b3a4
2018-08-07 11:28:48 +02:00
Hans-Christoph Steiner
e0d6371147
use constants for index.xml and index.jar throughout the code
2018-08-07 11:28:48 +02:00
Hans-Christoph Steiner
e8ec045c55
Merge branch 'finalize-basic-flavor' into 'master'
...
add Latest view to basic flavor
Closes #48
See merge request fdroid/fdroidclient!723
2018-08-02 08:59:28 +00:00
Hans-Christoph Steiner
8ad951317a
set basic flavor app name to "F-Droid Basic"
2018-07-31 16:20:31 +02:00
Hans-Christoph Steiner
cdf419d1fe
set Basic to use auto-download by default
...
This will give us a nice testing ground for how this will work for the main
build flavor.
fdroid/fdroidclient#932
2018-07-31 16:20:07 +02:00
Hans-Christoph Steiner
49e1e0bf17
add separate, rough icon for F-Droid Basic
2018-07-31 16:09:45 +02:00
Hans-Christoph Steiner
af7b94ff4c
add Latest view to basic flavor
...
This is a quick hack to reuse the Latest view with a slightly simpler
layout. It makes the "basic" flavor fully functional as an fdroid client.
The goal here is just to have something simpler with as little new code as
possible. It is essential that the whitelabeling and "Light" aka "basic"
flavor does not increase the maintenance load.
closes fdroid/fdroidclient#48
fdroid/fdroidclient!692
fdroid/fdroidclient!695
2018-07-31 15:06:09 +02:00
Hans-Christoph Steiner
8e0c355534
version code 1003050
1.3
2018-07-31 14:40:32 +02:00
Hans-Christoph Steiner
a0bc2335ef
update changelog
2018-07-31 14:40:32 +02:00
Hans-Christoph Steiner
6c6e3ad82d
Merge branch 'finalize-1.3' into 'master'
...
Finalize 1.3
Closes #1438 , #1533 , and #1527
See merge request fdroid/fdroidclient!721
2018-07-31 11:11:12 +00:00
Hans-Christoph Steiner
8f393d9f43
hide "Include touchscreen apps" pref on devices with touchscreen
...
closes fdroid/fdroidclient#1438
2018-07-31 12:19:07 +02:00
Hans-Christoph Steiner
3a501c9eac
show PendingInstall and Installing in the Updates tab
2018-07-30 18:03:45 +02:00
Hans-Christoph Steiner
fe37695751
show "Anti-features" in list view when app is filtered
...
closes fdroid/fdroidclient#1533
2018-07-30 18:03:45 +02:00
Hans-Christoph Steiner
90acd75b90
purge broken, semi-used root filtering preference
...
RequiresRoot should become an Anti-Feature or <uses-feature> or
something like that. Having it a one-off makes it too brittle
fdroid/fdroidclient#928
2018-07-30 18:03:12 +02:00
Hans-Christoph Steiner
109a927a68
show downloading header on Downloading/PendingInstall status
...
PendingInstall means that the user considers the install still in process,
like when F-Droid gets killed in the background. There is unfortunately no
reliable way currently to ensure that removePendingInstall() is called when
the app is finally installed so we can't use it here.
This reverts a small part of 1c50e2891054b629e2af6b2d0b1fc89e0b1cf18b
closes fdroid/fdroidclient#1527
fdroid/fdroidclient#1532
2018-07-30 18:02:03 +02:00
Hans-Christoph Steiner
8f8aa44f43
simplify reseting package when coming to App Details screen
2018-07-30 18:02:03 +02:00
Hans-Christoph Steiner
395efa2e3f
mark app as installed only after F-Droid has processed the installed APK
...
InstalledAppProviderService also updates the AppUpdateStatus of any
package installs that are still in progress. Most importantly, this
provides the final status update to mark the end of the installation
process. It also errors out installation processes where some outside
factor uninstalled the package while the F-Droid process was underway, e.g.
uninstalling via adb, updates via Google Play, Yalp, etc.
fdroid/fdroidclient#1536
fdroid/fdroidclient#1357
2018-07-30 18:02:03 +02:00
Hans-Christoph Steiner
7d808b6e73
prevent Update button in Updates tab from being clicked multiple times
...
fdroid/fdroidclient#1357
2018-07-30 18:02:03 +02:00
Hans-Christoph Steiner
a2361df854
hide "Update All" button once clicked to prevent repeated clicks
...
fdroid/fdroidclient#1357
2018-07-30 18:02:03 +02:00
Hans-Christoph Steiner
e49d8c92df
remove unused eu.chainfire:libsuperuser library
...
I forgot to remove this in ab767ce621b92c5aa82c16e1edfd0aa724293391
fdroid/fdroidclient#982
2018-07-30 18:02:03 +02:00
Markel Cuesta Manciles
d4ebed134d
Translated using Weblate (Spanish)
...
Currently translated at 99.3% (432 of 435 strings)
2018-07-30 17:28:56 +02:00
Omar Aglan
fb98c75210
Translated using Weblate (Arabic)
...
Currently translated at 99.7% (434 of 435 strings)
2018-07-30 17:28:51 +02:00
Hans-Christoph Steiner
6184bf6813
Merge branch 'weblate' into 'master'
...
Weblate
See merge request fdroid/fdroidclient!720
2018-07-30 12:29:50 +00:00
Hans-Christoph Steiner
9cd3d81783
Weblate
2018-07-30 12:29:50 +00:00
Hans-Christoph Steiner
94e87d83c5
version code 1003005
1.3-alpha5
2018-07-21 00:52:13 +02:00
Hans-Christoph Steiner
2aa72ff2ac
update CHANGELOG
2018-07-21 00:52:13 +02:00
Hans-Christoph Steiner
6876088ede
Merge branch 'big-install-process-event-overhaul' into 'master'
...
Big install process event overhaul
Closes #1357
See merge request fdroid/fdroidclient!717
2018-07-20 22:55:23 +00:00
Hans-Christoph Steiner
01280d65a5
show different inline button when installing app
...
This could definitely use a better design treatment, but at least it is
better than showing the "click to install" button again during the install
process.
closes #1357
2018-07-21 00:49:53 +02:00
Hans-Christoph Steiner
5e75bc060c
remove unneeded method, it is only called once by the method above
2018-07-21 00:49:53 +02:00
Hans-Christoph Steiner
8feb735140
disable inline install/progress button when active
...
refs #1357
2018-07-21 00:49:53 +02:00
Hans-Christoph Steiner
1c50e28910
use new PendingInstall mechanism to control AppDetails buttons
...
This should hopefully give more reliable display/hiding of the buttons.
refs #1357
2018-07-21 00:49:53 +02:00
Hans-Christoph Steiner
bda755584f
Merge branch 'whitelabel-privileged-extension' into 'master'
...
support whitelabeled Privileged Extension
Closes #982
See merge request fdroid/fdroidclient!716
2018-07-20 22:09:21 +00:00
Hans-Christoph Steiner
d1cbbe72d7
when canceling download, delay removeApk() until its no longer needed
...
This was deleting the Apk from appMapping too fast, so the later status
updates couldn't be sent.
2018-07-21 00:07:54 +02:00
Hans-Christoph Steiner
2ff47ed5c3
remove unneeded startInstall() method to make tracing easier
...
Now tracing where .queue() is used is more direct.
2018-07-21 00:07:54 +02:00