Fix for saved entries download in Netvibes

This commit is contained in:
Muki 2017-02-09 17:55:06 +01:00
parent 4ceab9d581
commit cdffd378aa
6 changed files with 22 additions and 8 deletions

View file

@ -116,7 +116,7 @@ Page {
anchors.left: parent.left; anchors.right: parent.right
font.pixelSize: Theme.fontSizeExtraSmall
textFormat: Text.RichText
text: "Copyright © 2014-2016 Michal Kosciesza"
text: "Copyright © 2014-2017 Michal Kosciesza"
}
Label {

View file

@ -50,6 +50,15 @@ Page {
model: VisualItemModel {
SectionHeader {
text: qsTr("Version %1").arg("2.5.3")
}
LogItem {
title: 'Bug fixes for Netvibes'
description: "Bug related to syncing process in Netvibes has been fixed.";
}
SectionHeader {
text: qsTr("Version %1").arg("2.5.2")
}

View file

@ -8,6 +8,9 @@
# * date Author's Name <author's email> version-release
# - Summary of changes
* Tue Feb 09 2017 Michal Kosciesza 2.5.3-1
- FIX: Sync process did not download all saved articles in Netvibes
* Tue Jan 24 2017 Michal Kosciesza 2.5.2-2
- Critical bug fix

View file

@ -13,8 +13,8 @@ Name: harbour-kaktus
%{!?qtc_make:%define qtc_make make}
%{?qtc_builddir:%define _builddir %qtc_builddir}
Summary: Kaktus
Version: 2.5.2
Release: 2
Version: 2.5.3
Release: 1
Group: Qt/Qt
License: LICENSE
URL: https://github.com/mkiol/kaktus

View file

@ -1,7 +1,7 @@
Name: harbour-kaktus
Summary: Kaktus
Version: 2.5.2
Release: 2
Version: 2.5.3
Release: 1
# The contents of the Group field should be one of the groups listed here:
# http://gitorious.org/meego-developer-tools/spectacle/blobs/master/data/GROUPS
Group: Qt/Qt

View file

@ -281,6 +281,9 @@ void NvFetcher::fetchFeedsReadlater()
.arg(publishedBeforeDate);
}
//qDebug() << url.toString();
//qDebug() << content;
currentReply = nam.post(request, content.toUtf8());
connect(currentReply, SIGNAL(finished()), this, SLOT(finishedFeedsReadlater()));
connect(currentReply, SIGNAL(readyRead()), this, SLOT(readyRead()));
@ -964,7 +967,6 @@ void NvFetcher::finishedFeedsReadlater()
{
//qDebug() << data;
if (currentReply->error()) {
// Restoring backup
Settings *s = Settings::instance();
if (!s->db->restoreBackup()) {
@ -1097,9 +1099,8 @@ void NvFetcher::run()
break;
case StoreFeedsReadlater:
count = storeFeeds();
if (count<limitFeedsReadlater) {
if (count == 0)
publishedBeforeDate = 0;
}
break;
default:
qWarning() << "Unknown Job!";
@ -1631,6 +1632,7 @@ int NvFetcher::storeFeeds()
s->db->writeEntry(e);
++entriesCount;
//qDebug() << "entriesCount:" << entriesCount;
if (e.publishedAt>0)
publishedBeforeDate = e.publishedAt;