Cyperghost [Tue, 19 Nov 2024 08:16:48 +0000 (09:16 +0100)]
Merge remote-tracking branch 'origin/6.2' into file-upload-image-crop
# Conflicts:
# package-lock.json
# package.json
# wcfsetup/install/lang/en.xml
Cyperghost [Tue, 19 Nov 2024 07:01:47 +0000 (08:01 +0100)]
Add the npm package `@types/supercluster` to solve the problem:
Property `radius` does not exist for type `SuperClusterViewportOptions`.
Marcel Werk [Mon, 18 Nov 2024 16:59:45 +0000 (17:59 +0100)]
Deprecate `WCF.TabMenu`
Because it is not (or no longer) used in the software.
see #5974
Marcel Werk [Mon, 18 Nov 2024 16:54:12 +0000 (17:54 +0100)]
Deprecate `WCF.Action.SimpleProxy`
Because it is not (or no longer) used in the software.
see #5974
Marcel Werk [Mon, 18 Nov 2024 16:32:07 +0000 (17:32 +0100)]
Deprecate `WCF.Category.NestedList`
Because it is not (or no longer) used in the software.
see #5974
Olaf Braun [Mon, 18 Nov 2024 14:49:20 +0000 (15:49 +0100)]
Merge pull request #6071 from WoltLab/6.2-formbuilder-template-group
Use FormBuilder for TemplateGroups
Marcel Werk [Mon, 18 Nov 2024 12:39:01 +0000 (13:39 +0100)]
Merge pull request #6077 from WoltLab/cronjob-log-clear
Migrate cronjob log clear to modern code
Alexander Ebert [Fri, 15 Nov 2024 16:21:58 +0000 (17:21 +0100)]
Update the NPM dependencies
Alexander Ebert [Fri, 15 Nov 2024 16:17:50 +0000 (17:17 +0100)]
Merge branch '6.1' into 6.2
Alexander Ebert [Fri, 15 Nov 2024 16:17:15 +0000 (17:17 +0100)]
Fix the WCFSetup
Marcel Werk [Fri, 15 Nov 2024 15:24:05 +0000 (16:24 +0100)]
Migrate cronjob log clear to modern code
Marcel Werk [Fri, 15 Nov 2024 15:23:01 +0000 (16:23 +0100)]
Merge pull request #6056 from WoltLab/toggle-button
Toggle button webcomponent
Alexander Ebert [Fri, 15 Nov 2024 15:02:57 +0000 (16:02 +0100)]
Add dedicated style variables for the toggle button
Alexander Ebert [Fri, 15 Nov 2024 14:41:38 +0000 (15:41 +0100)]
Add `<woltlab-core-toggle-button>` to the `global.d.ts`
Alexander Ebert [Thu, 14 Nov 2024 11:21:02 +0000 (12:21 +0100)]
Return a sane list of defaults if the selected highlighters are empty
In previous versions it was possible that the selection got lost, eventually breaking the implementation.
Cyperghost [Thu, 14 Nov 2024 10:14:47 +0000 (11:14 +0100)]
Insert form fields in a `FormContainer`
Alexander Ebert [Thu, 14 Nov 2024 09:42:15 +0000 (10:42 +0100)]
Add the typings for `<woltlab-core-notice>`
Fixes #6067
Cyperghost [Thu, 14 Nov 2024 09:22:17 +0000 (10:22 +0100)]
Use correct indent
Cyperghost [Thu, 14 Nov 2024 09:20:34 +0000 (10:20 +0100)]
Create functions to get the form field validators
Cyperghost [Thu, 14 Nov 2024 09:13:56 +0000 (10:13 +0100)]
Use FormBuilder to copy template groups
Cyperghost [Thu, 14 Nov 2024 08:52:52 +0000 (09:52 +0100)]
Use the FormBuilder to create/edit template groups
Alexander Ebert [Wed, 13 Nov 2024 16:08:18 +0000 (17:08 +0100)]
Force the attachment tab to be open when uploading files by dropping
Fixes #6034
Regression of #5988
Alexander Ebert [Wed, 13 Nov 2024 16:00:56 +0000 (17:00 +0100)]
Suppress focus markers if `:focus-visible` is not met
See https://www.woltlab.com/community/thread/309471-mobile-device-dropdown-menu-hover/
Alexander Ebert [Wed, 13 Nov 2024 12:31:30 +0000 (13:31 +0100)]
Prevent an extra `</script>` to be added at the end of the document
See https://www.woltlab.com/community/thread/309609-%C3%A4nderung-der-script-relocation-im-output-buffer-erzeugt-zus%C3%A4tzlichen-script-tag/
Alexander Ebert [Wed, 13 Nov 2024 12:22:10 +0000 (13:22 +0100)]
Always report browser support for WebP
See https://www.woltlab.com/community/thread/309622-keine-auslieferung-von-webp-grafiken-mehr-an-firefox-nutzer/
Alexander Ebert [Wed, 13 Nov 2024 12:09:38 +0000 (13:09 +0100)]
Nested nodes may already be removed during this process
Alexander Ebert [Wed, 13 Nov 2024 12:08:44 +0000 (13:08 +0100)]
Update the NPM dependencies
Alexander Ebert [Wed, 13 Nov 2024 12:06:41 +0000 (13:06 +0100)]
Upgrade to CKEditor v43.3.1
Alexander Ebert [Wed, 13 Nov 2024 12:05:12 +0000 (13:05 +0100)]
Merge branch '6.0' into 6.1
Alexander Ebert [Wed, 13 Nov 2024 11:59:19 +0000 (12:59 +0100)]
Update the `focus-trap` lib
Cyperghost [Wed, 13 Nov 2024 10:23:22 +0000 (11:23 +0100)]
`EditorConfig.woltlabMedia` is removed
See https://github.com/WoltLab/editor/commit/
c6979f3e4b5631d8a327de25b2f2b135cdc5490f
See https://github.com/WoltLab/WCF/commit/
76e819bb8146f9149f86e530a3b54aeff395d979
Alexander Ebert [Wed, 13 Nov 2024 09:13:11 +0000 (10:13 +0100)]
Upgrade to CKEditor v43.3.1 / NPM Dependencies
Cyperghost [Wed, 13 Nov 2024 08:37:48 +0000 (09:37 +0100)]
Remove composer require package `web-token/jwt-library` which is already delivered by `minishlink/web-push` in the correct version
Olaf Braun [Mon, 11 Nov 2024 13:57:53 +0000 (14:57 +0100)]
Merge pull request #6045 from WoltLab/bugfix/image-metacode-upcast
Rename `ImageMetacodeUpcast` to `AbstractImageMetacodeUpcast`
Marcel Werk [Mon, 11 Nov 2024 11:27:56 +0000 (12:27 +0100)]
Fix icon size in mobile search results
ref https://www.woltlab.com/community/thread/309509-search-results-pages/
Marcel Werk [Sat, 9 Nov 2024 15:07:55 +0000 (16:07 +0100)]
Toggle button webcomponent
Cyperghost [Fri, 8 Nov 2024 12:24:04 +0000 (13:24 +0100)]
Also use the correct path for the emojis in the ACP
Cyperghost [Fri, 8 Nov 2024 12:07:36 +0000 (13:07 +0100)]
Add the file after the upload button, as it is in the template
Marcel Werk [Thu, 7 Nov 2024 11:09:00 +0000 (12:09 +0100)]
Fix issue when deleting comments
Marcel Werk [Wed, 6 Nov 2024 14:53:18 +0000 (15:53 +0100)]
Merge pull request #6048 from WoltLab/bugfix/import-cach-reset
Fix cache reset after data import
Marcel Werk [Wed, 6 Nov 2024 14:05:05 +0000 (15:05 +0100)]
Fix cache reset after data import
ref https://www.woltlab.com/community/thread/309331-error-message-during-import-process-wcf-ajax-error-sessionexpired/
Alexander Ebert [Wed, 6 Nov 2024 14:43:36 +0000 (15:43 +0100)]
Merge branch '6.0' into 6.1
Alexander Ebert [Wed, 6 Nov 2024 14:43:29 +0000 (15:43 +0100)]
Remove an obsolete workflow
Alexander Ebert [Wed, 6 Nov 2024 14:36:54 +0000 (15:36 +0100)]
Update the tslib dependency
Cyperghost [Wed, 6 Nov 2024 12:20:55 +0000 (13:20 +0100)]
Run `tsc`
Cyperghost [Wed, 6 Nov 2024 12:19:48 +0000 (13:19 +0100)]
Add since information
Cyperghost [Wed, 6 Nov 2024 10:05:36 +0000 (11:05 +0100)]
Fixes the problem that the `objectID` was not set when the form was submitted.
Cyperghost [Wed, 6 Nov 2024 09:34:48 +0000 (10:34 +0100)]
Run tsc
Cyperghost [Wed, 6 Nov 2024 09:28:49 +0000 (10:28 +0100)]
Update `cropper.min.js` to the current installed version
Cyperghost [Wed, 6 Nov 2024 09:19:24 +0000 (10:19 +0100)]
Correct comment
Cyperghost [Wed, 6 Nov 2024 09:13:35 +0000 (10:13 +0100)]
Remove sorting the sizes in js, server already does this
Cyperghost [Wed, 6 Nov 2024 09:04:39 +0000 (10:04 +0100)]
Check whether the `cropper-selection` in `MinMaxImageCropper` limits to the minimum and maximum.
Cyperghost [Wed, 6 Nov 2024 08:27:41 +0000 (09:27 +0100)]
Check whether the user has canceled the dialog manually
Cyperghost [Wed, 6 Nov 2024 08:26:55 +0000 (09:26 +0100)]
Validate the file type
Cyperghost [Wed, 6 Nov 2024 08:26:32 +0000 (09:26 +0100)]
Add `cropperContainer` around `cropper-canvas`
Cyperghost [Wed, 6 Nov 2024 08:02:36 +0000 (09:02 +0100)]
Display error message if images are too small
Cyperghost [Tue, 5 Nov 2024 14:00:19 +0000 (15:00 +0100)]
Open crop dialog if `cropperConfiguration` set
Marcel Werk [Tue, 5 Nov 2024 12:33:56 +0000 (13:33 +0100)]
Unify phrases
Cyperghost [Tue, 5 Nov 2024 11:06:31 +0000 (12:06 +0100)]
Output the cropper configuration
Cyperghost [Tue, 5 Nov 2024 10:54:21 +0000 (11:54 +0100)]
Add image cropper configuration
Cyperghost [Tue, 5 Nov 2024 09:50:02 +0000 (10:50 +0100)]
Add `cropper.min.js`
Cyperghost [Tue, 5 Nov 2024 09:47:00 +0000 (10:47 +0100)]
Install cropperjs
Cyperghost [Tue, 5 Nov 2024 09:39:47 +0000 (10:39 +0100)]
Rename `ImageMetacodeUpcast` to `AbstractImageMetacodeUpcast` to avoid confusion with BBCode.
Cyperghost [Tue, 5 Nov 2024 09:27:06 +0000 (10:27 +0100)]
Fixes the problem that the user's time zone is not used
See https://github.com/WoltLab/WCF/pull/6042#discussion_r1828441438
Cyperghost [Tue, 5 Nov 2024 09:16:44 +0000 (10:16 +0100)]
Merge branch 'upgrade-jwt' into 6.1
Cyperghost [Tue, 5 Nov 2024 09:11:00 +0000 (10:11 +0100)]
Add deleted files that were deleted when the `jwt-library` was updated
Cyperghost [Tue, 5 Nov 2024 08:55:43 +0000 (09:55 +0100)]
Upgrade `web-token/jwt-library` to `3.4.x`
Cyperghost [Tue, 5 Nov 2024 08:54:54 +0000 (09:54 +0100)]
Revert "Update composer package `minishlink/web-push` to `^v9.0.1`"
This reverts commit
1f958bcb2df425a892161a018134e6c74caf0770.
Marcel Werk [Mon, 4 Nov 2024 13:41:26 +0000 (14:41 +0100)]
Fix wrong quotation marks
ref https://www.woltlab.com/community/thread/309251-language-change-the-german-quotation-marks-to-english-in-some-phrases/
Cyperghost [Mon, 4 Nov 2024 10:57:47 +0000 (11:57 +0100)]
Update composer package `minishlink/web-push` to `^v9.0.1`
Set alias for `web-token/jwt-library`
Marcel Werk [Mon, 4 Nov 2024 09:59:30 +0000 (10:59 +0100)]
Fix wrong calculation of the remaining notifications in the daily notification email
Alexander Ebert [Fri, 1 Nov 2024 16:30:28 +0000 (17:30 +0100)]
Update the dev dependencies
Alexander Ebert [Fri, 1 Nov 2024 16:29:17 +0000 (17:29 +0100)]
Merge branch '6.0' into 6.1
Alexander Ebert [Fri, 1 Nov 2024 16:26:09 +0000 (17:26 +0100)]
Fix various linting issues
Alexander Ebert [Fri, 1 Nov 2024 16:06:19 +0000 (17:06 +0100)]
Update the NPM dependencies
Alexander Ebert [Fri, 1 Nov 2024 15:59:45 +0000 (16:59 +0100)]
Migrate ESLint to `eslint.config.mjs`
Alexander Ebert [Fri, 1 Nov 2024 15:56:17 +0000 (16:56 +0100)]
Update the dev dependencies
Alexander Ebert [Fri, 1 Nov 2024 15:51:19 +0000 (16:51 +0100)]
Update the JS build chain
Alexander Ebert [Fri, 1 Nov 2024 15:50:58 +0000 (16:50 +0100)]
Update the JS build chain
Alexander Ebert [Fri, 1 Nov 2024 15:50:00 +0000 (16:50 +0100)]
Merge branch '6.0' into 6.1
Alexander Ebert [Fri, 1 Nov 2024 15:49:39 +0000 (16:49 +0100)]
Update the JS build chain
Alexander Ebert [Fri, 1 Nov 2024 15:43:32 +0000 (16:43 +0100)]
Merge branch '6.0' into 6.1
Alexander Ebert [Fri, 1 Nov 2024 15:42:57 +0000 (16:42 +0100)]
Do not log the missing bootstraper
This file can be missing during changes to the installed packages while it is being recreated.
The log entry here is pointless because if the following command succeeds, then this error is not actionable. If on the other hand the file could not be created, this will cause an error plus a log entry anyway.
Alexander Ebert [Fri, 1 Nov 2024 15:36:59 +0000 (16:36 +0100)]
Fix the i18n description using the values of the i18n title
See https://www.woltlab.com/community/thread/309259-trophies-category-description-unchanged/
Alexander Ebert [Fri, 1 Nov 2024 11:51:00 +0000 (12:51 +0100)]
Do not attempt to attach a shadow root more than once
Olaf Braun [Thu, 31 Oct 2024 12:13:39 +0000 (13:13 +0100)]
Merge pull request #6041 from WoltLab/upload-field-extension-validation
Validate file extensions in `UploadFormField`
Marcel Werk [Thu, 31 Oct 2024 11:53:42 +0000 (12:53 +0100)]
Merge pull request #6043 from WoltLab/bugfix/package-list-sorting
Fix incorrect alphabetical sorting of the package list
Olaf Braun [Thu, 31 Oct 2024 07:58:10 +0000 (08:58 +0100)]
Merge pull request #6042 from WoltLab/deprecate-dateutil-format
Deprecate dateutil format
Cyperghost [Thu, 31 Oct 2024 07:30:17 +0000 (08:30 +0100)]
Directly pass filename
Use early continue
Fix file extension check
Alexander Ebert [Wed, 30 Oct 2024 16:41:32 +0000 (17:41 +0100)]
Fixed a possible infinite reauthentication loop in the admin panel
Marcel Werk [Wed, 30 Oct 2024 16:10:11 +0000 (17:10 +0100)]
Fix incorrect alphabetical sorting of the package list
ref https://www.woltlab.com/community/thread/309253-paketliste-sortierung-nach-namen/
Cyperghost [Wed, 30 Oct 2024 08:05:07 +0000 (09:05 +0100)]
Add php doc to `DateFormField::getDateTimeFormatter()`
Cyperghost [Wed, 30 Oct 2024 07:57:23 +0000 (08:57 +0100)]
Use `\IntlDateFormatter` to format the datetime object
Cyperghost [Wed, 30 Oct 2024 07:49:01 +0000 (08:49 +0100)]
Remove the unused functions `CLIUtil::formatTime()` and `CLIUtil::formatDate()`.
Marcel Werk [Tue, 29 Oct 2024 13:58:27 +0000 (14:58 +0100)]
Fix invalid html syntax
Marcel Werk [Tue, 29 Oct 2024 13:54:28 +0000 (14:54 +0100)]
Remove invalid html
Marcel Werk [Tue, 29 Oct 2024 13:52:53 +0000 (14:52 +0100)]
Slim down note about developer license
Olaf Braun [Tue, 29 Oct 2024 13:42:58 +0000 (14:42 +0100)]
Merge pull request #6026 from WoltLab/emoji-picker-v2
Emoji picker
Cyperghost [Tue, 29 Oct 2024 13:35:24 +0000 (14:35 +0100)]
No longer use `DateUtil::format()` to format the date.
Cyperghost [Tue, 29 Oct 2024 13:17:21 +0000 (14:17 +0100)]
Use `\DateTime::format()` instead of `DateUtil::format()`