GitHub/WoltLab/WCF.git
17 months agoMerge pull request #5534 from WoltLab/php-8.3
Tim Düsterhus [Fri, 9 Jun 2023 08:58:11 +0000 (10:58 +0200)]
Merge pull request #5534 from WoltLab/php-8.3

Allow PHP 8.3 in CheckSystemEnvironment for testing purposes

17 months agoAllow PHP 8.3 in CheckSystemEnvironment for testing purposes
Tim Düsterhus [Fri, 9 Jun 2023 08:36:55 +0000 (10:36 +0200)]
Allow PHP 8.3 in CheckSystemEnvironment for testing purposes

With the first Alpha of PHP 8.3 now released, compatibility testing can begin
and this requires that the frontend is actually available.

17 months agoFix wcf.global.incompatiblePhpVersion in en.xml
Tim Düsterhus [Fri, 9 Jun 2023 08:26:22 +0000 (10:26 +0200)]
Fix wcf.global.incompatiblePhpVersion in en.xml

17 months agoShow the CSS variable and implicitly expand selection on double click
Alexander Ebert [Thu, 8 Jun 2023 14:35:36 +0000 (16:35 +0200)]
Show the CSS variable and implicitly expand selection on double click

17 months agoRemove unreachable code for the dark mode SCSS
Alexander Ebert [Tue, 6 Jun 2023 11:49:52 +0000 (13:49 +0200)]
Remove unreachable code for the dark mode SCSS

This code path is unreachable because the validation can only check against the entire code. This means that the check will fail for the regular field, but the error message implies that the error might also be part of the dark mode’s code.

Fixes #5533

17 months agoMerge branch '5.5'
Tim Düsterhus [Tue, 6 Jun 2023 08:16:20 +0000 (10:16 +0200)]
Merge branch '5.5'

17 months agoUnify password to “Kennwort” in de.xml
Tim Düsterhus [Tue, 6 Jun 2023 08:15:56 +0000 (10:15 +0200)]
Unify password to “Kennwort” in de.xml

17 months agoMerge remote-tracking branch 'origin/master'
Tim Düsterhus [Tue, 6 Jun 2023 08:14:45 +0000 (10:14 +0200)]
Merge remote-tracking branch 'origin/master'

17 months agoMerge branch '5.5'
Tim Düsterhus [Tue, 6 Jun 2023 08:14:26 +0000 (10:14 +0200)]
Merge branch '5.5'

17 months agoFix `<label>` targets in userAdd.tpl
Tim Düsterhus [Tue, 6 Jun 2023 08:13:23 +0000 (10:13 +0200)]
Fix `<label>` targets in userAdd.tpl

17 months agoAdd missing reference to preserve dark mode variables
Alexander Ebert [Mon, 5 Jun 2023 16:10:19 +0000 (18:10 +0200)]
Add missing reference to preserve dark mode variables

Fixes #5518

17 months agoEnforce a maximum width for legacy dialogs
Alexander Ebert [Mon, 5 Jun 2023 13:39:20 +0000 (15:39 +0200)]
Enforce a maximum width for legacy dialogs

Fixes #5531

17 months agoAdd a button to remove text formatting
Alexander Ebert [Mon, 5 Jun 2023 12:37:49 +0000 (14:37 +0200)]
Add a button to remove text formatting

17 months agoAdd the outdent/indent buttons to lists
Alexander Ebert [Mon, 5 Jun 2023 12:31:07 +0000 (14:31 +0200)]
Add the outdent/indent buttons to lists

17 months agoMerge branch '5.5'
Tim Düsterhus [Mon, 5 Jun 2023 08:15:47 +0000 (10:15 +0200)]
Merge branch '5.5'

17 months agoFix HTML syntax in pageHeaderUser.tpl
Tim Düsterhus [Mon, 5 Jun 2023 08:15:11 +0000 (10:15 +0200)]
Fix HTML syntax in pageHeaderUser.tpl

see 6e5b36526f992eb1f04fb4ebc28f3ae38bed6aff
Fixes #5532

17 months agoMerge branch '5.5'
Tim Düsterhus [Mon, 5 Jun 2023 07:30:42 +0000 (09:30 +0200)]
Merge branch '5.5'

17 months agoFix incorrect quotation mark in en.xml
Tim Düsterhus [Mon, 5 Jun 2023 07:23:33 +0000 (09:23 +0200)]
Fix incorrect quotation mark in en.xml

see https://www.woltlab.com/community/thread/300024-language-wcf-acp-user-sendmail-from-description/

17 months agoHide the contents of the text input while the editor is loading
Alexander Ebert [Thu, 1 Jun 2023 16:01:37 +0000 (18:01 +0200)]
Hide the contents of the text input while the editor is loading

17 months agoUpdate composer dependencies
Tim Düsterhus [Thu, 1 Jun 2023 09:01:24 +0000 (11:01 +0200)]
Update composer dependencies

17 months agoRemove useless `|strtolower` in articleList.tpl
Tim Düsterhus [Wed, 31 May 2023 13:58:14 +0000 (15:58 +0200)]
Remove useless `|strtolower` in articleList.tpl

Every other location in the template simply compares the uppercase variant.

17 months agoMerge pull request #5530 from WoltLab/template-modifier
Tim Düsterhus [Wed, 31 May 2023 13:54:25 +0000 (15:54 +0200)]
Merge pull request #5530 from WoltLab/template-modifier

Improve use of template modifiers

17 months agoReplace `|substr` by `|str_ends_with` in templates
Tim Düsterhus [Wed, 31 May 2023 13:39:39 +0000 (15:39 +0200)]
Replace `|substr` by `|str_ends_with` in templates

17 months agoReplace `|strpos` by `|str_starts_with` in templates
Tim Düsterhus [Wed, 31 May 2023 13:35:44 +0000 (15:35 +0200)]
Replace `|strpos` by `|str_starts_with` in templates

17 months agoFix submit button in versionTrackerList.tpl
Tim Düsterhus [Wed, 31 May 2023 12:39:12 +0000 (14:39 +0200)]
Fix submit button in versionTrackerList.tpl

see 45f5e47a2cd8f1cee2d540d41ffc3e53a05cde54

17 months agoMigrate a fake button to `<button>`
Alexander Ebert [Tue, 30 May 2023 15:28:42 +0000 (17:28 +0200)]
Migrate a fake button to `<button>`

17 months agoSlightly improve the contrast of dimmed text in the sidebar
Alexander Ebert [Tue, 30 May 2023 15:16:50 +0000 (17:16 +0200)]
Slightly improve the contrast of dimmed text in the sidebar

17 months agoMerge pull request #5528 from WoltLab/time-error-handling
Marcel Werk [Tue, 30 May 2023 11:25:47 +0000 (13:25 +0200)]
Merge pull request #5528 from WoltLab/time-error-handling

Add error handling for `time` in `time` template function

17 months agoSuppress error messages when fetching previews
Alexander Ebert [Mon, 29 May 2023 12:48:48 +0000 (14:48 +0200)]
Suppress error messages when fetching previews

See https://www.woltlab.com/community/thread/299874-suppress-errors-if-requests-for-the-popover-fail/

17 months agoHide errors for failed searches
Alexander Ebert [Mon, 29 May 2023 12:47:58 +0000 (14:47 +0200)]
Hide errors for failed searches

17 months agoSuppress errors when the query for search suggestion fail
Alexander Ebert [Mon, 29 May 2023 12:41:52 +0000 (14:41 +0200)]
Suppress errors when the query for search suggestion fail

See https://www.woltlab.com/community/thread/299875-suppress-errors-if-requests-for-search-suggestions-fail/

17 months agoImprove titles/description of input fields for "Language"
Marcel Werk [Mon, 29 May 2023 12:31:22 +0000 (14:31 +0200)]
Improve titles/description of input fields for "Language"

17 months agoFix multiple consistency issues in language phrases
Marcel Werk [Mon, 29 May 2023 11:51:36 +0000 (13:51 +0200)]
Fix multiple consistency issues in language phrases

17 months agoAdd error handling for `time` in `time` template function
Marcel Werk [Mon, 29 May 2023 11:48:44 +0000 (13:48 +0200)]
Add error handling for `time` in `time` template function

17 months agoReplace |json_encode by |json in pageFooter.tpl
Tim Düsterhus [Fri, 26 May 2023 14:45:36 +0000 (16:45 +0200)]
Replace |json_encode by |json in pageFooter.tpl

17 months agoImprove the visual appearance of button groups in container lists
Alexander Ebert [Fri, 26 May 2023 14:41:22 +0000 (16:41 +0200)]
Improve the visual appearance of button groups in container lists

Fixes #5527

17 months agoImprove the nesting of sidebar boxes
Alexander Ebert [Fri, 26 May 2023 11:59:52 +0000 (13:59 +0200)]
Improve the nesting of sidebar boxes

See WoltLab/com.woltlab.filebase#194

17 months agoUpdate style when upgrading from 5.5
Tim Düsterhus [Fri, 26 May 2023 10:49:19 +0000 (12:49 +0200)]
Update style when upgrading from 5.5

17 months agoProperly dim disabled email settings for notifications
Alexander Ebert [Fri, 26 May 2023 10:12:42 +0000 (12:12 +0200)]
Properly dim disabled email settings for notifications

Fixes #5523

17 months agoImprove the visibility of the “required” mark
Alexander Ebert [Fri, 26 May 2023 10:05:14 +0000 (12:05 +0200)]
Improve the visibility of the “required” mark

Fixes #5524

17 months agoFix instructions in update_com.woltlab.wcf_6.0.php
Tim Düsterhus [Fri, 26 May 2023 07:58:30 +0000 (09:58 +0200)]
Fix instructions in update_com.woltlab.wcf_6.0.php

The `->notNull()` was missing, but we can just use the semantically more
correct “bool” type column.

17 months agoUpdate update instructions from 5.5
Tim Düsterhus [Fri, 26 May 2023 07:52:21 +0000 (09:52 +0200)]
Update update instructions from 5.5

17 months agoMerge pull request #5525 from WoltLab/time-function-machine
Marcel Werk [Thu, 25 May 2023 09:50:24 +0000 (11:50 +0200)]
Merge pull request #5525 from WoltLab/time-function-machine

Add `machine` output type to `{time}`

17 months agoAdd `machine` output type to `{time}`
Tim Düsterhus [Thu, 25 May 2023 09:22:45 +0000 (11:22 +0200)]
Add `machine` output type to `{time}`

This will output a machine-readable version of the datetime, i.e. the ISO-8601
format.

This is intended as a replacement for `{$foo|date:'c'}`.

17 months agoMerge pull request #5521 from WoltLab/print-mfa-backup-codes
Tim Düsterhus [Wed, 24 May 2023 13:37:58 +0000 (15:37 +0200)]
Merge pull request #5521 from WoltLab/print-mfa-backup-codes

Improve print view of MFA backup codes

17 months agoImprove print view of MFA backup codes
Tim Düsterhus [Wed, 24 May 2023 13:31:30 +0000 (15:31 +0200)]
Improve print view of MFA backup codes

- Add a “Print” button.
- Only show the codes + an explanatory text by moving it in front of all other
  elements in the print style.

see https://www.woltlab.com/community/thread/290079-ausdrucken-von-mfa-notfallcodes-erleichtern/

17 months agoMerge branch 'master' of https://github.com/WoltLab/WCF
Marcel Werk [Tue, 23 May 2023 12:11:52 +0000 (14:11 +0200)]
Merge branch 'master' of https://github.com/WoltLab/WCF

17 months agoRemove obsolete usages of '@'
Marcel Werk [Tue, 23 May 2023 12:11:50 +0000 (14:11 +0200)]
Remove obsolete usages of '@'

17 months agoMerge pull request #5510 from WoltLab/search-filter-ui
Marcel Werk [Tue, 23 May 2023 12:11:19 +0000 (14:11 +0200)]
Merge pull request #5510 from WoltLab/search-filter-ui

Improve search form UX

17 months agoMerge pull request #5520 from WoltLab/embedded-content
Marcel Werk [Mon, 22 May 2023 14:55:26 +0000 (16:55 +0200)]
Merge pull request #5520 from WoltLab/embedded-content

Improve a11y of the widget for embedded content

17 months agoImprove the visuals of embedded content, turn title into a `<h3>`
Alexander Ebert [Mon, 22 May 2023 12:20:13 +0000 (14:20 +0200)]
Improve the visuals of embedded content, turn title into a `<h3>`

17 months agoMerge branch '5.5'
Tim Düsterhus [Mon, 22 May 2023 10:26:38 +0000 (12:26 +0200)]
Merge branch '5.5'

17 months agoUpdate tslib
Tim Düsterhus [Mon, 22 May 2023 10:22:25 +0000 (12:22 +0200)]
Update tslib

17 months agoUpdate composer dependencies
Tim Düsterhus [Sun, 21 May 2023 14:44:24 +0000 (16:44 +0200)]
Update composer dependencies

17 months agoFix the animation of dialogs in Safari
Alexander Ebert [Sat, 20 May 2023 16:53:52 +0000 (18:53 +0200)]
Fix the animation of dialogs in Safari

Safari executes the resize observer asynchronously, causing the offset to be not calculated when the dialog was just added to the DOM.

In addition the `contentBoxSize` was observed to report the width of the element without any borders. We are able to simplify the code by querying the client rect instead which reports the proper width.

Fixes #5519

17 months agoFix calculation of the grayed out area
Marcel Werk [Fri, 19 May 2023 15:56:31 +0000 (17:56 +0200)]
Fix calculation of the grayed out area

17 months agoFix z-index of the link
Marcel Werk [Fri, 19 May 2023 15:54:34 +0000 (17:54 +0200)]
Fix z-index of the link

17 months agoImprove a11y of embedded content
Marcel Werk [Fri, 19 May 2023 15:38:42 +0000 (17:38 +0200)]
Improve a11y of embedded content

17 months agoMerge branch 'master' of https://github.com/WoltLab/WCF
Marcel Werk [Fri, 19 May 2023 15:35:55 +0000 (17:35 +0200)]
Merge branch 'master' of https://github.com/WoltLab/WCF

17 months agoFix share bbcode
Marcel Werk [Fri, 19 May 2023 15:35:34 +0000 (17:35 +0200)]
Fix share bbcode

17 months agoRemove obsolete attribute for article bbcode
Marcel Werk [Fri, 19 May 2023 15:35:18 +0000 (17:35 +0200)]
Remove obsolete attribute for article bbcode

17 months agoReplace use of `|array_pop` by `|end` in cacheList.tpl
Tim Düsterhus [Fri, 19 May 2023 14:42:00 +0000 (16:42 +0200)]
Replace use of `|array_pop` by `|end` in cacheList.tpl

`|end` is more commonly used, making it easier to scan for used template
modifiers.

17 months agoAllow `style-src 'unsafe-inline'` in AttachmentPage
Tim Düsterhus [Fri, 19 May 2023 13:32:44 +0000 (15:32 +0200)]
Allow `style-src 'unsafe-inline'` in AttachmentPage

17 months agoFix multiple consistency issues in language phrases
Marcel Werk [Wed, 17 May 2023 16:26:08 +0000 (18:26 +0200)]
Fix multiple consistency issues in language phrases

17 months agoMerge branch '5.5'
Tim Düsterhus [Wed, 17 May 2023 09:44:18 +0000 (11:44 +0200)]
Merge branch '5.5'

17 months agoRelease 5.5.12 5.5.12
Alexander Ebert [Tue, 16 May 2023 15:02:52 +0000 (17:02 +0200)]
Release 5.5.12

17 months agoMerge branch '5.5'
Tim Düsterhus [Tue, 16 May 2023 14:33:58 +0000 (16:33 +0200)]
Merge branch '5.5'

17 months agoFix missing informal variant in de.xml
Luke [Tue, 16 May 2023 14:22:10 +0000 (16:22 +0200)]
Fix missing informal variant in de.xml

Resolves #5511

[Tim: Opted to choose a slightly different fix and reworded the commit message]

17 months agoMerge branch '5.5'
Alexander Ebert [Tue, 16 May 2023 13:50:23 +0000 (15:50 +0200)]
Merge branch '5.5'

17 months agoAdd a button to discard a selected icon
Alexander Ebert [Sun, 12 Mar 2023 22:56:03 +0000 (23:56 +0100)]
Add a button to discard a selected icon

Fixes #5207

17 months agoFix the behavior for the fixed anchor when editing messages
Alexander Ebert [Tue, 16 May 2023 13:29:56 +0000 (15:29 +0200)]
Fix the behavior for the fixed anchor when editing messages

See WoltLab/editor#49

17 months agoDrop empty `data-attributes` for `<woltlab-metacode>` during input processing
Tim Düsterhus [Tue, 16 May 2023 13:18:25 +0000 (15:18 +0200)]
Drop empty `data-attributes` for `<woltlab-metacode>` during input processing

17 months agoFix typescript issue
Marcel Werk [Tue, 16 May 2023 13:12:23 +0000 (15:12 +0200)]
Fix typescript issue

17 months agoApply suggestions from code review
Marcel Werk [Tue, 16 May 2023 12:53:31 +0000 (14:53 +0200)]
Apply suggestions from code review

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
17 months agoMerge pull request #5509 from WoltLab/edit-history-format-html
Tim Düsterhus [Tue, 16 May 2023 12:27:16 +0000 (14:27 +0200)]
Merge pull request #5509 from WoltLab/edit-history-format-html

Perform preprocessing on the message contents before diffing in EditHistory

17 months agoImprove search form ux
Marcel Werk [Tue, 16 May 2023 12:25:49 +0000 (14:25 +0200)]
Improve search form ux

If a user uses the search function within a certain area (e.g. subforum or thread), only the corresponding area will be searched. If the search does not return any results in this case, the "advanced filter" area in the search form is collapsed and therefore not directly visible to the user that advanced filters are active.

17 months agoPerform preprocessing on the message contents before diffing in EditHistory
Tim Düsterhus [Tue, 16 May 2023 12:21:31 +0000 (14:21 +0200)]
Perform preprocessing on the message contents before diffing in EditHistory

The insertion of additional newlines by `EditHistory::formatHtml()` should make
the Diff more useful by giving the diff algorithms more lines to work with.

see #3955

17 months agoStrip the superfluous styling of cells in the message diff
Alexander Ebert [Tue, 16 May 2023 12:00:14 +0000 (14:00 +0200)]
Strip the superfluous styling of cells in the message diff

See #5362

17 months agoAdd color variants to the template diff for the dark mode
Alexander Ebert [Tue, 16 May 2023 11:39:37 +0000 (13:39 +0200)]
Add color variants to the template diff for the dark mode

See #5362

17 months agoImprove the CSS for the editor history and add dark mode support
Alexander Ebert [Tue, 16 May 2023 11:30:41 +0000 (13:30 +0200)]
Improve the CSS for the editor history and add dark mode support

See #5362

17 months agoUpdate composer dependencies
Tim Düsterhus [Tue, 16 May 2023 08:43:20 +0000 (10:43 +0200)]
Update composer dependencies

17 months agoUnify the appearance of new and legacy dialogs
Alexander Ebert [Mon, 15 May 2023 15:59:29 +0000 (17:59 +0200)]
Unify the appearance of new and legacy dialogs

Fixes #5507

17 months agoFix the rendering of buttons in the visual editor
Alexander Ebert [Mon, 15 May 2023 13:00:33 +0000 (15:00 +0200)]
Fix the rendering of buttons in the visual editor

There was no gap between buttons on smaller screen sizes.

17 months agoUpdate the visual style editor for status elements
Alexander Ebert [Mon, 15 May 2023 12:56:46 +0000 (14:56 +0200)]
Update the visual style editor for status elements

17 months agoUpdate the color palette for CKEditor
Alexander Ebert [Mon, 15 May 2023 12:53:45 +0000 (14:53 +0200)]
Update the color palette for CKEditor

Fixes #5485

17 months agoMerge remote-tracking branch 'origin/master'
Tim Düsterhus [Mon, 15 May 2023 12:08:47 +0000 (14:08 +0200)]
Merge remote-tracking branch 'origin/master'

17 months agoMerge branch '5.5'
Tim Düsterhus [Mon, 15 May 2023 12:08:37 +0000 (14:08 +0200)]
Merge branch '5.5'

17 months agoReintroduce the relative position of message overlay icons
Alexander Ebert [Mon, 15 May 2023 11:42:36 +0000 (13:42 +0200)]
Reintroduce the relative position of message overlay icons

See WoltLab/com.woltlab.wbb#593

Regression of f116ee6cad7c05a5f007af6b95c8b9bec2b3379d

17 months agoAdd a spacer for notices above the editor
Alexander Ebert [Mon, 15 May 2023 11:39:12 +0000 (13:39 +0200)]
Add a spacer for notices above the editor

Fixes WoltLab/com.woltlab.wbb#592

17 months agoImprove the visuals of the editor while being initialized
Alexander Ebert [Mon, 15 May 2023 11:38:48 +0000 (13:38 +0200)]
Improve the visuals of the editor while being initialized

17 months agoFix the appearance of code boxes using the dark color scheme
Alexander Ebert [Mon, 15 May 2023 11:23:51 +0000 (13:23 +0200)]
Fix the appearance of code boxes using the dark color scheme

Fixes #5502

17 months agoUpdate composer dependencies
Tim Düsterhus [Mon, 15 May 2023 07:06:30 +0000 (09:06 +0200)]
Update composer dependencies

17 months agoFix the replacement of the pagination in the media manager
Alexander Ebert [Sun, 14 May 2023 16:47:58 +0000 (18:47 +0200)]
Fix the replacement of the pagination in the media manager

Fixes #5503

17 months agoRemove the `vertical-align` from icons again
Alexander Ebert [Sun, 14 May 2023 15:04:10 +0000 (17:04 +0200)]
Remove the `vertical-align` from icons again

This was added to address #5090, but the root cause of the issue was something else. The added `vertical-align` did workaround the reported problem, but caused smaller icons to be misaligned, in particular 16px class icons where offset towards the top.

17 months agoAdd the phrase and permissions for media again
Alexander Ebert [Sun, 14 May 2023 14:55:16 +0000 (16:55 +0200)]
Add the phrase and permissions for media again

Fixes WoltLab/com.woltlab.wbb#596

17 months agoMove the indicator badge 4px to the right
Alexander Ebert [Sun, 14 May 2023 14:45:49 +0000 (16:45 +0200)]
Move the indicator badge 4px to the right

The width of the new icons has increased from 32px to 40px.

Fixes #5506

17 months agoFix CKEditor’s sticky toolbar
Alexander Ebert [Sun, 14 May 2023 14:42:25 +0000 (16:42 +0200)]
Fix CKEditor’s sticky toolbar

Fixes #5508

17 months agoRelease 5.5.12 dev 2 5.5.12_dev_2
Alexander Ebert [Fri, 12 May 2023 16:27:19 +0000 (18:27 +0200)]
Release 5.5.12 dev 2

17 months agoUpdating minified JavaScript files
WoltLab [Fri, 12 May 2023 16:19:53 +0000 (16:19 +0000)]
Updating minified JavaScript files

17 months agoRelease 5.5.12 dev 1 5.5.12_dev_1
Alexander Ebert [Fri, 12 May 2023 15:01:31 +0000 (17:01 +0200)]
Release 5.5.12 dev 1