GitHub/WoltLab/WCF.git
9 months agoEncode UTF-8 characters in an URI’s path
Alexander Ebert [Fri, 15 Mar 2024 16:22:24 +0000 (17:22 +0100)]
Encode UTF-8 characters in an URI’s path

See https://www.woltlab.com/community/thread/304901-keine-linkvorschau-bei-links-mit-umlauten/

10 months agoMerge pull request #5766 from SoftCreatR/bugfix/exceptionID
Alexander Ebert [Wed, 13 Mar 2024 10:27:49 +0000 (11:27 +0100)]
Merge pull request #5766 from SoftCreatR/bugfix/exceptionID

Add missing exceptionID property

10 months agoMerge pull request #5839 from WoltLab/bugfix/moderation-queue-comments-notification
Marcel Werk [Fri, 8 Mar 2024 12:54:19 +0000 (13:54 +0100)]
Merge pull request #5839 from WoltLab/bugfix/moderation-queue-comments-notification

Delete orphaned moderation queue comment notifications

10 months agoDelete moderation queue comment notifications if the moderation queue object has...
Cyperghost [Fri, 8 Mar 2024 10:28:37 +0000 (11:28 +0100)]
Delete moderation queue comment notifications if the moderation queue object has already been deleted.

10 months agoMerge pull request #5834 from WoltLab/bugfix/UserRegistrationDateCondition
Marcel Werk [Mon, 4 Mar 2024 15:57:10 +0000 (16:57 +0100)]
Merge pull request #5834 from WoltLab/bugfix/UserRegistrationDateCondition

use system timezone for `UserRegistrationDateCondition`

10 months agoMerge pull request #5831 from WoltLab/xsd
Marcel Werk [Mon, 4 Mar 2024 13:54:19 +0000 (14:54 +0100)]
Merge pull request #5831 from WoltLab/xsd

Fix multiple issues in XSD files

10 months agoFix multiple issues in XSD files
Marcel Werk [Fri, 1 Mar 2024 14:02:47 +0000 (15:02 +0100)]
Fix multiple issues in XSD files

Closes #5809

10 months agoMerge pull request #5832 from WoltLab/menu-caret-down-icon
Marcel Werk [Mon, 4 Mar 2024 13:48:31 +0000 (14:48 +0100)]
Merge pull request #5832 from WoltLab/menu-caret-down-icon

Fix obsolete 'caret-down' icon in menus

10 months agoUse timezone object
Cyperghost [Mon, 4 Mar 2024 12:43:51 +0000 (13:43 +0100)]
Use timezone object

10 months agoUse system timezone
Cyperghost [Mon, 4 Mar 2024 12:37:59 +0000 (13:37 +0100)]
Use system timezone

10 months agoMerge pull request #5828 from WoltLab/bugfix/recaptcha-dialog
Olaf Braun [Sat, 2 Mar 2024 16:30:42 +0000 (17:30 +0100)]
Merge pull request #5828 from WoltLab/bugfix/recaptcha-dialog

Move reCAPTCHA widget overlay for dialogs to `pageOverlayContainer`

10 months agoFix obsolete 'caret-down' icon in menus
Marcel Werk [Fri, 1 Mar 2024 17:17:40 +0000 (18:17 +0100)]
Fix obsolete 'caret-down' icon in menus

The icon was incorrectly shown in all menus and all levels.

10 months agoMerge pull request #5808 from IceQ1337/XSD
Marcel Werk [Fri, 1 Mar 2024 14:04:49 +0000 (15:04 +0100)]
Merge pull request #5808 from IceQ1337/XSD

Add minlength and maxlength elements to option.xsd

10 months agoMerge pull request #5830 from WoltLab/bugfix/moderation-comments
Marcel Werk [Fri, 1 Mar 2024 13:17:04 +0000 (14:17 +0100)]
Merge pull request #5830 from WoltLab/bugfix/moderation-comments

Remove moderation comments when removing orphaned queue objects

10 months agoRemove comments when removing queue objects
Cyperghost [Fri, 1 Mar 2024 13:01:04 +0000 (14:01 +0100)]
Remove comments when removing queue objects

10 months agoUse `continue`
Cyperghost [Fri, 1 Mar 2024 12:25:18 +0000 (13:25 +0100)]
Use `continue`

10 months agoUpdate ts/WoltLabSuite/Core/Bootstrap.ts
Olaf Braun [Fri, 1 Mar 2024 12:24:37 +0000 (13:24 +0100)]
Update ts/WoltLabSuite/Core/Bootstrap.ts

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
10 months agoMove the reCAPTCHA widget overlay to the `pageOverlayContainer` when widget form...
Cyperghost [Fri, 1 Mar 2024 10:56:55 +0000 (11:56 +0100)]
Move the reCAPTCHA widget overlay to the `pageOverlayContainer` when widget form elements are placed in a dialog.

10 months agoMerge pull request #5826 from WoltLab/bugfix/delete-user-content
Olaf Braun [Fri, 1 Mar 2024 10:31:10 +0000 (11:31 +0100)]
Merge pull request #5826 from WoltLab/bugfix/delete-user-content

Use permission `admin.user.canDeleteUser` for deleting user content

10 months agoUse permission `admin.user.canDeleteUser` for deleting user content
Cyperghost [Thu, 29 Feb 2024 11:12:05 +0000 (12:12 +0100)]
Use permission `admin.user.canDeleteUser` for deleting user content

10 months agoRemove 'required' attribute from wysiwyg options
Marcel Werk [Wed, 28 Feb 2024 16:05:34 +0000 (17:05 +0100)]
Remove 'required' attribute from wysiwyg options

The textarea is hidden. The 'required' attribute lead to the issue that the form could not be submitted in the browser.

10 months agoMerge pull request #5822 from WoltLab/bugfix/user-menu-icons
Olaf Braun [Tue, 27 Feb 2024 13:15:43 +0000 (14:15 +0100)]
Merge pull request #5822 from WoltLab/bugfix/user-menu-icons

Fix `userMenuItemSingleLine` icons

10 months agoFix `userMenuItemSingleLine` icons
Cyperghost [Tue, 27 Feb 2024 10:01:39 +0000 (11:01 +0100)]
Fix `userMenuItemSingleLine` icons

10 months agoAnswers to captcha questions are no longer case-sensitive
Marcel Werk [Mon, 26 Feb 2024 12:22:49 +0000 (13:22 +0100)]
Answers to captcha questions are no longer case-sensitive

10 months agoFix duplicate language phrases `wcf.acp.package.validation.errorCode.30`
Cyperghost [Mon, 26 Feb 2024 10:49:22 +0000 (11:49 +0100)]
Fix duplicate language phrases `wcf.acp.package.validation.errorCode.30`

10 months agoRelease 6.0.10 6.0.10
Alexander Ebert [Thu, 22 Feb 2024 18:23:36 +0000 (19:23 +0100)]
Release 6.0.10

10 months agoUpdate the CKEditor 5 bundle
Alexander Ebert [Thu, 22 Feb 2024 18:19:14 +0000 (19:19 +0100)]
Update the CKEditor 5 bundle

10 months agoRelease 6.0.9 6.0.9
Alexander Ebert [Thu, 22 Feb 2024 15:29:07 +0000 (16:29 +0100)]
Release 6.0.9

10 months agoUpdating minified JavaScript files
WoltLab [Thu, 22 Feb 2024 15:28:33 +0000 (15:28 +0000)]
Updating minified JavaScript files

10 months agoMerge pull request #5816 from WoltLab/bugfix/wcfNode-simplified-html
Olaf Braun [Thu, 22 Feb 2024 14:36:57 +0000 (15:36 +0100)]
Merge pull request #5816 from WoltLab/bugfix/wcfNode-simplified-html

Prevent the concatenation of texts with links of BBCodes

10 months agoUpdate the CKEditor 5 bundle
Alexander Ebert [Thu, 22 Feb 2024 14:01:36 +0000 (15:01 +0100)]
Update the CKEditor 5 bundle

10 months agoAdd a whitespace before and after each `<wcfNode-*>`.
Cyperghost [Thu, 22 Feb 2024 11:16:00 +0000 (12:16 +0100)]
Add a whitespace before and after each `<wcfNode-*>`.

10 months agoRelease 6.0.9 dev 5 6.0.9_dev_5
Alexander Ebert [Thu, 22 Feb 2024 11:06:06 +0000 (12:06 +0100)]
Release 6.0.9 dev 5

10 months agoAdd safeguard for an invalid `package.xml`
Alexander Ebert [Thu, 22 Feb 2024 11:04:52 +0000 (12:04 +0100)]
Add safeguard for an invalid `package.xml`

10 months agoFix sorting in user auth failure list
Marcel Werk [Tue, 20 Feb 2024 16:20:14 +0000 (17:20 +0100)]
Fix sorting in user auth failure list

10 months agoFix visible items in category boxes
Marcel Werk [Mon, 19 Feb 2024 17:37:40 +0000 (18:37 +0100)]
Fix visible items in category boxes

ref https://www.woltlab.com/community/thread/303963-men%C3%BC-filebase-sidebar-auflistung-der-kategorien/

10 months agoFix indentation of box menu items
Marcel Werk [Mon, 19 Feb 2024 17:37:19 +0000 (18:37 +0100)]
Fix indentation of box menu items

ref https://www.woltlab.com/community/thread/303963-men%C3%BC-filebase-sidebar-auflistung-der-kategorien/

10 months agoFix unwanted detection of URLs
Marcel Werk [Mon, 19 Feb 2024 16:54:43 +0000 (17:54 +0100)]
Fix unwanted detection of URLs

ref https://www.woltlab.com/community/thread/304475-unerwartete-umwandlung-in-einen-link/

10 months agoAdd minlength and maxlength elements to option.xsd
IceQ1337 [Fri, 16 Feb 2024 19:19:21 +0000 (20:19 +0100)]
Add minlength and maxlength elements to option.xsd

10 months agoMerge pull request #5806 from WoltLab/clipboard-dropdown-class-missing
Olaf Braun [Fri, 16 Feb 2024 14:23:02 +0000 (15:23 +0100)]
Merge pull request #5806 from WoltLab/clipboard-dropdown-class-missing

Add missing `dropdown` class

10 months agoRestrict positions for UserListBox
Marcel Werk [Fri, 16 Feb 2024 13:20:58 +0000 (14:20 +0100)]
Restrict positions for UserListBox

The template is only designed for display in the sidebar.

10 months agoSet `created` to `true` if the `UiPageAction` does not include the editor.
Cyperghost [Fri, 16 Feb 2024 12:50:18 +0000 (13:50 +0100)]
Set `created` to `true` if the `UiPageAction` does not include the editor.

10 months agoFix the contrast of the headline in footer boxes
Alexander Ebert [Thu, 15 Feb 2024 11:59:30 +0000 (12:59 +0100)]
Fix the contrast of the headline in footer boxes

10 months agoUse the `beforeunload` event instead of `unload`
Alexander Ebert [Thu, 15 Feb 2024 11:49:01 +0000 (12:49 +0100)]
Use the `beforeunload` event instead of `unload`

It pretty much does the same, but does not trigger a pointless warning in PageSpeed insights.

See https://www.woltlab.com/community/thread/304788-page-speed-insights-optimierung-2024/

10 months agoForce skip rogue values for `individualScssDarkMode`
Alexander Ebert [Tue, 13 Feb 2024 16:49:59 +0000 (17:49 +0100)]
Force skip rogue values for `individualScssDarkMode`

See https://www.woltlab.com/community/thread/304477/

11 months agoRelease 6.0.9 dev 4 6.0.9_dev_4
Alexander Ebert [Sat, 10 Feb 2024 23:41:02 +0000 (00:41 +0100)]
Release 6.0.9 dev 4

11 months agoFix the caret misplacement when backspacing spaces
Alexander Ebert [Sat, 10 Feb 2024 23:40:30 +0000 (00:40 +0100)]
Fix the caret misplacement when backspacing spaces

See https://github.com/ckeditor/ckeditor5/issues/13994#issuecomment-1937350906

11 months agoRelease 6.0.9 dev 3 6.0.9_dev_3
Alexander Ebert [Sat, 10 Feb 2024 16:16:19 +0000 (17:16 +0100)]
Release 6.0.9 dev 3

11 months agoFix the "paste to link" and fix a desktop composition issue
Alexander Ebert [Sat, 10 Feb 2024 16:16:12 +0000 (17:16 +0100)]
Fix the "paste to link" and fix a desktop composition issue

11 months agoRelease 6.0.9 dev 2 6.0.9_dev_2
Alexander Ebert [Fri, 9 Feb 2024 17:11:43 +0000 (18:11 +0100)]
Release 6.0.9 dev 2

11 months agoUse the proper build from editor/6.0 with the custom fix
Alexander Ebert [Fri, 9 Feb 2024 16:52:24 +0000 (17:52 +0100)]
Use the proper build from editor/6.0 with the custom fix

11 months agoRelease 6.0.9 dev 1 6.0.9_dev_1
Alexander Ebert [Fri, 9 Feb 2024 16:31:21 +0000 (17:31 +0100)]
Release 6.0.9 dev 1

11 months agoUpdating minified JavaScript files
WoltLab [Fri, 9 Feb 2024 16:31:07 +0000 (16:31 +0000)]
Updating minified JavaScript files

11 months ago`ImageInsertUI` is now required by `ImageBlock`
Alexander Ebert [Fri, 9 Feb 2024 16:28:39 +0000 (17:28 +0100)]
`ImageInsertUI` is now required by `ImageBlock`

11 months agoUpdate the CKEditor bundle + custom fix
Alexander Ebert [Fri, 9 Feb 2024 16:20:25 +0000 (17:20 +0100)]
Update the CKEditor bundle + custom fix

This build includes the fix described in https://github.com/ckeditor/ckeditor5/issues/13994#issuecomment-1936074486

11 months agoRemove obsolete code
Marcel Werk [Thu, 8 Feb 2024 15:55:57 +0000 (16:55 +0100)]
Remove obsolete code

The language is already changed in the cronjob handler.

11 months agoMerge pull request #5798 from WoltLab/moderation-comment-notification-fix
Marcel Werk [Thu, 8 Feb 2024 14:53:19 +0000 (15:53 +0100)]
Merge pull request #5798 from WoltLab/moderation-comment-notification-fix

Fix issue when sending notifications about moderation comments

11 months agoFix issue when sending notifications about moderation comments
Marcel Werk [Thu, 8 Feb 2024 13:25:06 +0000 (14:25 +0100)]
Fix issue when sending notifications about moderation comments

If the e-mail notifications were created as a daily summary, the use of `ViewableModerationQueue::getViewableModerationQueue()` was not reliable, as the ID of the activate user was used there.

11 months agoFix typo in `wcf.acp.devtools.notificationTest`
Cyperghost [Thu, 8 Feb 2024 09:06:47 +0000 (10:06 +0100)]
Fix typo in `wcf.acp.devtools.notificationTest`

11 months agoIcon positioning in userMenu corrected
Cyperghost [Wed, 7 Feb 2024 13:26:30 +0000 (14:26 +0100)]
Icon positioning in userMenu corrected
See https://www.woltlab.com/community/thread/304644-icons-userpanel/

11 months agoMerge pull request #5793 from WoltLab/bugfix/unfurl-output
Olaf Braun [Tue, 6 Feb 2024 09:46:02 +0000 (10:46 +0100)]
Merge pull request #5793 from WoltLab/bugfix/unfurl-output

Fixes the error that the order of links and text was swapped in unfurl

11 months agoForce backslashes for non imported namespaces
Alexander Ebert [Mon, 5 Feb 2024 15:19:05 +0000 (16:19 +0100)]
Force backslashes for non imported namespaces

11 months agoFixes the error that the order of links and text was swapped in unfurl
Cyperghost [Mon, 5 Feb 2024 11:04:25 +0000 (12:04 +0100)]
Fixes the error that the order of links and text was swapped in unfurl

11 months agoFix error in user search
Marcel Werk [Mon, 5 Feb 2024 10:21:23 +0000 (11:21 +0100)]
Fix error in user search

The error is caused by an empty radiobutton.
```
preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
```

11 months agoFix the support for numeric phrase variants
Alexander Ebert [Fri, 2 Feb 2024 16:57:40 +0000 (17:57 +0100)]
Fix the support for numeric phrase variants

11 months agoMerge pull request #5789 from WoltLab/bugfix/notifcation-empty-recipient
Olaf Braun [Fri, 2 Feb 2024 14:21:33 +0000 (15:21 +0100)]
Merge pull request #5789 from WoltLab/bugfix/notifcation-empty-recipient

Check if recipientIDs empty

11 months agoMerge pull request #5791 from WoltLab/cli-worker-threads-env-info
Olaf Braun [Fri, 2 Feb 2024 13:58:19 +0000 (14:58 +0100)]
Merge pull request #5791 from WoltLab/cli-worker-threads-env-info

Add a check that `variables_order` has `ENV` active

11 months agoAdd a check that `variables_order` has `ENV` active
Cyperghost [Fri, 2 Feb 2024 12:31:59 +0000 (13:31 +0100)]
Add a check that `variables_order` has `ENV` active

11 months agoMove check to top of function
Cyperghost [Fri, 2 Feb 2024 10:37:28 +0000 (11:37 +0100)]
Move check to top of function

11 months agoIf `$recipientIDs` empty this will cause an exception
Cyperghost [Thu, 1 Feb 2024 13:37:07 +0000 (14:37 +0100)]
If `$recipientIDs` empty this will cause an exception

11 months agoInitialize the `$cursorOffset` variable
Alexander Ebert [Wed, 31 Jan 2024 16:37:19 +0000 (17:37 +0100)]
Initialize the `$cursorOffset` variable

See https://www.woltlab.com/community/thread/304469-threads-im-cli-worker-undefined-variable-cursoroffset/

11 months agoMerge branch 'update-608' into 6.0
Alexander Ebert [Mon, 29 Jan 2024 23:06:42 +0000 (00:06 +0100)]
Merge branch 'update-608' into 6.0

11 months agoRelease 6.0.8 6.0.8
Alexander Ebert [Mon, 29 Jan 2024 22:55:26 +0000 (23:55 +0100)]
Release 6.0.8

11 months ago`\DOMElement::$parentElement` requires PHP 8.3+
Alexander Ebert [Mon, 29 Jan 2024 22:49:08 +0000 (23:49 +0100)]
`\DOMElement::$parentElement` requires PHP 8.3+

See https://www.woltlab.com/community/thread/304491-undefined-property-domelement-parentelement/

11 months agoUpgrade to CKEditor v41.0.0
Alexander Ebert [Mon, 29 Jan 2024 18:21:07 +0000 (19:21 +0100)]
Upgrade to CKEditor v41.0.0

11 months agoUpdated the composer dependencies
Alexander Ebert [Mon, 29 Jan 2024 17:47:57 +0000 (18:47 +0100)]
Updated the composer dependencies

11 months agoFix the default hostname for links without hostnames
Alexander Ebert [Mon, 29 Jan 2024 17:37:37 +0000 (18:37 +0100)]
Fix the default hostname for links without hostnames

See https://www.woltlab.com/community/thread/302070-link-ohne-protokoll-zeigt-auf-localhost/

11 months agoRelease 6.0.7 6.0.7
Alexander Ebert [Mon, 29 Jan 2024 11:57:25 +0000 (12:57 +0100)]
Release 6.0.7

11 months agoRelease 6.0.7 dev 2 6.0.7_dev_2
Alexander Ebert [Fri, 26 Jan 2024 12:11:10 +0000 (13:11 +0100)]
Release 6.0.7 dev 2

11 months agoUpdate the CKEditor 5 bundle
Alexander Ebert [Fri, 26 Jan 2024 12:10:24 +0000 (13:10 +0100)]
Update the CKEditor 5 bundle

11 months agoRelease 6.0.7 dev 1 6.0.7_dev_1
Alexander Ebert [Thu, 25 Jan 2024 16:29:11 +0000 (17:29 +0100)]
Release 6.0.7 dev 1

11 months agoUpdating minified JavaScript files
WoltLab [Thu, 25 Jan 2024 16:20:24 +0000 (16:20 +0000)]
Updating minified JavaScript files

11 months agoMerge pull request #5776 from WoltLab/bugfix/styleChanger
Olaf Braun [Thu, 25 Jan 2024 12:28:25 +0000 (13:28 +0100)]
Merge pull request #5776 from WoltLab/bugfix/styleChanger

Make the style changer clickable when the box edit button overlaps it

11 months agoOnly load page content for active languages (#5773)
Olaf Braun [Thu, 25 Jan 2024 12:22:24 +0000 (13:22 +0100)]
Only load page content for active languages (#5773)

* Only load page content for active languages

* Typo

---------

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
11 months agoMake the StyleChanger button clickable when the Edit button from a box overlaps it
Cyperghost [Thu, 25 Jan 2024 12:15:02 +0000 (13:15 +0100)]
Make the StyleChanger button clickable when the Edit button from a box overlaps it

11 months agoMerge pull request #5771 from WoltLab/acp-signature-attachments
Olaf Braun [Wed, 24 Jan 2024 13:51:44 +0000 (14:51 +0100)]
Merge pull request #5771 from WoltLab/acp-signature-attachments

ACP user add/edit signature attachments

11 months ago`$attachmentHandler` can not be null
Cyperghost [Wed, 24 Jan 2024 12:56:07 +0000 (13:56 +0100)]
`$attachmentHandler` can not be null

11 months agoRemove call `getSignature`
Cyperghost [Wed, 24 Jan 2024 09:57:21 +0000 (10:57 +0100)]
Remove call `getSignature`

11 months agoAllow admin to add attachments to the signature of users
Cyperghost [Wed, 24 Jan 2024 09:50:46 +0000 (10:50 +0100)]
Allow admin to add attachments to the signature of users

11 months agoAllow attachment, but disable media
Cyperghost [Wed, 24 Jan 2024 09:48:33 +0000 (10:48 +0100)]
Allow attachment, but disable media

11 months agoMerge pull request #5769 from WoltLab/bugfix/signature-attachment-delete
Olaf Braun [Wed, 24 Jan 2024 08:49:39 +0000 (09:49 +0100)]
Merge pull request #5769 from WoltLab/bugfix/signature-attachment-delete

Disable implicit delete of attachments for signature

11 months agoDisable implicit delete of attachments for signature
Cyperghost [Tue, 23 Jan 2024 11:24:49 +0000 (12:24 +0100)]
Disable implicit delete of attachments for signature

11 months agoMerge pull request #5768 from WoltLab/order-link-form
Olaf Braun [Tue, 23 Jan 2024 10:03:20 +0000 (11:03 +0100)]
Merge pull request #5768 from WoltLab/order-link-form

Change the order of the buttons in the ckeditor link form dialog box

11 months agoMerge pull request #5763 from WoltLab/bugfix/link-detection-line-breaks
Olaf Braun [Tue, 23 Jan 2024 10:02:38 +0000 (11:02 +0100)]
Merge pull request #5763 from WoltLab/bugfix/link-detection-line-breaks

Better detect for standalone links

11 months agoImprove the docs
Alexander Ebert [Mon, 22 Jan 2024 17:14:35 +0000 (18:14 +0100)]
Improve the docs

11 months agoUpdate the JS artifacts
Alexander Ebert [Mon, 22 Jan 2024 12:17:26 +0000 (13:17 +0100)]
Update the JS artifacts

11 months agoAdd an event when the editor data has changed
Alexander Ebert [Mon, 22 Jan 2024 12:15:15 +0000 (13:15 +0100)]
Add an event when the editor data has changed

11 months agoChange the order of the buttons in the link form dialog of ckeditor
Cyperghost [Mon, 22 Jan 2024 11:35:16 +0000 (12:35 +0100)]
Change the order of the buttons in the link form dialog of ckeditor

11 months agoAdd some checks if multiply links in the same paragraph
Cyperghost [Mon, 22 Jan 2024 11:24:30 +0000 (12:24 +0100)]
Add some checks if multiply links in the same paragraph

11 months agoSimplify the code
Cyperghost [Mon, 22 Jan 2024 11:00:59 +0000 (12:00 +0100)]
Simplify the code