GitHub/WoltLab/WCF.git
15 months agoRevert "Fix the handling of mentions with and without leading @"
Alexander Ebert [Fri, 18 Aug 2023 15:03:19 +0000 (17:03 +0200)]
Revert "Fix the handling of mentions with and without leading @"

This reverts commit f8439040815b5ab34fc3525a3937073430af4114.

15 months agoFix the handling of mentions with and without leading @
Alexander Ebert [Fri, 18 Aug 2023 14:58:07 +0000 (16:58 +0200)]
Fix the handling of mentions with and without leading @

15 months agoForce the editor toolbar to be static in iOS
Alexander Ebert [Fri, 18 Aug 2023 14:07:49 +0000 (16:07 +0200)]
Force the editor toolbar to be static in iOS

See https://www.woltlab.com/community/thread/301139-editor-probleme-unter-ios/

15 months agoEnforce a minimum font size of 16px for iOS
Alexander Ebert [Fri, 18 Aug 2023 13:19:45 +0000 (15:19 +0200)]
Enforce a minimum font size of 16px for iOS

See https://www.woltlab.com/community/thread/301197-editor-mobil-im-querformat-verbesserungsw%C3%BCrdig/

15 months agoUnify the appearance of the ACP category icons
Alexander Ebert [Fri, 18 Aug 2023 13:04:16 +0000 (15:04 +0200)]
Unify the appearance of the ACP category icons

See https://www.woltlab.com/community/thread/301220-change-icon-in-admin-panel/

15 months agoReduce the `z-index` of popovers
Alexander Ebert [Fri, 18 Aug 2023 12:54:30 +0000 (14:54 +0200)]
Reduce the `z-index` of popovers

See https://www.woltlab.com/community/thread/301196-benutzerdialog-%C3%BCberlagert-tooltips/

15 months agoUnify phrases
Marcel Werk [Fri, 18 Aug 2023 12:01:17 +0000 (14:01 +0200)]
Unify phrases

15 months agoFall back to plain value if the i18n values are missing
Alexander Ebert [Fri, 18 Aug 2023 11:51:05 +0000 (13:51 +0200)]
Fall back to plain value if the i18n values are missing

Fixes #5622

15 months agoFix the initialization of the checkboxes form builder component
Alexander Ebert [Fri, 18 Aug 2023 11:43:40 +0000 (13:43 +0200)]
Fix the initialization of the checkboxes form builder component

Fixes #5620

This is the same kind of problem that was previously fixed in a4e3ea3117209c624ae2f3bb9be4d04c5234cb5d

15 months agoReintroduce `mb_strpos` to the allowed template modifiers
Alexander Ebert [Fri, 18 Aug 2023 10:18:35 +0000 (12:18 +0200)]
Reintroduce `mb_strpos` to the allowed template modifiers

This was an unintentional removal, because only the duplicate listing should have been removed.

15 months agoFix the handling of non dialogs inside the dialog container
Alexander Ebert [Thu, 17 Aug 2023 16:59:50 +0000 (18:59 +0200)]
Fix the handling of non dialogs inside the dialog container

See #5627

15 months agoFix the position of the overlay container in legacy dialogs
Alexander Ebert [Thu, 17 Aug 2023 16:55:45 +0000 (18:55 +0200)]
Fix the position of the overlay container in legacy dialogs

See #5627

15 months agoReplace `mb_strpos()` usage with `str_starts_with`
Alexander Ebert [Thu, 17 Aug 2023 16:07:27 +0000 (18:07 +0200)]
Replace `mb_strpos()` usage with `str_starts_with`

See https://www.woltlab.com/community/thread/301190-mb-strpos-is-not-an-allowed-template-modifier/

15 months agoReintroduce `strtolower` and `strtoupper` to the allowed template modifiers
Marcel Werk [Thu, 17 Aug 2023 14:50:51 +0000 (16:50 +0200)]
Reintroduce `strtolower` and `strtoupper` to the allowed template modifiers

15 months agoFix the order of buttons for the manual upload
Alexander Ebert [Thu, 17 Aug 2023 13:47:01 +0000 (15:47 +0200)]
Fix the order of buttons for the manual upload

15 months agoRelease 6.0.0 Beta 1 6.0.0_Beta_1
Alexander Ebert [Thu, 17 Aug 2023 13:23:29 +0000 (15:23 +0200)]
Release 6.0.0 Beta 1

15 months agoRemove the preliminary upgrade instructions from 5.5
Alexander Ebert [Thu, 17 Aug 2023 11:14:33 +0000 (13:14 +0200)]
Remove the preliminary upgrade instructions from 5.5

15 months agoUpdating minified JavaScript files
WoltLab [Thu, 17 Aug 2023 11:11:15 +0000 (11:11 +0000)]
Updating minified JavaScript files

15 months agoUpgrade to CKEditor5 v39.0.1
Alexander Ebert [Thu, 17 Aug 2023 11:09:19 +0000 (13:09 +0200)]
Upgrade to CKEditor5 v39.0.1

15 months agoUpdate the button order in the form submit controls
Alexander Ebert [Wed, 16 Aug 2023 14:05:18 +0000 (16:05 +0200)]
Update the button order in the form submit controls

See https://www.woltlab.com/community/thread/301124-buttons-im-melden-dialog-falsch-herum/?postID=1935376#post1935376

15 months agoFix the visuals of split buttons
Alexander Ebert [Wed, 16 Aug 2023 13:41:57 +0000 (15:41 +0200)]
Fix the visuals of split buttons

See https://www.woltlab.com/community/thread/301103-split-button-bei-tabellen-optionen-sieht-etwas-merkw%C3%BCrdig-aus/

15 months agoFix the alignment of flags inside buttons
Alexander Ebert [Wed, 16 Aug 2023 13:26:54 +0000 (15:26 +0200)]
Fix the alignment of flags inside buttons

See https://www.woltlab.com/community/thread/301138-filebase-menu-buttons/

15 months agoAllow intermediate owners to drop ownership of the page overlay
Alexander Ebert [Wed, 16 Aug 2023 13:22:57 +0000 (15:22 +0200)]
Allow intermediate owners to drop ownership of the page overlay

Fixes WoltLab/editor#85

15 months agoReintroduce `substr` to the allowed template modifiers
Marcel Werk [Wed, 16 Aug 2023 09:59:10 +0000 (11:59 +0200)]
Reintroduce `substr` to the allowed template modifiers

15 months agoRevert "Merge pull request #5618 from WoltLab/psr-15-dialog-form-button"
Alexander Ebert [Tue, 15 Aug 2023 13:19:38 +0000 (15:19 +0200)]
Revert "Merge pull request #5618 from WoltLab/psr-15-dialog-form-button"

This reverts commit 2700eb797e3de71993febbcd9f3a6af427c33020, reversing
changes made to ca3993632f4543130549e897f63dd5797c9ab885.

15 months agoMerge pull request #5625 from WoltLab/upload-handler-methods-typ
Marcel Werk [Mon, 14 Aug 2023 15:17:09 +0000 (17:17 +0200)]
Merge pull request #5625 from WoltLab/upload-handler-methods-typ

Fix typo in `UploadHandler` methods

15 months agoFix typo in `UploadHandler` methods
Marcel Werk [Mon, 14 Aug 2023 15:00:47 +0000 (17:00 +0200)]
Fix typo in `UploadHandler` methods

see https://www.woltlab.com/community/thread/301108-uploadhandler-mit-falschem-methodennamen/

15 months agoInsert trim to remove empty values (#5615)
Olaf Braun [Mon, 14 Aug 2023 11:31:32 +0000 (13:31 +0200)]
Insert trim to remove empty values (#5615)

* Insert trim to remove empty values

* Expand the comment on the array trim a bit

---------

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
15 months agoMerge pull request #5621 from MysteryCode/fx-tplfcs
Alexander Ebert [Mon, 14 Aug 2023 11:25:57 +0000 (13:25 +0200)]
Merge pull request #5621 from MysteryCode/fx-tplfcs

fix usage of forbidden functions in templates

15 months agoForce a fresh search for updates for the notifier
Alexander Ebert [Mon, 14 Aug 2023 10:38:26 +0000 (12:38 +0200)]
Force a fresh search for updates for the notifier

Closes #5546

15 months agoMerge branch '5.5'
Alexander Ebert [Mon, 14 Aug 2023 09:56:58 +0000 (11:56 +0200)]
Merge branch '5.5'

15 months agoMerge branch '5.4' into 5.5
Alexander Ebert [Mon, 14 Aug 2023 09:55:01 +0000 (11:55 +0200)]
Merge branch '5.4' into 5.5

15 months agoFix the check of the maximum image height
Alexander Ebert [Mon, 14 Aug 2023 09:54:27 +0000 (11:54 +0200)]
Fix the check of the maximum image height

See https://www.woltlab.com/community/thread/301107-fehler-in-uploadformfield/

15 months agoMerge pull request #5618 from WoltLab/psr-15-dialog-form-button
Alexander Ebert [Mon, 14 Aug 2023 09:40:34 +0000 (11:40 +0200)]
Merge pull request #5618 from WoltLab/psr-15-dialog-form-button

Add `[data-formbuilder]` and `Psr15DialogFormResponse`

15 months agofix usage of forbidden functions in templates
mutec [Sun, 13 Aug 2023 13:10:07 +0000 (15:10 +0200)]
fix usage of forbidden functions in templates

see #5512

15 months agoAdd `[data-formbuilder]` and `Psr15DialogFormResponse`
Alexander Ebert [Sat, 12 Aug 2023 17:29:33 +0000 (19:29 +0200)]
Add `[data-formbuilder]` and `Psr15DialogFormResponse`

15 months agoAdd a checkered pattern to indicate transparent colors
Alexander Ebert [Fri, 11 Aug 2023 16:46:33 +0000 (18:46 +0200)]
Add a checkered pattern to indicate transparent colors

Closes #5536

15 months agoFix the appearance of the style changer button
Alexander Ebert [Fri, 11 Aug 2023 16:31:38 +0000 (18:31 +0200)]
Fix the appearance of the style changer button

Fixes #5539

15 months agoMerge pull request #5617 from WoltLab/share-dialog-providers
Marcel Werk [Fri, 11 Aug 2023 15:38:25 +0000 (17:38 +0200)]
Merge pull request #5617 from WoltLab/share-dialog-providers

Fix provider buttons in the share dialog

15 months agoMerge branch 'master' of https://github.com/WoltLab/WCF
Marcel Werk [Fri, 11 Aug 2023 15:34:45 +0000 (17:34 +0200)]
Merge branch 'master' of https://github.com/WoltLab/WCF

15 months agoRemove obsolete language variables
Marcel Werk [Fri, 11 Aug 2023 15:34:40 +0000 (17:34 +0200)]
Remove obsolete language variables

15 months agoAvoid the usage of `\hash()` in the template
Alexander Ebert [Fri, 11 Aug 2023 15:29:04 +0000 (17:29 +0200)]
Avoid the usage of `\hash()` in the template

See #5512

15 months agoReintroduce `ucfirst` to the allowed template modifiers
Alexander Ebert [Fri, 11 Aug 2023 15:24:43 +0000 (17:24 +0200)]
Reintroduce `ucfirst` to the allowed template modifiers

This is often used in forms to add or edit items.

See #5512

15 months agoChange follow icon to `circle-plus`
Marcel Werk [Fri, 11 Aug 2023 15:15:32 +0000 (17:15 +0200)]
Change follow icon to `circle-plus`

see https://www.woltlab.com/community/thread/301085-folgen-icon-ersetzen/

15 months agoMark `share.ts` as deprecated
Marcel Werk [Fri, 11 Aug 2023 14:59:10 +0000 (16:59 +0200)]
Mark `share.ts` as deprecated

15 months agoFix provider buttons in the share dialog
Marcel Werk [Fri, 11 Aug 2023 14:58:57 +0000 (16:58 +0200)]
Fix provider buttons in the share dialog

15 months agoAdd an safeguard for the color scheme option during the update
Alexander Ebert [Fri, 11 Aug 2023 14:56:36 +0000 (16:56 +0200)]
Add an safeguard for the color scheme option during the update

15 months agoTrim down the list of allowed template modifiers
Alexander Ebert [Fri, 11 Aug 2023 14:46:17 +0000 (16:46 +0200)]
Trim down the list of allowed template modifiers

Closes #5512

15 months agoUnload the `WoltlabHtmlEmbed` plugin when raw HTML is disabled
Alexander Ebert [Fri, 11 Aug 2023 14:22:20 +0000 (16:22 +0200)]
Unload the `WoltlabHtmlEmbed` plugin when raw HTML is disabled

15 months agoBump the default exclude of exported styles to `7.0.0 Alpha 1`
Alexander Ebert [Fri, 11 Aug 2023 14:08:42 +0000 (16:08 +0200)]
Bump the default exclude of exported styles to `7.0.0 Alpha 1`

Fixes #5610

15 months agoFix the detection of message tab menus
Alexander Ebert [Fri, 11 Aug 2023 14:03:17 +0000 (16:03 +0200)]
Fix the detection of message tab menus

Fixes #5609

15 months agoAdd the CKEditor license terms for the sublicensees
Alexander Ebert [Fri, 11 Aug 2023 13:06:25 +0000 (15:06 +0200)]
Add the CKEditor license terms for the sublicensees

15 months agoFix positioning of the trophy icons
Marcel Werk [Fri, 11 Aug 2023 12:54:30 +0000 (14:54 +0200)]
Fix positioning of the trophy icons

They were affected by the special positioning of icons within `.box` classes.

15 months agoUpdate the CKEditor 5 bundle
Alexander Ebert [Fri, 11 Aug 2023 09:43:19 +0000 (11:43 +0200)]
Update the CKEditor 5 bundle

15 months agoStrip the menu group for blocks
Alexander Ebert [Fri, 11 Aug 2023 09:43:09 +0000 (11:43 +0200)]
Strip the menu group for blocks

15 months agoMerge pull request #5616 from WoltLab/user-color-scheme
Alexander Ebert [Thu, 10 Aug 2023 14:47:30 +0000 (16:47 +0200)]
Merge pull request #5616 from WoltLab/user-color-scheme

Overhaul the color scheme selection

15 months agoControl the color scheme through the user option
Alexander Ebert [Thu, 10 Aug 2023 14:26:26 +0000 (16:26 +0200)]
Control the color scheme through the user option

15 months agoRemove obsolete support for Spotify playlists
Marcel Werk [Thu, 10 Aug 2023 14:14:33 +0000 (16:14 +0200)]
Remove obsolete support for Spotify playlists

These links are already handled by the plain Spotify provider.

15 months agoAdjust size of spotify embed
Marcel Werk [Thu, 10 Aug 2023 14:11:11 +0000 (16:11 +0200)]
Adjust size of spotify embed

15 months agoMerge pull request #5608 from IceQ1337/spotify-embed
Marcel Werk [Thu, 10 Aug 2023 14:07:28 +0000 (16:07 +0200)]
Merge pull request #5608 from IceQ1337/spotify-embed

Update Spotify media provider

15 months agoAdd support for color scheme detection
Alexander Ebert [Thu, 10 Aug 2023 13:07:20 +0000 (15:07 +0200)]
Add support for color scheme detection

15 months agoAdd a user option to set the preferred color scheme
Alexander Ebert [Thu, 10 Aug 2023 11:40:20 +0000 (13:40 +0200)]
Add a user option to set the preferred color scheme

15 months agoAdded (OpenAI) GPTBot (#5614)
Sascha Greuel [Thu, 10 Aug 2023 09:16:35 +0000 (11:16 +0200)]
Added (OpenAI) GPTBot (#5614)

See https://platform.openai.com/docs/gptbot

15 months agoInsert newlines and whitespace after certain block elements
Alexander Ebert [Wed, 9 Aug 2023 16:26:10 +0000 (18:26 +0200)]
Insert newlines and whitespace after certain block elements

See https://www.woltlab.com/community/thread/301031-w%C3%B6rter-werden-falsch-gez%C3%A4hlt/

15 months agoUpgrade to `perfect-scrollbar` v1.5.5
Alexander Ebert [Wed, 9 Aug 2023 15:39:42 +0000 (17:39 +0200)]
Upgrade to `perfect-scrollbar` v1.5.5

See https://www.woltlab.com/community/thread/300462-komisches-scroll-verhalten-mit-stift/

15 months agoUpdate the CKEditor 5 dependencies
Alexander Ebert [Wed, 9 Aug 2023 14:25:55 +0000 (16:25 +0200)]
Update the CKEditor 5 dependencies

15 months agoAdd missing module headers
Alexander Ebert [Wed, 9 Aug 2023 13:55:15 +0000 (15:55 +0200)]
Add missing module headers

15 months agoConvert model attributes to strings for comparison
Alexander Ebert [Wed, 9 Aug 2023 13:27:46 +0000 (15:27 +0200)]
Convert model attributes to strings for comparison

The editor API does not guarantee the attribute types to be preserved, numbers can be converted into strings and returned as such.

See https://www.woltlab.com/community/thread/300956-deleted-attachments-do-not-disappear-from-the-editor/

15 months agoUse the new CKEditor5 BBCode event API
Alexander Ebert [Wed, 9 Aug 2023 12:16:18 +0000 (14:16 +0200)]
Use the new CKEditor5 BBCode event API

15 months agoAdd a proper `bbcode` event to `listenToCkeditor()`
Alexander Ebert [Wed, 9 Aug 2023 12:00:52 +0000 (14:00 +0200)]
Add a proper `bbcode` event to `listenToCkeditor()`

15 months agoEagerly inject the CKEditor stylesheet in the template
Alexander Ebert [Wed, 9 Aug 2023 11:34:38 +0000 (13:34 +0200)]
Eagerly inject the CKEditor stylesheet in the template

15 months agoFix the margins of aligned table headers
Alexander Ebert [Wed, 9 Aug 2023 10:10:39 +0000 (12:10 +0200)]
Fix the margins of aligned table headers

See https://www.woltlab.com/community/thread/301021-centre-aligning-the-first-row-inserts-unnecessary-spaces-in-the-editor/

15 months agoForce buttons to be of equal width
Alexander Ebert [Tue, 8 Aug 2023 17:56:10 +0000 (19:56 +0200)]
Force buttons to be of equal width

See https://www.woltlab.com/community/thread/301022-buttons-with-different-sizes-in-the-mobile-resolution/

15 months agoForce toolbar panels to be rendered above the content
Alexander Ebert [Tue, 8 Aug 2023 16:59:14 +0000 (18:59 +0200)]
Force toolbar panels to be rendered above the content

See https://www.woltlab.com/community/thread/301009-editor-logo-stets-im-vordergrund-mobil/

15 months agoReduce the `z-index` of the page overlay container
Alexander Ebert [Tue, 8 Aug 2023 16:55:05 +0000 (18:55 +0200)]
Reduce the `z-index` of the page overlay container

The previous value causes it to be in front of all other items at all times which is unintended.

15 months agoUnload the `WoltlabCode` plugin when `Code` is disabled
Alexander Ebert [Tue, 8 Aug 2023 14:17:16 +0000 (16:17 +0200)]
Unload the `WoltlabCode` plugin when `Code` is disabled

15 months agoFix the vertical alignment of inline code
Alexander Ebert [Tue, 8 Aug 2023 13:57:51 +0000 (15:57 +0200)]
Fix the vertical alignment of inline code

15 months agoMove the CKEditor overlays into the page overlay container
Alexander Ebert [Tue, 8 Aug 2023 10:11:25 +0000 (12:11 +0200)]
Move the CKEditor overlays into the page overlay container

See https://www.woltlab.com/community/thread/300815-ckeditor-link-menu-non-functional-in-ckeditor-instances-in-a-dialog/
See ckeditor/ckeditor#14747

15 months agoAvoid setting `:hover` states for touch devices
Alexander Ebert [Mon, 7 Aug 2023 19:12:43 +0000 (21:12 +0200)]
Avoid setting `:hover` states for touch devices

15 months agoFix the visuals of the unsafe HTML block
Alexander Ebert [Mon, 7 Aug 2023 19:09:31 +0000 (21:09 +0200)]
Fix the visuals of the unsafe HTML block

See #5606

15 months agoUpdate the spotify embed to an interactive audio player
IceQ1337 [Mon, 7 Aug 2023 13:34:49 +0000 (15:34 +0200)]
Update the spotify embed to an interactive audio player

15 months agoFix spotify links not being recognized properly
IceQ1337 [Mon, 7 Aug 2023 13:33:07 +0000 (15:33 +0200)]
Fix spotify links not being recognized properly

15 months agoFix the color of the CKEditor logo
Alexander Ebert [Sat, 5 Aug 2023 10:04:38 +0000 (12:04 +0200)]
Fix the color of the CKEditor logo

15 months agoSync the `unfurlUrl` template
Alexander Ebert [Sat, 5 Aug 2023 09:59:17 +0000 (11:59 +0200)]
Sync the `unfurlUrl` template

15 months agoUnwrap link previews nested in paragraphs
Alexander Ebert [Sat, 5 Aug 2023 09:58:06 +0000 (11:58 +0200)]
Unwrap link previews nested in paragraphs

See https://www.woltlab.com/community/thread/301006-leading-rich-embeds-yield-empty-paragraphs/

15 months agoMerge branch 'master' of https://github.com/WoltLab/WCF
Marcel Werk [Fri, 4 Aug 2023 15:45:58 +0000 (17:45 +0200)]
Merge branch 'master' of https://github.com/WoltLab/WCF

15 months agoAdd missing comment
Marcel Werk [Fri, 4 Aug 2023 15:45:51 +0000 (17:45 +0200)]
Add missing comment

see https://github.com/WoltLab/WCF/pull/5604

15 months agoWait for the injected stylesheet to load
Alexander Ebert [Fri, 4 Aug 2023 15:42:49 +0000 (17:42 +0200)]
Wait for the injected stylesheet to load

15 months agoMerge pull request #5604 from WoltLab/animated-webp-processing2
Marcel Werk [Fri, 4 Aug 2023 15:02:48 +0000 (17:02 +0200)]
Merge pull request #5604 from WoltLab/animated-webp-processing2

Fix issues in the processing of animated WebP images

15 months agoFix phpdoc
Marcel Werk [Fri, 4 Aug 2023 14:28:22 +0000 (16:28 +0200)]
Fix phpdoc

15 months agoFix issues in the processing of animated WebP images
Marcel Werk [Fri, 4 Aug 2023 14:28:15 +0000 (16:28 +0200)]
Fix issues in the processing of animated WebP images

see https://www.woltlab.com/community/thread/297233-fehler-bei-animierten-webp-grafiken/

15 months agoRelease 6.0.0 Alpha 8 6.0.0_Alpha_8
Alexander Ebert [Fri, 4 Aug 2023 14:21:37 +0000 (16:21 +0200)]
Release 6.0.0 Alpha 8

15 months agoUpdating minified JavaScript files
WoltLab [Fri, 4 Aug 2023 14:15:01 +0000 (14:15 +0000)]
Updating minified JavaScript files

15 months agoSync the color values for the dark mode
Alexander Ebert [Fri, 4 Aug 2023 14:11:56 +0000 (16:11 +0200)]
Sync the color values for the dark mode

15 months agoExtract the CKEditor 5 styles into a static stylesheet
Alexander Ebert [Fri, 4 Aug 2023 14:07:13 +0000 (16:07 +0200)]
Extract the CKEditor 5 styles into a static stylesheet

15 months agoUpdating minified JavaScript files
WoltLab [Fri, 4 Aug 2023 13:42:24 +0000 (13:42 +0000)]
Updating minified JavaScript files

15 months agoUpgrade to CKEditor v39.0.0
Alexander Ebert [Fri, 4 Aug 2023 13:30:33 +0000 (15:30 +0200)]
Upgrade to CKEditor v39.0.0

15 months agoUpdate the `aria-expanded` attribute when implicitly closing drop-down menus
Alexander Ebert [Fri, 4 Aug 2023 11:32:02 +0000 (13:32 +0200)]
Update the `aria-expanded` attribute when implicitly closing drop-down menus

Fixes #5553

15 months agoAdd a `min-height` for the empty breadcrumbs element
Alexander Ebert [Fri, 4 Aug 2023 11:24:53 +0000 (13:24 +0200)]
Add a `min-height` for the empty breadcrumbs element

This was unintentionally removed with the overhaul but causes the element to visually collapse when there are no breadcrumbs to display.

Fixes #5576

15 months agoFix the handling of `NULL` values
Alexander Ebert [Fri, 4 Aug 2023 11:16:43 +0000 (13:16 +0200)]
Fix the handling of `NULL` values

See https://www.woltlab.com/community/thread/300917-neue-benutzergruppe-anlegen-funktioniert-nicht-mit-php-8-1x/