Commit Graph
26 Commits
Author SHA1 Message Date
ethomsandPatrice Levesque aea4ee72c9 Convert configure script shebang back to /bin/sh for cross-platform compatability (#215) 2016-07-12 14:49:17 -04:00
ethomsandLudovic Marcotte 99765aae53 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-25 09:19:41 -05:00
ethoms 3a103fd0dd Update WORequest+SOGo.m 2015-11-06 01:47:32 +08:00
ethoms bf87c71671 Update WORequest+SOGo.m 2015-11-05 10:23:01 +08:00
ethoms 30488f4f6d Update WORequest+SOGo.m 2015-11-05 10:22:11 +08:00
ethoms 4ca3a1f42d Update SOGoParentFolder.m 2015-11-05 08:01:38 +08:00
ethoms efbf8825b1 Update SOGoParentFolder.m 2015-11-05 07:29:45 +08:00
ethoms becfdc215f Update SOGoParentFolder.h 2015-11-05 07:20:36 +08:00
ethoms 0cb1504f2c Update SOGoCalendarComponent.m 2015-11-04 08:18:23 +08:00
ethoms d19c883622 Update UIxCalListingActions.m 2015-11-04 07:38:47 +08:00
ethoms a1c6a6676e Update UIxCalListingActions.m 2015-11-04 07:37:34 +08:00
ethoms 59c8a0f722 Update UIxMailPartViewer.m 2015-11-04 07:33:28 +08:00
ethoms 6dc912eee5 Update SOGoGCSFolder.m 2015-11-04 07:29:50 +08:00
ethoms 1a0915ebf6 Update SOGoFolder.m 2015-11-04 07:27:53 +08:00
ethoms 6bff05b84a Update SOGoMailLabel.m 2015-11-04 07:24:02 +08:00
ethoms b5eb13c3b7 Update SOGoContactSourceFolder.m 2015-11-04 07:19:37 +08:00
Euan Thoms 46ccd04c70 Stage 9 of clang compiler warning patches. 2015-11-04 06:13:01 +08:00
Euan Thoms 440a86d3f2 Stage 8 of clang compiler warning patches. 2015-11-04 06:02:45 +08:00
Euan Thoms 0b4c355c2c Stage 6 of clang compiler warning patches. 2015-11-04 05:37:39 +08:00
Euan Thoms 36c1ba88a5 Stage 5 of clang compiler warning patches. 2015-11-04 05:28:03 +08:00
Euan Thoms 2303a250c5 Stage 4 of clang compiler warning patches. 2015-11-04 04:59:27 +08:00
Euan Thoms a64d55f95c Stage 3 of clang compiler warning patches. 2015-11-04 03:59:40 +08:00
Euan Thoms 9a3f8549ea Delete .orig files left over from applying patches to Stage 2. 2015-11-04 03:40:53 +08:00
Euan Thoms 212ff64828 Stage 2 of clang compiler warning patches. 2015-11-04 03:36:34 +08:00
Euan Thoms 7541fb62e0 Merge branch 'master' of https://github.com/inverse-inc/sogo into clang-warnings-stage1 2015-11-04 02:14:50 +08:00
Euan Thoms 3c62cc744e Stage 1 of clang compiler warning patches. 2015-10-31 14:10:03 +08:00