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

Improve ldap avatar handling #50162

Merged
merged 6 commits into from
Jan 16, 2025
Merged

Improve ldap avatar handling #50162

merged 6 commits into from
Jan 16, 2025

Conversation

come-nc
Copy link
Contributor

@come-nc come-nc commented Jan 13, 2025

  • Resolves: #

Summary

  • Improve typing in user_ldap User class
  • Remove obsolete limitation of only updating avatar after login

Checklist

@come-nc come-nc added the 3. to review Waiting for reviews label Jan 13, 2025
@come-nc come-nc added this to the Nextcloud 31 milestone Jan 13, 2025
@come-nc come-nc self-assigned this Jan 13, 2025
@come-nc come-nc requested a review from blizzz January 13, 2025 17:27
@come-nc come-nc requested review from a team, ArtificialOwl, artonge and yemkareems and removed request for a team January 13, 2025 17:27
Copy link
Member

@blizzz blizzz left a comment

Choose a reason for hiding this comment

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

A question, code looks good.

apps/user_ldap/lib/User/User.php Show resolved Hide resolved
@skjnldsv skjnldsv mentioned this pull request Jan 14, 2025
Copy link
Contributor

@kesselb kesselb left a comment

Choose a reason for hiding this comment

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

LGTM 👍

  • Login with a clean user does load the avatar ☑️
  • ldap:check-user --update also load the avatar ☑️
  • Visiting the profile of a user, that has never logged in, as admin does not trigger the avatar loading for me.

Nice code cleanup 🧹

@skjnldsv skjnldsv mentioned this pull request Jan 16, 2025
@blizzz blizzz merged commit 2de855f into master Jan 16, 2025
188 checks passed
@blizzz blizzz deleted the fix/improve-ldap-avatar-handling branch January 16, 2025 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants