-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
ownCloud users are exported as address book #9641
Conversation
Nice! Works as expected. The difference with #8951 is only that these contacts aren't accessible via the contacts app. Which isn't needed since they can't be edited. |
They should as long as the contacts app is using the contacts manager to access all addressbook |
Indeed, but this isn't the case. The contacts app runs the |
hehe - this actually explains why there was that much code in your PR 😉 |
Indeed. But I like this :) |
🚀 Test Passed. 🚀 |
I will add some unit tests the next days |
So after some small changes in the Contacts app, this will work for the Contacts app too? |
@jancborchardt this PR #9641 won't load the contacts in the Contacts app. I don't think it's a small adjustment in the Contacts app since it's the core function and design of the Contacts app. |
Ok so the goal of this localUsers backend is to have an easy way to expose the local users to apps like Contacts and Chat. Is this achieved by this PR? Or what does this do? :) |
@jancborchardt this PR is an alternative for #8951. TL;DR this PR creates the contacts, but the Contacts app doesn't fetch them. (but the Chat app does) And #8951 creates the contacts and the Contacts is able to fetch them. |
@jancborchardt which PR should be used then? |
👍 Nice! |
|
||
/** | ||
* @param array $properties this array if key-value-pairs defines a contact | ||
* @return array an array representing the contact just created or updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This returns only false.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should return an empty array to match the interface
The inspection completed: 10 new issues, 29 updated code elements |
🚀 Test Passed. 🚀 |
Can this be merged? @DeepDiver1975 Can this be backported to 7.0.1? This way I can release a beta for the Chat app without the need for people to use the git version. |
Yep @LEDfan @LukasReschke @DeepDiver1975 it would be really good if we can have this merged and in 7.0.1. |
ownCloud users are exported as address book
@karlitschek has to decide on this |
Ok. Please backport |
will do later ... |
stable7: 02a61c0 |
@LEDfan @jancborchardt go go go! 😉 |
Thanks @DeepDiver1975 ! |
Awesome! |
alternative approach for #8951
@LEDfan