-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
Allow autocomplete based on phone sync #26031
Allow autocomplete based on phone sync #26031
Conversation
nickvergessen
commented
Mar 9, 2021
•
edited
Loading
edited
- Based on Provisioning API to IBootstrap #26029
- Store phonebook sync matches in a database
- Remove "known user" matches when the user changes their phone number
- Remove any matches when the user is deleted
- Add a config option to "Restrict username autocompletion to users with phone sync matches" in the sharing settings
- (needs some thinking how we can phrase it so it works with the existing options in a good way)
- Respect that setting on the autocomplete endpoint.
- Write integration tests to assure this doesn't break
cfbcd82
to
f17a576
Compare
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
58edfee
to
fb933ed
Compare
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
c122f9b
to
f7d1cf0
Compare
…or same group Signed-off-by: Joas Schilling <coding@schilljs.com>
f7d1cf0
to
5b53b6f
Compare
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
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.
I squinted but the code looks fine
Signed-off-by: Joas Schilling <coding@schilljs.com>
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.
👍 code looks fine with minor comments
and one thing that disturbed me most was the naming of $knownTo and $knownUser which are easy to mix up
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
5ddb55c
to
b4f6aca
Compare
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.
👍
/backport to stable21 |
The backport to stable21 failed. Please do this backport manually. |
@nickvergessen Documentation missing? |
How to upload your phone's addressbook? Or the admin setting? |
admin setting server/apps/settings/lib/Settings/Admin/Sharing.php Lines 88 to 94 in d9f8522
|
Added the new checkbox in nextcloud/documentation#11241 and updated the screenshot and labels that were brought in by other changes in the meantime |