From ad919b8965ec98a0549c9ad75dd6f5053df895f4 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sat, 20 Apr 2013 16:30:47 +0200 Subject: added backgroundjob infos --- README.rst | 7 ++++++- js/app/app.coffee | 2 +- js/public/app.js | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 050084be5..036c7dbbd 100644 --- a/README.rst +++ b/README.rst @@ -29,7 +29,8 @@ Before you install the app check that the following requirements are met: - Your database uses utf-8 - Your webserver uses utf-8 - You use a browser that supports the FileReader API - +- You can use a cron or webcron to call Background Jobs in ownCloud +- (optional) install php-curl How to install the News app --------------------------- @@ -60,6 +61,8 @@ Should you have upgraded from a prior version, disable the CSS and JavaScript ca sudo chown -R www-data:www-data /var/www/news/cache +- `Set up ownCloud Background Jobs `_ to enable feed updates. A recommended timespan for feed updates is 15-30 Minutes. + How to keep up to date ---------------------- To get the newest update you can use git. To update the appframework use:: @@ -72,3 +75,5 @@ To update the News app use:: cd /var/www/news git pull --rebase origin master + + diff --git a/js/app/app.coffee b/js/app/app.coffee index bf2ab08ec..e859892cb 100644 --- a/js/app/app.coffee +++ b/js/app/app.coffee @@ -26,7 +26,7 @@ angular.module('News', ['OC', 'ui']).config ($provide) -> $provide.value 'Config', config = markReadTimeout: 500 scrollTimeout: 500 - feedUpdateInterval: 1000*60*10 + feedUpdateInterval: 1000*60*5 itemBatchSize: 20 # the autoPageFactor defines how many heights of the box must be left # before it starts autopaging e.g. if it was 2, then it will start diff --git a/js/public/app.js b/js/public/app.js index 10f9b4a7b..92f5f1926 100644 --- a/js/public/app.js +++ b/js/public/app.js @@ -41,7 +41,7 @@ License along with this library. If not, see . return $provide.value('Config', config = { markReadTimeout: 500, scrollTimeout: 500, - feedUpdateInterval: 1000 * 60 * 10, + feedUpdateInterval: 1000 * 60 * 5, itemBatchSize: 20, autoPageFactor: 6 }); -- cgit v1.2.3