GitHub/WoltLab/WCF.git
16 months agoDisabling images should not disable attachments and smilies
Alexander Ebert [Tue, 27 Jun 2023 14:43:27 +0000 (16:43 +0200)]
Disabling images should not disable attachments and smilies

See https://www.woltlab.com/community/thread/300270-smiley-hinzuf%C3%BCgen-bei-woltlab-6-0/
See https://www.woltlab.com/community/thread/300284-einf%C3%BCgen-von-bildern-aus-der-zwischenablage-im-editor-nicht-m%C3%B6glich/

16 months agoThe $value for getFormElement() is nullable
Marcel Werk [Tue, 27 Jun 2023 13:45:04 +0000 (15:45 +0200)]
The $value for getFormElement() is nullable

16 months agoRelease 6.0.0 Alpha 1 6.0.0_Alpha_1
Alexander Ebert [Tue, 27 Jun 2023 10:17:20 +0000 (12:17 +0200)]
Release 6.0.0 Alpha 1

16 months agoUpdating minified JavaScript files
WoltLab [Tue, 27 Jun 2023 10:10:18 +0000 (10:10 +0000)]
Updating minified JavaScript files

16 months agoMerge pull request #5556 from WoltLab/rename-emergency-code
Marcel Werk [Tue, 27 Jun 2023 10:07:49 +0000 (12:07 +0200)]
Merge pull request #5556 from WoltLab/rename-emergency-code

Rename 'Emergency Code' to 'Backup Code'

16 months agoRename 'Notfallcode' to 'Wiederherstellungscode'
Marcel Werk [Tue, 27 Jun 2023 10:02:34 +0000 (12:02 +0200)]
Rename 'Notfallcode' to 'Wiederherstellungscode'

16 months agoAdd `files_pre_check.tar` required for the upgrade
Alexander Ebert [Tue, 27 Jun 2023 10:01:09 +0000 (12:01 +0200)]
Add `files_pre_check.tar` required for the upgrade

16 months agoSuppress the autosave restore if it is identical
Alexander Ebert [Mon, 26 Jun 2023 16:06:45 +0000 (18:06 +0200)]
Suppress the autosave restore if it is identical

Fixes WoltLab/editor#62

16 months agoSuppress the autosave restore when the content is newer
Alexander Ebert [Mon, 26 Jun 2023 16:06:21 +0000 (18:06 +0200)]
Suppress the autosave restore when the content is newer

Fixes WoltLab/editor#63

16 months agoSync the visuals of inline code and text markers
Alexander Ebert [Mon, 26 Jun 2023 15:52:56 +0000 (17:52 +0200)]
Sync the visuals of inline code and text markers

16 months agoMerge pull request #5555 from WoltLab/content-box-sheets
Marcel Werk [Mon, 26 Jun 2023 15:14:12 +0000 (17:14 +0200)]
Merge pull request #5555 from WoltLab/content-box-sheets

Unify appearance of content boxes

16 months agoRename 'Emergency Code' to 'Backup Code'
Marcel Werk [Mon, 26 Jun 2023 13:18:59 +0000 (15:18 +0200)]
Rename 'Emergency Code' to 'Backup Code'

16 months agoUnify appearance of content boxes
Marcel Werk [Mon, 26 Jun 2023 13:12:34 +0000 (15:12 +0200)]
Unify appearance of content boxes

Apply sheet-like presentation for content boxes to bring them in line with other content containers.

16 months agoMerge branch '5.5'
Tim Düsterhus [Mon, 26 Jun 2023 12:04:52 +0000 (14:04 +0200)]
Merge branch '5.5'

16 months agoImprove the visuals of markers
Alexander Ebert [Mon, 26 Jun 2023 09:57:46 +0000 (11:57 +0200)]
Improve the visuals of markers

16 months agoMerge pull request #5551 from WoltLab/suppress-text-formatting
Alexander Ebert [Sun, 25 Jun 2023 14:33:12 +0000 (16:33 +0200)]
Merge pull request #5551 from WoltLab/suppress-text-formatting

Add options to suppress text formatting

16 months agoFilter out text formatting on input/output
Alexander Ebert [Sun, 25 Jun 2023 13:03:23 +0000 (15:03 +0200)]
Filter out text formatting on input/output

16 months agoAdd options to suppress text formatting in existing messages
Alexander Ebert [Sun, 25 Jun 2023 12:39:17 +0000 (14:39 +0200)]
Add options to suppress text formatting in existing messages

16 months agoMerge pull request #5549 from WoltLab/ckeditor-highlight
Alexander Ebert [Sun, 25 Jun 2023 12:27:11 +0000 (14:27 +0200)]
Merge pull request #5549 from WoltLab/ckeditor-highlight

Add text markers to CKEditor

16 months agoConvert `[mark]` into `<mark>`
Alexander Ebert [Sun, 25 Jun 2023 12:03:26 +0000 (14:03 +0200)]
Convert `[mark]` into `<mark>`

16 months agoUnified phrases for blocked functions
Marcel Werk [Sun, 25 Jun 2023 12:03:20 +0000 (14:03 +0200)]
Unified phrases for blocked functions

16 months agoAdd support for text markers to CKEditor
Alexander Ebert [Sat, 24 Jun 2023 14:44:46 +0000 (16:44 +0200)]
Add support for text markers to CKEditor

16 months agoFix missing title in article delete confirmation
Marcel Werk [Sat, 24 Jun 2023 13:55:07 +0000 (15:55 +0200)]
Fix missing title in article delete confirmation

Closes #5543

16 months agoRemove obsolete code
Marcel Werk [Sat, 24 Jun 2023 13:50:57 +0000 (15:50 +0200)]
Remove obsolete code

Closes #5541

16 months agoAdd support for text markers
Alexander Ebert [Fri, 23 Jun 2023 16:05:00 +0000 (18:05 +0200)]
Add support for text markers

16 months agoMerge pull request #5548 from WoltLab/user-rank-title-sorting
Marcel Werk [Fri, 23 Jun 2023 15:27:15 +0000 (17:27 +0200)]
Merge pull request #5548 from WoltLab/user-rank-title-sorting

Fix sorting by title in user rank list

16 months agoRemove obsolete language variables
Marcel Werk [Fri, 23 Jun 2023 15:26:18 +0000 (17:26 +0200)]
Remove obsolete language variables

16 months agoFix typo
Marcel Werk [Fri, 23 Jun 2023 15:25:19 +0000 (17:25 +0200)]
Fix typo

16 months agoFix sorting by title in user rank list
Marcel Werk [Fri, 23 Jun 2023 15:11:03 +0000 (17:11 +0200)]
Fix sorting by title in user rank list

16 months agoUnified language phrases / unified use of title case
Marcel Werk [Fri, 23 Jun 2023 14:55:02 +0000 (16:55 +0200)]
Unified language phrases / unified use of title case

16 months agoAdjust icon for 'time only' datepicker
Marcel Werk [Fri, 23 Jun 2023 13:48:58 +0000 (15:48 +0200)]
Adjust icon for 'time only' datepicker

16 months agoMerge pull request #5545 from WoltLab/devtools-dx
Alexander Ebert [Thu, 22 Jun 2023 11:39:49 +0000 (13:39 +0200)]
Merge pull request #5545 from WoltLab/devtools-dx

Improvements to the dev tools

16 months agoPrevent the native behavior of the keystrokes
Alexander Ebert [Thu, 22 Jun 2023 11:37:54 +0000 (13:37 +0200)]
Prevent the native behavior of the keystrokes

16 months agoPrefer exact matches for the preselection
Alexander Ebert [Fri, 16 Jun 2023 19:15:57 +0000 (21:15 +0200)]
Prefer exact matches for the preselection

This will preselect the "WCF" repository even when there are other possible packages containing "wcf".

16 months agoMerge the search and list container
Alexander Ebert [Fri, 16 Jun 2023 19:15:29 +0000 (21:15 +0200)]
Merge the search and list container

16 months agoAdd some basic keyboard navigation to the project list filter
Alexander Ebert [Fri, 16 Jun 2023 16:29:45 +0000 (18:29 +0200)]
Add some basic keyboard navigation to the project list filter

16 months agoAdd the "sync all" as a static button to prevent the UI from jumping
Alexander Ebert [Fri, 16 Jun 2023 15:47:47 +0000 (17:47 +0200)]
Add the "sync all" as a static button to prevent the UI from jumping

16 months agoAdd a link to the sync page from the pip list
Alexander Ebert [Fri, 16 Jun 2023 15:41:46 +0000 (17:41 +0200)]
Add a link to the sync page from the pip list

16 months agoAdd a quick filter to search the list of projects
Alexander Ebert [Fri, 16 Jun 2023 15:35:47 +0000 (17:35 +0200)]
Add a quick filter to search the list of projects

16 months agoAvoid using the deprecated `RegExp.$*` properties
Alexander Ebert [Fri, 16 Jun 2023 15:15:38 +0000 (17:15 +0200)]
Avoid using the deprecated `RegExp.$*` properties

16 months agoMove the focus to the value field after selecting a pip
Alexander Ebert [Fri, 16 Jun 2023 15:14:16 +0000 (17:14 +0200)]
Move the focus to the value field after selecting a pip

16 months agoDerive the application name from the pip name
Alexander Ebert [Fri, 16 Jun 2023 15:10:47 +0000 (17:10 +0200)]
Derive the application name from the pip name

16 months agoAutofill the project name if the pasted path looks like a package
Alexander Ebert [Fri, 16 Jun 2023 14:52:26 +0000 (16:52 +0200)]
Autofill the project name if the pasted path looks like a package

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/

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

17 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/

17 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

17 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

17 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/

17 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/

17 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

17 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

17 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

17 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

17 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

17 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'