From 8a5a7688d04e766fddadc1c400f6c9117ea225db Mon Sep 17 00:00:00 2001 From: Suman Chakravartula Date: Wed, 19 Aug 2015 16:09:51 -0700 Subject: [PATCH] remove polling and improve update-check and auto-update. Fixes #695 --- .../js/templates/update/version_info.jst | 6 ++-- src/rockstor/storageadmin/views/command.py | 24 +++++--------- src/rockstor/system/pkg_mgmt.py | 33 ++++++++++++++++++- 3 files changed, 44 insertions(+), 19 deletions(-) diff --git a/src/rockstor/storageadmin/static/storageadmin/js/templates/update/version_info.jst b/src/rockstor/storageadmin/static/storageadmin/js/templates/update/version_info.jst index b84e79cb8..48b3a510c 100644 --- a/src/rockstor/storageadmin/static/storageadmin/js/templates/update/version_info.jst +++ b/src/rockstor/storageadmin/static/storageadmin/js/templates/update/version_info.jst @@ -26,10 +26,10 @@

Rockstor is up-to-date. If you've updated recently, reload the browser(Ctrl+Shift+R) for latest UI changes.


<% if (autoUpdateEnabled) { %> -

Rockstor is configured to check for updates once a day and automatically update itself. If you so choose, you can disable auto update.

+

Rockstor is configured to check for package updates and automatically upgrade on a daily basis. This will keep your system up to date. While it's not recommended, you can disable this feature and only update when you want to.

Disable auto update <% } else { %> -

Rockstor can be configured to check for updates once a day and automatically update itself. We recommend you enable auto update.

+

Rockstor can be configured to check for package updates and automatically upgrade on a daily basis. We recommend you enable this feature to keep your system up to date without delay.

Enable auto update <% } %> <% } %> @@ -39,7 +39,7 @@