Enrique J. Hernández Blasco
75ce59d010
oc-rtf: Fix current position to match where _bytes pointer is
...
This avoids to have extra unknown bytes at the end of the RTF document
as _len would have been reached but _current_pos had incorrect less value.
2014-11-19 17:12:29 +01:00
Enrique J. Hernández Blasco
cbfcd54858
oc-rtf: Use what RTF Spec 1.9.1 for control words
...
This reverts 7581c0a.
2014-11-19 17:12:29 +01:00
Enrique J. Hernández Blasco
415fb6034e
oc-calendar: Retrieve properly event description created on SOGo
...
As it is stored as plain text without triming string.
The correct comparison here is NSNotFound as stated in Apple documentation.
2014-11-19 17:12:29 +01:00
Jesús García Sáez
445a1fb2d6
oc: MailMessages return correct codepage
2014-11-19 17:12:29 +01:00
Enrique J. Hernández Blasco
c866bce8e8
Store FreeBusySimple and FreeBusyDetailed rights as roles
...
Map: FreeBusySimple -> PublicDAndTViewer
FreeBusyDetailed -> ConfidentialDAndTViewer
Although SOGo is not really used AFAIK, we can now keep it and
keep Calendar permission issues consistent.
2014-11-19 17:12:29 +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
05578bfcb6
oc-rtf: control words can also have a space before next tag
...
This was causing to parse a single space as an empty control
word with length 0, which was the source of several crashes.
Example:
\f0\fbidi \fcharset0
--------^
font index is 0, font family is bidi but when parsing charset we were
assuming control word was '' instead of 'charset0'.
This only fixes the crashes, the parseFontTable function works quite
awful right now.
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
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
Ludovic Marcotte
95e3c7ca88
More doc fixes for v2.2.10
2014-11-18 18:36:59 -05:00
Ludovic Marcotte
6bbaf58d43
Initial pass of the doc for v2.2.10 on Debian/Ubuntu
2014-11-18 16:56:45 -05:00
Ludovic Marcotte
ac55509aea
Updated NEWS file regarding the SOPE commit for bug #2957
2014-11-18 12:45:15 -05:00
Francis Lachapelle
2781fbe0b3
Merge pull request #64 from JensErat/SOGo-asciidoc
...
Removed erroneous backslash in documentation
2014-11-18 06:17:32 -05:00
Jens Erat
19221beb1f
Removed erroneous backslash in documentation
2014-11-18 11:32:12 +01:00
Francis Lachapelle
3d18c94789
Fix extraction of email addresses in some cases
...
Fixes #2945
2014-11-17 14:33:28 -05:00
Ludovic Marcotte
1f167d9e82
Fixed IMAP searches with non-ASCII folder names
2014-11-17 11:49:56 -05:00
Ludovic Marcotte
3872341a85
Added required patch for previous commit
2014-11-14 10:34:36 -05:00
Ludovic Marcotte
b3cd609ae7
Added WindowSize support for GCS collections
2014-11-14 09:13:14 -05:00
Ludovic Marcotte
c0f0f2023c
added NEWS entry for BSON goodie
2014-11-12 15:09:26 -05:00
Ludovic Marcotte
ea43f4a635
Comment improvement
2014-11-12 15:05:05 -05:00
Ludovic Marcotte
d25fe1a58b
Dramatically improved BSON deserialization speed by avoiding tz name lookups
2014-11-12 14:57:54 -05:00
Ludovic Marcotte
8e1dc0ecb0
Typo in previous commit
2014-11-12 12:56:34 -05:00
Ludovic Marcotte
715999edc8
Avoid compilation failures on non-RHEL 7 distros
2014-11-12 12:54:07 -05:00
Ludovic Marcotte
c159d5461b
disable rpm-check-build for now
2014-11-12 10:02:04 -05:00
Ludovic Marcotte
5284b57340
More EL7 fixes
2014-11-10 16:19:10 -05:00
Ludovic Marcotte
d8e6447fcc
More disable lasso
2014-11-10 16:17:06 -05:00
Ludovic Marcotte
cb8b0b028e
Disable lasso for RHEL7 for now
2014-11-10 16:15:05 -05:00
Francis Lachapelle
df648c9204
Add 'zip' to packages dependencies
...
Fixes #2963
2014-11-10 13:51:38 -05:00
Ludovic Marcotte
624af1c0fb
Fixed test
2014-11-10 08:58:30 -05:00
Ludovic Marcotte
395a8ddcfe
Updated once more the tz and added missing zones
2014-11-07 10:36:11 -05:00
Ludovic Marcotte
8cd72a8fda
Fix borken ORGANIZER fields during the PUT action
2014-11-07 10:06:53 -05:00
Ludovic Marcotte
11a4c1358d
Fixed corrupted PNG files ( #2975 )
2014-11-06 11:23:34 -05:00
Ludovic Marcotte
54d8aa8887
Added new zone files
2014-11-06 11:10:31 -05:00
Ludovic Marcotte
49da494260
Fix for bug #2968
2014-11-06 11:09:16 -05:00
Ludovic Marcotte
e08dd3f9eb
Fix for bug #2978
2014-11-06 10:16:47 -05:00
Ludovic Marcotte
6de70e4043
sanitize strings before encoding them when using EAS
2014-11-06 09:35:58 -05:00
Francis Lachapelle
7052daa1c8
Fix rename of subscribed addressbooks
2014-11-05 10:05:25 -05:00
Francis Lachapelle
15be4861b6
Fix support for SieveFolderEncoding default
...
Fixes #2622
2014-11-05 08:44:52 -05:00
Ludovic Marcotte
4b9958336c
Handle base64-encoded command parameters in EAS
2014-11-04 13:50:10 -05:00
Ludovic Marcotte
52fdcc34de
Fixed typo
2014-10-31 06:46:03 -04:00