Commit Graph

358 Commits

Author SHA1 Message Date
Gabriele M
4196ccb301 Don't use wakup alarms to check for updates
There's no need to wake the device just to check for new updates.
2017-07-03 16:08:30 +02:00
Gabriele M
f26cb61aa0 Check for new updates every day
Compare the previously downloaded updates list with the current one
and check if the old list includes all the updates of the new list.
If the network is not available at the time of the check, a new
check is scheduled.
2017-07-03 01:18:19 +02:00
Gabriele M
264fb5fc58 Improve notifications
Reorder the content of the notification and add the download
progress as text, the current speed and the ETA.
2017-07-02 22:44:32 +02:00
Gabriele M
a26c03a19a Save download speed in UpdateDownload 2017-07-02 22:26:43 +02:00
Gabriele M
c30940649c Treat major upgrades as a special case
Major upgrades are compatible, but shouldn't be allowed since they
require some manual extra steps.
2017-07-02 22:26:43 +02:00
Gabriele M
13edaf4690 Allow to install updates from the notification 2017-07-02 22:26:43 +02:00
Gabriele M
1e20caffc4 Throw an exception when trying to install unverified downloads
Don't silently ignore the request. This will allow to display some
useful message to the user.
2017-07-02 22:26:43 +02:00
Gabriele M
e7511d0041 Project init 2017-07-02 18:13:34 +02:00