Commit Graph

21 Commits (459b183a42314d99d4a9a20bd17fa46e6ed2fe4c)

Author SHA1 Message Date
Enrique J. Hernández Blasco bddd67fb93 oc: Enforce the folder creation mapping when the FID exists
We believe the folder ID OpenChange is sending us is new
and we keep the indexing database properly updated.

Although the solution is not elegant, this could avoid
inconsistencies between what the client stores and the
relation in the MAPIStore backend.
2015-04-13 11:48:42 +02:00
Enrique J. Hernández Blasco b67e1deda5 oc-folder: Make deleted items synched when shared
By keeping mid on moving messages by soft deleting and
only if srcMid is different from targetMid.

This makes restore/shared deleted items work.

It also requires to do the following to work smoothly:

* Do not add soft-deleted messages in ensureIDsForChildKeys
* Return soft-deleted messages on getDeletedFMIDs
* Do not register a new mid if the URL is matched with soft deleted messages
2014-11-19 17:12:31 +01:00
Enrique J. Hernández Blasco be60fdebcc oc-folder: Flags are now used in indexing db when deleting a msg
Unregistering the URL in indexing db accordingly to the flags (SOFT or HARD)
2014-11-19 17:12:30 +01:00
Jesús García Sáez bb9764bc6b Revert "oc: cached usercontext updates indexing_context"
This reverts commit 0750f64b787db088e944756b66fbd0883cf44cbf.
2014-11-19 17:12:28 +01:00
Jesús García Sáez a7c2054cce oc: cached usercontext updates indexing_context
Instead of use always the one given on initialization
2014-11-19 17:12:28 +01:00
Carlos Pérez-Aradros Herce a6bfb9d5c5 Use indexing generic code instead of tdb private funtions 2014-07-02 14:41:40 +02:00
Carlos Pérez-Aradros Herce 33b353b974 Moved to abstract index_context instead of tdb_wrap 2014-07-02 14:41:25 +02:00
Wolfgang Sourdeau 9e551cca5b registerURLs:withIDs: now takes an array of NSNumber or NSString instances 2012-10-12 23:27:05 -04:00
Wolfgang Sourdeau 641eb8013b -registerURLs:withIDs: new method to register multiple urls at once 2012-10-12 17:44:26 -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 e146ba68e6 Monotone-Parent: 8d4ca03b16c54609dce23f43fc358a43d7e96d99
Monotone-Revision: 047b040e318a98223980da2af8241b7eb6d75341

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-13T03:55:48
Monotone-Branch: ca.inverse.sogo
2012-08-13 03:55:48 +00:00
Wolfgang Sourdeau c97bab4457 Monotone-Parent: 6cab0a382f42089e9c8aa95c4ce8740cabe5cd1c
Monotone-Revision: 075d74e27ae04f20b3c4704bd989f61c0e07ddf6

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-10-17T15:29:14
Monotone-Branch: ca.inverse.sogo
2011-10-17 15:29:14 +00:00
Wolfgang Sourdeau d873840031 Monotone-Parent: 4138731669f6496c58a7c665ee66513f2b2304ab
Monotone-Revision: 5c85a1a1d9228ad7653497f882f4fccc69f1d924

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-08-10T18:32:53
Monotone-Branch: ca.inverse.sogo
2011-08-10 18:32:53 +00:00
Wolfgang Sourdeau 3b0b350ff3 Monotone-Parent: c852be1d5a70f9aa1ee5a5b4e45b30bd3ef86939
Monotone-Revision: 1ed44d9759e8a5f57b9c55905872081bf8fec785

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-06-03T23:53:30
Monotone-Branch: ca.inverse.sogo
2011-06-03 23:53:30 +00:00
Wolfgang Sourdeau 952404d05f Monotone-Parent: a830e73fbed57c6ef30ede64ea5bfa6d85af8f74
Monotone-Revision: ade57d95f9e3d9e8015757ea30d104d416c32d67

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-02-03T22:09:41
Monotone-Branch: ca.inverse.sogo
2011-02-03 22:09:41 +00:00
Wolfgang Sourdeau e5d78bc019 Monotone-Parent: a40a2bc11f2bf943ab20c6abf092bca19c4bd438
Monotone-Revision: 2db4338dd998f18b628af9db5099265a3c0449bc

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-12-13T16:54:32
Monotone-Branch: ca.inverse.sogo
2010-12-13 16:54:32 +00:00
Ludovic Marcotte 864a888124 Adjusted the GPL version used to better match the requirements of the OpenChange project
Monotone-Parent: 5d26777e48d1f76d4cc5c2f7125008e236e3b61b
Monotone-Revision: b7715dca41945ec8af6e621dd1ca4d2406198824

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2010-10-18T12:57:31
Monotone-Branch: ca.inverse.sogo
2010-10-18 12:57:31 +00:00
Wolfgang Sourdeau 92030a5996 Monotone-Parent: 6c4cf7f3dbb7e635d914fed1a257163b82cd9517
Monotone-Revision: ca4fbefac87810f783af4e8524407ee848ae6b3f

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-10-15T17:18:34
Monotone-Branch: ca.inverse.sogo
2010-10-15 17:18:34 +00:00
Wolfgang Sourdeau cfe04bb0c6 Monotone-Parent: 59d160b60daebebf7589645c180056eb1cc90294
Monotone-Revision: 141ad1bae936fb5a1442f7b24d77771ed518e940

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-10-13T15:30:01
Monotone-Branch: ca.inverse.sogo
2010-10-13 15:30:01 +00:00
Wolfgang Sourdeau 97fd630b6d Monotone-Parent: 5f2d5fb8116e0deaf1dacd6a19b71fa1c3b6e4a7
Monotone-Revision: 3a5f24d1dfce8a3edf53ed7593c2f7de3e47b150

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-10-12T21:37:09
Monotone-Branch: ca.inverse.sogo
2010-10-12 21:37:09 +00:00
Wolfgang Sourdeau 1440a686c0 initial import of the SOGo OpenChange backend
Monotone-Parent: 5f57280bc0c8371b942a310b60e1dfa1a790fb84
Monotone-Revision: 3afb1a5821a35e93f30a0c82c6e0594ea2285efb

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-10-01T18:54:30
Monotone-Branch: ca.inverse.sogo
2010-10-01 18:54:30 +00:00