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
Julien Kerihuel
52ad0e0e5b
Prevent SOGo backend from crashing when mapistore_set_connection_info is
...
not called beforehand and connInfo is not initialized.
2014-11-19 17:12:28 +01:00
Kamen Mazdrashki
dc8b73b12b
oc/MailFolder: Add more logging so we can trace invalid message kyes
2014-11-19 17:12:28 +01:00
Kamen Mazdrashki
18acdf20a6
oc: Make sure we always use NSString keys in 'messages' dictionary
...
Different types for keys in Dictionaries leads to not finding
expected entry - we should make sure that everythime we set/get
entry from a dictionary, key object type is same
2014-11-19 17:12:27 +01:00
Kamen Mazdrashki
0a23f18fc9
oc: Set log level to 0 in samba-get-config script - it is very chatty during builds
...
This script is very "chatty" when "log level" is set to a high number
(usual scenario on developer machine)
2014-11-19 17:12:27 +01:00
Kamen Mazdrashki
b8366d796d
oc/util: Tune dbmsgreader for new caching classes names
2014-11-19 17:12:27 +01:00
Jesús García Sáez
5ee8cb3a3f
oc-rtf: check valid font name when generating <font> tag
2014-11-19 17:12:27 +01:00
Jesús García Sáez
4e3a242f2f
oc-rtf: Don't crash when we don't know the specified font
2014-11-19 17:12:27 +01:00
Jesús García Sáez
68c38e2b5c
openchange: return proper url for folders with non-ascii chars
...
toManyRelationshipKeysWithNamespaces applies asCSSIdentifier function
to the names which are already "Imap4Encoded". So we need to remove the
CSSIdentifier function first and then "Imap4Decode" to get the real name.
Once we have the real name, to create the url we have to use the same
logic as the function that creates the folder and creates this url for
the first time (this function is createRootSecondaryFolderWithFID)
which is to apply, in this order:
- asCSSIdentifier
- stringByEncodingImap4FolderName
- stringByAddingPercentEscapesUsingEncoding
2014-11-19 17:12:27 +01:00
Jesús García Sáez
f1d14fdeca
multitenancy: adapt openchangedb_* calls
2014-11-19 17:12:26 +01:00
Jesús García Sáez
a5550cff18
avoid decode @ from url with username on it
2014-11-19 17:12:26 +01:00
Jeroen Dekkers
6ded9e95b3
Put private libraries in /usr/lib/sogo
2014-10-01 20:36:42 +02:00
extrafu
a263939d8a
Merge pull request #49 from Zentyal/Contrib
...
Several patches for the OpenChange integration
2014-09-29 09:07:36 -04:00
extrafu
8cdaac6300
Merge pull request #35 from dekkers/link-libraries-correctly
...
Link correctly against libraries used
2014-09-11 21:02:08 -04:00
Jesús García Sáez
1a2fe8908b
Revert "Merge pull request #2 from Zentyal/jgarcia/fix-encoding-of-mapistoreuris"
2014-08-01 15:50:17 +02:00
Ludovic Marcotte
b05fcc7d82
Fat commit to refactor the quick record generation
2014-07-30 14:51:00 -04:00
Jesús García Sáez
3eba5f940e
increase log level of debug message
2014-07-29 18:25:46 +02:00
Jesús García Sáez
7f2ee7be89
Error message only when initialization hadn't been done
...
In a multithread environment, sogo_backend_init is registering the thread
only for the first one that calls this function, then the others threads
(even if they call sogo_backend_init) won't be registered because
moduleInitialized was YES.
We just want to ensure sogo_backend_init is called at least once (per process,
not per thread).
2014-07-29 18:25:28 +02:00
Miguel Julián
41f2e917e7
Removed development tip comment
2014-07-29 18:22:34 +02:00
Miguel Julián
65ece61273
Removing some trail characters at event description
...
* They are sometimes present after a \r\n\n
2014-07-29 18:22:32 +02:00
Kamen Mazdrashki
1846e1ee5d
oc/TallocWrapper: don't handle Threading initialization here
...
It is SOGo backend module responsibility to setup/teardonw all
ObjC specific initialization
Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
2014-07-02 15:20:51 +02:00
Kamen Mazdrashki
1fc3a57210
oc: Protect backend initialization to happen only once
2014-07-02 15:20:31 +02:00
Kamen Mazdrashki
5b75c817e2
oc: Log when mapistore backend is successfully initialized
2014-07-02 15:20:19 +02:00
Kamen Mazdrashki
c91741ad1f
oc/dbmsgreader: Fix to work again this time basen on BSON format for msg data
...
Also, implement reading for message data in case only 1 param is passed.
This could be usefull when have msg data by other means than by
reading it directly from DB
Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
2014-07-02 15:19:59 +02:00
Kamen Mazdrashki
86e54989fb
oc/utils: Make "plext" category publicly visible
...
Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
2014-07-02 15:19:47 +02:00
Kamen Mazdrashki
116e738e63
oc/utils: Move OCDumpPListData() function into plreader - this is the only user for this function
...
Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
2014-07-02 15:19:31 +02:00
Kamen Mazdrashki
bf0f2a76d5
oc/MAPIStoreSOGo: Do not destroy current thread context after any API call
...
We have thread context already in place during *_init() function.
Thus guarding every API call with TreadInit/Destroy is:
- a bit redundand
- makes SOGo backend not reentrant even on single thread and leads
to hard to find use-after-free crashes
Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
2014-07-02 15:19:19 +02: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
Kamen Mazdrashki
98505c1b6b
oc/MAPIStoreContext: Fix log messages to actually print 64bit FMIDs
...
Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
Conflicts:
OpenChange/MAPIStoreContext.m
2014-07-02 15:18:33 +02:00
Miguel Julián
51df0adb79
Removed development tip comment
2014-07-02 15:00:24 +02:00
Miguel Julián
5d43513dd9
Removing some trail characters at event description
...
* They are sometimes present after a \r\n\n
2014-07-02 14:59:16 +02:00
Miguel Julián
2458af1a43
All day events deladyed one day if user timezone is +XX:XX
...
* Those events were not shown properly in SOGo web UI
2014-07-02 14:59:06 +02:00
Kamen Mazdrashki
2792baac02
openchange: don't overflow possible recipient type while creating message headers
...
Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
2014-07-02 14:58:57 +02:00
Kamen Mazdrashki
4b383705ff
openchange: Fix submitWithFlags to submit to BCC-ed recipients also
...
this reintroduces commit 7efb263c659451d2c781547a5b38cb5d01ed837f
Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
2014-07-02 14:58:47 +02:00
Kamen Mazdrashki
dd7200e00f
openchange/MAPIStoreFolder: Add private selector for actual folder delete action
...
Usually, it is a bad idea for an object to call its own public methods
(just like in this case). Thus separating impelementation for deleteFolder:
would allow MAPIStoreFolder to call only private implementation when needed
Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
2014-07-02 14:58:33 +02:00
Kamen Mazdrashki
27851ef428
openchange: FillMessageHeadersFromProperties fix skipping of last value in
...
possible range of recepients
IMHO, this fixes a bug, that when saving a meessage, it is saved
without BCC fields.
Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
2014-07-02 14:58:16 +02:00
Kamen Mazdrashki
7da8885190
openchange: getMessageData - replace int literals with ulRecipClass values
...
Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
2014-07-02 14:58:06 +02:00
Kamen Mazdrashki
fc9dc08045
oc-sogo: pretty print Exceptions in sogo_backend_handle_objc_exception()
...
Now we have a nice stack trace printed out from [NSException callStackSymbols]
Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
2014-07-02 14:53:34 +02:00
Kamen Mazdrashki
bcfb674cd1
oc-sogo: Print both [NSException callStackSymbols] and execinfo.h stack trace
...
Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
2014-07-02 14:53:24 +02:00
Kamen Mazdrashki
6be768af42
oc-sogo: Move memory clean up *after* handling the exception
...
Otherwise the mess is full :)
Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
2014-07-02 14:53:10 +02:00
Kamen Mazdrashki
2c94d21f3e
oc-sogo: Use [e name] and [e reason] selectors
...
Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
2014-07-02 14:52:59 +02:00
Kamen Mazdrashki
cbe616358d
oc-sogo: Clean up AutoRelease pool and unregister threads in Catch handler
...
Most of the time we have "not yet implemented" kind of exceptions,
so it is better to clean up allocated resources
Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
2014-07-02 14:52:34 +02:00
Kamen Mazdrashki
09e6fcc3ff
oc-sogo: try/catch to guard only the actual impelementation rather than *everything*
...
Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
2014-07-02 14:52:20 +02:00
Jesús García Sáez
3b2174eeec
if there is no password file for specific user, try to read global password file
...
This way we can have a master password for imap access
2014-07-02 14:51:08 +02:00
Jesús García Sáez
c6b8be742d
use execinfo.h to get backtrace
...
Really poor backtrace because it will only have the frames from oc side,
I don't know why callStackSymbols is returning null, compilation flags?
2014-07-02 14:50:54 +02:00
Jesús García Sáez
a77863947f
add try catch to all functions on struct mapistore_backend
2014-07-02 14:50:41 +02:00
Jesús García Sáez
d1f54298d2
stringByDecodingImap4FolderName is not neccesary
...
For russian locale and characters nonexistent in latin1 sogo crashes
2014-07-02 14:48:45 +02:00
Kamen Mazdrashki
f8028b5a94
OpenChange: Avoid crashing when creating embedded message in attachment
...
Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
(cherry picked from commit 15a55f9f707247c9164e8fa7a102639744f686e5)
2014-07-02 14:48:27 +02:00
Jesús García Sáez
6bef678114
fix format logging uint64_t
2014-07-02 14:47:57 +02:00
Jesús García Sáez
c81476bd04
no need to modify url
2014-07-02 14:47:45 +02:00
Jesús García Sáez
a24f009cfe
mapistoreURI encoding should be done the same way as listContextForUser
...
stringByEncodingImap4FolderName is used inside [newFolder create] where is needed
2014-07-02 14:47:31 +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
Jesús García Sáez
2aa71cc8a3
check ret value properly
2014-07-02 14:43:42 +02:00
Jesús García Sáez
34b98a563d
get_new_folderID functions are now on mapistore_indexing
2014-07-02 14:42:17 +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
Ludovic Marcotte
1292c191ec
Make sure we don't have '-' in table names.
2014-06-10 08:46:35 -04:00
Ludovic Marcotte
be72456a9a
Renamed folder cache creation method
2014-05-14 09:56:10 -04:00
Ludovic Marcotte
a54b3e4289
Renamed the default table name from socfs_ to sogo_cache_folder_
2014-05-14 08:56:35 -04:00
Ludovic Marcotte
7a4feae8b8
Updated code to reflect cache regorg.
2014-05-14 06:56:05 -04:00
Ludovic Marcotte
99d49b9bd9
Updated code to use the category
2014-05-13 21:14:57 -04:00
Ludovic Marcotte
5f9fb4e1c4
Big refactor for new caching mechanism.
2014-05-13 21:06:59 -04:00
Ludovic Marcotte
ef2188962a
Renamed cache files for generalization.
...
The upcoming commit will rename the content.
2014-05-13 19:58:19 -04:00
Ludovic Marcotte
2922f15ca7
More rename
2014-05-13 18:03:37 -04:00
Ludovic Marcotte
41e6fb89d3
Renamed constants in preparation for the big cache cleanup
2014-05-13 17:54:02 -04:00
Ludovic Marcotte
c4a3843695
Removed unused configuration parameters
2014-05-13 13:52:20 -04:00
Jeroen Dekkers
b5dc2e264d
Link correctly against libraries used
...
Link the mapistore backend against libgnustep-base, libobjc,
libNGObjWeb. Link the SAML code against gobject-2.0.
2014-04-12 20:32:20 +02:00
Jeroen Dekkers
c80e222210
Delete generated source files when running "make clean".
2014-04-06 22:44:50 +02:00
Ludovic Marcotte
a24d809e40
Minor code/copyright/authors cleanups
2014-01-09 21:06:31 -05:00
Ludovic Marcotte
32ba01315f
Init local variable to avoid potential crasher.
2013-11-22 11:29:24 -05:00
Ludovic Marcotte
99d38417cc
Fix for bug #2354
2013-09-25 13:51:42 -04:00
Ludovic Marcotte
29eed182a7
Updated the OpenChange code related to UTF-7 changes for IMAP folders
2013-09-25 10:41:07 -04:00
Ludovic Marcotte
5b77c2b724
Stability fix when we're untable to determine the message class type
2013-09-19 10:49:42 -04:00
Ludovic Marcotte
70086e5ee6
Fix for bug #1935
2013-09-19 09:56:28 -04:00
Ludovic Marcotte
7ddc1b9e2d
Avoid type-issues generating wrong GlobCnt - leading to OpenChange crashes during the sync process.
2013-09-18 14:03:07 -04:00
Ludovic Marcotte
cd4abe4b5b
Fix for bug 2398
2013-09-06 13:48:44 -04:00
Ludovic Marcotte
b1df03adc7
Fix for old runtimes.
2013-07-24 10:54:55 -04:00
Ludovic Marcotte
9d9a434fdc
Avoid crashing when reading fcs crap.
2013-06-20 15:44:35 -04:00
Ludovic Marcotte
d28482557f
Fix for bug 2285
2013-06-20 13:43:45 -04:00
Ludovic Marcotte
4c97d54939
Fix for bug #2119
2013-06-20 09:10:09 -04:00
Jean Raby
139c14d9e1
save: memCtx
...
Same fix as for MAPIStoreContactMessage
2013-04-16 12:06:17 -04:00
Jean Raby
5d17414018
[MAPIStoreContactsMessage save] needs memCtx
...
From extrafu
2013-04-15 14:13:07 -04:00
Jean Raby
3810833e1b
remove unrtf leftovers
2013-04-11 10:22:28 -04:00
Ludovic Marcotte
33840c71cd
Changed noop by unselect/select.
2013-04-10 10:48:25 -04:00
Ludovic Marcotte
1b983ef691
Fixed a potential timing issue with Dovecot when getting the modseq
2013-04-10 09:56:23 -04:00
Ludovic Marcotte
6a8e6cd762
Fixed the GNUmakfile and const's for charset tables.
2013-03-28 08:32:00 -04:00
Ludovic Marcotte
663351029a
Replaced unrtf by our own RTF to HTML converter.
...
Faster, thread safe, a hell lot cleaner.
2013-03-26 19:32:08 -04:00
Jean Raby
c26e5fa7fe
semi-colon
2013-03-26 14:01:04 -04:00
Jean Raby
74c01dc448
gen-charset-table.py: script to import ms charmaps
...
For example: http://msdn.microsoft.com/en-us/goglobal/cc305147
2013-03-26 13:42:22 -04:00
Ludovic Marcotte
93f9a7273e
Now handle mem context when saving messages and removed useless debugging.
2013-03-13 15:04:11 -04:00
Jean Raby
c79af52b67
Fix BSONCodec.m includes
...
include objc.h instead of runtime.h so that it works on older gcc objc runtime
2013-03-06 11:03:19 -05:00
Jean Raby
13277bbdb9
c_content TEXT to LONGTEXT for OpenChange tables
...
Add an script to update existing tables.
Note that if a row already have 65535 char in it,
the data is most likely broken.
2013-03-05 10:47:09 -05:00
Ludovic Marcotte
a8d67edb44
Merge branch 'master' of https://github.com/inverse-inc/sogo
2013-02-20 12:11:17 -05:00
Ludovic Marcotte
89766b2e7e
Temporary fix for unsigned long long values.
2013-02-20 12:10:34 -05:00
Jean Raby
7d65d808f6
Strip newline characters from user password files
...
Makes it easier to create those files with a regular editor.
2013-02-20 10:50:58 -05:00
Ludovic Marcotte
fa5e99d58d
Much better fix over previous commit.
2013-02-19 15:54:52 -05:00
Ludovic Marcotte
67c2d508ea
Added rationale around previous commit.
2013-02-19 15:42:05 -05:00
Ludovic Marcotte
19923d10db
Also handle date-strings as date objects.
...
Dates are stored as string in BSON - might change in the future.
2013-02-19 15:30:29 -05:00
Ludovic Marcotte
e57b6835e6
Fix for objective-c runtimes.
2013-02-18 16:50:54 -05:00
Ludovic Marcotte
bcab7e7dc9
C99 style fixes.
2013-02-18 16:42:59 -05:00
Ludovic Marcotte
2572eedd89
Added BSON encoder/decoder for Outlook cache files.
2013-02-18 16:28:06 -05:00
Ludovic Marcotte
4f38b5cf3f
Alse use hex-formatted keys for deleted mails.
2013-02-14 15:59:19 -05:00
Ludovic Marcotte
71b9772546
Ensure we hit the cache with hex-formatted keys.
2013-02-14 15:22:48 -05:00
Ludovic Marcotte
a1b623b325
We now allow to change the storage format for plists.
2013-01-23 20:21:27 -05:00
Julien Kerihuel
7e001a05a4
Issue #1829 : Fix crash in unrtf library.
...
Integer overflow in array index leading to unpredictable behavior.
Using correct integer signess and casting fix the problem and turn
negative value into 0. Expected fallback behavior then apply.
Make use of uint8_t since the hash array is a static array of 255 elements.
2013-01-18 10:27:37 -05:00
Ludovic Marcotte
4804337a01
Now pass the memory context when copying/moving folders.
2012-12-07 13:30:50 -05:00
Ludovic Marcotte
ca1a3ac06b
Fixed the ordering of the memory context.
2012-12-05 14:56:29 -05:00
Ludovic Marcotte
2017536beb
move_copy_messages now uses the openchange's memory context.
...
This fixes strange crashes when dealing with invitations and
other stuff. More work will need to be done in this regard. Also
kept the old code just in case for now. Will be cleaned up shortly
after more people test it.
2012-12-03 09:18:17 -05:00
Ludovic Marcotte
cc98664d13
Fix for bug #2024 .
2012-11-20 15:21:49 -05:00
Wolfgang Sourdeau
3b0a497f2d
(hack) allow subcribers to read messages from "Freebusy Data" root folder
2012-11-09 14:50:56 -05:00
Wolfgang Sourdeau
d51bf22976
Commented out allocation/deallocation debugging code
2012-10-23 23:58:39 -04:00
Wolfgang Sourdeau
2cd0a643b9
the defaults for "sogod" are now registered from libSOGo
2012-10-23 13:42:27 -04:00
Wolfgang Sourdeau
331b61d9b2
escape the username part of the tablename in order to obtain an acceptable SQL identifier
2012-10-22 15:17:47 -04:00
Wolfgang Sourdeau
06fc7ed49f
-submitWithFlags: adapt to new SOGoMailer API
2012-10-17 08:26:22 -04:00
Wolfgang Sourdeau
ef5119f765
crash: do not attempt to store nil body part keys, for emails having no text body
2012-10-15 08:04:26 -04:00
Wolfgang Sourdeau
d5c29b3870
speedup of -synchroniseCache: assign message ids and change numbers in batch, as in the mail module
2012-10-13 10:59:18 -04:00
Wolfgang Sourdeau
dec64722c8
Use NSString instances for representing change numbers, rather than NSNumber
2012-10-13 09:59:13 -04:00
Wolfgang Sourdeau
1e92fe0395
style
2012-10-13 09:50:43 -04:00
Wolfgang Sourdeau
526f83d3c9
synchroniseCache: register new mail message ids and version numbers in batch with the new methods in MAPIStoreFolder and MAPIStoreMapping
2012-10-12 23:29:38 -04:00
Wolfgang Sourdeau
63abe73c29
ensureIDsForChildKeys: new helper method that ensure that the child keys have a corresponding fmid and register them with -[MAPIStoreMapping registerURLs:withIDs:] if needed
2012-10-12 23:28:47 -04: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
ea98a35fad
getNewFMIDs: new wrapper method around openchangedb_get_new_folderIDs
2012-10-12 23:25:51 -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
5e2453f3c4
getNewChangeNumbers: new wrapper for openchangedb_get_new_changeNumbers
2012-10-12 17:42:43 -04:00
Wolfgang Sourdeau
420e5e0759
include inttypes.h for PRIx64
2012-10-10 11:55:06 -04:00
Wolfgang Sourdeau
dd1a8e9285
only preload message bodies of normal messages, ignore FAI ones
2012-10-10 10:38:50 -04:00
Wolfgang Sourdeau
37e8f7ca98
"preload_message_bodies" now take an additional "enum mapistore_table_type" argument
2012-10-10 10:38:25 -04:00
Wolfgang Sourdeau
060c036936
ensure that object versions are properly "masked" to 48-bit integers
2012-10-10 08:43:21 -04:00
Wolfgang Sourdeau
ad2b5fe413
ensure that shifted property ids are correctly "masked" to 16-bit integers
2012-10-10 08:42:44 -04:00
Wolfgang Sourdeau
5b7cbb6350
Use NSString instances as keys rather than NSNumber, to work around a performance issue with GNUstep < 1.24
2012-10-09 16:39:24 -04:00
Wolfgang Sourdeau
c9dad4cab6
Make use of +[NSString stringWithUnsignedLongLong:] from NGExtensions
2012-10-09 14:14:58 -04:00
Wolfgang Sourdeau
113a95d2c7
show "dealloc" messages since "init" messages are shown already
2012-10-07 00:17:42 -04:00
Wolfgang Sourdeau
65462b273a
dealloc: release the associated woContext, thereby fixing a mem leak
2012-10-07 00:17:06 -04:00
Wolfgang Sourdeau
2758b44d37
Small optimization, we avoid copying potentially big array of bytes by attaching a wrapper around the NSData object to the resulting binary structure
2012-10-06 14:19:34 -04:00
Wolfgang Sourdeau
a549773554
Implemented a mechanism to preload body parts for email messages
2012-10-06 13:02:39 -04:00
Wolfgang Sourdeau
a7691c552b
Renamed -preloadMessageBodies: to preloadMessageBodiesWithMIDs: and perform a conversion of MIDs to message keys instead of the subclass code
2012-10-06 13:01:44 -04:00
Wolfgang Sourdeau
46c82286d8
Added -childKeyFromURL: as translation method and refactored -lookupMessageByURL: and -lookupFolderByURL: to make use of it
2012-10-05 13:51:58 -04:00
Wolfgang Sourdeau
b2ee81f75a
Commented out freebusy exception for read accesses
2012-10-05 10:09:38 -04:00
Wolfgang Sourdeau
671ce26a48
struct UI8Array_r replaces struct I8Array_r
2012-10-05 09:59:45 -04:00
Wolfgang Sourdeau
eca09c87cc
Implemented the folder.preload_message_bodies backend op
2012-10-05 09:55:01 -04:00
Wolfgang Sourdeau
aa24d5133e
Without the backend prefix, the mapistore backend context would never be found
2012-10-05 09:54:22 -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
08eb4d9f84
Only fetch subfolders when they are supported
2012-09-27 19:23:56 -04:00
Wolfgang Sourdeau
ead3c8f6b9
Reindentation
2012-09-27 19:23:34 -04:00
Wolfgang Sourdeau
2711e0a0db
Retrieve the displayName rather the address part of the email address
2012-09-26 17:07:19 -04:00
Wolfgang Sourdeau
37ccb0875c
Check whether the "INBOX" folder has the "noinferiors" flag set before declaring that it accepts subfolder creation
2012-09-26 11:50:28 -04:00
Wolfgang Sourdeau
a6a30afe75
Set PidLidRecurrentPattern
2012-09-26 09:28:37 -04:00
Wolfgang Sourdeau
49ea183835
PidLidFExceptionalBody should be set only on event exceptions
2012-09-26 09:27:59 -04:00
Wolfgang Sourdeau
2760e35f15
PidTagAccessLevel should not be set on folder objects
2012-09-26 09:26:38 -04:00
Wolfgang Sourdeau
23ebc24d94
Handle permissions on embedded messages too
2012-09-24 10:24:46 -04:00
Wolfgang Sourdeau
569a34c0f4
Added PidTagHasNamedProperties
2012-09-19 16:06:27 -04:00
Wolfgang Sourdeau
1f8f31daff
Embedded message can always be "saved"
2012-09-19 16:05:52 -04:00
Wolfgang Sourdeau
72fb3f552d
PidTagBody: do not return a body if it is an empty string or a simple crlf
2012-09-19 12:25:20 -04:00
Wolfgang Sourdeau
04d5284ef3
Added PidLidRecurrenceType, PidLidAppointmentTimeZoneDefinitionStartDisplay and PidLidAppointmentTimeZoneDefinitionEndDisplay
2012-09-19 12:23:56 -04:00
Wolfgang Sourdeau
cad770bf76
Moved PidTagException* properties to the right place
2012-09-19 12:22:07 -04:00
Wolfgang Sourdeau
89a41a9aa9
New method that returns a TimeZoneDefinition
2012-09-19 12:00:07 -04:00
Wolfgang Sourdeau
2758b486f7
Output url of object being registered
2012-09-19 11:58:52 -04:00
Wolfgang Sourdeau
d120b003bc
Fixed MID returned for embedded messages which have not yet been registered, in a way that registers them when required
2012-09-19 11:57:53 -04:00
Wolfgang Sourdeau
9669cd37c4
One comment and one header added.
2012-09-18 10:12:36 -04:00
Wolfgang Sourdeau
049095a77b
Removed PidNameContentClass as it was useless
2012-09-18 09:13:02 -04:00
Ludovic Marcotte
fc65172756
Fix for bug #1689
...
Monotone-Parent: 7605704028eff50386f4f9c1e4e93aa47eea31c3
Monotone-Revision: ae08767667624a609d7996a164800377cb574081
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-09-17T10:06:18
Monotone-Branch: ca.inverse.sogo
2012-09-17 10:06:18 +00:00
Ludovic Marcotte
0da9573834
See ChangeLog
...
Monotone-Parent: df3aa42d7aa65c233839e872cc103d9cf8c2d654
Monotone-Revision: 9e1649b38d7b35c48bc95fdbaa0ed062a6046495
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-09-13T15:49:22
Monotone-Branch: ca.inverse.sogo
2012-09-13 15:49:22 +00:00
Ludovic Marcotte
c9b456c86d
See ChangeLog
...
Monotone-Parent: 0be42fb4ac553a3b8b6b1d18144d2c4aa9dfdd0e
Monotone-Revision: df3aa42d7aa65c233839e872cc103d9cf8c2d654
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-09-12T14:42:24
Monotone-Branch: ca.inverse.sogo
2012-09-12 14:42:24 +00:00
Ludovic Marcotte
e87e1ab083
See ChangeLog
...
Monotone-Parent: 05dfd85bdc0651db027e7df47810671a4f906fad
Monotone-Revision: 0be42fb4ac553a3b8b6b1d18144d2c4aa9dfdd0e
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-09-12T10:16:20
Monotone-Branch: ca.inverse.sogo
2012-09-12 10:16:20 +00:00
Wolfgang Sourdeau
fc62d76b1f
Monotone-Parent: 7c8fce0426b2ec4def5226f16a9bcf2cff5dcfb9
...
Monotone-Revision: 1cc99cc487a5bfdb791d4067042b904d7eb47795
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-07T16:46:18
Monotone-Branch: ca.inverse.sogo
2012-09-07 16:46:18 +00:00
Wolfgang Sourdeau
772c73ac13
Monotone-Parent: 053b5d33cbcf453e7c7216c0b2a168a0f0ffa0d5
...
Monotone-Revision: 7c8fce0426b2ec4def5226f16a9bcf2cff5dcfb9
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-07T16:44:13
Monotone-Branch: ca.inverse.sogo
2012-09-07 16:44:13 +00:00
Wolfgang Sourdeau
868c7b19cd
Monotone-Parent: f643d3c57f70e9da6cd4bbc6b07967927a9a0d53
...
Monotone-Revision: 053b5d33cbcf453e7c7216c0b2a168a0f0ffa0d5
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-06T20:54:29
Monotone-Branch: ca.inverse.sogo
2012-09-06 20:54:29 +00:00
Wolfgang Sourdeau
fcc4334f76
Monotone-Parent: 9284db2af3ffef975cdd8b2d8850440185181e83
...
Monotone-Revision: f643d3c57f70e9da6cd4bbc6b07967927a9a0d53
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-06T20:53:42
Monotone-Branch: ca.inverse.sogo
2012-09-06 20:53:42 +00:00
Wolfgang Sourdeau
7e79f39c8a
Monotone-Parent: 92936cd67e5a99d0fc17d50aa99fbbaa31b167d0
...
Monotone-Revision: 61e6bd1534fa646d1aa34f95f3966c2f8533153d
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-06T19:09:05
Monotone-Branch: ca.inverse.sogo
2012-09-06 19:09:05 +00:00
Wolfgang Sourdeau
68dc738239
Monotone-Parent: 1f5b4286b78bd24005e7d3227993347564bf76b5
...
Monotone-Revision: 92936cd67e5a99d0fc17d50aa99fbbaa31b167d0
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-06T19:05:59
Monotone-Branch: ca.inverse.sogo
2012-09-06 19:05:59 +00:00
Wolfgang Sourdeau
acea40f295
Monotone-Parent: a1a4f8e01241e22f0964fc0320be28504ae6e68b
...
Monotone-Revision: 1f5b4286b78bd24005e7d3227993347564bf76b5
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-06T18:29:25
Monotone-Branch: ca.inverse.sogo
2012-09-06 18:29:25 +00:00
Wolfgang Sourdeau
1d95cdae7c
Monotone-Parent: 0b736cc980075f71e643c2c71341dee25f434fb9
...
Monotone-Revision: a1a4f8e01241e22f0964fc0320be28504ae6e68b
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-06T18:29:08
Monotone-Branch: ca.inverse.sogo
2012-09-06 18:29:08 +00:00
Wolfgang Sourdeau
2bf242c97b
Monotone-Parent: 3cd1b3a63a62fe841a9e4978d5ca818ab175f870
...
Monotone-Revision: e95189d2eb78ea96edf9291b7136e415251a7eb4
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-06T14:15:03
Monotone-Branch: ca.inverse.sogo
2012-09-06 14:15:03 +00:00
Wolfgang Sourdeau
fe39d82f5d
Monotone-Parent: b6e0c5de869a2a15ff75f7dd4850ede790373285
...
Monotone-Revision: 3cd1b3a63a62fe841a9e4978d5ca818ab175f870
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-06T14:13:24
Monotone-Branch: ca.inverse.sogo
2012-09-06 14:13:24 +00:00
Wolfgang Sourdeau
0af7547b8a
Monotone-Parent: d37b05310d38d5954711085cdeecbc2ffc7e8d82
...
Monotone-Revision: b6e0c5de869a2a15ff75f7dd4850ede790373285
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-05T20:07:17
Monotone-Branch: ca.inverse.sogo
2012-09-05 20:07:17 +00:00
Wolfgang Sourdeau
9874fa469c
Monotone-Parent: 5256e25412e03d77d707a92d0bcfda4e03f05d98
...
Monotone-Revision: d37b05310d38d5954711085cdeecbc2ffc7e8d82
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-05T20:06:22
Monotone-Branch: ca.inverse.sogo
2012-09-05 20:06:22 +00:00
Wolfgang Sourdeau
b1f3a8ebc6
merge of '8cea0b1a81fe57f8395b91cfc3ed8063d49995ca'
...
and 'f878485f243e179600dcdcf48b5dffc712d954ca'
Monotone-Parent: 8cea0b1a81fe57f8395b91cfc3ed8063d49995ca
Monotone-Parent: f878485f243e179600dcdcf48b5dffc712d954ca
Monotone-Revision: 263be06669bfcef33b9cb13a1171fdb0d4d5ec57
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-21T20:40:09
Monotone-Branch: ca.inverse.sogo
2012-08-21 20:40:09 +00:00
Wolfgang Sourdeau
54434e9896
Monotone-Parent: c61e2dc9a2d1575387224156c338b5517bdcbae1
...
Monotone-Revision: f878485f243e179600dcdcf48b5dffc712d954ca
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-21T20:39:46
Monotone-Branch: ca.inverse.sogo
2012-08-21 20:39:46 +00:00
Wolfgang Sourdeau
f1c5ee15b7
Monotone-Parent: 30720cd63a96f71fe1ddecf048357f4063f4a056
...
Monotone-Revision: c61e2dc9a2d1575387224156c338b5517bdcbae1
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-21T20:39:36
Monotone-Branch: ca.inverse.sogo
2012-08-21 20:39:36 +00:00
Wolfgang Sourdeau
8670c3c561
Monotone-Parent: 289c3552a8d15a19943bfe3a54272bf413087c4f
...
Monotone-Revision: 30720cd63a96f71fe1ddecf048357f4063f4a056
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-21T20:38:43
Monotone-Branch: ca.inverse.sogo
2012-08-21 20:38:43 +00:00
Wolfgang Sourdeau
2037ff8a6b
Monotone-Parent: e70a6a4e35fcf0aacec5ec5ef392c0c8e6bb4e31
...
Monotone-Revision: 289c3552a8d15a19943bfe3a54272bf413087c4f
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-21T20:37:50
Monotone-Branch: ca.inverse.sogo
2012-08-21 20:37:50 +00: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
Jean Raby
0f9bcd552d
Real fix...
...
Monotone-Parent: 4f5aec06157554c4d68363a46984c6fe335386fd
Monotone-Revision: 8cea0b1a81fe57f8395b91cfc3ed8063d49995ca
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-08-21T19:59:32
Monotone-Branch: ca.inverse.sogo
2012-08-21 19:59:32 +00:00
Jean Raby
59a1f986cc
missing backslash
...
Monotone-Parent: 98ed5bb6af42d0b60f21c80b01ede4cb33ad82e7
Monotone-Revision: 4f5aec06157554c4d68363a46984c6fe335386fd
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-08-21T19:10:57
Monotone-Branch: ca.inverse.sogo
2012-08-21 19:10:57 +00:00
Jean Raby
56eae68d7c
Missing library path for dbmsgreader
...
Monotone-Parent: 78c0405a3665172ccb21ec34bba08331cc479f71
Monotone-Revision: 98ed5bb6af42d0b60f21c80b01ede4cb33ad82e7
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-08-21T19:07:15
Monotone-Branch: ca.inverse.sogo
2012-08-21 19:07:15 +00:00
Wolfgang Sourdeau
4f9e0f9963
Monotone-Parent: 321dcc0c57ee3b7c5ea6cebb040566be569bacb3
...
Monotone-Revision: 78c0405a3665172ccb21ec34bba08331cc479f71
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-21T18:25:08
Monotone-Branch: ca.inverse.sogo
2012-08-21 18:25:08 +00:00
Wolfgang Sourdeau
ef2ce2434f
Monotone-Parent: 8353df7f94c6dafc3acc66e6a0b43ee47a209757
...
Monotone-Revision: 321dcc0c57ee3b7c5ea6cebb040566be569bacb3
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-21T17:41:24
Monotone-Branch: ca.inverse.sogo
2012-08-21 17:41:24 +00:00
Wolfgang Sourdeau
f736efef62
Monotone-Parent: deb19e29a470db5c60606444f9e82eb9aa85ce1d
...
Monotone-Revision: 8353df7f94c6dafc3acc66e6a0b43ee47a209757
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-17T20:12:58
Monotone-Branch: ca.inverse.sogo
2012-08-17 20:12:58 +00:00
Wolfgang Sourdeau
4f3934dc0e
Monotone-Parent: 105b571703ff5c4cc1024854ef8a1d987aef2bf1
...
Monotone-Revision: deb19e29a470db5c60606444f9e82eb9aa85ce1d
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-17T20:12:50
Monotone-Branch: ca.inverse.sogo
2012-08-17 20:12:50 +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
fb297c913c
Monotone-Parent: 1fb3121c84e0bb2773973fcfde109c7b26530951
...
Monotone-Revision: e2f910a1982b774a3f5dfd586d968821441f2076
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-17T17:56:25
Monotone-Branch: ca.inverse.sogo
2012-08-17 17:56:25 +00:00
Wolfgang Sourdeau
90e226d5bb
Monotone-Parent: d50a947c2bfbadd4649b083ee3432fbdd28180c2
...
Monotone-Revision: 1fb3121c84e0bb2773973fcfde109c7b26530951
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-16T21:05:16
Monotone-Branch: ca.inverse.sogo
2012-08-16 21:05:16 +00:00
Wolfgang Sourdeau
d2321642bf
Monotone-Parent: 8dee72c8fdafae92791aa552c3705e9c68f5c59e
...
Monotone-Revision: d50a947c2bfbadd4649b083ee3432fbdd28180c2
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-16T16:32:52
Monotone-Branch: ca.inverse.sogo
2012-08-16 16:32:52 +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
0d12810e14
Monotone-Parent: d9117c53c33a58d47b6b3993f78e09e431f47f96
...
Monotone-Revision: 586a2e5adebfaf2123f3514dffa057f7f0f0574e
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-16T16:29:47
Monotone-Branch: ca.inverse.sogo
2012-08-16 16:29:47 +00:00
Wolfgang Sourdeau
e09972700b
Monotone-Parent: c24e0fd5407c5155f41caca1fbb44c9686e3bc0f
...
Monotone-Revision: d9117c53c33a58d47b6b3993f78e09e431f47f96
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-15T19:01:24
Monotone-Branch: ca.inverse.sogo
2012-08-15 19:01:24 +00:00
Wolfgang Sourdeau
abe8de11aa
Monotone-Parent: 2180e9f83acd350f77772f161695cca6bff102ec
...
Monotone-Revision: c24e0fd5407c5155f41caca1fbb44c9686e3bc0f
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-15T19:00:38
Monotone-Branch: ca.inverse.sogo
2012-08-15 19:00:38 +00:00
Wolfgang Sourdeau
3f2cfd97e4
Monotone-Parent: 107e4e5ebd41e916769f1be7ce070d725d255f0d
...
Monotone-Revision: 2180e9f83acd350f77772f161695cca6bff102ec
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-15T18:59:42
Monotone-Branch: ca.inverse.sogo
2012-08-15 18:59:42 +00:00