Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sabre dav 3.2 requires on each vcard to have fn set #8

Merged
merged 1 commit into from
Nov 15, 2016

Conversation

MariusBluem
Copy link
Member

@MariusBluem
Copy link
Member Author

Anyone 🏜 @nextcloud/contacts

@@ -93,6 +93,9 @@ angular.module('contactsApp')
newContact.uid(newUid);
newContact.setUrl(addressBook, newUid);
newContact.addressBookId = addressBook.displayName;
if (_.isUndefined(newContact.fullName()) || newContact.fullName() === '') {
newContact.fullName(t('contacts', 'New Contact'));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be capitalized like »New contact« – we always only capitalize the first word. ;)

Copy link
Member Author

@MariusBluem MariusBluem Oct 30, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So it should be NewContact.fullName everywhere 🤔 ... this would also affect lines which are not touched by this PR - so I think I am misunderstanding you @jancborchardt

Copy link
Member

@jancborchardt jancborchardt Nov 4, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MariusBluem I mean the text:

fullName(t('contacts', 'New Contact'));

should be

fullName(t('contacts', 'New contact'));

(lowercase c)

@raghunayyar
Copy link
Member

@MariusBluem everything else seems okay. Can you add @jancborchardt changes so we can merge it. :)

@MariusBluem
Copy link
Member Author

What about the change in the contact_model 😁 https://github.com/owncloud/contacts/pull/526/files

@MariusBluem MariusBluem added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Oct 31, 2016
* Sabre dav 3.2 requires on each vcard to have fn set

* Force to set fn before sending back the vcard to the server

* New Contact -> New contact
@rullzer rullzer force-pushed the downstream-sabre-fn branch from db8cda2 to ed1659d Compare November 15, 2016 12:01
@rullzer
Copy link
Member

rullzer commented Nov 15, 2016

This fixes #29

LGTM

@Henni Henni merged commit e068649 into master Nov 15, 2016
@Henni Henni deleted the downstream-sabre-fn branch November 15, 2016 13:27
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 2. developing Work in progress 3. to review Waiting for reviews labels Feb 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants