- added a logging info when updating the server feed
This commit is contained in:
parent
f2a4b47479
commit
71a4a7f0a4
4 changed files with 13 additions and 2 deletions
|
|
@ -42,6 +42,7 @@ ListModel {
|
|||
function update() {
|
||||
if (requestServerUpdate) {
|
||||
var ttrss = rootWindow.getTTRSS();
|
||||
ttrss.trace(2, "requesting the server to update the feed " + feed.feedId);
|
||||
ttrss.updateFeed(feed.feedId,
|
||||
function(successful, errorMessage) {
|
||||
if (successful) {
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ function initState(showAll) {
|
|||
'pref': { },
|
||||
'showall': false, // see getter/setter for documentation
|
||||
'closeIfEmpty': false, // Should pages close if they have no content to display
|
||||
'tracelevel': 1, // 1 = errors, 2 = key info, 3 = network traffic,
|
||||
'tracelevel': 2, // 1 = errors, 2 = key info, 3 = network traffic,
|
||||
// 4 = info, 5 = high detail
|
||||
'categorycache': {},
|
||||
'feedcache': {},
|
||||
|
|
@ -128,7 +128,7 @@ function initState(showAll) {
|
|||
*/
|
||||
function trace(level, text) {
|
||||
if(level <= state['tracelevel']) {
|
||||
console.log(text + '\n');
|
||||
console.log(level + '\t - ' + text);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
ttrss (0.5.2) unstable; urgency=low
|
||||
* updated translations from transifex
|
||||
* added reloading of server feed when update returns without new items
|
||||
|
||||
-- Hauke Schade <cnlpete@cnlpete.de> Mon, 13 Apr 2015 19:20:16 +0200
|
||||
|
||||
ttrss (0.5.1) unstable; urgency=low
|
||||
* added svedish and dutch translations
|
||||
* updated translations from transifex
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
* Mon Apr 13 2015 Hauke Schade <cnlpete@cnlpete.de> 0.5.2-1-dev
|
||||
- updated translations from transifex
|
||||
- added reloading of server feed when update returns without new items
|
||||
|
||||
* Wed Mar 18 2015 Hauke Schade <cnlpete@cnlpete.de> 0.5.1-1
|
||||
- updated translations from transifex
|
||||
- added dutch and svedish translations
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue