sogo/SoObjects/Contacts
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
..
Arabic.lproj Initial Arabic translation 2013-04-08 11:05:45 -04:00
Basque.lproj Initial Basque translation 2015-04-27 13:59:05 -04:00
BrazilianPortuguese.lproj Update translations 2015-04-09 09:06:19 -04:00
Catalan.lproj Update translations 2014-09-09 15:50:39 -04:00
ChineseTaiwan.lproj Add Chinese (Taiwan) translation 2015-07-23 11:14:08 -04:00
Czech.lproj Update translations 2014-05-29 11:14:23 -04:00
Danish.lproj Renamed "DanishDenmark" to "Danish". 2011-12-19 17:16:23 +00:00
Dutch.lproj Update Dutch, Finnish, German, Polish translations 2014-06-05 13:29:10 -04:00
English.lproj New feature : 1496; Unknown outgoing email addresses can now be automatically be added to your address books. 2014-03-24 13:41:57 -04:00
Finnish.lproj Update Dutch, Finnish, German, Polish translations 2014-06-05 13:29:10 -04:00
French.lproj Update French translation 2014-05-16 16:52:44 -04:00
German.lproj Update Dutch, Finnish, German, Polish translations 2014-06-05 13:29:10 -04:00
Hungarian.lproj Update translations 2014-05-29 11:14:23 -04:00
Icelandic.lproj Added Icelandic translation - thanks to Anna Jonna Armannsdottir <annaj@hi.is> 2011-05-11 19:12:47 +00:00
Italian.lproj More translations cleanup 2009-08-10 18:56:30 +00:00
Macedonian.lproj Add Macedonian translation 2015-11-11 09:46:01 -05:00
NorwegianBokmal.lproj Update translations 2014-09-09 15:50:39 -04:00
NorwegianNynorsk.lproj Splitted Norwegian translation in Norwegian Bokmal and Nynorsk. 2011-11-15 21:15:49 +00:00
Polish.lproj Update Dutch, Finnish, German, Polish translations 2014-06-05 13:29:10 -04:00
Portuguese.lproj Add Portuguese translation 2015-11-10 16:33:11 -05:00
Russian.lproj Update translations 2014-05-29 11:14:23 -04:00
Slovak.lproj Update translations 2014-05-29 11:14:23 -04:00
Slovenian.lproj Add Slovenian translation 2015-07-22 17:22:26 -04:00
SpanishArgentina.lproj Update translations 2016-01-18 09:51:22 -05:00
SpanishSpain.lproj Update translations 2014-05-29 11:14:23 -04:00
Swedish.lproj Added Swedish translation. 2009-11-18 23:42:49 +00:00
Ukrainian.lproj See ChangeLog 2010-06-04 16:32:21 +00:00
Welsh.lproj See ChangeLog 2009-04-21 15:20:52 +00:00
GNUmakefile Add Macedonian translation 2015-11-11 09:46:01 -05:00
GNUmakefile.preamble see ChangeLog 2006-06-15 19:34:10 +00:00
NGVCard+SOGo.h Mapped lots of contact properties 2014-02-05 20:56:01 -05:00
NGVCard+SOGo.m (fix #127) fallback to "work" when export as ldif 2015-12-11 14:51:08 -05:00
NGVList+SOGo.h Fat commit to refactor the quick record generation 2014-07-30 14:51:00 -04:00
NGVList+SOGo.m Support for repetitive alarms and tasks 2014-09-12 08:34:15 -04:00
NSDictionary+LDIF.h Monotone-Parent: 995b68ade85d0d884cdf8f6fc87e55f0c376a80c 2011-12-30 20:39:07 +00:00
NSDictionary+LDIF.m Fix for bug #2106 2012-11-17 15:33:07 -05:00
NSString+LDIF.h Monotone-Parent: 995b68ade85d0d884cdf8f6fc87e55f0c376a80c 2011-12-30 20:39:07 +00:00
NSString+LDIF.m Monotone-Parent: 995b68ade85d0d884cdf8f6fc87e55f0c376a80c 2011-12-30 20:39:07 +00:00
Product.m see ChangeLog 2006-06-15 19:34:10 +00:00
product.plist See ChangeLog 2009-09-25 14:42:33 +00:00
SOGoContactEntryPhoto.h Monotone-Parent: 995b68ade85d0d884cdf8f6fc87e55f0c376a80c 2011-12-30 20:39:07 +00:00
SOGoContactEntryPhoto.m Stage1b (v2 branch) of clang compiler warning patches. 2015-11-06 01:29:26 +08:00
SOGoContactFolder.h See ChangeLog. 2012-02-11 07:08:02 +00:00
SOGoContactFolders.h The collected address book will be created only if the user select it in the preferences. Fix labels. 2014-03-27 15:27:48 -04:00
SOGoContactFolders.m Stage1b (v2 branch) of clang compiler warning patches. 2015-11-06 01:29:26 +08:00
SOGoContactGCSEntry.h Minor code/copyright/authors cleanups 2014-01-09 21:06:31 -05:00
SOGoContactGCSEntry.m Stage1b (v2 branch) of clang compiler warning patches. 2015-11-06 01:29:26 +08:00
SOGoContactGCSFolder.h Refactored GCSFolder: -writeContent and fixed sogo-tool restore 2014-08-01 09:40:45 -04:00
SOGoContactGCSFolder.m Minor code/copyright/authors cleanups 2014-01-09 21:06:31 -05:00
SOGoContactGCSList.h Fixed compilation warnings 2009-08-24 21:02:47 +00:00
SOGoContactGCSList.m Stage1b (v2 branch) of clang compiler warning patches. 2015-11-06 01:29:26 +08:00
SOGoContactLDIFEntry.h Monotone-Parent: 995b68ade85d0d884cdf8f6fc87e55f0c376a80c 2011-12-30 20:39:07 +00:00
SOGoContactLDIFEntry.m Fat commit to refactor the quick record generation 2014-07-30 14:51:00 -04:00
SOGoContactObject.h Minor code/copyright/authors cleanups 2014-01-09 21:06:31 -05:00
SOGoContactSourceFolder.h Minor code/copyright/authors cleanups 2014-01-09 21:06:31 -05:00
SOGoContactSourceFolder.m Merge pull request #223 from inverse-inc/v2 2015-12-29 22:41:02 +01:00
SOGoFolder+CardDAV.h (fix) we now return all cards when we receive an empty addressbook-query REPORT 2015-10-21 10:54:15 -04:00
SOGoFolder+CardDAV.m fix (revised) for issue with CardDAV sync with the DAVDroid sync client. 2016-01-24 03:43:24 +08:00
SOGoUserFolder+Contacts.h Monotone-Parent: 87a9edec020f812d113ea5bde21c2d30b040ab87 2009-06-11 19:55:13 +00:00
SOGoUserFolder+Contacts.m Fix CardDAV collections for OS X 2013-01-09 11:39:29 -05:00