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
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