Julio García
26bd1b30fa
Revert "Merge pull request #164 from Zentyal/jgarcia/revert-merge-inverse"
...
This reverts commit 1404dbdb88
, reversing
changes made to 72cbd9a45f
.
2015-08-03 09:48:06 +02:00
Enrique J. Hernández
0ce04fd4b6
Merge pull request #165 from Zentyal/jgarcia/uids_login_party_hard
...
SOGoUser bad initialization on multidomain environment
2015-07-31 18:46:15 +02:00
Jesús García Sáez
f3656f7571
Merge pull request #166 from Zentyal/ejhernandez/update-cn-setting-folder-props
...
oc: Update ChangeNumber after setting folder properties
2015-07-30 14:49:56 +02:00
Enrique J. Hernández Blasco
2aba083147
oc: Update ChangeNumber after setting folder properties
...
As required by operations like SynchronizationImportHierarchyChanges
a new change number must be generated when a change in a folder
is set. This affects to subfolders.
See [MS-OXCFXICS] Section 3.2.5.9.4.3 for details.
2015-07-30 10:07:55 +02:00
Jesús García Sáez
9414df26c5
getUIDForEmail works on multidomain: returns login
...
This method is used everywhere to try to retrieve the login of the user
(and normally use the return value to [SOGoUser initwithLogin: ...])
In multidomain environments (with DomainLessLogin = false) there were
several paths (mostly in SOGoAppointmentObject.m) that were trying to
create SOGoUser objects with incorrect login: using only the uid part,
not full email. Then like domain based uid was enabled, these users
had DomainLessLogin set to true and further calls tried to authenticate
only with the uid part (and they should not).
This affects to several methods in:
* ActiveSync/SOGoActiveSyncDispatcher.m
* Appointments/SOGoAppointmentFolder.m
* Appointments/SOGoAppointmentObject.m
* Appointments/SOGoCalendarComponent.m
* SOGoSAML2Session.m
Probably a few features related with calendars are now fixed or working
as intended in multidomain environments where the email is used as login
2015-07-29 17:40:56 +02:00
Jesús García Sáez
7496b92da5
Merge pull request #158 from Zentyal/jag/mapistorefolder-getpidtagdisplayname
...
oc-mail: Added [MAPIStoreFolder getPidTagDisplayName:inMemCtx:]
2015-07-28 18:08:20 +02:00
Jesús García Sáez
e38b0ac64f
Merge pull request #163 from Zentyal/ejhernandez/subject-fallback
...
oc-mail: Fallback to PidTagSubject unicode when creating new mail
2015-07-28 17:16:11 +02:00
Julio J. García Martín
1404dbdb88
Merge pull request #164 from Zentyal/jgarcia/revert-merge-inverse
...
Revert merge from inverse
2015-07-28 12:57:31 +02:00
Jesús García Sáez
3dc8cc78ea
Revert merge from inverse
...
https://github.com/Zentyal/sogo/pull/150
Because the login on web with the use of outlook is broken after
including the DomainLessLogin feature
2015-07-28 12:37:33 +02:00
Jesús García Sáez
72cbd9a45f
Merge pull request #162 from Zentyal/ejhernandez/fix-compilation-warn
...
oc: Fix compilation warning in MAPIStoreContext
2015-07-27 13:41:36 +02:00
Enrique J. Hernández Blasco
10ac445f7c
oc-mail: Fallback to PidTagSubject unicode when creating new mail
...
Some clients such as OpenChange client does not send the following
properties PidTagNormalizedSubject or PidTagSubjectPrefix as
suggested by [MS-OXCMAIL].
2015-07-27 11:18:14 +02:00
Enrique J. Hernández Blasco
c5b5a4243d
oc: Fix compilation warning in MAPIStoreContext
2015-07-25 09:56:21 +02:00
Enrique J. Hernández
372247a643
Merge pull request #160 from Zentyal/jgarcia/useless-indexing
...
oc: remove useless mapistore_indexing call
2015-07-23 08:58:36 +02:00
Jesús García Sáez
7bde181d3f
oc: check ret value get_new_folderID
...
On [MAPIStoreContext idForObjectWithKey: key inFolderUrl: url] check the ret value
of mapistore_indexing_get_new_folderID. This should never happen (oh my...) but
if this happens it will be reported
2015-07-21 19:47:17 +02:00
Jesús García Sáez
1336a1d5a8
oc: remove useless mapistore_indexing call
...
[mapping registerURL ...] will insert the mappingId in indexing database
there is no need to call, again, mapistore_indexing_record_add_mid
2015-07-21 19:47:17 +02:00
Enrique J. Hernández
cf606e3224
Merge pull request #157 from Zentyal/jgarcia/wocontext_broken_like_hell
...
Fix sharing imap connections between different clients
2015-07-21 18:38:09 +02:00
Jesús García Sáez
c9f2fe2f85
oc-folder: user context activation on rootFolders
...
Several fixes related with userContext activation
2015-07-21 11:08:03 +02:00
Jesús García Sáez
10bc15d41d
oc-folder: activate user context when needed
...
Before creating sogo objects
2015-07-21 11:08:02 +02:00
Jesús García Sáez
393b6d5128
oc-folder: simplify lookupFolder method
...
use activate and no need to set wocontext, it's already set properly
2015-07-21 11:08:02 +02:00
Jesús García Sáez
68ae978b13
oc-mail: activate user context needed
...
Before creating new sogo objects
2015-07-21 11:08:02 +02:00
Jesús García Sáez
f4e3b98042
Nothing changed: format and hoarding code removed
2015-07-21 11:08:02 +02:00
Jesús García Sáez
cfab18e1b8
oc: activate user context on initialization
2015-07-21 11:08:02 +02:00
Javier Amor García
959b4e015d
[SOgoMailFolder displayName] decodes IMAP4
2015-07-20 15:19:43 +02:00
Javier Amor García
2ce85f6c5c
oc-mail: Added [MAPIStoreFolder getPidTagDisplayName:inMemCtx:]
...
This getter is necessary to decode folder names
in utf7 encoding.
2015-07-17 18:23:40 +02:00
Jesús García Sáez
7d2f96e96b
oc: use activate instead of activateWithUser
...
100% of the times the user is the one that MAPIStoreUserContext
already has, so no need to have it as an argument.
2015-07-15 11:26:05 +02:00
Jesús García Sáez
3bf7afdfb7
oc: remove and disable userContext after each call
...
This adds [MAPIStoreUserContext activate] method to use
it instead of activateWithUser.
A cleanup operation is executed after each public function
so there won't be any conflicts with future calls.
In practice, this will deactivate the current user context set on
MAPIApp, this means two things: (1) set nil as current user context
on MAPIApp and (2) remove woContext from current thread dictionary
2015-07-15 11:25:45 +02:00
Jesús García Sáez
503a70118f
oc: remove tabs and unused code
2015-07-14 19:19:58 +02:00
Jesús García Sáez
928b6b596e
oc: OC_DEBUG inside macros
...
These macros are used before and after every performed
operation
2015-07-14 19:19:51 +02:00
Julio J. García Martín
d0d93a297b
Merge pull request #156 from Zentyal/jjgarcia/remove-not-needed-code
...
Remove not needed block in SoObjects/SOGo/SOGoUserManager.m
2015-07-13 09:13:21 +02:00
Julio García
936c38c43e
Remove not needed block in SoObjects/SOGo/SOGoUserManager.m
2015-07-07 14:25:17 +02:00
Jesús García Sáez
7da7bdc1bf
Merge pull request #150 from Zentyal/merge-upstream
...
Merge upstream
2015-07-06 18:57:45 +02:00
Jesús García Sáez
1e101ef01a
Merge branch 'master' into merge-upstream
...
Conflicts:
SoObjects/SOGo/SOGoUserManager.m
2015-07-06 18:54:35 +02:00
Enrique J. Hernández
3171257ef4
Merge pull request #153 from Zentyal/jag/active-sync-access
...
ActiveSync: can be controlled by module constraint
2015-07-03 08:42:55 +02:00
Julio J. García Martín
2c8d65843f
Merge pull request #154 from Zentyal/ejhernandez/fix-crash-no-object-type-rec
...
oc: Check PidTagObjectType before dereferencing on ModifyRecipients
2015-07-01 10:57:25 +02:00
Enrique J. Hernández Blasco
62b16f4ef3
oc: Check PidTagObjectType before dereferencing on ModifyRecipients
...
This is crashing when the PidTagObjectType property is set for
some recipient and not for others.
If the property is missing, then no object type for the recipient
is assumed.
2015-06-29 23:53:12 +02:00
Julio García
8e047aaa9c
Merge remote-tracking branch 'upstream/master' into merge-upstream
...
Conflicts:
SoObjects/SOGo/SOGoUserManager.m
Tools/SOGoToolRestore.m
2015-06-26 09:41:58 +02:00
Julio García
dc2cc14d25
Revert "Revert "(fix) more fixes and clarifications on the mutli-domain settings""
...
This reverts commit 3dd8bddc0e
.
2015-06-26 09:35:47 +02:00
Julio García
3f1a43cc13
Revert "Revert "(fix) more multi-domain fixes and cleanups""
...
This reverts commit 90e11d76f6
.
2015-06-26 09:35:37 +02:00
Julio García
67d0d95869
Revert "Revert "Fixed mess regarding uid/realUID""
...
This reverts commit 96d88de564
.
2015-06-26 09:35:26 +02:00
Francis Lachapelle
d16bf7c1a7
(fix) Tasks list display in Calendar module
...
Fixes #3267
2015-06-24 07:48:01 -04:00
Francis Lachapelle
b527099907
(fix) Events list display in Calendar module
...
Fixes #3261
2015-06-23 09:25:29 -04:00
Javier Amor García
72aab7f83f
ActiveSync: can be controlled by module constraint
...
Added 'ActiveSync' module constraint. If constraint is not
honored the ActiveSync request returns a forbidden (403).
2015-06-23 09:11:45 +02:00
Ludovic Marcotte
dfecce7381
(feat) added support for DeletesAsMoves over EAS
2015-06-22 09:19:54 -04:00
Francis Lachapelle
82798ccb99
Change signature of [iCalAlarm alarmForEvent:..]
...
The first argument doesn't have to be a iCalRepeatableEntity; a simple
iCalEntity is enough.
2015-06-19 22:11:24 -04:00
Ludovic Marcotte
3809c002ed
Revert "(fix) ensure calendar objects have a (fake) filename"
...
This reverts commit a145fdbb53
.
2015-06-17 15:57:16 -04:00
Ludovic Marcotte
d9b4abc2f1
(fix) improved memory usage
2015-06-17 08:46:09 -04:00
Ludovic Marcotte
5ad3662640
(fix) fixed multi-domain support for sogo-tool backup/restore ( #2600 )
2015-06-11 13:32:57 -04:00
Francis Lachapelle
667e38ff0c
(fix) Escaping of unexpected characters in emails
...
Properly encode characters in DOM attributes.
Fixes #3241
2015-06-11 13:14:19 -04:00
Francis Lachapelle
76196bf6f4
(fix) Handling of cards with unexpected UID
...
Fixes #3239
Fixes #3245
2015-06-11 12:09:21 -04:00
Francis Lachapelle
5435c2dd04
(js) New method String.prototype.fromCSSIdentifier
2015-06-11 11:45:24 -04:00