Use file processor for user cover photos#6127
Merged
Cyperghost merged 53 commits into6.2from Dec 23, 2024
Merged
Conversation
dtdesign
requested changes
Dec 4, 2024
wcfsetup/install/files/lib/system/user/command/SetCoverPhoto.class.php
Outdated
Show resolved
Hide resolved
wcfsetup/install/files/lib/system/worker/UserRebuildDataWorker.class.php
Outdated
Show resolved
Hide resolved
… `UserCoverPhoto`.
# Conflicts: # com.woltlab.wcf/templates/user.tpl # ts/WoltLabSuite/Core/Bootstrap.ts # ts/WoltLabSuite/Core/Ui/User/CoverPhoto/Delete.ts # ts/WoltLabSuite/Core/Ui/User/CoverPhoto/Upload.ts # wcfsetup/install/files/js/WoltLabSuite/Core/Bootstrap.js # wcfsetup/install/files/js/WoltLabSuite/Core/Ui/User/CoverPhoto/Delete.js # wcfsetup/install/files/js/WoltLabSuite/Core/Ui/User/CoverPhoto/Upload.js
…mField is changed.
This also avoids calling into `$moveTo` from within the `change` event which could cause a nasty loop.
…alue the `$change` function was called
# Conflicts: # com.woltlab.wcf/fileDelete.xml # com.woltlab.wcf/objectType.xml # wcfsetup/install/files/acp/database/update_com.woltlab.wcf_6.2.php # wcfsetup/install/files/lib/data/user/UserProfile.class.php # wcfsetup/install/files/lib/data/user/UserProfileAction.class.php # wcfsetup/install/files/lib/data/user/UserProfileList.class.php # wcfsetup/setup/db/install.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Required #6047
See #5723
TODO
6.2after File processor image cropping #6047 has been merged