Ludovic Marcotte
4a74f00adb
(fix) integrated latest OC changes
2016-06-23 08:58:25 -04:00
Patrice Levesque
2de72e5070
Partly revert recent changes removing #imports and #includes, under OpenChange, as they cause more problems than they solve.
2016-02-17 10:09:18 -05:00
Patrice Levesque
bd56f4cf9f
Remove pointless #include from .m and .h files
...
This was done with a brute-force approach, ensuring no additional
warnings from GCC 4.9 under x86_64.
2016-02-13 17:41:54 -05:00
Patrice Levesque
7c25b53fdf
Remove pointless #imports from .m and .h files
...
This was done with a brute-force approach, ensuring no additional
warnings from GCC 4.9 under x86_64.
2016-02-13 16:11:52 -05:00
Ludovic Marcotte
ae6ed0c055
(feat) applied all changes as a patch coming from PR #180
2015-12-30 09:22:08 -05:00
Ludovic Marcotte
5f82d3fb37
(fix) manually added fixes from PR#120
2015-11-05 09:59:31 -05:00
Ludovic Marcotte
18a300ca5b
(fix) appplied fix from Zentyal - PR#102
...
Original commit: 33a1d2c397
2015-09-09 08:22:33 -04:00
Ludovic Marcotte
f515106bcc
(fix) added patch from PR93
2015-08-03 09:16:55 -04:00
Juan Vallés
0a285eedec
oc-calendar: Fix property values of invitation responses
...
The value of `PidTagResponseRequested` property in the invitation mail
wasn't being set properly, while the `PidTagReplyRequested` property
wasn't being set at all. This caused invitation response mails not to be
sent. Both properties are expected to be `true`.
2015-05-11 12:58:06 +02:00
Jesús García Sáez
0f432b654f
oc: Fix internal EntryIds properties on multidomain
...
PidTag*EntryId properties were not being generated (which contain
the email address and so on). Functionality on Outlook clients like
"Reply All" were not working because of this (probably a lot more
stuff related with email addresses).
With multidomain support enabled outlook clients will use full email
address (e.g. user@domain.com ) as login.
This change is needed because we were performing ldap queries on samdb
using (sAMAccountName=UIDFieldName), being UIDFieldName the parameter
configured in sogo.conf for that source. In multidomain environment
this field could be `sAMAccountName` but it could not. Actually the
more logical scenario will be to use `uid` field here (which will be
just `user`, without the `@domain.com` part).
SOGoUserManager will return `sAMAccountName` if the contact has it
(in Outlook environment that means always) so it can (and must) be
used to query samdb in MAPIStoreSamDBUtils properly.
TL;DR: use sAMAccoutName instead of uid to query samdb
2015-04-16 11:32:24 +02:00
Jesús García Sáez
dc869ce106
oc-mail: Support for PidTagTransportMessageHeaders property
...
This property is needed to show the 'Internet Headers' in Outlook.
Outlook 2010 shows them in the properties dialog of a message.
Outlook 2007 show them in message options section from context menu
of a mail message.
The property is defined in [MS-OXOMSG] section 2.2.1.61.
The property is formed concatenating the mail message headers
properly mime encoded.
The headers are appended in no defined order.
2015-03-26 19:26:48 +01:00
Enrique J. Hernández Blasco
514b1c03be
oc-mail: Store request properties
...
Save them in extra properties from folder container.
This is required because the client once a request is accepted
or denied sets these two properties and save the message again.
As we cannot modify an IMAP message, we use this utility.
See [MS-OXSHARE] Section 3.1.4.3 for details.
2015-03-25 10:12:15 +01:00
Enrique J. Hernández Blasco
1c1a75d2c1
oc-mail: Use body.peek to preload message bodies
...
In this way, we do not modify the flags (\Seen) on preloading.
The IMAP server returns the content without .peek section so
it is removed.
This also performs the modification intended by the following
Pull Request:
https://github.com/Zentyal/sogo/pull/50
That tried to avoid set \Seen flag when preloading message bodies
on synchronisation. But in this case we are not incrementing the
modseq as we are not modifying any messages flags.
2015-03-13 10:54:57 +01:00
Enrique J. Hernández Blasco
6d6053865f
Revert "oc-mailfolder: Get seen flag directly from message in preloading"
...
This reverts commit d076e04ad4
.
2015-03-13 00:00:29 +01:00
Jesús García Sáez
8031f066dc
Merge pull request #98 from Zentyal/ejhernandez/calendar-sharing-invitation
...
Give support to calendar sharing invitation
2015-03-11 13:07:36 +01:00
Enrique J. Hernández Blasco
ae7ac1be29
oc-mail: Return sharing properties on sharing object mail message
...
When it is asked for available properties for an specific message.
2015-03-05 00:02:19 +01:00
Enrique J. Hernández Blasco
316ade13f8
oc: Implement Sharing Message Object
...
It acts as a proxy of MAPIStoreMailMessage and it manages the properties
defined in [MS-OXSHARE] Section 2.2 by storing them in the mail message
as eXtensible MIME headers which starts with X-MS-Sharing.
2015-03-04 18:49:17 +01:00
Carlos Pérez-Aradros Herce
3b2cbb945c
oc: Free headerEncoding variable
2015-03-04 10:10:32 +01:00
Jesús García Sáez
7e7d302165
oc: warning if codepage not found from headerCharset
2015-01-15 13:50:26 +01:00
Enrique J. Hernández Blasco
a8b716fbaa
oc: sync old messages as last resort if there are not in cache
...
This is happening when the lastModSeq is greater than the modseq
from an old message and that message is not in cache.
This is used as last resort before crashing and it is only used
in objectVersion as it is the first place to call on sync. Other
related properties would work.
2014-11-19 17:16:45 +01:00
Enrique J. Hernández Blasco
d076e04ad4
oc-mailfolder: Get seen flag directly from message in preloading
...
To avoid a loop and a server-call.
We are not using body.peek[text] directly because bodyContentPart message
is explicitly avoiding it.
2014-11-19 17:12:30 +01:00
Jesús García Sáez
445a1fb2d6
oc: MailMessages return correct codepage
2014-11-19 17:12:29 +01:00
Ludovic Marcotte
4c97d54939
Fix for bug #2119
2013-06-20 09:10:09 -04:00
Ludovic Marcotte
93f9a7273e
Now handle mem context when saving messages and removed useless debugging.
2013-03-13 15:04:11 -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
a549773554
Implemented a mechanism to preload body parts for email messages
2012-10-06 13:02:39 -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
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
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
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
7bb437021a
Monotone-Parent: d6049f3e55fa0ac4385db63c3777aa1d84d5511c
...
Monotone-Revision: 3fdbf80f4c1de08138ff9435f54fd9f663ef5b8f
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-07-20T14:13:56
Monotone-Branch: ca.inverse.sogo
2012-07-20 14:13:56 +00:00
Wolfgang Sourdeau
95a443d89a
Monotone-Parent: 3f8608c82d9c379cc9e0fea6ffe853cc1949a24b
...
Monotone-Revision: 905276f295d6f28a6946297f6a7af9ad60f71842
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-06-29T17:59:38
Monotone-Branch: ca.inverse.sogo
2012-06-29 17:59:38 +00:00
Wolfgang Sourdeau
b4d8609236
Monotone-Parent: c8921f898d8810ab70f86851a0449a28dc34eb89
...
Monotone-Revision: ccc94ebd9d872963c33041a7cac766343762bef2
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-06-01T15:15:30
Monotone-Branch: ca.inverse.sogo
2012-06-01 15:15:30 +00:00
Wolfgang Sourdeau
2adcb276b2
Monotone-Parent: 4899b773e21bd6c56bae726bf720e184b8ef9ec0
...
Monotone-Revision: cb7b77723f765942d950c5620150b720f5d0c5b1
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-30T15:33:47
Monotone-Branch: ca.inverse.sogo
2012-03-30 15:33:47 +00:00
Wolfgang Sourdeau
c4292714b5
Monotone-Parent: 1e532558ba17916d33138e4c65d283faf4d0e929
...
Monotone-Revision: 3d21b0780b7affb529a020d89dcbf84325264c7d
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-02T20:44:24
Monotone-Branch: ca.inverse.sogo
2012-03-02 20:44:24 +00:00
Wolfgang Sourdeau
4b81cb167d
Monotone-Parent: 4e23e038f2b0b7eddf8b30700b8c9a8910768f98
...
Monotone-Revision: 9235e5dc4d151a3cba8ad842ac39e1b2d18c8201
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-01-29T19:55:21
Monotone-Branch: ca.inverse.sogo
2012-01-29 19:55:21 +00:00
Wolfgang Sourdeau
cb4341db75
Monotone-Parent: 12ff4c07aa1f796a3312a4e79566255dbd94aece
...
Monotone-Revision: dd0644b62704e75dfed8a39a7e286d593f0014e0
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-11-17T18:39:42
Monotone-Branch: ca.inverse.sogo
2011-11-17 18:39:42 +00:00
Wolfgang Sourdeau
6f13029d21
Monotone-Parent: e38c570559610854b85c2c517053417779a76964
...
Monotone-Revision: 419d3afdcfcc1cddf8eef1f0311d418b03b0d1a0
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-11-17T16:15:38
Monotone-Branch: ca.inverse.sogo
2011-11-17 16:15:38 +00:00
Wolfgang Sourdeau
ecfd582a33
Monotone-Parent: 171272a94b2a2daabc128a7bb2a2787ca40ba489
...
Monotone-Revision: 1e8c7259f7ef4e643e8c4d7691e6d7b69faa65c3
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-11-01T14:30:20
Monotone-Branch: ca.inverse.sogo
2011-11-01 14:30:20 +00:00
Wolfgang Sourdeau
2110fba1a3
Monotone-Parent: 9488bb1220eb58936dc8d649bae5b7ecf2fe01fc
...
Monotone-Revision: 119b17733c942a5a103bfac69d069f4162241916
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-11-01T01:00:33
Monotone-Branch: ca.inverse.sogo
2011-11-01 01:00:33 +00:00
Wolfgang Sourdeau
4da013c4e3
Monotone-Parent: 55595f6ee3aaa33db773a4eb60c184519b6f18fd
...
Monotone-Revision: 9488bb1220eb58936dc8d649bae5b7ecf2fe01fc
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-10-31T19:29:37
Monotone-Branch: ca.inverse.sogo
2011-10-31 19:29:37 +00:00
Wolfgang Sourdeau
1ba0d4daa1
Monotone-Parent: a1f0f7f1bc0ae64c5342d0d87ffd1ff8e7e3272c
...
Monotone-Revision: 4ce6162defbc430cacd1a414c9d9b8a3d7e9940e
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-10-28T13:10:47
Monotone-Branch: ca.inverse.sogo
2011-10-28 13:10:47 +00:00
Wolfgang Sourdeau
c6b716ef62
Monotone-Parent: 8bcefff481572fc23caa92d92861c18902d781bd
...
Monotone-Revision: 6d629d88d3b01fa71fac5c998333eed2c61c6232
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-10-26T15:15:17
Monotone-Branch: ca.inverse.sogo
2011-10-26 15:15:17 +00:00
Wolfgang Sourdeau
7fa025c355
Monotone-Parent: 0e67d5e5243429d84d07553a966befe16961db76
...
Monotone-Revision: d589e40f05abe383340293f75981bab0f0ee6396
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-10-14T19:42:16
Monotone-Branch: ca.inverse.sogo
2011-10-14 19:42:16 +00:00
Wolfgang Sourdeau
600c8ddb7e
Monotone-Parent: 0e24f707625b8e960d18430aa904f3ec40c5dd2a
...
Monotone-Revision: d75ed56bb85ad0c1c37621595267a590aa9b60db
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-10-12T20:00:46
Monotone-Branch: ca.inverse.sogo
2011-10-12 20:00:46 +00:00
Wolfgang Sourdeau
c1726a8c40
Monotone-Parent: e329ec905c74bf16f8adf33509a116ea62e1d65f
...
Monotone-Revision: 2fd9ca48151cb890633db65a0c6b7a4066ce2ff0
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-10-11T21:16:57
Monotone-Branch: ca.inverse.sogo
2011-10-11 21:16:57 +00:00
Ludovic Marcotte
4e6a070fdc
Replaced all references to 0xffffffffffffffff/0xffffffffffffffffLL with ULLONG_MAX
...
Monotone-Parent: 04a0346af8290ab531d44883c56b4b27443baade
Monotone-Revision: d7e6ea19eaf3a8552c44ce60ed58b2efa54b9a27
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-10-07T18:30:15
Monotone-Branch: ca.inverse.sogo
2011-10-07 18:30:15 +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
01e387b7b9
Monotone-Parent: a9886e6c9acfb5c097b185a254e620a6a0094f1f
...
Monotone-Revision: 9109f0600492701322f24fb53d86a39821e26dc4
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-09-30T20:01:50
Monotone-Branch: ca.inverse.sogo
2011-09-30 20:01:50 +00:00
Wolfgang Sourdeau
5a8de78e49
Monotone-Parent: b76df21b12b927a0f3947b610200a0571cb5d9f1
...
Monotone-Revision: 46ee9065aaede905dab99601d89e7e2056ff0afd
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-09-24T00:13:06
Monotone-Branch: ca.inverse.sogo
2011-09-24 00:13:06 +00:00