Alexander Ebert [Mon, 21 Aug 2023 12:34:17 +0000 (14:34 +0200)]
Improve the typing of the browser/platform identifiers
Alexander Ebert [Mon, 21 Aug 2023 12:17:55 +0000 (14:17 +0200)]
Fix layout shifts caused by early rendering passes
The previous CSS code relied on `.content:not(:last-child)` to reserve the space required for the right sidebar.
This selector does not work as expected when the browser does an early rendering pass while the `.content` block is still open. It causes the space for the sidebar to be reserved but once the parsing continues the browser realizes that there is no sidebar (=`.content` is the last child) and layout is visually updated.
See https://www.woltlab.com/community/thread/301233-template-list-behavior-when-sorting-results/
Marcel Werk [Mon, 21 Aug 2023 11:31:29 +0000 (13:31 +0200)]
Fix typo
Alexander Ebert [Mon, 21 Aug 2023 08:50:38 +0000 (10:50 +0200)]
Prevent updates to the dialog position during initialization
The initial value only needs to be set once, all other cases are already handled by the `ResizeObserver`, causing race conditions.
See https://www.woltlab.com/community/thread/301273-the-position-of-the-edit-thread-menu-is-not-always-centred/
Tim Düsterhus [Mon, 21 Aug 2023 08:18:25 +0000 (10:18 +0200)]
Fix `nextStep` in WCFSetup if system requirements are not fulfilled
see https://www.woltlab.com/community/thread/301247-refusing-to-skip-a-step/
Alexander Ebert [Sun, 20 Aug 2023 21:08:18 +0000 (23:08 +0200)]
Fixed the vertical alignment of buttons with icons
See https://www.woltlab.com/community/thread/301239-aligning-the-button-icons-in-the-article-edit-page/
Alexander Ebert [Sun, 20 Aug 2023 20:55:17 +0000 (22:55 +0200)]
Fix the vertical alignment of inline code
Removing the explicit value will allow it to default to `baseline` and implicitly inherit any explicit value.
See https://www.woltlab.com/community/thread/301237-appearance-of-the-inline-code/
Alexander Ebert [Fri, 18 Aug 2023 15:10:41 +0000 (17:10 +0200)]
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.
Alexander Ebert [Fri, 18 Aug 2023 14:58:07 +0000 (16:58 +0200)]
Fix the handling of mentions with and without leading @
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/
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/
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/
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/
Marcel Werk [Fri, 18 Aug 2023 12:01:17 +0000 (14:01 +0200)]
Unify phrases
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
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
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.
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
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
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/
Marcel Werk [Thu, 17 Aug 2023 14:50:51 +0000 (16:50 +0200)]
Reintroduce `strtolower` and `strtoupper` to the allowed template modifiers
Alexander Ebert [Thu, 17 Aug 2023 13:47:01 +0000 (15:47 +0200)]
Fix the order of buttons for the manual upload
Alexander Ebert [Thu, 17 Aug 2023 13:23:29 +0000 (15:23 +0200)]
Release 6.0.0 Beta 1
Alexander Ebert [Thu, 17 Aug 2023 11:14:33 +0000 (13:14 +0200)]
Remove the preliminary upgrade instructions from 5.5
WoltLab [Thu, 17 Aug 2023 11:11:15 +0000 (11:11 +0000)]
Updating minified JavaScript files
Alexander Ebert [Thu, 17 Aug 2023 11:09:19 +0000 (13:09 +0200)]
Upgrade to CKEditor5 v39.0.1
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
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/
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/
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
Marcel Werk [Wed, 16 Aug 2023 09:59:10 +0000 (11:59 +0200)]
Reintroduce `substr` to the allowed template modifiers
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.
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
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/
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>
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
Alexander Ebert [Mon, 14 Aug 2023 10:38:26 +0000 (12:38 +0200)]
Force a fresh search for updates for the notifier
Closes #5546
Alexander Ebert [Mon, 14 Aug 2023 09:56:58 +0000 (11:56 +0200)]
Merge branch '5.5'
Alexander Ebert [Mon, 14 Aug 2023 09:55:01 +0000 (11:55 +0200)]
Merge branch '5.4' into 5.5
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/
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`
mutec [Sun, 13 Aug 2023 13:10:07 +0000 (15:10 +0200)]
fix usage of forbidden functions in templates
see #5512
Alexander Ebert [Sat, 12 Aug 2023 17:29:33 +0000 (19:29 +0200)]
Add `[data-formbuilder]` and `Psr15DialogFormResponse`
Alexander Ebert [Fri, 11 Aug 2023 16:46:33 +0000 (18:46 +0200)]
Add a checkered pattern to indicate transparent colors
Closes #5536
Alexander Ebert [Fri, 11 Aug 2023 16:31:38 +0000 (18:31 +0200)]
Fix the appearance of the style changer button
Fixes #5539
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
Marcel Werk [Fri, 11 Aug 2023 15:34:45 +0000 (17:34 +0200)]
Merge branch 'master' of https://github.com/WoltLab/WCF
Marcel Werk [Fri, 11 Aug 2023 15:34:40 +0000 (17:34 +0200)]
Remove obsolete language variables
Alexander Ebert [Fri, 11 Aug 2023 15:29:04 +0000 (17:29 +0200)]
Avoid the usage of `\hash()` in the template
See #5512
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
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/
Marcel Werk [Fri, 11 Aug 2023 14:59:10 +0000 (16:59 +0200)]
Mark `share.ts` as deprecated
Marcel Werk [Fri, 11 Aug 2023 14:58:57 +0000 (16:58 +0200)]
Fix provider buttons in the share dialog
Alexander Ebert [Fri, 11 Aug 2023 14:56:36 +0000 (16:56 +0200)]
Add an safeguard for the color scheme option during the update
Alexander Ebert [Fri, 11 Aug 2023 14:46:17 +0000 (16:46 +0200)]
Trim down the list of allowed template modifiers
Closes #5512
Alexander Ebert [Fri, 11 Aug 2023 14:22:20 +0000 (16:22 +0200)]
Unload the `WoltlabHtmlEmbed` plugin when raw HTML is disabled
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
Alexander Ebert [Fri, 11 Aug 2023 14:03:17 +0000 (16:03 +0200)]
Fix the detection of message tab menus
Fixes #5609
Alexander Ebert [Fri, 11 Aug 2023 13:06:25 +0000 (15:06 +0200)]
Add the CKEditor license terms for the sublicensees
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.
Alexander Ebert [Fri, 11 Aug 2023 09:43:19 +0000 (11:43 +0200)]
Update the CKEditor 5 bundle
Alexander Ebert [Fri, 11 Aug 2023 09:43:09 +0000 (11:43 +0200)]
Strip the menu group for blocks
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
Alexander Ebert [Thu, 10 Aug 2023 14:26:26 +0000 (16:26 +0200)]
Control the color scheme through the user option
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.
Marcel Werk [Thu, 10 Aug 2023 14:11:11 +0000 (16:11 +0200)]
Adjust size of 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
Alexander Ebert [Thu, 10 Aug 2023 13:07:20 +0000 (15:07 +0200)]
Add support for color scheme detection
Alexander Ebert [Thu, 10 Aug 2023 11:40:20 +0000 (13:40 +0200)]
Add a user option to set the preferred color scheme
Sascha Greuel [Thu, 10 Aug 2023 09:16:35 +0000 (11:16 +0200)]
Added (OpenAI) GPTBot (#5614)
See https://platform.openai.com/docs/gptbot
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/
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/
Alexander Ebert [Wed, 9 Aug 2023 14:25:55 +0000 (16:25 +0200)]
Update the CKEditor 5 dependencies
Alexander Ebert [Wed, 9 Aug 2023 13:55:15 +0000 (15:55 +0200)]
Add missing module headers
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/
Alexander Ebert [Wed, 9 Aug 2023 12:16:18 +0000 (14:16 +0200)]
Use the new CKEditor5 BBCode event API
Alexander Ebert [Wed, 9 Aug 2023 12:00:52 +0000 (14:00 +0200)]
Add a proper `bbcode` event to `listenToCkeditor()`
Alexander Ebert [Wed, 9 Aug 2023 11:34:38 +0000 (13:34 +0200)]
Eagerly inject the CKEditor stylesheet in the template
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/
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/
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/
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.
Alexander Ebert [Tue, 8 Aug 2023 14:17:16 +0000 (16:17 +0200)]
Unload the `WoltlabCode` plugin when `Code` is disabled
Alexander Ebert [Tue, 8 Aug 2023 13:57:51 +0000 (15:57 +0200)]
Fix the vertical alignment of inline code
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
Alexander Ebert [Mon, 7 Aug 2023 19:12:43 +0000 (21:12 +0200)]
Avoid setting `:hover` states for touch devices
Alexander Ebert [Mon, 7 Aug 2023 19:09:31 +0000 (21:09 +0200)]
Fix the visuals of the unsafe HTML block
See #5606
IceQ1337 [Mon, 7 Aug 2023 13:34:49 +0000 (15:34 +0200)]
Update the spotify embed to an interactive audio player
IceQ1337 [Mon, 7 Aug 2023 13:33:07 +0000 (15:33 +0200)]
Fix spotify links not being recognized properly
Alexander Ebert [Sat, 5 Aug 2023 10:04:38 +0000 (12:04 +0200)]
Fix the color of the CKEditor logo
Alexander Ebert [Sat, 5 Aug 2023 09:59:17 +0000 (11:59 +0200)]
Sync the `unfurlUrl` template
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/
Marcel Werk [Fri, 4 Aug 2023 15:45:58 +0000 (17:45 +0200)]
Merge branch 'master' of https://github.com/WoltLab/WCF
Marcel Werk [Fri, 4 Aug 2023 15:45:51 +0000 (17:45 +0200)]
Add missing comment
see https://github.com/WoltLab/WCF/pull/5604
Alexander Ebert [Fri, 4 Aug 2023 15:42:49 +0000 (17:42 +0200)]
Wait for the injected stylesheet to load
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
Marcel Werk [Fri, 4 Aug 2023 14:28:22 +0000 (16:28 +0200)]
Fix phpdoc
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/
Alexander Ebert [Fri, 4 Aug 2023 14:21:37 +0000 (16:21 +0200)]
Release 6.0.0 Alpha 8