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
ed4ca3bd1b
oc: add talloc reference to indexing context
...
We have a cache with user contexts (objc) which have mapping contexts (objc)
where we store the indexing context (c) which will be freed by openchange
code once the connection is closed.
Right now all indexing context created for an user are the same,
independently when in time was created or by which connection, etc...
So this is a valid workaround, but this has to be refactored to used the
indexing context of the current connection that is performing the
call to SOGo backend.
2014-11-19 17:12:29 +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
Kamen Mazdrashki
6de298d202
oc/MAPIStoreMapping: Split the check for existing entry so we have better error message
...
Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
2014-07-02 15:18:49 +02:00
Jesús García Sáez
95298de9f1
avoid infinite loop when trying to update a folder id
2014-07-02 14:45:52 +02:00
Jesús García Sáez
f6d1a37127
use properly get_uri function and check ret value
2014-07-02 14:44:23 +02:00
Carlos Pérez-Aradros Herce
fd308b592f
Converted all the indexing code to indexing backends
2014-07-02 14:41:51 +02: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
420e5e0759
include inttypes.h for PRIx64
2012-10-10 11:55:06 -04:00
Wolfgang Sourdeau
c9dad4cab6
Make use of +[NSString stringWithUnsignedLongLong:] from NGExtensions
2012-10-09 14:14:58 -04:00
Wolfgang Sourdeau
1b02490e85
Improved the performance of the dict population by using NSString keys rather than NSNumber ones. The discussion here " https://savannah.gnu.org/bugs/?37494 " seems to indicate that this occurs only with old versions of GNUstep.
2012-10-03 11:25:47 -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
e5a3948468
Monotone-Parent: 586a2e5adebfaf2123f3514dffa057f7f0f0574e
...
Monotone-Revision: 8dee72c8fdafae92791aa552c3705e9c68f5c59e
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-16T16:30:58
Monotone-Branch: ca.inverse.sogo
2012-08-16 16:30:58 +00:00
Wolfgang Sourdeau
db43dcdd0d
Monotone-Parent: ded960271197442de0917fc8f66509f7377b6a75
...
Monotone-Revision: 62face8d68b60cbdfeed3e1857fabd32fceffb4c
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-13T17:48:57
Monotone-Branch: ca.inverse.sogo
2012-08-13 17:48: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
Ludovic Marcotte
90b99e5020
Fix for samba alpha 17
...
Monotone-Parent: 48c12fa641df69cf590eb612abe134cece64c376
Monotone-Revision: c175274e0e82f9e287d4641095f40892fc1769c2
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-10-07T10:27:59
Monotone-Branch: ca.inverse.sogo
2011-10-07 10:27:59 +00:00
Wolfgang Sourdeau
6fb8f7c6a0
Monotone-Parent: 076ed69149c82caa88ef18783648e525e98af4b7
...
Monotone-Revision: 0d19e885a7f8be171d1439b137c806b999725da7
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-10-03T22:21:36
Monotone-Branch: ca.inverse.sogo
2011-10-03 22:21:36 +00:00
Wolfgang Sourdeau
132987d8bc
Monotone-Parent: cb5283601b9539bb382aa64a739bf758b9e2ac7f
...
Monotone-Revision: e064a5558d641325b03001de47cede6db61eed32
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-10-03T20:55:02
Monotone-Branch: ca.inverse.sogo
2011-10-03 20:55:02 +00:00
Wolfgang Sourdeau
5b8c945771
Monotone-Parent: 48d871020907e9d3edbaad7e7faa05b3e59762a8
...
Monotone-Revision: 58fc0f1597d49691640645ab8d706662ca149ff6
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-09-21T19:27:31
Monotone-Branch: ca.inverse.sogo
2011-09-21 19:27:31 +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
Ludovic Marcotte
8fb4411dd6
See ChangeLog
...
Monotone-Parent: 34186beb96b4e03796e53fcc658539fd1c3dbb8a
Monotone-Revision: 8027e57cbf5cbb4ab2ee6bf9509fe2f571f150c1
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-09-04T16:25:32
Monotone-Branch: ca.inverse.sogo
2011-09-04 16:25:32 +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
0aeea9c75a
Monotone-Parent: 267b360550dcc02b5b9590b3fe3268d521bd74e4
...
Monotone-Revision: 966b77a3109d255093e5c3e3e6fc320faacbc162
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-08-04T14:10:58
Monotone-Branch: ca.inverse.sogo
2011-08-04 14:10:58 +00:00
Wolfgang Sourdeau
7a5f67babe
Monotone-Parent: 48c9c37f78835c3255c4103136b86bdfcaaca051
...
Monotone-Revision: d9c62c6e142174bc3d2adb12ee04492347c95ede
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-07-29T02:13:39
Monotone-Branch: ca.inverse.sogo
2011-07-29 02:13:39 +00:00
Wolfgang Sourdeau
4d288c96f6
Monotone-Parent: a7450cb20f9b7540324748f847e35d9eb3e1ba15
...
Monotone-Revision: 62a7456859ae701daeb595d318eaba439c816312
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-06-23T13:57:09
Monotone-Branch: ca.inverse.sogo
2011-06-23 13:57:09 +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
ea416559ca
Monotone-Parent: 8fcaef79630a50f01c6aba0e5fdc0744c274cba6
...
Monotone-Revision: 87fd75f525e094b816fcad443e6fe4b2c8c8479c
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-03-07T21:33:13
Monotone-Branch: ca.inverse.sogo
2011-03-07 21:33:13 +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
9430469fc3
Monotone-Parent: 8a88ed0919545d898ca1af80de43b6ab28ebe09d
...
Monotone-Revision: 457e7580f987752aad70b0d14d6fe0438d4de150
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-12-14T16:16:43
Monotone-Branch: ca.inverse.sogo
2010-12-14 16:16:43 +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
Wolfgang Sourdeau
66a351a4a7
Monotone-Parent: ec54181fac1ae10c46d9a775c56333ca9d51afaa
...
Monotone-Revision: da16a0c128e894d870f111d269532e1f39922ac1
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-11-25T16:21:07
Monotone-Branch: ca.inverse.sogo
2010-11-25 16:21:07 +00:00
Wolfgang Sourdeau
c528bcd29a
Monotone-Parent: 3dcf94352c5cd46c85e96c73b1a937bc01cd0f16
...
Monotone-Revision: dfd1432deb15d83cbdbaf1744401c991a8101e4f
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-11-22T16:03:30
Monotone-Branch: ca.inverse.sogo
2010-11-22 16:03:30 +00:00
Wolfgang Sourdeau
b9e9e98b8a
Monotone-Parent: 1bfbaaca3307c1a812cb3497c3ba798763d4cf84
...
Monotone-Revision: f1900034c6158da6fe5653d397df1fb994977b15
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-11-19T21:18:43
Monotone-Branch: ca.inverse.sogo
2010-11-19 21:18:43 +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
7685b34daf
Monotone-Parent: 77e266118db7711a96eaa7860269a06901b65f60
...
Monotone-Revision: 1c9f1cddb35ec2af1a800051b41880aec42781be
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-10-14T21:37:39
Monotone-Branch: ca.inverse.sogo
2010-10-14 21:37:39 +00:00
Wolfgang Sourdeau
bc120fc377
Monotone-Parent: efc513aec8f8216ade9f9e1724fbe47cad52f200
...
Monotone-Revision: 1e6a6ef91a600782e846f11a352429b61e59c2a9
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-10-13T21:40:50
Monotone-Branch: ca.inverse.sogo
2010-10-13 21:40:50 +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
6a615d1bce
Monotone-Parent: b178183ad97d53d251135c909db06ab534f73a1f
...
Monotone-Revision: 2f0de4e385f44a298816cfffb2c3770058bdba02
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-10-01T21:31:58
Monotone-Branch: ca.inverse.sogo
2010-10-01 21:31:58 +00:00
Wolfgang Sourdeau
e4b127bb53
reindentation
...
Monotone-Parent: 215f30784ae8904703b5fa172c7a563bf8f3b464
Monotone-Revision: 2f37714ba202d0c2f6bc3c888440ea82ee601d66
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-10-01T20:35:29
Monotone-Branch: ca.inverse.sogo
2010-10-01 20:35:29 +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