GitHub/WoltLab/WCF.git
4 days agoDeprecate `WCF.Category.NestedList`
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

4 days agoMerge pull request #6071 from WoltLab/6.2-formbuilder-template-group
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

4 days agoMerge pull request #6077 from WoltLab/cronjob-log-clear
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

7 days agoUpdate the NPM dependencies
Alexander Ebert [Fri, 15 Nov 2024 16:21:58 +0000 (17:21 +0100)]
Update the NPM dependencies

7 days agoMerge branch '6.1' into 6.2
Alexander Ebert [Fri, 15 Nov 2024 16:17:50 +0000 (17:17 +0100)]
Merge branch '6.1' into 6.2

7 days agoFix the WCFSetup
Alexander Ebert [Fri, 15 Nov 2024 16:17:15 +0000 (17:17 +0100)]
Fix the WCFSetup

7 days agoMigrate cronjob log clear to modern code
Marcel Werk [Fri, 15 Nov 2024 15:24:05 +0000 (16:24 +0100)]
Migrate cronjob log clear to modern code

7 days agoMerge pull request #6056 from WoltLab/toggle-button
Marcel Werk [Fri, 15 Nov 2024 15:23:01 +0000 (16:23 +0100)]
Merge pull request #6056 from WoltLab/toggle-button

Toggle button webcomponent

7 days agoAdd dedicated style variables for the toggle button
Alexander Ebert [Fri, 15 Nov 2024 15:02:57 +0000 (16:02 +0100)]
Add dedicated style variables for the toggle button

7 days agoAdd `<woltlab-core-toggle-button>` to the `global.d.ts`
Alexander Ebert [Fri, 15 Nov 2024 14:41:38 +0000 (15:41 +0100)]
Add `<woltlab-core-toggle-button>` to the `global.d.ts`

8 days agoReturn a sane list of defaults if the selected highlighters are empty
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.

8 days agoInsert form fields in a `FormContainer`
Cyperghost [Thu, 14 Nov 2024 10:14:47 +0000 (11:14 +0100)]
Insert form fields in a `FormContainer`

8 days agoAdd the typings for `<woltlab-core-notice>`
Alexander Ebert [Thu, 14 Nov 2024 09:42:15 +0000 (10:42 +0100)]
Add the typings for `<woltlab-core-notice>`

Fixes #6067

8 days agoUse correct indent
Cyperghost [Thu, 14 Nov 2024 09:22:17 +0000 (10:22 +0100)]
Use correct indent

8 days agoCreate functions to get the form field validators
Cyperghost [Thu, 14 Nov 2024 09:20:34 +0000 (10:20 +0100)]
Create functions to get the form field validators

8 days agoUse FormBuilder to copy template groups
Cyperghost [Thu, 14 Nov 2024 09:13:56 +0000 (10:13 +0100)]
Use FormBuilder to copy template groups

8 days agoUse the FormBuilder to create/edit template groups
Cyperghost [Thu, 14 Nov 2024 08:52:52 +0000 (09:52 +0100)]
Use the FormBuilder to create/edit template groups

9 days agoForce the attachment tab to be open when uploading files by dropping
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

9 days agoSuppress focus markers if `:focus-visible` is not met
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/

9 days agoPrevent an extra `</script>` to be added at the end of the document
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/

9 days agoAlways report browser support for WebP
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/

9 days agoNested nodes may already be removed during this process
Alexander Ebert [Wed, 13 Nov 2024 12:09:38 +0000 (13:09 +0100)]
Nested nodes may already be removed during this process

9 days agoUpdate the NPM dependencies
Alexander Ebert [Wed, 13 Nov 2024 12:08:44 +0000 (13:08 +0100)]
Update the NPM dependencies

9 days agoUpgrade to CKEditor v43.3.1
Alexander Ebert [Wed, 13 Nov 2024 12:06:41 +0000 (13:06 +0100)]
Upgrade to CKEditor v43.3.1

9 days agoMerge branch '6.0' into 6.1
Alexander Ebert [Wed, 13 Nov 2024 12:05:12 +0000 (13:05 +0100)]
Merge branch '6.0' into 6.1

9 days agoUpdate the `focus-trap` lib
Alexander Ebert [Wed, 13 Nov 2024 11:59:19 +0000 (12:59 +0100)]
Update the `focus-trap` lib

9 days ago`EditorConfig.woltlabMedia` is removed
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

9 days agoUpgrade to CKEditor v43.3.1 / NPM Dependencies
Alexander Ebert [Wed, 13 Nov 2024 09:13:11 +0000 (10:13 +0100)]
Upgrade to CKEditor v43.3.1 / NPM Dependencies

9 days agoRemove composer require package `web-token/jwt-library` which is already delivered...
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

11 days agoMerge pull request #6045 from WoltLab/bugfix/image-metacode-upcast
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`

11 days agoFix icon size in mobile search results
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/

13 days agoToggle button webcomponent
Marcel Werk [Sat, 9 Nov 2024 15:07:55 +0000 (16:07 +0100)]
Toggle button webcomponent

2 weeks agoAlso use the correct path for the emojis in the ACP
Cyperghost [Fri, 8 Nov 2024 12:24:04 +0000 (13:24 +0100)]
Also use the correct path for the emojis in the ACP

2 weeks agoAdd the file after the upload button, as it is in the template
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

2 weeks agoFix issue when deleting comments
Marcel Werk [Thu, 7 Nov 2024 11:09:00 +0000 (12:09 +0100)]
Fix issue when deleting comments

2 weeks agoMerge pull request #6048 from WoltLab/bugfix/import-cach-reset
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

2 weeks agoFix 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/

2 weeks agoMerge branch '6.0' into 6.1
Alexander Ebert [Wed, 6 Nov 2024 14:43:36 +0000 (15:43 +0100)]
Merge branch '6.0' into 6.1

2 weeks agoRemove an obsolete workflow
Alexander Ebert [Wed, 6 Nov 2024 14:43:29 +0000 (15:43 +0100)]
Remove an obsolete workflow

2 weeks agoUpdate the tslib dependency
Alexander Ebert [Wed, 6 Nov 2024 14:36:54 +0000 (15:36 +0100)]
Update the tslib dependency

2 weeks agoFixes the problem that the `objectID` was not set when the form was submitted.
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.

2 weeks agoUnify phrases
Marcel Werk [Tue, 5 Nov 2024 12:33:56 +0000 (13:33 +0100)]
Unify phrases

2 weeks agoRename `ImageMetacodeUpcast` to `AbstractImageMetacodeUpcast` to avoid confusion...
Cyperghost [Tue, 5 Nov 2024 09:39:47 +0000 (10:39 +0100)]
Rename `ImageMetacodeUpcast` to `AbstractImageMetacodeUpcast` to avoid confusion with BBCode.

2 weeks agoFixes the problem that the user's time zone is not used
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

2 weeks agoMerge branch 'upgrade-jwt' into 6.1
Cyperghost [Tue, 5 Nov 2024 09:16:44 +0000 (10:16 +0100)]
Merge branch 'upgrade-jwt' into 6.1

2 weeks agoAdd deleted files that were deleted when the `jwt-library` was updated upgrade-jwt
Cyperghost [Tue, 5 Nov 2024 09:11:00 +0000 (10:11 +0100)]
Add deleted files that were deleted when the `jwt-library` was updated

2 weeks agoUpgrade `web-token/jwt-library` to `3.4.x`
Cyperghost [Tue, 5 Nov 2024 08:55:43 +0000 (09:55 +0100)]
Upgrade `web-token/jwt-library` to `3.4.x`

2 weeks agoRevert "Update composer package `minishlink/web-push` to `^v9.0.1`"
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.

2 weeks agoFix wrong quotation marks
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/

2 weeks agoUpdate composer package `minishlink/web-push` to `^v9.0.1`
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`

2 weeks agoFix wrong calculation of the remaining notifications in the daily notification email
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

3 weeks agoUpdate the dev dependencies
Alexander Ebert [Fri, 1 Nov 2024 16:30:28 +0000 (17:30 +0100)]
Update the dev dependencies

3 weeks agoMerge branch '6.0' into 6.1
Alexander Ebert [Fri, 1 Nov 2024 16:29:17 +0000 (17:29 +0100)]
Merge branch '6.0' into 6.1

3 weeks agoFix various linting issues
Alexander Ebert [Fri, 1 Nov 2024 16:26:09 +0000 (17:26 +0100)]
Fix various linting issues

3 weeks agoUpdate the NPM dependencies
Alexander Ebert [Fri, 1 Nov 2024 16:06:19 +0000 (17:06 +0100)]
Update the NPM dependencies

3 weeks agoMigrate ESLint to `eslint.config.mjs`
Alexander Ebert [Fri, 1 Nov 2024 15:59:45 +0000 (16:59 +0100)]
Migrate ESLint to `eslint.config.mjs`

3 weeks agoUpdate the dev dependencies
Alexander Ebert [Fri, 1 Nov 2024 15:56:17 +0000 (16:56 +0100)]
Update the dev dependencies

3 weeks agoUpdate the JS build chain
Alexander Ebert [Fri, 1 Nov 2024 15:51:19 +0000 (16:51 +0100)]
Update the JS build chain

3 weeks agoUpdate the JS build chain
Alexander Ebert [Fri, 1 Nov 2024 15:50:58 +0000 (16:50 +0100)]
Update the JS build chain

3 weeks agoMerge branch '6.0' into 6.1
Alexander Ebert [Fri, 1 Nov 2024 15:50:00 +0000 (16:50 +0100)]
Merge branch '6.0' into 6.1

3 weeks agoUpdate the JS build chain
Alexander Ebert [Fri, 1 Nov 2024 15:49:39 +0000 (16:49 +0100)]
Update the JS build chain

3 weeks agoMerge branch '6.0' into 6.1
Alexander Ebert [Fri, 1 Nov 2024 15:43:32 +0000 (16:43 +0100)]
Merge branch '6.0' into 6.1

3 weeks agoDo not log the missing bootstraper
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.

3 weeks agoFix the i18n description using the values of the i18n title
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/

3 weeks agoDo not attempt to attach a shadow root more than once
Alexander Ebert [Fri, 1 Nov 2024 11:51:00 +0000 (12:51 +0100)]
Do not attempt to attach a shadow root more than once

3 weeks agoMerge pull request #6041 from WoltLab/upload-field-extension-validation
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`

3 weeks agoMerge pull request #6043 from WoltLab/bugfix/package-list-sorting
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

3 weeks agoMerge pull request #6042 from WoltLab/deprecate-dateutil-format
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

3 weeks agoDirectly pass filename
Cyperghost [Thu, 31 Oct 2024 07:30:17 +0000 (08:30 +0100)]
Directly pass filename
Use early continue
Fix file extension check

3 weeks agoFixed a possible infinite reauthentication loop in the admin panel
Alexander Ebert [Wed, 30 Oct 2024 16:41:32 +0000 (17:41 +0100)]
Fixed a possible infinite reauthentication loop in the admin panel

3 weeks agoFix incorrect alphabetical sorting of the package list
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/

3 weeks agoAdd php doc to `DateFormField::getDateTimeFormatter()`
Cyperghost [Wed, 30 Oct 2024 08:05:07 +0000 (09:05 +0100)]
Add php doc to `DateFormField::getDateTimeFormatter()`

3 weeks agoUse `\IntlDateFormatter` to format the datetime object
Cyperghost [Wed, 30 Oct 2024 07:57:23 +0000 (08:57 +0100)]
Use `\IntlDateFormatter` to format the datetime object

3 weeks agoRemove the unused functions `CLIUtil::formatTime()` and `CLIUtil::formatDate()`.
Cyperghost [Wed, 30 Oct 2024 07:49:01 +0000 (08:49 +0100)]
Remove the unused functions `CLIUtil::formatTime()` and `CLIUtil::formatDate()`.

3 weeks agoFix invalid html syntax
Marcel Werk [Tue, 29 Oct 2024 13:58:27 +0000 (14:58 +0100)]
Fix invalid html syntax

3 weeks agoRemove invalid html
Marcel Werk [Tue, 29 Oct 2024 13:54:28 +0000 (14:54 +0100)]
Remove invalid html

3 weeks agoSlim down note about developer license
Marcel Werk [Tue, 29 Oct 2024 13:52:53 +0000 (14:52 +0100)]
Slim down note about developer license

3 weeks agoMerge pull request #6026 from WoltLab/emoji-picker-v2
Olaf Braun [Tue, 29 Oct 2024 13:42:58 +0000 (14:42 +0100)]
Merge pull request #6026 from WoltLab/emoji-picker-v2

Emoji picker

3 weeks agoNo longer use `DateUtil::format()` to format the date.
Cyperghost [Tue, 29 Oct 2024 13:35:24 +0000 (14:35 +0100)]
No longer use `DateUtil::format()` to format the date.

3 weeks agoUse `\DateTime::format()` instead of `DateUtil::format()`
Cyperghost [Tue, 29 Oct 2024 13:17:21 +0000 (14:17 +0100)]
Use `\DateTime::format()` instead of `DateUtil::format()`

3 weeks agoUse `\IntlDateFormatter` to format the date
Cyperghost [Tue, 29 Oct 2024 13:16:06 +0000 (14:16 +0100)]
Use `\IntlDateFormatter` to format the date

3 weeks agoUse `DateTime::format()` instead of `DateUtil::format()`
Cyperghost [Tue, 29 Oct 2024 11:53:05 +0000 (12:53 +0100)]
Use `DateTime::format()` instead of `DateUtil::format()`

3 weeks agoMark `DateUtil::format()` as deprecated
Cyperghost [Tue, 29 Oct 2024 11:39:59 +0000 (12:39 +0100)]
Mark `DateUtil::format()` as deprecated

3 weeks agoValidate file extensions in `UploadFormField`
Cyperghost [Tue, 29 Oct 2024 09:45:13 +0000 (10:45 +0100)]
Validate file extensions in `UploadFormField`

3 weeks agoRebuild the pre-update files
Alexander Ebert [Tue, 29 Oct 2024 09:01:52 +0000 (10:01 +0100)]
Rebuild the pre-update files

3 weeks agoFix the check for GMP support
Alexander Ebert [Tue, 29 Oct 2024 09:01:33 +0000 (10:01 +0100)]
Fix the check for GMP support

See https://www.woltlab.com/community/thread/309207-gmp-fehler-bei-aktualisierung/

3 weeks agoRelease 6.1.0 6.1.0
Alexander Ebert [Mon, 28 Oct 2024 15:07:23 +0000 (16:07 +0100)]
Release 6.1.0

3 weeks agoUpdating minified JavaScript files
WoltLab [Mon, 28 Oct 2024 14:48:15 +0000 (14:48 +0000)]
Updating minified JavaScript files

3 weeks agoUpdate the CKEditor 5 bundle
Alexander Ebert [Mon, 28 Oct 2024 14:43:51 +0000 (15:43 +0100)]
Update the CKEditor 5 bundle

3 weeks agoImport editor type for `*.svg`
Cyperghost [Mon, 28 Oct 2024 14:31:53 +0000 (15:31 +0100)]
Import editor type for `*.svg`

3 weeks agoMerge pull request #6040 from WoltLab/service-worker-last-notification
Olaf Braun [Mon, 28 Oct 2024 14:10:28 +0000 (15:10 +0100)]
Merge pull request #6040 from WoltLab/service-worker-last-notification

Save last read notification time

3 weeks agoUpdate module `@woltlab/editor`
Cyperghost [Mon, 28 Oct 2024 13:36:05 +0000 (14:36 +0100)]
Update module `@woltlab/editor`

3 weeks agoImprove the consistency of property/function names
Alexander Ebert [Mon, 28 Oct 2024 13:32:03 +0000 (14:32 +0100)]
Improve the consistency of property/function names

3 weeks agoAdd module comment doc
Cyperghost [Mon, 28 Oct 2024 13:06:04 +0000 (14:06 +0100)]
Add module comment doc

3 weeks agoAdd a comment that this file is auto-generated
Cyperghost [Mon, 28 Oct 2024 12:57:44 +0000 (13:57 +0100)]
Add a comment that this file is auto-generated

3 weeks agoDon't add object store on success only in upgrade event function.
Cyperghost [Mon, 28 Oct 2024 12:30:18 +0000 (13:30 +0100)]
Don't add object store on success only in upgrade event function.

3 weeks agoPrint complete messages
Cyperghost [Mon, 28 Oct 2024 12:29:38 +0000 (13:29 +0100)]
Print complete messages

3 weeks agoFix the check whether the notification should be displayed
Cyperghost [Mon, 28 Oct 2024 11:51:33 +0000 (12:51 +0100)]
Fix the check whether the notification should be displayed

3 weeks agoReformat code
Cyperghost [Mon, 28 Oct 2024 11:49:26 +0000 (12:49 +0100)]
Reformat code

3 weeks agoFix error message
Cyperghost [Mon, 28 Oct 2024 11:41:16 +0000 (12:41 +0100)]
Fix error message