[kmail] [Bug 230635] KMail doesn't preserve date when syncing with Gmail

2014-02-26 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=230635

Wolfgang Bauer  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
   Version Fixed In||4.13
 Resolution|--- |FIXED
  Latest Commit||http://commits.kde.org/kdep
   ||im-runtime/0e6716989f3025aa
   ||4418d09066fef2863492280a

--- Comment #7 from Wolfgang Bauer  ---
Git commit 0e6716989f3025aa4418d09066fef2863492280a by Wolfgang Bauer.
Committed on 26/02/2014 at 20:47.
Pushed by wbauer into branch 'master'.

imap resource: set the internal date as specified in the mail's header
for an APPEND command

Currently, for an APPEND command there is no internal date specified.
Therefore an IMAP server sets the current date/time for an appended
EMail, see http://tools.ietf.org/html/rfc3501#section-6.3.11 .

While this doesn't matter to KMail (it uses the date/time from the
mail's header anyway), other clients (especially Webmail) may show/sort
by this internal date.

This patch sets the internal date to the date/time as specified in the
mail's header.
FIXED-IN: 4.13
REVIEW: 113254

M  +1-0resources/imap/additemtask.cpp

http://commits.kde.org/kdepim-runtime/0e6716989f3025aa4418d09066fef2863492280a

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail] [Bug 230635] KMail doesn't preserve date when syncing with Gmail

2014-02-26 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=230635

--- Comment #6 from Wolfgang Bauer  ---
Git commit 54f46e93daba73b35d7138e8327fc22719e2d612 by Wolfgang Bauer.
Committed on 26/02/2014 at 20:08.
Pushed by wbauer into branch 'master'.

kimap: add methods to set/get the internal date for an APPEND query

This patch adds the methods AppendJob::setInternalDate() and
AppendJob::internalDate().
Those can be used to set the internal date for the APPEND command, see
http://tools.ietf.org/html/rfc3501#section-6.3.11 .

If setInternalDate() is not called, the exact same query is generated as
before, so existing users of AppendJob should not break.

This is needed to fix bug#230635, see
https://git.reviewboard.kde.org/r/113254/
REVIEW: 113253

M  +17   -0kimap/appendjob.cpp
M  +21   -0kimap/appendjob.h
M  +14   -3kimap/tests/appendjobtest.cpp

http://commits.kde.org/kdepimlibs/54f46e93daba73b35d7138e8327fc22719e2d612

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail] [Bug 230635] KMail doesn't preserve date when syncing with Gmail

2013-10-14 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=230635

Wolfgang Bauer  changed:

   What|Removed |Added

 CC||wba...@tmo.at

--- Comment #5 from Wolfgang Bauer  ---
I created two review requests to fix this:
https://git.reviewboard.kde.org/r/113253/
https://git.reviewboard.kde.org/r/113254/

They seem to work fine here.

If anyone wants to try these, please do so and report back.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail] [Bug 230635] KMail doesn't preserve date when syncing with Gmail

2013-10-06 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=230635

Wolfgang Bauer  changed:

   What|Removed |Added

 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1

--- Comment #4 from Wolfgang Bauer  ---
*** This bug has been confirmed by popular vote. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail] [Bug 230635] KMail doesn't preserve date when syncing with Gmail

2013-02-08 Thread Piotr Suwara
https://bugs.kde.org/show_bug.cgi?id=230635

Piotr Suwara  changed:

   What|Removed |Added

 CC||peter_de_sow...@o2.pl

--- Comment #3 from Piotr Suwara  ---
I confirm it, KDE 4.10.00, Arch Linux, updated today.

This is not only problem with GMail IMAP, but IMAP alone. KMail should send the
time it wishes to set as an INTERNALDATE in the APPEND command, as specified in
http://tools.ietf.org/html/rfc3501#section-6.3.11 , as Andy wrote before. Now,
copying any mails from other mailboxes to an IMAP account results in broken
internal dates.

Although this is not seen in KMail, which relies on the message headers, it
makes quite a problem when managing copied mails in webclients. Using IMAP one
usually expects it to work gladly in both cases.

IMHO the bug is quite annoying, there are some complains about it on the
Internet, and still no solution (going through Thunderbird is not a KDE
solution): https://www.google.pl/search?q=kmail+gmail+timestamps

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail] [Bug 230635] KMail doesn't preserve date when syncing with Gmail

2013-02-03 Thread Suniobo
https://bugs.kde.org/show_bug.cgi?id=230635

Suniobo  changed:

   What|Removed |Added

 CC||suni...@fastmail.fm

--- Comment #2 from Suniobo  ---
Can confirm the same behavior in Debian GNU/Linux 7.0 (wheezy) KMail Version
1.13.7 Using KDE Development Platform 4.8.4 (4.8.4). And this bug is not about
only GMail IMAP implementation so if you have big mail archive  and decide to
move it to another mail service with IMAP support via KMail you will get broken
letter dates!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs