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

Draft
wants to merge 59 commits into
base: file-upload-image-crop
Choose a base branch
from

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\system\importer\UserAvatarImporter 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
@dtdesign
Copy link
Member

@Cyperghost You also need to include the migration of the avatars as part of the UserRebuildDataWorker in your todo list.

Cyperghost and others added 20 commits November 27, 2024 08:43
Co-authored-by: Alexander Ebert <ebert@woltlab.com>
# 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
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