GitHub/WoltLab/WCF.git
2 years agoMerge branch 'master' of https://github.com/WoltLab/WCF
Alexander Ebert [Mon, 10 May 2021 11:57:51 +0000 (13:57 +0200)]
Merge branch 'master' of https://github.com/WoltLab/WCF

2 years agoBetter support for the 2:1 aspect ratio of OG images
Alexander Ebert [Mon, 10 May 2021 11:57:45 +0000 (13:57 +0200)]
Better support for the 2:1 aspect ratio of OG images

2 years agoAdjust layout of recipient column in emailLogList
Tim Düsterhus [Mon, 10 May 2021 11:34:57 +0000 (13:34 +0200)]
Adjust layout of recipient column in emailLogList

2 years agoLoad the page logo immediately
Alexander Ebert [Mon, 10 May 2021 11:45:52 +0000 (13:45 +0200)]
Load the page logo immediately

2 years agoMerge branch '5.3'
Matthias Schmidt [Mon, 10 May 2021 10:29:00 +0000 (12:29 +0200)]
Merge branch '5.3'

2 years agoAdd missing template events for monolingual pages
Matthias Schmidt [Mon, 10 May 2021 10:28:01 +0000 (12:28 +0200)]
Add missing template events for monolingual pages

See #3268

2 years agoFix position of `messageFieldsMultilingual` event in `pageAdd.tpl`
Matthias Schmidt [Mon, 10 May 2021 10:25:59 +0000 (12:25 +0200)]
Fix position of `messageFieldsMultilingual` event in `pageAdd.tpl`

The message tabs have to be below the relevant WYSIWYG editor. Inserting additional fields at this position would split them apart.

2 years agoFix breaking of words in email subject
Tim Düsterhus [Mon, 10 May 2021 10:25:38 +0000 (12:25 +0200)]
Fix breaking of words in email subject

Apparently I forgot to `git add` this change.

Fixes 39ad16436abd190e175dc9599080c6f64c24d02b.

2 years agoBreak words in subject truncation of email log
Tim Düsterhus [Mon, 10 May 2021 10:18:08 +0000 (12:18 +0200)]
Break words in subject truncation of email log

2 years agoMerge branch '5.3'
Matthias Schmidt [Mon, 10 May 2021 10:19:46 +0000 (12:19 +0200)]
Merge branch '5.3'

2 years agoMerge branch '5.2' into 5.3
Matthias Schmidt [Mon, 10 May 2021 10:19:35 +0000 (12:19 +0200)]
Merge branch '5.2' into 5.3

2 years agoAdd missing `license` element in `package.xsd`
Matthias Schmidt [Mon, 10 May 2021 10:19:22 +0000 (12:19 +0200)]
Add missing `license` element in `package.xsd`

2 years agoFix inserting multiple media files via clipboard
Matthias Schmidt [Mon, 10 May 2021 07:55:48 +0000 (09:55 +0200)]
Fix inserting multiple media files via clipboard

See 57324f3a91d806572be58cc6b3e7fb169fc26580

2 years agoConsistently use "anmelden" in german phrases for logging in (#4202)
Matthias Schmidt [Mon, 10 May 2021 07:29:52 +0000 (09:29 +0200)]
Consistently use "anmelden" in german phrases for logging in (#4202)

2 years agoRevert accidentally committed change in English phrase
Matthias Schmidt [Mon, 10 May 2021 07:19:00 +0000 (09:19 +0200)]
Revert accidentally committed change in English phrase

See ef559679adc187587303cce7162329fce1c5f2c5

2 years agoUse dot as separator in multi-factor status phrases
Matthias Schmidt [Mon, 10 May 2021 07:13:59 +0000 (09:13 +0200)]
Use dot as separator in multi-factor status phrases

2 years agoIncorrect removal of existing text formatting
Alexander Ebert [Sat, 8 May 2021 11:52:21 +0000 (13:52 +0200)]
Incorrect removal of existing text formatting

2 years agoMerge branch '5.3'
Alexander Ebert [Sat, 8 May 2021 10:23:22 +0000 (12:23 +0200)]
Merge branch '5.3'

2 years agoIncorrect position of icon overlays on `screen-md`
Alexander Ebert [Sat, 8 May 2021 10:23:04 +0000 (12:23 +0200)]
Incorrect position of icon overlays on `screen-md`

2 years agoWorkaround for select fields causing page overflow on iOS
Alexander Ebert [Fri, 7 May 2021 13:26:09 +0000 (15:26 +0200)]
Workaround for select fields causing page overflow on iOS

2 years agoIncreased horizontal padding for ToC containers
Alexander Ebert [Fri, 7 May 2021 12:49:37 +0000 (14:49 +0200)]
Increased horizontal padding for ToC containers

2 years agoConsistent font size for code listings
Alexander Ebert [Fri, 7 May 2021 12:45:11 +0000 (14:45 +0200)]
Consistent font size for code listings

2 years agoPrevent text wrapping in the quote tooltip
Alexander Ebert [Fri, 7 May 2021 12:31:18 +0000 (14:31 +0200)]
Prevent text wrapping in the quote tooltip

2 years agoAdd support for the native web share API in share dialog (#4201)
Matthias Schmidt [Fri, 7 May 2021 11:02:56 +0000 (13:02 +0200)]
Add support for the native web share API in share dialog (#4201)

Close #4193

2 years agoFix deleting content from moderation activation page
Matthias Schmidt [Fri, 7 May 2021 10:07:57 +0000 (12:07 +0200)]
Fix deleting content from moderation activation page

2 years agoRemove obsolete commented-out code (#4200)
Matthias Schmidt [Fri, 7 May 2021 10:01:41 +0000 (12:01 +0200)]
Remove obsolete commented-out code (#4200)

All code has been commented out for at least 5 years, some code even from the very beginning.

Close #4139

2 years agoAdd missing default values of `PasswordStrength` properties
Matthias Schmidt [Fri, 7 May 2021 07:36:29 +0000 (09:36 +0200)]
Add missing default values of `PasswordStrength` properties

2 years agoUse ignore dialog for list of ignored users (#4199)
Matthias Schmidt [Fri, 7 May 2021 07:25:08 +0000 (09:25 +0200)]
Use ignore dialog for list of ignored users (#4199)

Close #4140

2 years agoSupport form builder dependencies with non-Core templates
Matthias Schmidt [Fri, 7 May 2021 05:49:15 +0000 (07:49 +0200)]
Support form builder dependencies with non-Core templates

2 years agoVisual adjustments for 2FA methods
Alexander Ebert [Thu, 6 May 2021 14:30:33 +0000 (16:30 +0200)]
Visual adjustments for 2FA methods

2 years agoExplicit font-display behavior for the icon font
Alexander Ebert [Thu, 6 May 2021 13:58:03 +0000 (15:58 +0200)]
Explicit font-display behavior for the icon font

2 years agoReset package field in language import form after saving
Matthias Schmidt [Thu, 6 May 2021 12:02:42 +0000 (14:02 +0200)]
Reset package field in language import form after saving

Close #4191

2 years agoMerge branch '5.3'
Matthias Schmidt [Thu, 6 May 2021 12:00:37 +0000 (14:00 +0200)]
Merge branch '5.3'

2 years agoMerge branch '5.2' into 5.3
Matthias Schmidt [Thu, 6 May 2021 11:59:48 +0000 (13:59 +0200)]
Merge branch '5.2' into 5.3

2 years agoMerge branch '3.1' into 5.2
Matthias Schmidt [Thu, 6 May 2021 11:59:35 +0000 (13:59 +0200)]
Merge branch '3.1' into 5.2

2 years agoReset language form field in language import form after saving
Matthias Schmidt [Thu, 6 May 2021 11:59:21 +0000 (13:59 +0200)]
Reset language form field in language import form after saving

2 years agoFix JavaScript code for is-not-clicked form builder dependency
Matthias Schmidt [Thu, 6 May 2021 11:54:59 +0000 (13:54 +0200)]
Fix JavaScript code for is-not-clicked form builder dependency

Close #4194

2 years agoFix deleting content from moderation report page
Matthias Schmidt [Thu, 6 May 2021 08:06:43 +0000 (10:06 +0200)]
Fix deleting content from moderation report page

Close WoltLab/com.woltlab.wbb#461

2 years agoMerge pull request #4190 from WoltLab/stacktrace-sanitizer-no-arg
Tim Düsterhus [Wed, 5 May 2021 14:58:11 +0000 (16:58 +0200)]
Merge pull request #4190 from WoltLab/stacktrace-sanitizer-no-arg

Make argument sanitization more resilient

2 years agoCatch exceptions during argument sanitization in sanitizeStacktrace()
Tim Düsterhus [Wed, 5 May 2021 14:49:00 +0000 (16:49 +0200)]
Catch exceptions during argument sanitization in sanitizeStacktrace()

The sanitization logic is somewhat fragile. Redact all arguments of the current
stack frame if some error occurs to fail closed.

2 years agoSplit long condition over multiple lines in sanitizeStacktrace()
Tim Düsterhus [Wed, 5 May 2021 14:44:11 +0000 (16:44 +0200)]
Split long condition over multiple lines in sanitizeStacktrace()

2 years agoSkip argument sanitization when argument list is empty
Tim Düsterhus [Wed, 5 May 2021 14:42:48 +0000 (16:42 +0200)]
Skip argument sanitization when argument list is empty

There is no need to invoke heavy-weight reflection if nothing is to be
sanitized.

2 years agoMerge pull request #4189 from WoltLab/message-id
Tim Düsterhus [Wed, 5 May 2021 14:38:43 +0000 (16:38 +0200)]
Merge pull request #4189 from WoltLab/message-id

Add Message-ID to MFA emails

2 years agoPreserve the aspect ratio for scaled images
Alexander Ebert [Wed, 5 May 2021 13:52:49 +0000 (15:52 +0200)]
Preserve the aspect ratio for scaled images

Specifying an explicit height requires `height: auto` to be set via CSS, otherwise scaling through `max-width: 100%` does not preserve the image's aspect ratio.

2 years agoSet explicit Message-ID in EmailMultifactorMethod::sendEmail()
Tim Düsterhus [Wed, 5 May 2021 13:03:51 +0000 (15:03 +0200)]
Set explicit Message-ID in EmailMultifactorMethod::sendEmail()

2 years agoSet explicit Message-ID in BackupMultifactorMethod::sendAuthenticationEmail()
Tim Düsterhus [Wed, 5 May 2021 13:00:41 +0000 (15:00 +0200)]
Set explicit Message-ID in BackupMultifactorMethod::sendAuthenticationEmail()

2 years agoSet explicit Message-ID in MultifactorManageForm::sendEmail()
Tim Düsterhus [Wed, 5 May 2021 12:58:34 +0000 (14:58 +0200)]
Set explicit Message-ID in MultifactorManageForm::sendEmail()

2 years agoAdd SimpleEmail::setMessageID()
Tim Düsterhus [Wed, 5 May 2021 12:58:19 +0000 (14:58 +0200)]
Add SimpleEmail::setMessageID()

2 years agoFix setting of the long-lived cookie after login 5.4.0_Alpha_1
Tim Düsterhus [Wed, 5 May 2021 11:27:23 +0000 (13:27 +0200)]
Fix setting of the long-lived cookie after login

2 years agoFix typo in avatar condition in UserRebuildDataWorker
Tim Düsterhus [Wed, 5 May 2021 10:53:09 +0000 (12:53 +0200)]
Fix typo in avatar condition in UserRebuildDataWorker

2 years agoRelease 5.4.0 Alpha 1
Alexander Ebert [Wed, 5 May 2021 09:46:55 +0000 (11:46 +0200)]
Release 5.4.0 Alpha 1

2 years agoMerge pull request #4185 from WoltLab/acp-legacy-session
Tim Düsterhus [Tue, 4 May 2021 13:02:15 +0000 (15:02 +0200)]
Merge pull request #4185 from WoltLab/acp-legacy-session

Suppress legacy session for ACP activity

2 years agoSuppress legacy session for ACP activity
Tim Düsterhus [Tue, 4 May 2021 12:52:36 +0000 (14:52 +0200)]
Suppress legacy session for ACP activity

Even if the actual locations are hidden this might leak information about ACP
activity.

2 years agoMerge pull request #4184 from WoltLab/sensitive-argument
Tim Düsterhus [Tue, 4 May 2021 12:15:45 +0000 (14:15 +0200)]
Merge pull request #4184 from WoltLab/sensitive-argument

Add SensitiveArgument attribute

2 years agoImprove variable name in sanitizeStacktrace()
Tim Düsterhus [Tue, 4 May 2021 12:12:47 +0000 (14:12 +0200)]
Improve variable name in sanitizeStacktrace()

2 years agoExport IP addresses stored with filebase versions
Matthias Schmidt [Tue, 4 May 2021 11:37:14 +0000 (13:37 +0200)]
Export IP addresses stored with filebase versions

See WoltLab/com.woltlab.filebase#146

2 years agoAdd files_pre.tar and files_pre_check.tar
Tim Düsterhus [Tue, 4 May 2021 10:36:32 +0000 (12:36 +0200)]
Add files_pre.tar and files_pre_check.tar

2 years agoUpdating minified JavaScript files
WoltLab [Tue, 4 May 2021 10:35:55 +0000 (10:35 +0000)]
Updating minified JavaScript files

2 years agoMake use of \wcf\SensitiveArgument attribute
Tim Düsterhus [Tue, 4 May 2021 07:51:58 +0000 (09:51 +0200)]
Make use of \wcf\SensitiveArgument attribute

2 years agoConsider parameters with password|passphrase|secret in their name to be sensitive
Tim Düsterhus [Tue, 4 May 2021 09:52:44 +0000 (11:52 +0200)]
Consider parameters with password|passphrase|secret in their name to be sensitive

2 years agoAdd \wcf\SensitiveArgument attribute
Tim Düsterhus [Tue, 4 May 2021 07:51:44 +0000 (09:51 +0200)]
Add \wcf\SensitiveArgument attribute

2 years agoPin `php-cs-fixer` version in codestyle workflow
Matthias Schmidt [Tue, 4 May 2021 09:05:52 +0000 (11:05 +0200)]
Pin `php-cs-fixer` version in codestyle workflow

2 years agoAdd userOption PIP to upgrade instructions
Tim Düsterhus [Mon, 3 May 2021 13:52:03 +0000 (15:52 +0200)]
Add userOption PIP to upgrade instructions

2 years agoMerge pull request #4181 from WoltLab/empty-phrase
Tim Düsterhus [Mon, 3 May 2021 12:55:03 +0000 (14:55 +0200)]
Merge pull request #4181 from WoltLab/empty-phrase

Delete the empty phrase during update from 5.3 to 5.4

2 years agoDelete the empty phrase during update from 5.3 to 5.4
Tim Düsterhus [Mon, 3 May 2021 12:50:02 +0000 (14:50 +0200)]
Delete the empty phrase during update from 5.3 to 5.4

see 9e280cb5c1dd3e398a3096b55f6d88be4baa6923
see https://community.woltlab.com/thread/289955/

2 years agoMerge pull request #4174 from WoltLab/new-app-management
Alexander Ebert [Mon, 3 May 2021 10:51:01 +0000 (12:51 +0200)]
Merge pull request #4174 from WoltLab/new-app-management

Simplify the domain and landing page management

2 years agoImproved the code / Cleanup
Alexander Ebert [Mon, 3 May 2021 10:37:52 +0000 (12:37 +0200)]
Improved the code / Cleanup

2 years agoMerge branch '5.3'
Matthias Schmidt [Mon, 3 May 2021 10:34:13 +0000 (12:34 +0200)]
Merge branch '5.3'

2 years agoMerge branch '5.2' into 5.3
Matthias Schmidt [Mon, 3 May 2021 10:30:15 +0000 (12:30 +0200)]
Merge branch '5.2' into 5.3

2 years agoMerge branch '3.1' into 5.2
Matthias Schmidt [Mon, 3 May 2021 10:30:07 +0000 (12:30 +0200)]
Merge branch '3.1' into 5.2

2 years agoFix detection of nested tables in messages
Matthias Schmidt [Mon, 3 May 2021 10:29:48 +0000 (12:29 +0200)]
Fix detection of nested tables in messages

Close #4175

2 years agoFix table borders when cells with `rowspan` are visually in the last row (#4176)
Matthias Schmidt [Mon, 3 May 2021 10:27:17 +0000 (12:27 +0200)]
Fix table borders when cells with `rowspan` are visually in the last row (#4176)

See https://community.woltlab.com/thread/289598

2 years agoMerge pull request #4177 from WoltLab/varchar-unique
Tim Düsterhus [Mon, 3 May 2021 09:39:07 +0000 (11:39 +0200)]
Merge pull request #4177 from WoltLab/varchar-unique

Reduce the length of MFA VARCHAR columns used in UNIQUE KEY

2 years agoReduce the length of MFA VARCHAR columns used in UNIQUE KEY
Tim Düsterhus [Mon, 3 May 2021 09:35:08 +0000 (11:35 +0200)]
Reduce the length of MFA VARCHAR columns used in UNIQUE KEY

Fixes #4171

2 years agoIncorrect formatting
Alexander Ebert [Sun, 2 May 2021 11:45:33 +0000 (13:45 +0200)]
Incorrect formatting

2 years agoImplement `Dom/Util.innerSuccess()`
Alexander Ebert [Sun, 2 May 2021 10:12:12 +0000 (12:12 +0200)]
Implement `Dom/Util.innerSuccess()`

Closes #4170

2 years agoSimplify the domain and landing page management
Alexander Ebert [Sun, 2 May 2021 10:00:12 +0000 (12:00 +0200)]
Simplify the domain and landing page management

2 years agoMerge branch '5.3'
joshuaruesweg [Sat, 1 May 2021 13:05:02 +0000 (15:05 +0200)]
Merge branch '5.3'

2 years agoFix undefined class variable
joshuaruesweg [Sat, 1 May 2021 13:02:08 +0000 (15:02 +0200)]
Fix undefined class variable

Fixes #4163

2 years agoInclude freshping as spider (#4165)
Sascha Moser [Fri, 30 Apr 2021 14:47:26 +0000 (16:47 +0200)]
Include freshping as spider (#4165)

Freshping is a monitoring alternative to uptime robot.
Useragent: FreshpingBot/1.0 (+https://freshping.io/)

2 years agoMerge branch '5.3'
joshuaruesweg [Fri, 30 Apr 2021 12:55:02 +0000 (14:55 +0200)]
Merge branch '5.3'

2 years agoFix collision for comment react button and comment response react button
joshuaruesweg [Fri, 30 Apr 2021 12:48:57 +0000 (14:48 +0200)]
Fix collision for comment react button and comment response react button

The comment react button can bind onto the comment response react button, if there is no comment react button (e.g. because the comment author is the user themselves). Using an own `buttonSelector` for the comment response react button, fixes the problem.

Note: The problem only becomes visible if there is only one reaction (so WoltLab Suite uses the legacy like mode).

2 years agoMerge pull request #4169 from WoltLab/trophy-lazy
Tim Düsterhus [Fri, 30 Apr 2021 11:43:48 +0000 (13:43 +0200)]
Merge pull request #4169 from WoltLab/trophy-lazy

Lazily load trophy images

2 years agoLazily load trophy images
Tim Düsterhus [Fri, 30 Apr 2021 10:48:06 +0000 (12:48 +0200)]
Lazily load trophy images

see #3980

2 years agoUse width / height attributes instead of inline CSS in trophyImage.tpl
Tim Düsterhus [Fri, 30 Apr 2021 10:47:37 +0000 (12:47 +0200)]
Use width / height attributes instead of inline CSS in trophyImage.tpl

2 years agoRemove unused requirement from extra/compiler.js
Tim Düsterhus [Fri, 30 Apr 2021 09:28:22 +0000 (11:28 +0200)]
Remove unused requirement from extra/compiler.js

2 years agoMerge pull request #4167 from WoltLab/hidden-password-toggle
Tim Düsterhus [Fri, 30 Apr 2021 09:14:41 +0000 (11:14 +0200)]
Merge pull request #4167 from WoltLab/hidden-password-toggle

Fix the password toggle from showing up for the fake input in option.tpl

2 years agoAdd UnfurlResponse::$body property
Tim Düsterhus [Fri, 30 Apr 2021 09:09:50 +0000 (11:09 +0200)]
Add UnfurlResponse::$body property

Resolves #4162

2 years agoAdjust user-Agent comment for URL Unfurling
Tim Düsterhus [Fri, 30 Apr 2021 09:08:19 +0000 (11:08 +0200)]
Adjust user-Agent comment for URL Unfurling

2 years agoDecrease default width of password form fields
Matthias Schmidt [Fri, 30 Apr 2021 08:12:33 +0000 (10:12 +0200)]
Decrease default width of password form fields

See #4148

2 years agoFix the password toggle from showing up for the fake input in option.tpl
Tim Düsterhus [Fri, 30 Apr 2021 08:05:00 +0000 (10:05 +0200)]
Fix the password toggle from showing up for the fake input in option.tpl

Fixes #4040

2 years agoUse null coalescing operator wherever possible
Matthias Schmidt [Fri, 30 Apr 2021 06:00:22 +0000 (08:00 +0200)]
Use null coalescing operator wherever possible

2 years agoMerge pull request #4166 from WoltLab/null-coalescing-operator
Alexander Ebert [Thu, 29 Apr 2021 16:39:08 +0000 (18:39 +0200)]
Merge pull request #4166 from WoltLab/null-coalescing-operator

Use null coalescing operator wherever possible

2 years agoUse null coalescing operator wherever possible
Matthias Schmidt [Thu, 29 Apr 2021 12:53:40 +0000 (14:53 +0200)]
Use null coalescing operator wherever possible

These changes were not done manually but by using IDE actions.

2 years agoRemove obsolete delete instructions
Matthias Schmidt [Thu, 29 Apr 2021 12:28:22 +0000 (14:28 +0200)]
Remove obsolete delete instructions

2 years agoFix typo in en.xml
Tim Düsterhus [Thu, 29 Apr 2021 12:21:10 +0000 (14:21 +0200)]
Fix typo in en.xml

2 years agoMerge branch '5.3'
Tim Düsterhus [Thu, 29 Apr 2021 07:39:33 +0000 (09:39 +0200)]
Merge branch '5.3'

2 years agoFix typo in NewPasswordForm
Tim Düsterhus [Thu, 29 Apr 2021 07:38:05 +0000 (09:38 +0200)]
Fix typo in NewPasswordForm

Fixes #4164

2 years agoRemove obsolete code in `BlacklistEntryAction`
Matthias Schmidt [Thu, 29 Apr 2021 05:52:55 +0000 (07:52 +0200)]
Remove obsolete code in `BlacklistEntryAction`

`$entries` does not exist.

2 years agoUpdating minified JavaScript files
WoltLab [Wed, 28 Apr 2021 15:14:03 +0000 (15:14 +0000)]
Updating minified JavaScript files