Commit graph

26 commits

Author SHA1 Message Date
Enrique J. Hernández Blasco 12ac1d30de oc: Implement edit own and delete own in GCSFolders
And returning back PidTagCreatorName.

This is done by checking the owner of the resource if the given
permission is restricted to edit/delete own items.

This requires a52bc3b to work in calendar folders as it requires to store and retrieve
the MAPI custom permissions in the ACL.
2016-02-16 14:55:21 +01:00
Enrique J. Hernández Blasco b92ca092ed oc: Remove specialised PidTagAccess and PidTagAccessLevel
As the generic one from MAPIStoreMessage applies here since
we use subscriberCan* protocol to know the values from these
properties.
2016-02-16 14:55:21 +01:00
Enrique J. Hernández Blasco e08ee9a265 oc: Use enum mapistore_error instead of int
This specifies a little the scope of the variable to make it
more realistic with the actual values it may have. We do have
a static typed compiled language, why don't we use it?
2016-02-15 15:44:14 +01:00
Enrique J. Hernández 0622980f38 Merge pull request #205 from zentyal/jag/dont-sync-contact-group-from-sogo
Do not save IPM.DistList messages
2015-11-19 10:39:59 +01:00
Javier Amor García a73df96b78 [MAPIStoreGCSMessage getPidTagChangeKey:inMemCtx:] return on error
This method aborted when no PidTagChangeKey was found and the new flag was not
set. Now it returns MAPISTORE_ERR_NOT_FOUND.
2015-11-18 18:25:24 +01:00
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 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 b4d8609236 Monotone-Parent: c8921f898d8810ab70f86851a0449a28dc34eb89
Monotone-Revision: ccc94ebd9d872963c33041a7cac766343762bef2

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-06-01T15:15:30
Monotone-Branch: ca.inverse.sogo
2012-06-01 15:15:30 +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 1e51850d6e Monotone-Parent: 14df382f39f38461d724751dad6ea4e1e8ee57c7
Monotone-Revision: f192e1f1ce3ef4fc536470409d175d3bc7cb4bad

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-12T05:56:32
Monotone-Branch: ca.inverse.sogo
2012-03-12 05:56:32 +00:00
Wolfgang Sourdeau c4292714b5 Monotone-Parent: 1e532558ba17916d33138e4c65d283faf4d0e929
Monotone-Revision: 3d21b0780b7affb529a020d89dcbf84325264c7d

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-02T20:44:24
Monotone-Branch: ca.inverse.sogo
2012-03-02 20:44:24 +00:00
Wolfgang Sourdeau 4b81cb167d Monotone-Parent: 4e23e038f2b0b7eddf8b30700b8c9a8910768f98
Monotone-Revision: 9235e5dc4d151a3cba8ad842ac39e1b2d18c8201

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-01-29T19:55:21
Monotone-Branch: ca.inverse.sogo
2012-01-29 19:55:21 +00:00
Wolfgang Sourdeau e846ec1b8c Monotone-Parent: 4e64b83fb714d395f79db3b2cd5c49a57e14f1f0
Monotone-Revision: 14109a6df43dc184c83153fd032827c7dc242db9

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-12-01T22:36:16
Monotone-Branch: ca.inverse.sogo
2011-12-01 22:36:16 +00:00
Wolfgang Sourdeau 7fa025c355 Monotone-Parent: 0e67d5e5243429d84d07553a966befe16961db76
Monotone-Revision: d589e40f05abe383340293f75981bab0f0ee6396

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-10-14T19:42:16
Monotone-Branch: ca.inverse.sogo
2011-10-14 19:42:16 +00:00
Ludovic Marcotte 4e6a070fdc Replaced all references to 0xffffffffffffffff/0xffffffffffffffffLL with ULLONG_MAX
Monotone-Parent: 04a0346af8290ab531d44883c56b4b27443baade
Monotone-Revision: d7e6ea19eaf3a8552c44ce60ed58b2efa54b9a27

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-10-07T18:30:15
Monotone-Branch: ca.inverse.sogo
2011-10-07 18:30:15 +00:00
Wolfgang Sourdeau fcad5d186b Monotone-Parent: 6bb1bd2b9a63daae8f56da56b2ba72ac8bad2d3e
Monotone-Revision: a84224f7e18c7678f6ed4be61800899d8fb9286d

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-09-23T19:27:21
Monotone-Branch: ca.inverse.sogo
2011-09-23 19:27:21 +00:00
Wolfgang Sourdeau 4898c0cf77 Monotone-Parent: 07cb9d1891b96efc9f2a3c78eacb86dadf65aaa2
Monotone-Revision: d4d8cd09603e421c6484fb4c83e461c0f987a5ab

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-09-20T19:38:23
Monotone-Branch: ca.inverse.sogo
2011-09-20 19:38:23 +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 efdee42eba Monotone-Parent: 9a2499685fbc7c107c6a8a04f34c7435343e64f4
Monotone-Revision: 24436aa1f7c157e01afd314ceccdf0d59418faa7

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-08-12T18:40:07
Monotone-Branch: ca.inverse.sogo
2011-08-12 18:40:07 +00:00
Wolfgang Sourdeau 22eedad363 Adjusted license terms to GPL v3 in every files
Monotone-Parent: 40a650719396cb82af520f186bbd67d0cd22e776
Monotone-Revision: 6b69f89d586a065c3777dccbf188959c7728e86a

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-08-12T15:02:01
Monotone-Branch: ca.inverse.sogo
2011-08-12 15:02:01 +00:00
Wolfgang Sourdeau c40d8788f2 Monotone-Parent: c40c5c6ccb865a2765307f1e9a53f079e5486bb4
Monotone-Revision: e5c4217c6e36b401e5a327f56f52df4391fc0526

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-07-29T20:58:04
Monotone-Branch: ca.inverse.sogo
2011-07-29 20:58:04 +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 2974a91c5e Monotone-Parent: a1865313ff7142cbf139f7645dcbb299dd1acb92
Monotone-Revision: 06779f0bbfe40e7611b69790cf2eff4809382438

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-06-07T00:17:46
Monotone-Branch: ca.inverse.sogo
2011-06-07 00:17:46 +00:00
Wolfgang Sourdeau 62819158a2 Monotone-Parent: 4145adf93ef8240fbc95fd6f31b0d341f430af27
Monotone-Revision: 17790db0c2368364683e4074a491e7107c6cf071

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