Commit graph

3014 commits

Author SHA1 Message Date
extrafu f1bb581dcc Merge pull request #209 from extrafu/master
Latest OpenChange changes from Zentyal
2016-05-17 13:57:57 -04:00
Ludovic Marcotte e3c7bdd5d8 Revert "Remove listRequiresDot option from *Source classes"
This reverts commit 6b2ec7a2e7.
2016-05-17 13:41:33 -04:00
Ludovic Marcotte a8574d8e75 (fix) handle multi-value org units 2016-05-11 11:44:46 -04:00
Ludovic Marcotte 11844283d1 (fix) don't use removeItemAtPath - it is not available on Precise
Conflicts:

	SoObjects/Mailer/SOGoDraftObject.m
2016-05-10 15:54:02 -04:00
Ludovic Marcotte d601608024 (fix) fixed bogus headers generation when stripping folded bcc headers (fixes #3664) 2016-05-10 08:51:59 -04:00
Ludovic Marcotte a4c69215db (fix) use uid and not always-nil login value at this point 2016-05-09 15:14:48 -04:00
Ludovic Marcotte a26b2ec9ef (fix) make sure we don't double-append domain part (fixes #3614) 2016-05-06 13:48:59 -04:00
Ludovic Marcotte da489c6499 (fix) correctly write the content on disk before zipping it 2016-05-03 09:04:36 -04:00
Ludovic Marcotte 012ac98b31 (fix) encore CR for EAS (fixes #3626) 2016-04-14 15:23:09 -04:00
Ludovic Marcotte fc86e60acc (fix) avoid double-appending domain in cache (fixes #3614) 2016-04-12 13:17:04 -04:00
Ludovic Marcotte c091c05185 (fix) adjust offset datatype to avoid int overflows (fixes #3628) 2016-04-11 15:56:02 -04:00
Ludovic Marcotte 7f6211ae4a (fix) avoid going to far when checking logins if no login is defined 2016-04-11 10:18:09 -04:00
Ludovic Marcotte 1615545584 (fix) don't escape \r 2016-04-07 09:27:26 -04:00
Ludovic Marcotte 2b137d6bc0 (fix) properly XML escape wide characters (fixes #3616) 2016-04-06 11:20:46 -04:00
Francis Lachapelle 1e491d45a5 (i18n) Update translations 2016-04-05 11:54:23 -04:00
Ludovic Marcotte 33583ea872 (fix) use PEEK when archiving messages (fixes #2792) 2016-03-29 11:38:30 -04:00
Ludovic Marcotte 663c4a44a2 (fix) handle Dovecot's mail_shared_explicit_inbox when using EAS
Conflicts:

	ActiveSync/SOGoActiveSyncDispatcher.m
	SoObjects/Mailer/SOGoMailAccount.m
2016-03-28 11:18:35 -04:00
Ludovic Marcotte 50cb8772c4 (fix) small performance optimization 2016-03-23 15:10:18 -04:00
Ludovic Marcotte cfddf147c4 (fix) handle default classification for tasks (fixes #3541) 2016-03-23 13:42:21 -04:00
Ludovic Marcotte 9621527414 (fix) use the correct message class for S/MIME mails 2016-03-18 13:00:02 -04:00
Ludovic Marcotte f16cc609ea (fix) handle empty body data correctly (fixes #3581) 2016-03-18 12:54:00 -04:00
Ludovic Marcotte 5ae40a02ec (fix) respect the LDAP attributes mapping in the list view 2016-03-18 12:37:21 -04:00
Ludovic Marcotte 766d0ff64e (feat) user rate-limiting support for all SOGo requests 2016-03-18 11:03:45 -04:00
Francis Lachapelle 30b08941f6 Add Lithuanian translation 2016-03-16 11:34:11 -04:00
Francis Lachapelle 82b919e7ee Update translations
Added Lithuanian
2016-03-16 10:50:01 -04:00
Ludovic Marcotte bfb7fa2e14 (fix) don't skip last identity 2016-03-14 13:18:24 -04:00
Ludovic Marcotte e8ff3dc539 (fix) avoid compilation warning from previous commit 2016-03-13 13:47:03 -04:00
Ludovic Marcotte 20b1d3c0e9 Use GMT tz when setting birthday (fixes #3579) 2016-03-13 13:46:53 -04:00
Ludovic Marcotte 100841efbd (fix) remove unnecessary error message 2016-03-08 08:24:51 -05:00
Enrique J. Hernández 7f0c5a86f8 Merge pull request #256 from zentyal/jag/multipart-nested-2
oc-mail: Better management of nested multipart types
2016-02-23 17:40:55 +01:00
Javier Amor García f388d180ae oc-mail: Better management of nested multipart types
Instead of treating all the message either as alternative or mixed with
this changeset the MIME type of the parent part is used.
This allows a correct disposition of the message in the cases when
nested multiparts elements are used.
Also in mixed parts we convert between plain text and HTML as needed.
2016-02-22 17:19:44 +01:00
Jesús García Sáez b62d58d4d7 Merge pull request #249 from zentyal/ejhernandez/proper-fix-user-many-groups-calendar-sharing
Keep all roles in calendar folder ACLs
2016-02-15 20:53:14 +01:00
Enrique J. Hernández Blasco 15779c2cfb Keep all roles in calendar folder ACLs
Instead of keeping only the highest access roles. This reverts
2c678101 to fix handling of ACLs with multiple groups.

This is done because OpenChange library stores other roles/permissions
in the ACLs that have limited scope to the MAPI protocol and it
maintains an homogeneous returned data with other folders by returning
the actual data is stored in the DB.

By sorting the roles, we give the ability to callers to validate
permissions more efficiency (less loops) and keep the right highest
access level. As an example, check
[SOGoApppointmentFolder:roleForComponentsWithAccessClass:forUser]
for details.
2016-02-11 16:54:49 +01:00
Enrique J. Hernández Blasco 3b0cfa00f7 Support for groups using EnableDomainBasedUID conf
Using LDAP as source, the group entry must have a valid
group objectClass such as posixGroup or group and have a
valid UIDField which does not include the domain.

With this changeset, SOGo is aware of these groups when it has
an email and you can share a component such as a calendar with
the member of the group.
2016-02-11 15:59:54 +01:00
Ludovic Marcotte 499dbf68ae (fix) allow resources to prevent invitations (fixes #3410) 2016-02-10 15:05:00 -05:00
Francis Lachapelle 08bf6d528b Update translations 2016-02-05 12:14:48 -05:00
Ludovic Marcotte 920bfba8b8 (fix) add shared/public namespaces in the list or returned folders 2016-02-05 10:02:05 -05:00
Carlos Pérez-Aradros Herce 061244a0a5 Allow exception raising when connecting to IMAP
By setting `SoIMAP4ExceptionsEnabled` config key to YES

Enabled for OpenChange by default, it will ensure no action is taken
when IMAP connection is not valid.
2016-01-27 15:30:27 +01:00
Francis Lachapelle be7971ceef Add Croatian translation 2016-01-25 10:51:09 -05:00
ethoms 5ba476789c fix (revised) for issue with CardDAV sync with the DAVDroid sync client.
This is a revised fix for the issue raiased in sogo bug tracker 3370 and 3373. It supercedes the fix in commit  2c723070c6 .

The fix was noted in NEWS with the comment "we now return all cards when we receive an empty addressbook-query REPORT". However it did not work for me and at least two others, as can be seen in the commit comments. In summary, only contacts with email addresses were synced. The suggested change from kwirk fixes the regular address book sync, but it completely breaks syncing of the read-only Group Directory (Corporate Directory). My suggested changes work in full (as far as I'm able to test).

I have done some fairly extensive testing of CardDAV sync (with DAVDroid only) and it seems to work 100% now. In addition to the obvious tests, I have tested with contacts that only have one field of data entered. The feilds I've tested (with all other fields empty) are as follows:

First name
Last name
Display name
email address
Work (telephone)
Home (telephone)
Fax (telephone)
Mobile (telephone)

Additionally, I tested syncing of a contact with only the Work Address fully populated. In the webmail, since the name fields are all missing, the "Organization" field of the Work Address takes the place of the name field in the 'Name' column. This does get synced to my phone and it also appears my Android contact list with 'Name' set to the 'Organization' field data. The address, organization and website fields being in tact also.

In addition, I tested a Group Directory (Corporate Directory) [SOGoUserSources->isAddressBook] sync. It seems contacts without email addresses do not sync. This seems to be the behaviour across the board with a "." search filter. This happens despite the filter in SOGoUserSources including ldap entries without a mail attribute. Nothing I can do to patch this in SOGoFolder+CardDAV.m, that would have to be fixed in the code that deals with the special "." search filter (I guess).

I think the contact search system needs some looking into, particularly the "." search filter behaviour. There is another bug related to contact search in the webmail address book view. I will make a bug report on that soon. It's a shame there isn't an "all" search filter, it would seem it would make various parts of SOGo easier to get the right behaviour.
2016-01-24 03:43:24 +08:00
Ludovic Marcotte 49d5a72d65 (fix) rewrote the string sanitization to be 32-bit Unicode safe 2016-01-22 20:30:40 -05:00
Ludovic Marcotte 7ca66b4078 (feat) new junk/not junk capability with generic SMTP integration 2016-01-22 10:30:27 -05:00
Jesús García Sáez 6b2ec7a2e7 Remove listRequiresDot option from *Source classes
This option is not needed. SQLSource was not using it
and LDAPSource will transform the filter to (UIDField=*) when
there is nothing set as filter, before this patch it was needed
to either insert '.' as filter or set listRequiresDot to NO
2016-01-20 11:01:27 +01:00
Francis Lachapelle b1590f6b2e Update translations 2016-01-18 09:51:22 -05:00
extrafu a503b34d7a Merge pull request #184 from zentyal/master
Fixes from Zentyal since 2015/12/30
2016-01-18 09:10:35 -05:00
Francis Lachapelle 5c58299458 Update Russian translation 2016-01-14 09:10:56 -05:00
Enrique J. Hernández 9bb2473c8e Merge pull request #233 from zentyal/jgarcia/delete-attach-after-fail
Do not include failure attachments (really long filenames)
2016-01-13 12:08:58 +01:00
Jesús García Sáez 90378b76eb draft: remove attachment on failure
Attachment creation can succeed and attachment mime file could fail

This can happen, e.g., when the filename's length is close to the maximum
allowed but your filesystem and then mime file will exceed that limit
(because it has a prefix).
2016-01-12 16:10:39 +01:00
Enrique J. Hernández 6aeb13ba65 Merge pull request #227 from zentyal/jgarcia/qp-encode-subjects
Fix encoding of subjects of emails with non-ascii characters
2016-01-12 16:04:42 +01:00
Ludovic Marcotte 490043b2e1 (fix) we now follow 301 redirects when fetching ICS calendars 2016-01-08 12:02:33 -05:00