-
-
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
Always set displayname and display-name for user data #36665
Conversation
Signed-off-by: jld3103 <jld3103yt@gmail.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.
- Fix: #70 - Related: nextcloud/server#36665 Signed-off-by: Grigorii Shartsev <grigorii.shartsev@nextcloud.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.
Tested on my server, works as expected 🐸
Drone failures are unrelated. |
Drone failures ARE TOTALLY related. Please fix asap to restore green CI |
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
…controller-test Adjust provisioning API tests after #36665
@@ -106,6 +107,7 @@ interface IAccountManager { | |||
|
|||
public const PROPERTY_AVATAR = 'avatar'; | |||
public const PROPERTY_DISPLAYNAME = 'displayname'; | |||
public const PROPERTY_DISPLAYNAME_LEGACY = 'display-name'; |
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.
Please document in #37039
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.
It's a non-breaking backwards compatible change, but it should still be documented?
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.
Basically anything touching OCP should be documented, so people are aware it now exists.
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.
Can you tell me how I should write it down? I'm not sure exactly what I should write
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.
In the Backend section just write a new bullet point:
OCP\Accounts\IAccounManager::PROPERTY_DISPLAYNAME_LEGACY
was added to be used for …
And then leave a comment with your changes, so that people that are subscribed to the ticket know that the list was modified.
Hello! Are you familiar with our documentation process already? Changes that affect administrators should be documented here: While I understand sometimes it's handy to merge fast to get your changes in, it would be great if next time you could try to add the documentation before merging. You can find more information on that here: If all your documentation efforts are done, please remove the label 'documentation' and check the checkbox in your opening note and I'll stop bugging you :) Many thanks in advance and thanks again for your work! |
Documentation was done, label was wrong. |
Summary
Always set both fields to make the returned data the same regardless of the endpoint.
Checklist