GitHub/WoltLab/WCF.git
7 days agoFoundation for new text content popovers
Marcel Werk [Thu, 2 Jan 2025 12:01:24 +0000 (13:01 +0100)]
Foundation for new text content popovers

2 weeks agoMerge pull request #6127 from WoltLab/6.2-user-coverphoto
Olaf Braun [Mon, 23 Dec 2024 08:07:07 +0000 (09:07 +0100)]
Merge pull request #6127 from WoltLab/6.2-user-coverphoto

Use file processor for user cover photos

2 weeks agoRun `tsc`
Cyperghost [Mon, 23 Dec 2024 08:04:02 +0000 (09:04 +0100)]
Run `tsc`

2 weeks agoMerge branch '6.2' into 6.2-user-coverphoto
Cyperghost [Mon, 23 Dec 2024 08:02:45 +0000 (09:02 +0100)]
Merge branch '6.2' into 6.2-user-coverphoto

# 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

2 weeks agoMerge pull request #6051 from WoltLab/avatar-file-processor
Olaf Braun [Mon, 23 Dec 2024 07:58:50 +0000 (08:58 +0100)]
Merge pull request #6051 from WoltLab/avatar-file-processor

Use file processor for user avatar

2 weeks agoMerge pull request #6047 from WoltLab/file-upload-image-crop
Olaf Braun [Mon, 23 Dec 2024 07:56:57 +0000 (08:56 +0100)]
Merge pull request #6047 from WoltLab/file-upload-image-crop

File processor image cropping

2 weeks agoDo not use `precise` anymore so that we only calculate with integers
Cyperghost [Fri, 20 Dec 2024 11:35:50 +0000 (12:35 +0100)]
Do not use `precise` anymore so that we only calculate with integers

2 weeks agouse `$change` instead of changing all values individually, for each value the `$chang...
Cyperghost [Fri, 20 Dec 2024 09:14:19 +0000 (10:14 +0100)]
use `$change` instead of changing all values individually, for each value the `$change` function was called

3 weeks agoReverse the event logic
Alexander Ebert [Thu, 19 Dec 2024 19:14:42 +0000 (20:14 +0100)]
Reverse the event logic

This also avoids calling into `$moveTo` from within the `change` event which could cause a nasty loop.

3 weeks agoClamp the values when the selection violates the boundaries
Alexander Ebert [Thu, 19 Dec 2024 18:04:52 +0000 (19:04 +0100)]
Clamp the values when the selection violates the boundaries

3 weeks agoMerge pull request #6139 from WoltLab/login-form-builder
Marcel Werk [Wed, 18 Dec 2024 12:04:12 +0000 (13:04 +0100)]
Merge pull request #6139 from WoltLab/login-form-builder

Migrate login form to a form builder form

3 weeks agoFind the exact size for the image or use the minimum size for the image
Cyperghost [Wed, 18 Dec 2024 10:59:15 +0000 (11:59 +0100)]
Find the exact size for the image or use the minimum size for the image

3 weeks agoFind the exact size for the image or use the minimum size for the image
Cyperghost [Wed, 18 Dec 2024 10:59:15 +0000 (11:59 +0100)]
Find the exact size for the image or use the minimum size for the image

3 weeks agoRemove round
Cyperghost [Wed, 18 Dec 2024 08:01:47 +0000 (09:01 +0100)]
Remove round
Limit to max width and height

3 weeks agoUpdate avatar in ACP live
Cyperghost [Wed, 18 Dec 2024 10:45:02 +0000 (11:45 +0100)]
Update avatar in ACP live

3 weeks agoFix crop cancel event handling
Cyperghost [Wed, 18 Dec 2024 10:12:34 +0000 (11:12 +0100)]
Fix crop cancel event handling

3 weeks agoNotify only when the value has really changed.
Cyperghost [Wed, 18 Dec 2024 09:53:22 +0000 (10:53 +0100)]
Notify only when the value has really changed.

3 weeks agoAdd a callback that is triggered when the value of a FileProcessorFormField is changed.
Cyperghost [Wed, 18 Dec 2024 09:31:14 +0000 (10:31 +0100)]
Add a callback that is triggered when the value of a FileProcessorFormField is changed.

3 weeks agoSet small thumbnail size to 800x200
Cyperghost [Wed, 18 Dec 2024 10:28:14 +0000 (11:28 +0100)]
Set small thumbnail size to 800x200

3 weeks agoUse `IUserCoverPhoto::getThumbnailURL()` in `userCard` template
Cyperghost [Wed, 18 Dec 2024 10:27:20 +0000 (11:27 +0100)]
Use `IUserCoverPhoto::getThumbnailURL()` in `userCard` template

3 weeks agoAdd `IUserCoverPhoto::getThumbnailURL()`
Cyperghost [Wed, 18 Dec 2024 10:27:00 +0000 (11:27 +0100)]
Add `IUserCoverPhoto::getThumbnailURL()`

3 weeks agoAdd thumbnail
Cyperghost [Wed, 18 Dec 2024 10:15:22 +0000 (11:15 +0100)]
Add thumbnail

3 weeks agoChange cover photo instantly when a new file is uploaded or deleted
Cyperghost [Wed, 18 Dec 2024 10:13:17 +0000 (11:13 +0100)]
Change cover photo instantly when a new file is uploaded or deleted

3 weeks agoFix crop cancel event handling
Cyperghost [Wed, 18 Dec 2024 10:12:34 +0000 (11:12 +0100)]
Fix crop cancel event handling

3 weeks agoNotify only when the value has really changed.
Cyperghost [Wed, 18 Dec 2024 09:53:22 +0000 (10:53 +0100)]
Notify only when the value has really changed.

3 weeks agoAdd a callback that is triggered when the value of a FileProcessorFormField is changed.
Cyperghost [Wed, 18 Dec 2024 09:31:14 +0000 (10:31 +0100)]
Add a callback that is triggered when the value of a FileProcessorFormField is changed.

3 weeks agoUnset `uploadResolve`
Cyperghost [Mon, 16 Dec 2024 12:13:59 +0000 (13:13 +0100)]
Unset `uploadResolve`

3 weeks agoDisplay thumbnail size by file processor
Cyperghost [Thu, 12 Dec 2024 14:24:35 +0000 (15:24 +0100)]
Display thumbnail size by file processor

3 weeks agoUse `simpleReplace()`
Cyperghost [Wed, 18 Dec 2024 08:09:00 +0000 (09:09 +0100)]
Use `simpleReplace()`

3 weeks agoAdd `simpleReplace` and `hideDeleteButton` to the `FileProcessorFormField`
Cyperghost [Thu, 12 Dec 2024 13:54:04 +0000 (14:54 +0100)]
Add `simpleReplace` and `hideDeleteButton` to the `FileProcessorFormField`

3 weeks agoMerge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Cyperghost [Wed, 18 Dec 2024 08:03:03 +0000 (09:03 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto

3 weeks agoRemove round
Cyperghost [Wed, 18 Dec 2024 08:01:47 +0000 (09:01 +0100)]
Remove round
Limit to max width and height

3 weeks agoSimplified the login logic for the email fallback
Alexander Ebert [Tue, 17 Dec 2024 19:32:46 +0000 (20:32 +0100)]
Simplified the login logic for the email fallback

3 weeks agoUnset `uploadResolve`
Cyperghost [Mon, 16 Dec 2024 12:13:59 +0000 (13:13 +0100)]
Unset `uploadResolve`

3 weeks agoMerge branch 'file-upload-image-crop' into avatar-file-processor
Cyperghost [Mon, 16 Dec 2024 11:54:04 +0000 (12:54 +0100)]
Merge branch 'file-upload-image-crop' into avatar-file-processor

# Conflicts:
# ts/WoltLabSuite/Core/Component/Image/Cropper.ts
# wcfsetup/install/files/js/WoltLabSuite/Core/Component/Image/Cropper.js

3 weeks agoMerge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Cyperghost [Mon, 16 Dec 2024 11:52:28 +0000 (12:52 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto

3 weeks agoResize the image to the maximum that the browser can display in the dialog.
Cyperghost [Mon, 16 Dec 2024 11:51:46 +0000 (12:51 +0100)]
Resize the image to the maximum that the browser can display in the dialog.

3 weeks agoMerge pull request #6144 from WoltLab/6.2-recptcha-v3
Olaf Braun [Fri, 13 Dec 2024 09:28:33 +0000 (10:28 +0100)]
Merge pull request #6144 from WoltLab/6.2-recptcha-v3

ReCaptcha v3

3 weeks agoAdd removed `wcf.captcha.recaptchaInvisible.error.recaptchaString.false`
Cyperghost [Fri, 13 Dec 2024 09:25:52 +0000 (10:25 +0100)]
Add removed `wcf.captcha.recaptchaInvisible.error.recaptchaString.false`

4 weeks agoDisplay thumbnail size by file processor
Cyperghost [Thu, 12 Dec 2024 14:24:35 +0000 (15:24 +0100)]
Display thumbnail size by file processor

4 weeks agoAdd `simpleReplace` and `hideDeleteButton` to the `FileProcessorFormField`
Cyperghost [Thu, 12 Dec 2024 13:54:04 +0000 (14:54 +0100)]
Add `simpleReplace` and `hideDeleteButton` to the `FileProcessorFormField`

4 weeks agoUse `File::getFullSizeImageSource()` instead of `File::getLink()`
Cyperghost [Thu, 12 Dec 2024 11:06:44 +0000 (12:06 +0100)]
Use `File::getFullSizeImageSource()` instead of `File::getLink()`

4 weeks agoUse `File::getFullSizeImageSource()` instead of `File::getLink()`
Cyperghost [Thu, 12 Dec 2024 11:05:39 +0000 (12:05 +0100)]
Use `File::getFullSizeImageSource()` instead of `File::getLink()`

4 weeks agoUse the user profile header template
Cyperghost [Thu, 12 Dec 2024 11:01:12 +0000 (12:01 +0100)]
Use the user profile header template

4 weeks agoMerge branch 'file-upload-image-crop' into avatar-file-processor
Cyperghost [Thu, 12 Dec 2024 10:50:52 +0000 (11:50 +0100)]
Merge branch 'file-upload-image-crop' into avatar-file-processor

# 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

4 weeks agoUse the user profile header template
Cyperghost [Thu, 12 Dec 2024 10:20:21 +0000 (11:20 +0100)]
Use the user profile header template

4 weeks agoMerge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Cyperghost [Thu, 12 Dec 2024 10:09:07 +0000 (11:09 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto

# 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

4 weeks agoMerge branch '6.2' into file-upload-image-crop
Cyperghost [Thu, 12 Dec 2024 10:07:27 +0000 (11:07 +0100)]
Merge branch '6.2' into file-upload-image-crop

# Conflicts:
# .github/workflows/javascript.yml
# wcfsetup/install/files/js/require.config.js

4 weeks agoAdd reCaptcha v3 handler
Cyperghost [Thu, 12 Dec 2024 09:59:20 +0000 (10:59 +0100)]
Add reCaptcha v3 handler
Migrate JavaScript to TypeScript

4 weeks agoAdd recaptcha v3 api key option
Cyperghost [Wed, 11 Dec 2024 09:21:33 +0000 (10:21 +0100)]
Add recaptcha v3 api key option

4 weeks agoMerge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Cyperghost [Tue, 10 Dec 2024 08:55:37 +0000 (09:55 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto

4 weeks agoAlso note the maximum width that is available
Cyperghost [Tue, 10 Dec 2024 08:55:23 +0000 (09:55 +0100)]
Also note the maximum width that is available

4 weeks agooverwrites default values for `min-width` and `min-height`
Cyperghost [Tue, 10 Dec 2024 08:53:51 +0000 (09:53 +0100)]
overwrites default values for `min-width` and `min-height`

4 weeks agoAdd helper function to get the inner dimensions for an element
Cyperghost [Tue, 10 Dec 2024 08:52:34 +0000 (09:52 +0100)]
Add helper function to get the inner dimensions for an element

4 weeks agoMerge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Cyperghost [Mon, 9 Dec 2024 11:48:50 +0000 (12:48 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto

4 weeks agoCenter `cropper-canvas`.
Cyperghost [Mon, 9 Dec 2024 11:47:42 +0000 (12:47 +0100)]
Center `cropper-canvas`.
Fix, if the image on a side has a large dimension that a white area is displayed at the top and/or bottom

4 weeks agoRecalculate cropper height on window resize.
Cyperghost [Mon, 9 Dec 2024 11:46:15 +0000 (12:46 +0100)]
Recalculate cropper height on window resize.
Set height on container(parent) height

4 weeks agoMigrate login form to a form builder form
Marcel Werk [Sat, 7 Dec 2024 14:28:45 +0000 (15:28 +0100)]
Migrate login form to a form builder form

4 weeks agoUse `Database::prepare()` instead of `Database::prepareStatement()`
Marcel Werk [Fri, 6 Dec 2024 15:20:12 +0000 (16:20 +0100)]
Use `Database::prepare()` instead of `Database::prepareStatement()`

see https://github.com/WoltLab/WCF/issues/6002

4 weeks agoAdjust name of the `UserProfileHeaderStatItemCollecting` event
Marcel Werk [Fri, 6 Dec 2024 13:59:19 +0000 (14:59 +0100)]
Adjust name of the `UserProfileHeaderStatItemCollecting` event

We use a more generic name to make it clear that the event can also be used in other places in the future (e.g. in member lists).

4 weeks agoHide empty categories in category list box
Marcel Werk [Fri, 6 Dec 2024 13:01:29 +0000 (14:01 +0100)]
Hide empty categories in category list box

4 weeks agoRemove obsolete unsafe output of variables
Marcel Werk [Fri, 6 Dec 2024 13:01:03 +0000 (14:01 +0100)]
Remove obsolete unsafe output of variables

4 weeks agoFixed issue in the preview button when creating new objects
Marcel Werk [Fri, 6 Dec 2024 12:17:08 +0000 (13:17 +0100)]
Fixed issue in the preview button when creating new objects

4 weeks ago`coverPhotoStyle` need to be encoded
Cyperghost [Fri, 6 Dec 2024 10:15:25 +0000 (11:15 +0100)]
`coverPhotoStyle` need to be encoded

4 weeks agoMerge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Cyperghost [Fri, 6 Dec 2024 10:00:24 +0000 (11:00 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto

4 weeks agoFixes the problem when the aspect ratio is less than 1, that the selection has an...
Cyperghost [Fri, 6 Dec 2024 10:00:06 +0000 (11:00 +0100)]
Fixes the problem when the aspect ratio is less than 1, that the selection has an incorrect resolution

4 weeks agoMerge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Cyperghost [Fri, 6 Dec 2024 09:25:15 +0000 (10:25 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto

4 weeks agoMerge branch 'file-upload-image-crop' into avatar-file-processor
Cyperghost [Fri, 6 Dec 2024 09:24:09 +0000 (10:24 +0100)]
Merge branch 'file-upload-image-crop' into avatar-file-processor

4 weeks agoCalculate the size of the cropper selection in relation to the window size
Cyperghost [Fri, 6 Dec 2024 09:23:58 +0000 (10:23 +0100)]
Calculate the size of the cropper selection in relation to the window size

5 weeks agoUnify phrases
Marcel Werk [Thu, 5 Dec 2024 16:01:06 +0000 (17:01 +0100)]
Unify phrases

ref https://www.woltlab.com/community/thread/307563-unify-upload-description-phrases/

5 weeks agoAdd method to get all embedded objects in a specific message
Marcel Werk [Thu, 5 Dec 2024 14:59:29 +0000 (15:59 +0100)]
Add method to get all embedded objects in a specific message

5 weeks agoUse `span` tag for the ´contentNotVisible´ element
Marcel Werk [Thu, 5 Dec 2024 13:31:08 +0000 (14:31 +0100)]
Use `span` tag for the ´contentNotVisible´ element

The use of `div` resulted in invalid HTML code if the element was surrounded by other formatting (e.g. bold).

5 weeks agoAlways make attachment preview visible if you are allowed to download the attachment
Marcel Werk [Thu, 5 Dec 2024 13:28:21 +0000 (14:28 +0100)]
Always make attachment preview visible if you are allowed to download the attachment

5 weeks agoMerge pull request #6132 from WoltLab/recent-activity-with-image
Marcel Werk [Thu, 5 Dec 2024 12:50:44 +0000 (13:50 +0100)]
Merge pull request #6132 from WoltLab/recent-activity-with-image

Add support for images in recent activities

5 weeks agoAdd option to add a custom css class
Marcel Werk [Thu, 5 Dec 2024 12:38:12 +0000 (13:38 +0100)]
Add option to add a custom css class

5 weeks agoMerge pull request #6126 from WoltLab/user-profile-header-overhaul
Marcel Werk [Thu, 5 Dec 2024 12:35:34 +0000 (13:35 +0100)]
Merge pull request #6126 from WoltLab/user-profile-header-overhaul

Overhaul the user profile header

5 weeks agoRemove obsolete `loading="lazy"` attribute
Marcel Werk [Thu, 5 Dec 2024 12:33:51 +0000 (13:33 +0100)]
Remove obsolete `loading="lazy"` attribute

5 weeks agoAdd permission check
Marcel Werk [Thu, 5 Dec 2024 12:24:39 +0000 (13:24 +0100)]
Add permission check

5 weeks agoApply suggestions from code review
Marcel Werk [Thu, 5 Dec 2024 11:22:24 +0000 (12:22 +0100)]
Apply suggestions from code review

5 weeks agoMerge branch 'file-upload-image-crop' into avatar-file-processor
Cyperghost [Thu, 5 Dec 2024 10:49:16 +0000 (11:49 +0100)]
Merge branch 'file-upload-image-crop' into avatar-file-processor

5 weeks agoMerge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Cyperghost [Thu, 5 Dec 2024 10:49:09 +0000 (11:49 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto

5 weeks agoRun `tsc`
Cyperghost [Thu, 5 Dec 2024 10:48:58 +0000 (11:48 +0100)]
Run `tsc`

5 weeks agoMerge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Cyperghost [Thu, 5 Dec 2024 10:48:15 +0000 (11:48 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto

5 weeks agoRound the numbers
Cyperghost [Thu, 5 Dec 2024 10:48:06 +0000 (11:48 +0100)]
Round the numbers

5 weeks agoMerge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Cyperghost [Thu, 5 Dec 2024 10:38:08 +0000 (11:38 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto

5 weeks agoSet the default selection to the maximum width
Cyperghost [Thu, 5 Dec 2024 10:37:49 +0000 (11:37 +0100)]
Set the default selection to the maximum width

5 weeks agoMerge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Cyperghost [Thu, 5 Dec 2024 08:31:13 +0000 (09:31 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto

5 weeks agoMerge pull request #6136 from WoltLab/6.2-acp-user-handler
Olaf Braun [Wed, 4 Dec 2024 17:59:54 +0000 (18:59 +0100)]
Merge pull request #6136 from WoltLab/6.2-acp-user-handler

Migrate `WCF.ACP.User.*Handler` to TypeScript

5 weeks agoAdd a missing border
Alexander Ebert [Wed, 4 Dec 2024 14:19:20 +0000 (15:19 +0100)]
Add a missing border

5 weeks agoAdd abstract implementation for image data providing
Marcel Werk [Wed, 4 Dec 2024 14:06:57 +0000 (15:06 +0100)]
Add abstract implementation for image data providing

5 weeks agoDisable zoom
Olaf Braun [Wed, 4 Dec 2024 13:29:18 +0000 (14:29 +0100)]
Disable zoom
Set default max width and height for the selection

5 weeks agoRemove `defaultCoverPhoto` from bootstrap
Cyperghost [Wed, 4 Dec 2024 13:00:03 +0000 (14:00 +0100)]
Remove `defaultCoverPhoto` from bootstrap

5 weeks agoRename `getCoverPhotoLocation()` to `getLegacyLocation()` and move to `UserCoverPhoto`.
Cyperghost [Wed, 4 Dec 2024 12:49:04 +0000 (13:49 +0100)]
Rename `getCoverPhotoLocation()` to `getLegacyLocation()` and move to `UserCoverPhoto`.

5 weeks ago`createExact` renamed to `forExact`
Cyperghost [Wed, 4 Dec 2024 12:42:08 +0000 (13:42 +0100)]
`createExact` renamed to `forExact`

5 weeks agoMerge branch 'file-upload-image-crop' into avatar-file-processor
Cyperghost [Wed, 4 Dec 2024 12:41:42 +0000 (13:41 +0100)]
Merge branch 'file-upload-image-crop' into avatar-file-processor

5 weeks ago`createMinMax` renamed to `forMinMax`
Cyperghost [Wed, 4 Dec 2024 12:41:16 +0000 (13:41 +0100)]
`createMinMax` renamed to `forMinMax`

5 weeks agoMerge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Cyperghost [Wed, 4 Dec 2024 12:40:43 +0000 (13:40 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto

5 weeks agoChange the construct to private
Cyperghost [Wed, 4 Dec 2024 12:40:17 +0000 (13:40 +0100)]
Change the construct to private

5 weeks agoCenter the cropper selection in the canvas
Cyperghost [Wed, 4 Dec 2024 12:39:02 +0000 (13:39 +0100)]
Center the cropper selection in the canvas

5 weeks agoMigrate `WCF.ACP.User.*Handler` to TypeScript
Cyperghost [Wed, 4 Dec 2024 08:36:51 +0000 (09:36 +0100)]
Migrate `WCF.ACP.User.*Handler` to TypeScript