Commit graph

15 commits

Author SHA1 Message Date
Juan Vallés 8800cdf641 oc-calendar: force cache synchronisation for a message before aborting
Sometimes we're trying to get the `objectVersion` of a calendar message,
but this message's entry is not in the cache. The method
`synchroniseCache` won't work in this case, so we try to force the
synchronisation of that particular message in order to get the change
number before aborting.
2015-10-20 11:33:10 +02:00
Enrique J. Hernández Blasco 321672e2c3 oc: Update predecessor change list on saving
There were cases where only the change key was updated (GCS) or
others were the change key was updated with wrong info.

This changeset has as goal to update the predecessor change list
and, change key if required, on saving taking into account the latest information
given by the client in high level ROPs such as ImportMessageMove
or SetProperties, and merge it with information provided by the server
backend (IMAP server, SOGo DB) using `synchroniseCache`.

For more details about `PidTagChangeKey` and `PidTagPredecessorChangeList`
property values check [MS-OXCFXICS] Section 2.2.1.2
2015-08-04 08:41:38 +02:00
Wolfgang Sourdeau dec64722c8 Use NSString instances for representing change numbers, rather than NSNumber 2012-10-13 09:59:13 -04:00
Wolfgang Sourdeau e86f5ff841 Monotone-Parent: 78c0405a3665172ccb21ec34bba08331cc479f71
Monotone-Revision: e70a6a4e35fcf0aacec5ec5ef392c0c8e6bb4e31

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-21T20:36:32
Monotone-Branch: ca.inverse.sogo
2012-08-21 20:36:32 +00:00
Wolfgang Sourdeau bde4b22ba7 Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097
Monotone-Revision: 105b571703ff5c4cc1024854ef8a1d987aef2bf1

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-17T19:04:57
Monotone-Branch: ca.inverse.sogo
2012-08-17 19:04:57 +00:00
Wolfgang Sourdeau 95a443d89a Monotone-Parent: 3f8608c82d9c379cc9e0fea6ffe853cc1949a24b
Monotone-Revision: 905276f295d6f28a6946297f6a7af9ad60f71842

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-06-29T17:59:38
Monotone-Branch: ca.inverse.sogo
2012-06-29 17:59:38 +00:00
Wolfgang Sourdeau 26701b7c71 Monotone-Parent: 34a0500cef031e53eda3a1a6c3b2f626ce8f76dc
Monotone-Revision: f4e8a715d67a12fea729843b1401f636ce05ed66

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-16T21:05:41
Monotone-Branch: ca.inverse.sogo
2012-03-16 21:05:41 +00:00
Wolfgang Sourdeau 98bf3201e7 Monotone-Parent: 75575dc685de1258c4ba450e53c12e11c7954b71
Monotone-Revision: 28a24e19c42fd0a497caf994e8b2f88fc7432164

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-12T06:03:56
Monotone-Branch: ca.inverse.sogo
2012-03-12 06:03:56 +00:00
Wolfgang Sourdeau 1ffc1d9cb9 Monotone-Parent: d70b16e4de0e51014c13f2e04c41c5dbaca8197a
Monotone-Revision: 0520cbbe794e4bb4de915dd4b488e316122faa8a

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-12-01T21:29:17
Monotone-Branch: ca.inverse.sogo
2011-12-01 21:29:17 +00:00
Wolfgang Sourdeau 0f35c72c24 Monotone-Parent: 6ea44b1efa1edb28f1218a700087fee83cb79305
Monotone-Revision: 2b0145bf6bbc08cf0fb2fc9d65b3fd914daa72c2

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-12-01T21:13:09
Monotone-Branch: ca.inverse.sogo
2011-12-01 21:13:09 +00:00
Wolfgang Sourdeau ed176ec946 Monotone-Parent: fde0ef781cb60652a47fc1c5edcece9225aafa07
Monotone-Revision: 07cb9d1891b96efc9f2a3c78eacb86dadf65aaa2

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-09-20T19:37:03
Monotone-Branch: ca.inverse.sogo
2011-09-20 19:37:03 +00:00
Ludovic Marcotte 057a38355b See ChangeLog
Monotone-Parent: 8027e57cbf5cbb4ab2ee6bf9509fe2f571f150c1
Monotone-Revision: 0ffde732abb09a8e3d0382ed47a3ec787f25796e

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-09-14T18:33:44
Monotone-Branch: ca.inverse.sogo
2011-09-14 18:33:44 +00:00
Wolfgang Sourdeau 2f2605dfcc Monotone-Parent: ec3d19f268090d56a33692cdc116485c488fd4d6
Monotone-Revision: 6b4e2f16b2a1ac3bbbb8f854763b7deb70bd8a46

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-07-28T00:55:50
Monotone-Branch: ca.inverse.sogo
2011-07-28 00:55:50 +00:00
Wolfgang Sourdeau 8dfda2873f Monotone-Parent: ab4b56bae1b03fc971ec45c668ed8a6bd9b23831
Monotone-Revision: c65e5de16bdce7bebdde2adc5fd2504e2066e9f2

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-05-30T21:12:56
Monotone-Branch: ca.inverse.sogo
2011-05-30 21:12:56 +00:00
Wolfgang Sourdeau dd0bea0dc9 Monotone-Parent: 17790db0c2368364683e4074a491e7107c6cf071
Monotone-Revision: 96b5a2580e3b0b6ba57af91d0fed6f513f8e13f0

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-02-24T20:32:27
Monotone-Branch: ca.inverse.sogo
2011-02-24 20:32:27 +00:00