1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 01:35:54 +01:00
gitea/options/locale
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>
2021-09-26 22:39:36 -04:00
..
locale_bg-BG.ini [skip ci] Updated translations via Crowdin 2021-09-02 00:04:56 +00:00
locale_cs-CZ.ini [skip ci] Updated translations via Crowdin 2021-09-25 00:04:51 +00:00
locale_de-DE.ini [skip ci] Updated translations via Crowdin 2021-09-25 00:04:51 +00:00
locale_el-GR.ini [skip ci] Updated translations via Crowdin 2021-09-25 00:04:51 +00:00
locale_en-US.ini Allow LDAP Sources to provide Avatars (#16851) 2021-09-26 22:39:36 -04:00
locale_es-ES.ini [skip ci] Updated translations via Crowdin 2021-09-25 00:04:51 +00:00
locale_fa-IR.ini [skip ci] Updated translations via Crowdin 2021-09-25 00:04:51 +00:00
locale_fi-FI.ini [skip ci] Updated translations via Crowdin 2021-08-13 00:07:45 +00:00
locale_fr-FR.ini [skip ci] Updated translations via Crowdin 2021-09-25 00:04:51 +00:00
locale_hu-HU.ini [skip ci] Updated translations via Crowdin 2021-08-23 00:04:31 +00:00
locale_id-ID.ini [skip ci] Updated translations via Crowdin 2021-08-13 00:07:45 +00:00
locale_it-IT.ini [skip ci] Updated translations via Crowdin 2021-09-25 00:04:51 +00:00
locale_ja-JP.ini [skip ci] Updated translations via Crowdin 2021-09-25 00:04:51 +00:00
locale_ko-KR.ini [skip ci] Updated translations via Crowdin 2021-08-13 00:07:45 +00:00
locale_lv-LV.ini [skip ci] Updated translations via Crowdin 2021-09-25 00:04:51 +00:00
locale_ml-IN.ini [skip ci] Updated translations via Crowdin 2021-08-23 00:04:31 +00:00
locale_nl-NL.ini [skip ci] Updated translations via Crowdin 2021-09-25 00:04:51 +00:00
locale_pl-PL.ini [skip ci] Updated translations via Crowdin 2021-09-25 00:04:51 +00:00
locale_pt-BR.ini [skip ci] Updated translations via Crowdin 2021-09-25 00:04:51 +00:00
locale_pt-PT.ini [skip ci] Updated translations via Crowdin 2021-09-25 00:04:51 +00:00
locale_ru-RU.ini [skip ci] Updated translations via Crowdin 2021-09-26 00:05:01 +00:00
locale_sr-SP.ini [skip ci] Updated translations via Crowdin 2021-08-13 00:07:45 +00:00
locale_sv-SE.ini [skip ci] Updated translations via Crowdin 2021-09-25 00:04:51 +00:00
locale_tr-TR.ini [skip ci] Updated translations via Crowdin 2021-09-25 00:04:51 +00:00
locale_uk-UA.ini [skip ci] Updated translations via Crowdin 2021-09-25 00:04:51 +00:00
locale_zh-CN.ini [skip ci] Updated translations via Crowdin 2021-09-25 00:04:51 +00:00
locale_zh-HK.ini [skip ci] Updated translations via Crowdin 2021-08-13 00:07:45 +00:00
locale_zh-TW.ini [skip ci] Updated translations via Crowdin 2021-09-25 00:04:51 +00:00
TRANSLATORS European Portuguese translation (#11568) 2020-06-05 09:07:56 +01:00