]> BookStack Code Mirror - bookstack/commit
Reviewed PR to add import user avatars va LDAP
authorDan Brown <redacted>
Mon, 24 May 2021 17:45:08 +0000 (18:45 +0100)
committerDan Brown <redacted>
Mon, 24 May 2021 17:54:08 +0000 (18:54 +0100)
commitdf0e03cd07db5ff2dbd16a27ccfcc2ca38402e46
tree8b6ecf0fc97f72618a04b769c0bac1c7164be9d5
parent85db812feaae5f36ea6214931cec4adb67a9cb39
Reviewed PR to add import user avatars va LDAP

- Reduced options to single new configuration paramter instead of two.
- Moved more logic into UserAvatars class.
- Updated LDAP avatar import to also run on login when no image is
  currently set.
- Added thumbnail fetching to search requests.
- Added testing to cover.

Related to PR #2320, and issue #1161
app/Auth/Access/Guards/LdapSessionGuard.php
app/Auth/Access/LdapService.php
app/Auth/UserRepo.php
app/Config/app.php
app/Config/services.php
app/Facades/Images.php [deleted file]
app/Uploads/Image.php
app/Uploads/UserAvatars.php
tests/Auth/LdapTest.php