From: Cyperghost Date: Wed, 6 Nov 2024 12:19:48 +0000 (+0100) Subject: Add since information X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b88331c37d8ca69b7ffd543f538ea796ba8412d9;p=GitHub%2FWoltLab%2FWCF.git Add since information --- diff --git a/ts/WoltLabSuite/Core/Component/Image/Cropper.ts b/ts/WoltLabSuite/Core/Component/Image/Cropper.ts index 4349c010f2..d5a305530f 100644 --- a/ts/WoltLabSuite/Core/Component/Image/Cropper.ts +++ b/ts/WoltLabSuite/Core/Component/Image/Cropper.ts @@ -1,3 +1,12 @@ +/** + * An image cropper that allows the user to crop an image before uploading it. + * + * @author Olaf Braun + * @copyright 2001-2024 WoltLab GmbH + * @license GNU Lesser General Public License + * @since 6.2 + */ + import ImageResizer from "WoltLabSuite/Core/Image/Resizer"; import { dialogFactory } from "WoltLabSuite/Core/Component/Dialog"; import Cropper, { CropperCanvas, CropperImage, CropperSelection } from "cropperjs"; diff --git a/wcfsetup/install/files/lib/system/file/processor/IFileProcessor.class.php b/wcfsetup/install/files/lib/system/file/processor/IFileProcessor.class.php index 2682d30570..7bffa60c92 100644 --- a/wcfsetup/install/files/lib/system/file/processor/IFileProcessor.class.php +++ b/wcfsetup/install/files/lib/system/file/processor/IFileProcessor.class.php @@ -159,6 +159,8 @@ interface IFileProcessor /** * Returns the image cropper configuration for this file processor. + * + * @since 6.2 */ public function getImageCropperConfiguration(): ?ImageCropperConfiguration; } diff --git a/wcfsetup/install/files/lib/system/file/processor/ImageCropSize.class.php b/wcfsetup/install/files/lib/system/file/processor/ImageCropSize.class.php index b71b12637c..f26c9d1ba2 100644 --- a/wcfsetup/install/files/lib/system/file/processor/ImageCropSize.class.php +++ b/wcfsetup/install/files/lib/system/file/processor/ImageCropSize.class.php @@ -2,6 +2,12 @@ namespace wcf\system\file\processor; +/** + * @author Olaf Braun + * @copyright 2001-2024 WoltLab GmbH + * @license GNU Lesser General Public License + * @since 6.2 + */ final class ImageCropSize implements \JsonSerializable { public function __construct( diff --git a/wcfsetup/install/files/lib/system/file/processor/ImageCropperConfiguration.class.php b/wcfsetup/install/files/lib/system/file/processor/ImageCropperConfiguration.class.php index 249edb2705..cfe5c7205b 100644 --- a/wcfsetup/install/files/lib/system/file/processor/ImageCropperConfiguration.class.php +++ b/wcfsetup/install/files/lib/system/file/processor/ImageCropperConfiguration.class.php @@ -2,6 +2,14 @@ namespace wcf\system\file\processor; +/** + * The configuration for the image cropper. + * + * @author Olaf Braun + * @copyright 2001-2024 WoltLab GmbH + * @license GNU Lesser General Public License + * @since 6.2 + */ final class ImageCropperConfiguration implements \JsonSerializable { public readonly float $aspectRatio; diff --git a/wcfsetup/install/files/lib/system/file/processor/ImageCropperType.class.php b/wcfsetup/install/files/lib/system/file/processor/ImageCropperType.class.php index bf74e95082..3df5db1847 100644 --- a/wcfsetup/install/files/lib/system/file/processor/ImageCropperType.class.php +++ b/wcfsetup/install/files/lib/system/file/processor/ImageCropperType.class.php @@ -2,6 +2,12 @@ namespace wcf\system\file\processor; +/** + * @author Olaf Braun + * @copyright 2001-2024 WoltLab GmbH + * @license GNU Lesser General Public License + * @since 6.2 + */ enum ImageCropperType { case MinMax;