Alexander Ebert [Tue, 28 Mar 2023 15:03:20 +0000 (17:03 +0200)]
Fix the position of validation errors for comments/responses
Fixes #5369
Alexander Ebert [Tue, 28 Mar 2023 14:51:45 +0000 (16:51 +0200)]
Migrate the delete button for categories to FA6
Fixes #5371
Tim Düsterhus [Tue, 28 Mar 2023 13:38:26 +0000 (15:38 +0200)]
Merge branch '5.5'
Tim Düsterhus [Tue, 28 Mar 2023 12:57:51 +0000 (14:57 +0200)]
Merge pull request #5372 from WoltLab/article-permissions
Fix several article related permissions
Tim Düsterhus [Tue, 28 Mar 2023 12:19:40 +0000 (14:19 +0200)]
Check edit permissions before showing edit link in ACP's article list
Tim Düsterhus [Tue, 28 Mar 2023 12:17:40 +0000 (14:17 +0200)]
Unify visibility of articles in ACP's article list with frontend
Tim Düsterhus [Tue, 28 Mar 2023 12:12:34 +0000 (14:12 +0200)]
Allow users that may contribute articles to see their own articles independent of publication status in lists
Tim Düsterhus [Tue, 28 Mar 2023 12:06:18 +0000 (14:06 +0200)]
Unify default publication status for users that may manage articles and users that may manage their own articles
Tim Düsterhus [Tue, 28 Mar 2023 12:03:05 +0000 (14:03 +0200)]
Allow users that may manage own articles to view them independent of publication status
Tim Düsterhus [Tue, 28 Mar 2023 11:57:50 +0000 (13:57 +0200)]
Allow users that may manage own articles to actually create articles
Tim Düsterhus [Mon, 27 Mar 2023 10:22:22 +0000 (12:22 +0200)]
Update esbuild
Tim Düsterhus [Mon, 27 Mar 2023 07:47:52 +0000 (09:47 +0200)]
Update composer dependencies
Tim Düsterhus [Fri, 17 Mar 2023 16:00:33 +0000 (17:00 +0100)]
Merge pull request #5366 from WoltLab/smiley-codes
Remove the “right to left” smiley aliases
Tim Düsterhus [Fri, 17 Mar 2023 14:12:53 +0000 (15:12 +0100)]
Reset the CSS file in AddDarkMode command
see
3fe37449ca14b1b8f924ca6b6f98cb5d20135988
Fixes #5367
Tim Düsterhus [Fri, 17 Mar 2023 13:48:30 +0000 (14:48 +0100)]
Remove the “right to left” smiley aliases
Especially the `):` alias is pretty annoying, because it is a reasonable
sequence within a regular text:
This is an example (to highlight the issue with the alias):
As we see, the closing parenthesis and the colon match the alias.
Tim Düsterhus [Fri, 17 Mar 2023 13:32:50 +0000 (14:32 +0100)]
Fix saving styles without a dark mode in StyleEditForm
Fixes #5364
Tim Düsterhus [Fri, 17 Mar 2023 09:48:10 +0000 (10:48 +0100)]
Merge branch '5.5'
Tim Düsterhus [Fri, 17 Mar 2023 09:47:31 +0000 (10:47 +0100)]
Update to TypeScript 5.0
Tim Düsterhus [Fri, 17 Mar 2023 09:43:16 +0000 (10:43 +0100)]
Merge branch '5.5'
Tim Düsterhus [Fri, 17 Mar 2023 09:37:41 +0000 (10:37 +0100)]
Update eslint
Tim Düsterhus [Fri, 17 Mar 2023 09:32:53 +0000 (10:32 +0100)]
Update esbuild
Tim Düsterhus [Fri, 17 Mar 2023 09:32:05 +0000 (10:32 +0100)]
Update focus-trap
Tim Düsterhus [Thu, 16 Mar 2023 16:53:55 +0000 (17:53 +0100)]
Merge branch '5.5'
Alexander Ebert [Thu, 16 Mar 2023 15:43:22 +0000 (16:43 +0100)]
Release 5.5.10
Alexander Ebert [Thu, 16 Mar 2023 15:32:19 +0000 (16:32 +0100)]
Merge branch '5.4' into 5.5
Alexander Ebert [Thu, 16 Mar 2023 15:25:26 +0000 (16:25 +0100)]
Release 5.4.26
Alexander Ebert [Thu, 16 Mar 2023 15:21:37 +0000 (16:21 +0100)]
Merge branch '5.3' into 5.4
Alexander Ebert [Thu, 16 Mar 2023 15:06:57 +0000 (16:06 +0100)]
Release 5.3.27
WoltLab [Thu, 16 Mar 2023 14:58:18 +0000 (14:58 +0000)]
Updating minified JavaScript files
Tim Düsterhus [Thu, 16 Mar 2023 14:54:32 +0000 (15:54 +0100)]
Merge branch '5.4' into 5.5
Tim Düsterhus [Thu, 16 Mar 2023 14:54:21 +0000 (15:54 +0100)]
Merge branch '5.3' into 5.4
Tim Düsterhus [Thu, 16 Mar 2023 14:50:46 +0000 (15:50 +0100)]
Merge branch 'edit-permissions' into 5.3
Tim Düsterhus [Thu, 16 Mar 2023 11:27:17 +0000 (12:27 +0100)]
Fix SCSS codestyle
Tim Düsterhus [Thu, 16 Mar 2023 11:24:43 +0000 (12:24 +0100)]
Fix PHP codestyle
Tim Düsterhus [Thu, 16 Mar 2023 10:47:02 +0000 (11:47 +0100)]
Update composer dependencies
Tim Düsterhus [Thu, 16 Mar 2023 09:15:30 +0000 (10:15 +0100)]
Fix import of styles without dark mode
Fixes #5360
Tim Düsterhus [Tue, 14 Mar 2023 14:06:59 +0000 (15:06 +0100)]
Merge pull request #5358 from WoltLab/fa-brand
Improve handling of FA brand icons
Tim Düsterhus [Tue, 14 Mar 2023 13:00:52 +0000 (14:00 +0100)]
Use `@inheritDoc` for `IFontAwesomeIcon::getHtml()` implementations
Tim Düsterhus [Tue, 14 Mar 2023 12:57:11 +0000 (13:57 +0100)]
Statically compile brand icons into the template
Resolves #5040
Tim Düsterhus [Tue, 14 Mar 2023 12:50:24 +0000 (13:50 +0100)]
Use FontAwesomeIconBrand in IconFunctionTemplatePlugin
Tim Düsterhus [Tue, 14 Mar 2023 12:47:19 +0000 (13:47 +0100)]
Add FontAwesomeIconBrand class
see #5040
Tim Düsterhus [Tue, 14 Mar 2023 12:46:58 +0000 (13:46 +0100)]
Add IFontAwesomeIcon
Alexander Ebert [Mon, 13 Mar 2023 18:28:41 +0000 (19:28 +0100)]
Apply the dark theme to the twitter widget
The widget behaves quite strange, there are still some white edges around the widget. At least it no longer burns your eyes when accessing the admin panel.
Alexander Ebert [Mon, 13 Mar 2023 18:13:41 +0000 (19:13 +0100)]
Retrieve the message from the editor instead of using an event
Tim Düsterhus [Mon, 13 Mar 2023 13:55:49 +0000 (14:55 +0100)]
Fix phrase in sitemapList.tpl
Tim Düsterhus [Mon, 13 Mar 2023 13:08:32 +0000 (14:08 +0100)]
Merge pull request #5356 from WoltLab/relative-time-print
Show the absolute time in print style for `<woltlab-core-date-time>`
Tim Düsterhus [Mon, 13 Mar 2023 12:47:06 +0000 (13:47 +0100)]
Show the absolute time in print style for `<woltlab-core-date-time>`
Alexander Ebert [Mon, 13 Mar 2023 11:52:57 +0000 (12:52 +0100)]
Release 5.5.10 dev 1
WoltLab [Mon, 13 Mar 2023 11:51:33 +0000 (11:51 +0000)]
Updating minified JavaScript files
Alexander Ebert [Mon, 13 Mar 2023 11:27:47 +0000 (12:27 +0100)]
Fix the handling of external links in the mobile main menu
See https://www.woltlab.com/community/thread/299236-externe-hauptmen%C3%BC-links-werden-trotz-einstellung-im-acp-mobil-nicht-in-neuem-tab/
Alexander Ebert [Sun, 12 Mar 2023 22:56:03 +0000 (23:56 +0100)]
Add a button to discard a selected icon
Fixes #5207
Alexander Ebert [Sun, 12 Mar 2023 22:45:42 +0000 (23:45 +0100)]
Remove the redundant `$icon` property
Fixes #5160
Alexander Ebert [Sun, 12 Mar 2023 22:44:00 +0000 (23:44 +0100)]
Fix the integration of FA6 in the icon form field
Fixes #5206
Alexander Ebert [Sun, 12 Mar 2023 22:20:43 +0000 (23:20 +0100)]
Drop the `TabMenu.rebuild()` method
This method has always been broken and caused an exception when called. Removing this method also cleans up the `init()` method a bit.
Closes #5193
Alexander Ebert [Sun, 12 Mar 2023 22:02:25 +0000 (23:02 +0100)]
Fix margins of alerts inside of dialogs
Fixes #5296
Alexander Ebert [Sun, 12 Mar 2023 21:28:03 +0000 (22:28 +0100)]
Disable dependent plugins when disabling image support
Alexander Ebert [Fri, 10 Mar 2023 16:28:49 +0000 (17:28 +0100)]
Reduce the icon size in the control panel to 16px
Alexander Ebert [Fri, 10 Mar 2023 16:22:22 +0000 (17:22 +0100)]
Use a different icon for “barely passed”
See #4968
Alexander Ebert [Fri, 10 Mar 2023 16:10:34 +0000 (17:10 +0100)]
Fix the color of icons in a button list
See #4968
Alexander Ebert [Fri, 10 Mar 2023 15:17:46 +0000 (16:17 +0100)]
Add an explicit flag for styles with dark mode support
Tim Düsterhus [Fri, 10 Mar 2023 12:47:35 +0000 (13:47 +0100)]
Check if the article is readable in Article::canEdit()
Previously an editor could access the contents of an inaccessible article by
directly navigating to the edit form.
Tim Düsterhus [Fri, 10 Mar 2023 12:42:30 +0000 (13:42 +0100)]
Merge branch '5.5'
Tim Düsterhus [Fri, 10 Mar 2023 12:30:44 +0000 (13:30 +0100)]
Merge pull request #5353 from WoltLab/article-edit
Fix Article::canEdit() permission for article contributors
Tim Düsterhus [Fri, 10 Mar 2023 12:22:12 +0000 (13:22 +0100)]
Fix Article::canEdit() permission for article contributors
The previous return value was non-sense, because `false` is already the
default. Users that may contribute articles may edit their own articles until
they are published, thus this must `return true`.
This was introduced in
a40df44c036bd6201e4e8f9cef5fb878dba4dd4f.
Alexander Ebert [Fri, 10 Mar 2023 12:02:50 +0000 (13:02 +0100)]
Implement an optional “submit on enter” behavior
Alexander Ebert [Fri, 10 Mar 2023 11:34:32 +0000 (12:34 +0100)]
Use a `<button>` for the ACP menu categories
Alexander Ebert [Thu, 9 Mar 2023 16:17:26 +0000 (17:17 +0100)]
Merge pull request #5344 from nice42q/patch-1
Resize Upright Videos
Tim Düsterhus [Thu, 9 Mar 2023 16:00:12 +0000 (17:00 +0100)]
Merge branch '5.5'
Tim Düsterhus [Thu, 9 Mar 2023 15:59:33 +0000 (16:59 +0100)]
Merge pull request #5346 from WoltLab/session-parse-cookie
Avoid duplicate cookie parsing in SessionHandler
Tim Düsterhus [Thu, 9 Mar 2023 15:58:19 +0000 (16:58 +0100)]
Merge pull request #5347 from WoltLab/user-option-disabled
Check if a user option is disabled in UserOption::isVisible() and ::isEditable()
Tim Düsterhus [Thu, 9 Mar 2023 15:58:10 +0000 (16:58 +0100)]
Merge pull request #5349 from WoltLab/acp-access-log
Move the ACP access log into a middleware
Alexander Ebert [Thu, 9 Mar 2023 15:28:18 +0000 (16:28 +0100)]
Merge pull request #5348 from WoltLab/dark-mode
Implement a dark mode for styles and the admin panel
Alexander Ebert [Thu, 9 Mar 2023 15:25:36 +0000 (16:25 +0100)]
Improve the comment on the handling of NULL values
Tim Düsterhus [Thu, 9 Mar 2023 15:02:39 +0000 (16:02 +0100)]
Pull the URI from the PSR-7 request in EnforceAcpAuthentication::logRequest()
Tim Düsterhus [Thu, 9 Mar 2023 15:01:57 +0000 (16:01 +0100)]
Add Helper::getPathAndQuery()
Tim Düsterhus [Thu, 9 Mar 2023 14:57:39 +0000 (15:57 +0100)]
Pull the user-agent from the PSR-7 request in EnforceAcpAuthentication::logRequest()
Tim Düsterhus [Thu, 9 Mar 2023 14:56:41 +0000 (15:56 +0100)]
Add Helper::getUserAgent()
Tim Düsterhus [Thu, 9 Mar 2023 14:53:27 +0000 (15:53 +0100)]
Stop accessing superglobals in EnforceAcpAuthentication::logRequest()
Tim Düsterhus [Thu, 9 Mar 2023 14:50:01 +0000 (15:50 +0100)]
Use `->prepare()` in EnforceAcpAuthentication::logRequest()
Tim Düsterhus [Thu, 9 Mar 2023 14:48:51 +0000 (15:48 +0100)]
Move ACP access logging into the EnforceAcpAuthentication middleware
This is a 1:1 move, it will be cleaned up in a follow-up commit.
Resolves #5345
Tim Düsterhus [Thu, 9 Mar 2023 14:41:57 +0000 (15:41 +0100)]
Fix SQL query indentation in StyleEditor
Alexander Ebert [Thu, 9 Mar 2023 14:31:23 +0000 (15:31 +0100)]
Fix the visuals for long category titles
Alexander Ebert [Thu, 9 Mar 2023 14:25:05 +0000 (15:25 +0100)]
Merge branch 'dark-mode' of https://github.com/WoltLab/WCF into dark-mode
Alexander Ebert [Thu, 9 Mar 2023 14:24:56 +0000 (15:24 +0100)]
Add a visual indicator for the debug/dev mode
Closes #5257
Tim Düsterhus [Thu, 9 Mar 2023 14:22:58 +0000 (15:22 +0100)]
Use `Helper::mapQueryParameters()` in `StyleAddDarkModeAction`
Tim Düsterhus [Thu, 9 Mar 2023 14:21:14 +0000 (15:21 +0100)]
Reset the style cache in `AddDarkMode` command
Alexander Ebert [Thu, 9 Mar 2023 14:12:13 +0000 (15:12 +0100)]
Improve the visuals of the ACP sidebar menu
Tim Düsterhus [Thu, 9 Mar 2023 14:10:28 +0000 (15:10 +0100)]
Check if a user option is disabled in UserOption::isVisible() and ::isEditable()
see https://www.woltlab.com/community/thread/299193-gender-birthday-location-still-shows-in-profile-even-if-the-fields-are-disabled/
Tim Düsterhus [Thu, 9 Mar 2023 11:43:42 +0000 (12:43 +0100)]
Avoid duplicate cookie parsing in SessionHandler
Previously the cookie data was parsed once in `loadFromCookie()` to extract the
session ID and another time in `maybeRefreshCookie()`. Now the cookie is parsed
only once and the parsed data is passed through.
Tim Düsterhus [Thu, 9 Mar 2023 11:27:47 +0000 (12:27 +0100)]
Increase the number of background jobs per HTTP request to 10
Tim Düsterhus [Thu, 9 Mar 2023 11:11:13 +0000 (12:11 +0100)]
Fix setting the light color scheme in ColorScheme#applySystemScheme
Alexander Ebert [Wed, 8 Mar 2023 17:06:51 +0000 (18:06 +0100)]
Improve the behavior of the admin panel menu
Alexander Ebert [Wed, 8 Mar 2023 16:26:26 +0000 (17:26 +0100)]
Overhaul the visuals of the ACP menu
Tim Düsterhus [Wed, 8 Mar 2023 14:38:57 +0000 (15:38 +0100)]
Add missing return types in oauth/User
These are required by `\ArrayAccess`.
Tim Düsterhus [Wed, 8 Mar 2023 13:31:46 +0000 (14:31 +0100)]
Perform type-safe comparison in `in_array()` in EnforceAcpAuthentication middleware
Tim Düsterhus [Wed, 8 Mar 2023 13:22:36 +0000 (14:22 +0100)]
Drop redundant `final` from TwitterAuthAction::getHttpClient()
Tim Düsterhus [Wed, 8 Mar 2023 12:53:03 +0000 (13:53 +0100)]
Merge branch '5.5'
Tim Düsterhus [Wed, 8 Mar 2023 09:52:04 +0000 (10:52 +0100)]
Merge pull request #5343 from WoltLab/media-clipboard-bad-merge
Fix bad merge in Media/Clipboard.ts
Luke [Wed, 8 Mar 2023 09:31:53 +0000 (10:31 +0100)]
Resize Upright Videos
'vh' 1% of the viewport's height.
Responsive style for all devices
Tim Düsterhus [Wed, 8 Mar 2023 09:22:34 +0000 (10:22 +0100)]
Fix bad merge in Media/Clipboard.ts
The `_didInit = true` assignment added in
3510ed70b5abcd0786cca33469812b2781024cc9 got lost during the TypeScript
transformation in
b5030e676de80fc60f7619c0149999cfed394499.
Fixes #5341