GitHub/WoltLab/WCF.git
16 months agoMerge pull request #5547 from WoltLab/article-buttons
Marcel Werk [Wed, 21 Jun 2023 15:37:25 +0000 (17:37 +0200)]
Merge pull request #5547 from WoltLab/article-buttons

Rework article button's html / css

16 months agoRework article button's html / css
Marcel Werk [Wed, 21 Jun 2023 15:18:17 +0000 (17:18 +0200)]
Rework article button's html / css

The area was originally only used for the Like buttons, later the report button was also placed there, which is why the name `articleLikeButtons` is now misleading.

Closes #5522

16 months agoMerge branch '5.5'
Tim Düsterhus [Wed, 21 Jun 2023 12:59:39 +0000 (14:59 +0200)]
Merge branch '5.5'

16 months agoMerge branch '5.4' into 5.5
Tim Düsterhus [Wed, 21 Jun 2023 12:58:35 +0000 (14:58 +0200)]
Merge branch '5.4' into 5.5

16 months agoRelease 5.4.29 5.4.29
Alexander Ebert [Wed, 21 Jun 2023 09:34:16 +0000 (11:34 +0200)]
Release 5.4.29

16 months agoRelease 5.5.13 5.5.13
Alexander Ebert [Tue, 20 Jun 2023 11:49:04 +0000 (13:49 +0200)]
Release 5.5.13

16 months agoMerge branch '5.4' into 5.5
Alexander Ebert [Tue, 20 Jun 2023 11:39:24 +0000 (13:39 +0200)]
Merge branch '5.4' into 5.5

16 months agoRelease 5.4.28 5.4.28
Alexander Ebert [Tue, 20 Jun 2023 11:38:01 +0000 (13:38 +0200)]
Release 5.4.28

16 months agoSync quoteMetaCode.tpl
Tim Düsterhus [Tue, 20 Jun 2023 08:11:10 +0000 (10:11 +0200)]
Sync quoteMetaCode.tpl

see 2f87cf328fc033a994f204d00a53a62aca6c290a

16 months agoSync wysiwyg.tpl
Tim Düsterhus [Tue, 20 Jun 2023 07:33:13 +0000 (09:33 +0200)]
Sync wysiwyg.tpl

see 2f87cf328fc033a994f204d00a53a62aca6c290a

16 months agoOverhaul the visuals of quotes
Alexander Ebert [Mon, 19 Jun 2023 19:02:38 +0000 (21:02 +0200)]
Overhaul the visuals of quotes

16 months agoUse a dark background value for user avatars
Alexander Ebert [Mon, 19 Jun 2023 16:17:34 +0000 (18:17 +0200)]
Use a dark background value for user avatars

Fixes #5540

16 months agoDarken the yellow badge
Alexander Ebert [Mon, 19 Jun 2023 15:35:05 +0000 (17:35 +0200)]
Darken the yellow badge

16 months agoMerge branch '5.5'
Tim Düsterhus [Mon, 19 Jun 2023 14:10:37 +0000 (16:10 +0200)]
Merge branch '5.5'

16 months agoFixed bug when blocking an avatar, signature or cover photo
Marcel Werk [Mon, 19 Jun 2023 13:57:54 +0000 (15:57 +0200)]
Fixed bug when blocking an avatar, signature or cover photo

The error occurred when the "Permanently Block" checkbox was not set and no "Unblocking Date" was set.

16 months agoAdd icon colors for test results in the system check
Alexander Ebert [Mon, 19 Jun 2023 12:09:07 +0000 (14:09 +0200)]
Add icon colors for test results in the system check

See #4968

16 months agoImproved the readability of dark mode color presets
Alexander Ebert [Mon, 19 Jun 2023 12:08:10 +0000 (14:08 +0200)]
Improved the readability of dark mode color presets

The new set of colors provides a contrast of at least 4.5:1

16 months agoAdd darker color presets for icons
Alexander Ebert [Mon, 19 Jun 2023 11:59:10 +0000 (13:59 +0200)]
Add darker color presets for icons

16 months agoAdd basic support for icon color presets
Alexander Ebert [Mon, 19 Jun 2023 11:50:16 +0000 (13:50 +0200)]
Add basic support for icon color presets

16 months agoEnforce the dark theme to embedded tweets
Alexander Ebert [Sat, 17 Jun 2023 13:37:32 +0000 (15:37 +0200)]
Enforce the dark theme to embedded tweets

16 months agoAdd hotkey support to set the focus to the ACP search
Alexander Ebert [Sat, 17 Jun 2023 13:36:06 +0000 (15:36 +0200)]
Add hotkey support to set the focus to the ACP search

16 months agoMerge pull request #5537 from WoltLab/style-editor-css-variables
Alexander Ebert [Sat, 17 Jun 2023 09:48:29 +0000 (11:48 +0200)]
Merge pull request #5537 from WoltLab/style-editor-css-variables

Migrate the style editor to CSS variables

16 months agoRelease 5.5.13 dev 1 5.5.13_dev_1
Alexander Ebert [Fri, 16 Jun 2023 13:10:27 +0000 (15:10 +0200)]
Release 5.5.13 dev 1

16 months agoUpdating minified JavaScript files
WoltLab [Fri, 16 Jun 2023 12:49:42 +0000 (12:49 +0000)]
Updating minified JavaScript files

16 months agoRemove the reference to WCF.Poll.js in acptemplate
Tim Düsterhus [Fri, 16 Jun 2023 09:42:06 +0000 (11:42 +0200)]
Remove the reference to WCF.Poll.js in acptemplate

see 54fb95839f3113eec608882617d0d599fa6dc9c6
see 12e1aa4fe4b01fd1b77598d6eef6ceba8cb095c3

16 months agoFix rebuild dialog title in sitemapList.tpl
Tim Düsterhus [Fri, 16 Jun 2023 09:39:07 +0000 (11:39 +0200)]
Fix rebuild dialog title in sitemapList.tpl

16 months agoFix soft deletion confirmation for articles
Tim Düsterhus [Fri, 16 Jun 2023 09:06:10 +0000 (11:06 +0200)]
Fix soft deletion confirmation for articles

16 months agoMerge branch '5.5'
Tim Düsterhus [Thu, 15 Jun 2023 13:21:01 +0000 (15:21 +0200)]
Merge branch '5.5'

16 months agoMerge branch '5.4' into 5.5
Tim Düsterhus [Thu, 15 Jun 2023 13:15:49 +0000 (15:15 +0200)]
Merge branch '5.4' into 5.5

16 months agoDrop the SameSite attribute from the XSRF-Token cookie to work around WebKit Bug...
Tim Düsterhus [Wed, 10 May 2023 13:25:38 +0000 (15:25 +0200)]
Drop the SameSite attribute from the XSRF-Token cookie to work around WebKit Bug 255524

It appears that Safari 16.4+ sometimes loses SameSite cookies without explicit
expiry when performing subrequests, e.g. to load JavaScript or when using
`fetch()`. The conditions apply to the XSRF-Token cookie. Now if one of the
subrequests hits the application, the application will hand out a fresh
XSRF-Token cookie, due to the cookie being missing. This results in spurious
changes of the XSRF-Token and thus error messages for the user.

According to comments in the WebKit Bug a workaround for the issue is not
providing a SameSite attribute at all and we leverage this workaround for the
time being: The SameSite attribute on the XSRF-Token cookie is a defense in
depth measure.

see https://bugs.webkit.org/show_bug.cgi?id=255524
see https://www.woltlab.com/community/thread/299769-fehlerhafter-xsrf-token/

(cherry picked from commit 832de3617df81b357430f8d99527dc34efd277a7)

16 months agoMerge branch '5.5'
Tim Düsterhus [Thu, 15 Jun 2023 07:44:50 +0000 (09:44 +0200)]
Merge branch '5.5'

16 months agoFix wcf.acp.group.option.user.signature.maxLength in en.xml
Tim Düsterhus [Thu, 15 Jun 2023 07:43:10 +0000 (09:43 +0200)]
Fix wcf.acp.group.option.user.signature.maxLength in en.xml

see 32f9c5d95163e06c351ae63c700a25aac37a3d95
see 854c03cce023034ae43f252b2ca560aeeda7ca56
see https://www.woltlab.com/community/thread/300146-language-wcf-acp-group-option-user-signature-maxlength/

16 months agoMerge branch '5.5'
Tim Düsterhus [Wed, 14 Jun 2023 14:31:24 +0000 (16:31 +0200)]
Merge branch '5.5'

16 months agoFix typo in de.xml
Tim Düsterhus [Wed, 14 Jun 2023 14:27:16 +0000 (16:27 +0200)]
Fix typo in de.xml

see https://www.woltlab.com/community/thread/300142-tippfehler-im-blockieren-dialog/

16 months agoActually delete the `article_enable_visit_tracking` option
Tim Düsterhus [Tue, 13 Jun 2023 12:50:46 +0000 (14:50 +0200)]
Actually delete the `article_enable_visit_tracking` option

see ae91678eba2f3864a2eec5ffb3a02977320a8dd2

16 months agoRemove reference to deleted phrase `wcf.acl.option.fullAccess` from templates
Tim Düsterhus [Tue, 13 Jun 2023 10:44:37 +0000 (12:44 +0200)]
Remove reference to deleted phrase `wcf.acl.option.fullAccess` from templates

see cf790e696549152a49352d8990c23ff789696d6b

16 months agoRemove duplicated spaces in phrases
Tim Düsterhus [Tue, 13 Jun 2023 07:28:25 +0000 (09:28 +0200)]
Remove duplicated spaces in phrases

see https://www.woltlab.com/community/thread/300126-language-wcf-moderation-activation-notification-commentresponse-mail-html/

16 months agoAdd the missing plural s
Alexander Ebert [Mon, 12 Jun 2023 17:23:35 +0000 (19:23 +0200)]
Add the missing plural s

See https://www.woltlab.com/community/thread/300065-language-wcf-user-notification-com-woltlab-wcf-page/

16 months agoUpdate the embed code for Instagram
Alexander Ebert [Mon, 12 Jun 2023 15:24:30 +0000 (17:24 +0200)]
Update the embed code for Instagram

16 months agoMerge pull request #5538 from WoltLab/article-category
Tim Düsterhus [Mon, 12 Jun 2023 13:54:51 +0000 (15:54 +0200)]
Merge pull request #5538 from WoltLab/article-category

Make wcf1_article.categoryID NOT NULL

16 months agoMake wcf1_article.categoryID NOT NULL
Tim Düsterhus [Mon, 12 Jun 2023 13:18:12 +0000 (15:18 +0200)]
Make wcf1_article.categoryID NOT NULL

Resolves #5338

16 months agoAdd update_com.woltlab.wcf_6.0_articleOrphans.php
Tim Düsterhus [Mon, 12 Jun 2023 13:08:09 +0000 (15:08 +0200)]
Add update_com.woltlab.wcf_6.0_articleOrphans.php

Resolves #5339

16 months agoDelete articles in `beforeDeletion()` when deleting article category
Tim Düsterhus [Mon, 12 Jun 2023 13:04:24 +0000 (15:04 +0200)]
Delete articles in `beforeDeletion()` when deleting article category

see #5338

16 months agoEnsure the objects are read in ArticleAction::delete()
Tim Düsterhus [Mon, 12 Jun 2023 13:26:27 +0000 (15:26 +0200)]
Ensure the objects are read in ArticleAction::delete()

17 months agoFix the border color of the editor preview
Alexander Ebert [Fri, 9 Jun 2023 14:47:02 +0000 (16:47 +0200)]
Fix the border color of the editor preview

17 months agoFix the border of alerts
Alexander Ebert [Fri, 9 Jun 2023 14:45:29 +0000 (16:45 +0200)]
Fix the border of alerts

17 months agoRemove redundant inline CSS
Alexander Ebert [Fri, 9 Jun 2023 14:32:53 +0000 (16:32 +0200)]
Remove redundant inline CSS

17 months agoUse native CSS variables to apply colors to the visual editor
Alexander Ebert [Fri, 9 Jun 2023 13:58:20 +0000 (15:58 +0200)]
Use native CSS variables to apply colors to the visual editor

17 months agoAutoformat the CSS for the style editor
Alexander Ebert [Fri, 9 Jun 2023 13:05:40 +0000 (15:05 +0200)]
Autoformat the CSS for the style editor

17 months agoImprove the selection of CSS variables
Alexander Ebert [Fri, 9 Jun 2023 12:42:19 +0000 (14:42 +0200)]
Improve the selection of CSS variables

17 months agoFix unclosed HTML attribute in styleAdd.tpl
Tim Düsterhus [Fri, 9 Jun 2023 12:16:42 +0000 (14:16 +0200)]
Fix unclosed HTML attribute in styleAdd.tpl

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