Tim Düsterhus [Fri, 25 Aug 2023 08:08:33 +0000 (10:08 +0200)]
Disable response caching in CoreRewriteTestAction
Tim Düsterhus [Fri, 25 Aug 2023 08:06:37 +0000 (10:06 +0200)]
Remove the `uuidHash` check from CoreRewriteTestAction
With the removal of the CORS headers this controller is no more or less
exploitable / sensitive than any other controller: It has a trivial
implementation. We can just make it available to everyone and remove the
special handling in OptionForm.
Tim Düsterhus [Fri, 25 Aug 2023 08:04:21 +0000 (10:04 +0200)]
Remove CORS headers in CoreRewriteTestAction
These are no longer required with the removal of the multi-domain set-up.
Tim Düsterhus [Fri, 25 Aug 2023 08:02:27 +0000 (10:02 +0200)]
Fix the test for the correct set-up of index.php-less URLs
This likely regressed in
4da8c1de463ca71f09d284f3529c1d499a7ac8f8.
see https://www.woltlab.com/community/thread/301353-seltsamer-verhalten-link-umschreibungen-aktivieren/
Tim Düsterhus [Thu, 24 Aug 2023 09:16:24 +0000 (11:16 +0200)]
Add space after CLI prompt
This makes the prompt a little more readable after the addition of the time.
Tim Düsterhus [Thu, 24 Aug 2023 08:29:31 +0000 (10:29 +0200)]
Add XSD location to .phpcs.xml
Tim Düsterhus [Thu, 24 Aug 2023 08:00:10 +0000 (10:00 +0200)]
Use fixed `userID` for the admin user in WCFSetup
In case of a non-standard `auto_increment_offset` / `auto_increment_increment`
the automatically assigned userID might not be `1`, thus causing the
`installPackages` step to fail to fetch the user.
Tim Düsterhus [Wed, 23 Aug 2023 14:19:07 +0000 (16:19 +0200)]
Merge pull request #5628 from WoltLab/esbuild-minify
Minify WebComponent.js when building with esbuild
Tim Düsterhus [Wed, 23 Aug 2023 13:21:40 +0000 (15:21 +0200)]
Minify WebComponent.js when building with esbuild
This bundle is expected to rarely change in the future and not require much
debugging. Only store the minified version and do not provide source maps to
keep the repository slim.
Tim Düsterhus [Wed, 23 Aug 2023 13:01:19 +0000 (15:01 +0200)]
Exclude `@googlemaps/markerclusterer` from JS bundle
see #5613
Marcel Werk [Wed, 23 Aug 2023 12:42:16 +0000 (14:42 +0200)]
Unify information in content header
Tim Düsterhus [Wed, 23 Aug 2023 10:53:12 +0000 (12:53 +0200)]
Update to FontAwesome 6.4.2
Tim Düsterhus [Wed, 23 Aug 2023 07:49:05 +0000 (09:49 +0200)]
Fix incorrect comparison in userGroupBooleanOptionType.tpl
This regressed in
149cdf58f476ea36ad9757a0c28aee4b5ed7070d.
see https://www.woltlab.com/community/thread/301313-benutzergruppenrechte-berechtigungsstufe-nie-wird-nicht-angezeigt/
Alexander Ebert [Tue, 22 Aug 2023 19:45:46 +0000 (21:45 +0200)]
Fix the alignment of button groups below messages
See https://www.woltlab.com/community/thread/301307-filebase-file-buttons-need-to-be-fixed/?postID=
1936530#post1936530
Alexander Ebert [Tue, 22 Aug 2023 17:03:08 +0000 (19:03 +0200)]
Fix the sizing of buttons in button groups
See https://www.woltlab.com/community/thread/301307-filebase-file-buttons-need-to-be-fixed/
Alexander Ebert [Tue, 22 Aug 2023 14:40:41 +0000 (16:40 +0200)]
Improve the focus behavior of `InputItemList`
See https://www.woltlab.com/community/thread/301301-tag-input-has-no-focus-border/
Alexander Ebert [Tue, 22 Aug 2023 12:59:48 +0000 (14:59 +0200)]
Fix the alignment of buttons
The box model was changed from `display: inline-block` to `display: inline-flex` in
dbd859e1188d4db51b8f40b22e413109131caed3
Alexander Ebert [Tue, 22 Aug 2023 12:03:00 +0000 (14:03 +0200)]
Release 6.0.0 Beta 3
WoltLab [Tue, 22 Aug 2023 11:33:00 +0000 (11:33 +0000)]
Updating minified JavaScript files
Alexander Ebert [Tue, 22 Aug 2023 11:20:50 +0000 (13:20 +0200)]
Fix a capitalization mistake
See https://www.woltlab.com/community/thread/301283-schritt-%C3%BCberspringen-nicht-empfohlen/
Tim Düsterhus [Tue, 22 Aug 2023 10:48:11 +0000 (12:48 +0200)]
Add symfony/polyfill-php83 composer dependency
Alexander Ebert [Tue, 22 Aug 2023 10:11:55 +0000 (12:11 +0200)]
Fix the changes to the `font-weight` of headlines
Effectively reverts
3bb8ef95b744a05a769ffe2a46e96d8674113a11
Tim Düsterhus [Tue, 22 Aug 2023 09:52:54 +0000 (11:52 +0200)]
Tim Düsterhus [Tue, 22 Aug 2023 09:29:44 +0000 (11:29 +0200)]
Update prettier
Alexander Ebert [Tue, 22 Aug 2023 09:32:37 +0000 (11:32 +0200)]
Release 6.0.0 Beta 2
WoltLab [Tue, 22 Aug 2023 09:27:22 +0000 (09:27 +0000)]
Updating minified JavaScript files
Alexander Ebert [Tue, 22 Aug 2023 09:23:33 +0000 (11:23 +0200)]
Fix the contrast of the `.formError` color
See https://www.woltlab.com/community/thread/301284-fehler-in-labels-im-dark-mode-haben-keinen-guten-kontrast/
Alexander Ebert [Tue, 22 Aug 2023 08:32:48 +0000 (10:32 +0200)]
Fix the condition to detect multiple languages for boxes
See https://www.woltlab.com/community/thread/301293-box-erstellen-html-text-template-funktioniert-nicht/
Alexander Ebert [Tue, 22 Aug 2023 08:28:19 +0000 (10:28 +0200)]
Force unfurled URLs into separate rows
Alexander Ebert [Mon, 21 Aug 2023 15:14:10 +0000 (17:14 +0200)]
Increase the `font-weight` of headlines to `600`
Tim Düsterhus [Mon, 21 Aug 2023 12:51:00 +0000 (14:51 +0200)]
Merge branch '5.5'
Tim Düsterhus [Mon, 21 Aug 2023 12:50:19 +0000 (14:50 +0200)]
Update composer dependencies
Alexander Ebert [Mon, 21 Aug 2023 12:41:50 +0000 (14:41 +0200)]
Update the JavaScript artifact
`npx tsc -w` somehow stopped updating …
Alexander Ebert [Mon, 21 Aug 2023 12:38:35 +0000 (14:38 +0200)]
Workaround for the reverse typing in Safari after a reset
See https://www.woltlab.com/community/thread/301269-safari-beitrag-absenden-setzt-den-fokus-in-den-nachfolgenden-editor-und-schreibt/
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
Marcel Werk [Mon, 21 Aug 2023 09:51:26 +0000 (11:51 +0200)]
Add support for new Twitter (X) links
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