You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zeripath 123f0aea00
Allow LDAP Sources to provide Avatars (#16851)
* Allow LDAP Sources to provide Avatars

Add setting to LDAP source to allow it to provide an Avatar.

Currently this is required to point to the image bytes.

Fix #4144

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Rename as Avatar Attribute (drop JPEG)

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Always synchronize avatar if there is change

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Actually get the avatar from the ldap

Signed-off-by: Andrew Thornton <art27@cantab.net>

* clean-up

Signed-off-by: Andrew Thornton <art27@cantab.net>

* use len()>0 rather than != ""

Signed-off-by: Andrew Thornton <art27@cantab.net>

* slight shortcut in IsUploadAvatarChanged

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
3 years ago
..
backup-and-restore.en-us.md Update back-up restore example for 1.13 changes (#14374) 4 years ago
backup-and-restore.zh-cn.md Update back-up restore example for 1.13 changes (#14374) 4 years ago
backup-and-restore.zh-tw.md Update back-up restore example for 1.13 changes (#14374) 4 years ago
command-line.en-us.md Allow LDAP Sources to provide Avatars (#16851) 3 years ago
email-setup.en-us.md docs: rewrite email setup (#16404) 3 years ago
fail2ban-setup.en-us.md Extend the fail2ban instructions with a hint on how to make X-Real-IP… (#16446) 3 years ago
git-lfs-support.md add note about minimum required version of git installed (#16433) 3 years ago
https-support.md Reformat docs (#13897) 4 years ago
issue-pull-request-templates.en-us.md Reformat docs (#13897) 4 years ago
issue-pull-request-templates.zh-cn.md Reformat docs (#13897) 4 years ago
linked-references.en-us.md Reformat docs (#13897) 4 years ago
pull-request.en-us.md Reformat docs (#13897) 4 years ago
pull-request.zh-cn.md Reformat docs (#13897) 4 years ago
pull-request.zh-tw.md [docs] Add zh-tw Translations (#14507) 3 years ago
push-options.en-us.md Reformat docs (#13897) 4 years ago
push-options.zh-tw.md [docs] Add zh-tw Translations (#14507) 3 years ago
reverse-proxies.en-us.md Added documentation about 413 errors with an nginx solution (#15313) 3 years ago
reverse-proxies.zh-cn.md Reformat docs (#13897) 4 years ago
template-repositories.md Reformat docs (#13897) 4 years ago