Cyperghost [Tue, 10 Dec 2024 08:55:37 +0000 (09:55 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Cyperghost [Tue, 10 Dec 2024 08:55:23 +0000 (09:55 +0100)]
Also note the maximum width that is available
Cyperghost [Tue, 10 Dec 2024 08:53:51 +0000 (09:53 +0100)]
overwrites default values for `min-width` and `min-height`
Cyperghost [Tue, 10 Dec 2024 08:52:34 +0000 (09:52 +0100)]
Add helper function to get the inner dimensions for an element
Cyperghost [Mon, 9 Dec 2024 11:48:50 +0000 (12:48 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto
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
Cyperghost [Mon, 9 Dec 2024 11:46:15 +0000 (12:46 +0100)]
Recalculate cropper height on window resize.
Set height on container(parent) height
Cyperghost [Fri, 6 Dec 2024 10:15:25 +0000 (11:15 +0100)]
`coverPhotoStyle` need to be encoded
Cyperghost [Fri, 6 Dec 2024 10:00:24 +0000 (11:00 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto
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
Cyperghost [Fri, 6 Dec 2024 09:25:15 +0000 (10:25 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto
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
Cyperghost [Thu, 5 Dec 2024 10:49:09 +0000 (11:49 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Cyperghost [Thu, 5 Dec 2024 10:48:58 +0000 (11:48 +0100)]
Run `tsc`
Cyperghost [Thu, 5 Dec 2024 10:48:15 +0000 (11:48 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Cyperghost [Thu, 5 Dec 2024 10:48:06 +0000 (11:48 +0100)]
Round the numbers
Cyperghost [Thu, 5 Dec 2024 10:38:08 +0000 (11:38 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Cyperghost [Thu, 5 Dec 2024 10:37:49 +0000 (11:37 +0100)]
Set the default selection to the maximum width
Cyperghost [Thu, 5 Dec 2024 08:31:13 +0000 (09:31 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Olaf Braun [Wed, 4 Dec 2024 13:29:18 +0000 (14:29 +0100)]
Disable zoom
Set default max width and height for the selection
Cyperghost [Wed, 4 Dec 2024 13:00:03 +0000 (14:00 +0100)]
Remove `defaultCoverPhoto` from bootstrap
Cyperghost [Wed, 4 Dec 2024 12:49:04 +0000 (13:49 +0100)]
Rename `getCoverPhotoLocation()` to `getLegacyLocation()` and move to `UserCoverPhoto`.
Cyperghost [Wed, 4 Dec 2024 12:41:16 +0000 (13:41 +0100)]
`createMinMax` renamed to `forMinMax`
Cyperghost [Wed, 4 Dec 2024 12:40:43 +0000 (13:40 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Cyperghost [Wed, 4 Dec 2024 12:40:17 +0000 (13:40 +0100)]
Change the construct to private
Cyperghost [Wed, 4 Dec 2024 12:39:02 +0000 (13:39 +0100)]
Center the cropper selection in the canvas
Cyperghost [Mon, 2 Dec 2024 09:14:28 +0000 (10:14 +0100)]
Cache cover photos
Cyperghost [Mon, 2 Dec 2024 09:09:26 +0000 (10:09 +0100)]
Mark `IWebpUserCoverPhoto` as deprecated
Cyperghost [Mon, 2 Dec 2024 09:07:45 +0000 (10:07 +0100)]
Add foreign key for `wcf1_user.coverPhotoFileID` to `wcf1_file.fileID`
Cyperghost [Fri, 29 Nov 2024 13:10:42 +0000 (14:10 +0100)]
Delete old user cover photo upload/delete
Cyperghost [Fri, 29 Nov 2024 13:07:32 +0000 (14:07 +0100)]
Add phpdoc to `getCoverPhotoLocation()`
Cyperghost [Fri, 29 Nov 2024 13:05:22 +0000 (14:05 +0100)]
Check if `coverPhotoHash` or `coverPhotoExtension` is set
Cyperghost [Fri, 29 Nov 2024 13:01:42 +0000 (14:01 +0100)]
Migrate old cover photos into the new file system
Cyperghost [Fri, 29 Nov 2024 12:44:10 +0000 (13:44 +0100)]
Insert back `IUserCoverPhoto::delete()`
Cyperghost [Fri, 29 Nov 2024 12:32:07 +0000 (13:32 +0100)]
Dont use `coverPhotoHash` or `coverPhotoExtension` anymore
Cyperghost [Fri, 29 Nov 2024 12:28:01 +0000 (13:28 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Cyperghost [Fri, 29 Nov 2024 12:27:45 +0000 (13:27 +0100)]
Add exifreader to `require.config.js`
Cyperghost [Fri, 29 Nov 2024 12:20:07 +0000 (13:20 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Cyperghost [Fri, 29 Nov 2024 12:19:23 +0000 (13:19 +0100)]
Add `exifreader`
Cyperghost [Fri, 29 Nov 2024 10:39:51 +0000 (11:39 +0100)]
Manage cover photo in acp
Cyperghost [Fri, 29 Nov 2024 08:46:05 +0000 (09:46 +0100)]
Use `FileRuntimeCache`
Cyperghost [Fri, 29 Nov 2024 08:43:11 +0000 (09:43 +0100)]
Merge branch 'file-upload-image-crop' into 6.2-user-coverphoto
Cyperghost [Fri, 29 Nov 2024 08:42:13 +0000 (09:42 +0100)]
Implement `FileRuntimeCache`, which also loads the thumbnails
Cyperghost [Thu, 28 Nov 2024 11:50:58 +0000 (12:50 +0100)]
Remove cover photo file strategy classes
Cyperghost [Thu, 28 Nov 2024 11:40:46 +0000 (12:40 +0100)]
Only GET for this form is required
Cyperghost [Thu, 28 Nov 2024 11:40:04 +0000 (12:40 +0100)]
Add cover photo management
Cyperghost [Thu, 28 Nov 2024 10:10:54 +0000 (11:10 +0100)]
Merge branch '6.2' into file-upload-image-crop
# Conflicts:
# .github/workflows/javascript.yml
# wcfsetup/install/lang/de.xml
# wcfsetup/install/lang/en.xml
Marcel Werk [Wed, 27 Nov 2024 13:09:50 +0000 (14:09 +0100)]
Merge pull request #6114 from WoltLab/message-preview-typescript
Migrate `WCF.Message.Preview` to Typescript
Marcel Werk [Wed, 27 Nov 2024 12:22:23 +0000 (13:22 +0100)]
Standardize naming and paths
Marcel Werk [Wed, 27 Nov 2024 12:08:11 +0000 (13:08 +0100)]
Merge pull request #6116 from WoltLab/moderation-management-typescript
Migrate `WCF.Moderation.Management` to Typescript
Marcel Werk [Wed, 27 Nov 2024 12:03:40 +0000 (13:03 +0100)]
Apply suggestions from code review
Marcel Werk [Sun, 24 Nov 2024 16:14:57 +0000 (17:14 +0100)]
Migrate `WCF.Moderation.Management` to Typescript
Closes #6090
Olaf Braun [Wed, 27 Nov 2024 11:30:42 +0000 (12:30 +0100)]
Merge pull request #6072 from WoltLab/6.2-formbuilder-tags
FormBuilder for tags
Marcel Werk [Wed, 27 Nov 2024 11:15:31 +0000 (12:15 +0100)]
Merge pull request #6120 from WoltLab/notification-list-typescript
Migrate `WCF.Notification.List` to Typescript
Cyperghost [Wed, 27 Nov 2024 08:50:30 +0000 (09:50 +0100)]
Loading the `types.d.ts` is no longer necessary
Olaf Braun [Wed, 27 Nov 2024 07:41:06 +0000 (08:41 +0100)]
Merge pull request #6118 from WoltLab/6.2-formbuilder-label
Use FormBuilder for labels
Olaf Braun [Wed, 27 Nov 2024 07:40:06 +0000 (08:40 +0100)]
Merge pull request #6078 from WoltLab/6.2-formbuilder-user-rank
Use FormBuilder for user ranks
Cyperghost [Wed, 27 Nov 2024 07:36:19 +0000 (08:36 +0100)]
Run `tsc`
Olaf Braun [Wed, 27 Nov 2024 07:35:02 +0000 (08:35 +0100)]
Update ts/WoltLabSuite/Core/Form/Builder/Field/Controller/BadgeColor.ts
Co-authored-by: Alexander Ebert <ebert@woltlab.com>
Olaf Braun [Wed, 27 Nov 2024 07:34:54 +0000 (08:34 +0100)]
Merge pull request #6073 from WoltLab/6.2-formbuilder-media-provider
Use FormBuilder for BBCodeMediaProvider
Olaf Braun [Tue, 26 Nov 2024 21:27:32 +0000 (22:27 +0100)]
Merge pull request #6079 from WoltLab/6.2-formbuilder-user-option
Use FormBuilder for user options
Alexander Ebert [Tue, 26 Nov 2024 16:41:51 +0000 (17:41 +0100)]
Update the JS artifacts
Alexander Ebert [Tue, 26 Nov 2024 16:37:11 +0000 (17:37 +0100)]
Merge branch '6.1' into 6.2
Alexander Ebert [Tue, 26 Nov 2024 16:36:37 +0000 (17:36 +0100)]
Merge branch '6.0' into 6.1
Alexander Ebert [Tue, 26 Nov 2024 16:35:24 +0000 (17:35 +0100)]
Update the CKEditor stylesheet
Marcel Werk [Tue, 26 Nov 2024 16:20:20 +0000 (17:20 +0100)]
Merge pull request #6115 from WoltLab/message-form-tabs-typescript
Migrate wcf.messageTabMenu (jQuery Widget) to Typescript
Marcel Werk [Mon, 25 Nov 2024 15:16:48 +0000 (16:16 +0100)]
Fix outdated js file
Marcel Werk [Fri, 22 Nov 2024 14:48:39 +0000 (15:48 +0100)]
Migrate wcf.messageTabMenu (jQuery Widget) to Typescript
HTML and CSS are still a mess and should be overhauled with a future update.
Closes #6088
Closes #6089
Marcel Werk [Tue, 26 Nov 2024 16:17:06 +0000 (17:17 +0100)]
Merge pull request #6119 from WoltLab/user-activity-point-list-typescript
Migrate `WCF.User.Profile.ActivityPointList` to Typescript
Marcel Werk [Tue, 26 Nov 2024 16:15:59 +0000 (17:15 +0100)]
Fix outdated js
Marcel Werk [Tue, 26 Nov 2024 16:08:43 +0000 (17:08 +0100)]
Merge branch '6.2' into user-activity-point-list-typescript
Marcel Werk [Tue, 26 Nov 2024 16:06:10 +0000 (17:06 +0100)]
Merge branch '6.0' into 6.1
Marcel Werk [Tue, 26 Nov 2024 16:05:52 +0000 (17:05 +0100)]
Fix missing scrolling when editing comments / replies
Marcel Werk [Tue, 26 Nov 2024 16:05:31 +0000 (17:05 +0100)]
Fix double scrolling when replying to a comment
Closes #5991
Marcel Werk [Tue, 26 Nov 2024 16:04:04 +0000 (17:04 +0100)]
Add option to focus the editor without scrolling
Olaf Braun [Tue, 26 Nov 2024 15:28:07 +0000 (16:28 +0100)]
Merge pull request #6074 from WoltLab/6.2-captcha
Use FormBuilder for captcha questions
Marcel Werk [Tue, 26 Nov 2024 14:59:37 +0000 (15:59 +0100)]
Apply suggestions from code review
Co-authored-by: Alexander Ebert <ebert@woltlab.com>
Marcel Werk [Tue, 26 Nov 2024 14:58:14 +0000 (15:58 +0100)]
Merge branch '6.0' into 6.1
Marcel Werk [Tue, 26 Nov 2024 14:58:00 +0000 (15:58 +0100)]
Remove request id from the output of a exception
Closes #5999
Olaf Braun [Tue, 26 Nov 2024 14:12:29 +0000 (15:12 +0100)]
Prevents an underlying dialog from being closed when the file selection dialog is canceled by the user
Marcel Werk [Tue, 26 Nov 2024 11:09:27 +0000 (12:09 +0100)]
Merge pull request #6113 from WoltLab/edit-history-typescript
Migrate `WCF.Message.EditHistory` to Typescript
Marcel Werk [Tue, 26 Nov 2024 11:05:54 +0000 (12:05 +0100)]
Standardize naming and paths
Cyperghost [Tue, 26 Nov 2024 10:19:33 +0000 (11:19 +0100)]
Remove reading the object from the try/catch block. Leave only reading the query parameters in it.
Cyperghost [Tue, 26 Nov 2024 10:18:51 +0000 (11:18 +0100)]
Remove reading the object from the try/catch block. Leave only reading the query parameters in it.
Cyperghost [Tue, 26 Nov 2024 10:15:48 +0000 (11:15 +0100)]
Remove reading the object from the try/catch block. Leave only reading the query parameters in it.
Cyperghost [Tue, 26 Nov 2024 10:15:05 +0000 (11:15 +0100)]
Remove reading the object from the try/catch block. Leave only reading the query parameters in it.
Cyperghost [Tue, 26 Nov 2024 10:14:18 +0000 (11:14 +0100)]
Remove reading the object from the try/catch block. Leave only reading the query parameters in it.
Cyperghost [Tue, 26 Nov 2024 10:13:47 +0000 (11:13 +0100)]
Remove reading the object from the try/catch block. Leave only reading the query parameters in it.
Cyperghost [Tue, 26 Nov 2024 10:12:27 +0000 (11:12 +0100)]
Merge branch '6.2' into 6.2-captcha
# Conflicts:
# wcfsetup/install/files/lib/data/TI18nDatabaseObjectAction.class.php
Olaf Braun [Tue, 26 Nov 2024 10:05:59 +0000 (11:05 +0100)]
Merge pull request #6035 from WoltLab/fancybox
New image viewer
Marcel Werk [Tue, 26 Nov 2024 10:03:26 +0000 (11:03 +0100)]
Merge branch 'edit-history-typescript' of https://github.com/WoltLab/WCF into edit-history-typescript
Marcel Werk [Tue, 26 Nov 2024 10:03:20 +0000 (11:03 +0100)]
Apply suggestion from code review
Marcel Werk [Tue, 26 Nov 2024 10:02:53 +0000 (11:02 +0100)]
Apply suggestions from code review
Co-authored-by: Alexander Ebert <ebert@woltlab.com>
Cyperghost [Tue, 26 Nov 2024 10:01:00 +0000 (11:01 +0100)]
Merge branch '6.2' into fancybox
# Conflicts:
# package-lock.json
# package.json
Olaf Braun [Tue, 26 Nov 2024 09:58:26 +0000 (10:58 +0100)]
Merge pull request #6112 from WoltLab/6.2-formbuilder-cronjob
Use FormBuilder for cronjobs
Cyperghost [Tue, 26 Nov 2024 09:56:57 +0000 (10:56 +0100)]
Remove reading the object from the try/catch block. Leave only reading the query parameters in it.
Olaf Braun [Tue, 26 Nov 2024 09:56:15 +0000 (10:56 +0100)]
Merge pull request #6111 from WoltLab/6.2-formbuilder-menu
Use FormBuilder for menus and menu items
Cyperghost [Tue, 26 Nov 2024 09:53:37 +0000 (10:53 +0100)]
Remove reading the object from the try/catch block. Leave only reading the query parameters in it.
Olaf Braun [Tue, 26 Nov 2024 09:52:41 +0000 (10:52 +0100)]
Merge pull request #6117 from WoltLab/6.2-formbuilder-sitemap
Use FormBuilder for sitemaps
Olaf Braun [Tue, 26 Nov 2024 09:52:29 +0000 (10:52 +0100)]
Apply suggestions from code review
Co-authored-by: Alexander Ebert <ebert@woltlab.com>