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

Use file processor for user avatar #6051

Merged
merged 65 commits into from
Dec 23, 2024
Merged

Use file processor for user avatar #6051

merged 65 commits into from
Dec 23, 2024

Conversation

Cyperghost
Copy link
Contributor

@Cyperghost Cyperghost commented Nov 8, 2024

Required #6047
See #5723

TODO

  • Use a different position to access the avatar management?
  • Does the page have to be reloaded after changing the avatar or can all avatars be changed live?
  • Move old avatar images via the UserRebuildDataWorker to the new file system
  • Renew or remove wcf\system\importer\UserAvatarImporter
  • Change the base branch to 6.2 after File processor image cropping #6047 has been merged
  • Add to Docs
    • JS WCF.User.Avatar.Upload removed
    • JS WCF.User.Avatar removed
    • PHP wcf\data\user\UserProfileAction::setAvatar() removed
    • PHP wcf\form\AvatarEditForm removed
    • PHP wcf\system\upload\AvatarUploadFileSaveStrategy removed
    • PHP wcf\system\upload\AvatarUploadFileValidationStrategy removed
    • PHP wcf\data\user\avatar\UserAvatar deprecated
    • PHP wcf\data\user\avatar\UserAvatarAction deprecated
    • PHP wcf\data\user\avatar\UserAvatarEditor deprecated
    • PHP wcf\data\user\avatar\UserAvatarList deprecated

@Cyperghost Cyperghost requested a review from dtdesign November 8, 2024 09:01
# Conflicts:
#	com.woltlab.wcf/templateDelete.xml
#	ts/WoltLabSuite/Core/Bootstrap.ts
#	wcfsetup/install/files/js/WoltLabSuite/Core/Bootstrap.js
# Conflicts:
#	wcfsetup/install/files/lib/data/attachment/AttachmentList.class.php
# Conflicts:
#	com.woltlab.wcf/templates/user.tpl
#	wcfsetup/install/files/lib/data/attachment/Attachment.class.php
#	wcfsetup/install/lang/de.xml
#	wcfsetup/install/lang/en.xml
# Conflicts:
#	ts/WoltLabSuite/Core/Component/Image/Cropper.ts
#	wcfsetup/install/files/js/WoltLabSuite/Core/Component/Image/Cropper.js
Limit to max width and height
Base automatically changed from file-upload-image-crop to 6.2 December 23, 2024 07:57
@Cyperghost Cyperghost marked this pull request as ready for review December 23, 2024 07:57
@Cyperghost Cyperghost merged commit 7efd39d into 6.2 Dec 23, 2024
11 checks passed
@Cyperghost Cyperghost deleted the avatar-file-processor branch December 23, 2024 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants