GitHub/WoltLab/WCF.git
3 years agoGeneric styling for inline lists without list elements
Alexander Ebert [Mon, 31 May 2021 17:41:42 +0000 (19:41 +0200)]
Generic styling for inline lists without list elements

3 years agoOverhauled embedded content design
Marcel Werk [Mon, 31 May 2021 16:35:52 +0000 (18:35 +0200)]
Overhauled embedded content design

3 years agoRelease 5.4.0 Beta 1
Alexander Ebert [Mon, 31 May 2021 13:41:28 +0000 (15:41 +0200)]
Release 5.4.0 Beta 1

3 years agoRemoved the upgrade support from 5.3.*
Alexander Ebert [Mon, 31 May 2021 13:02:03 +0000 (15:02 +0200)]
Removed the upgrade support from 5.3.*

3 years agoUpdating minified JavaScript files
WoltLab [Mon, 31 May 2021 13:00:42 +0000 (13:00 +0000)]
Updating minified JavaScript files

3 years agoMerge pull request #4245 from WoltLab/meta-description-system-pages
Joshua Rüsweg [Mon, 31 May 2021 12:47:28 +0000 (14:47 +0200)]
Merge pull request #4245 from WoltLab/meta-description-system-pages

Add custom meta description for system pages

3 years agoMerge branch '5.3'
Tim Düsterhus [Mon, 31 May 2021 10:38:08 +0000 (12:38 +0200)]
Merge branch '5.3'

3 years agoMerge pull request #4247 from WoltLab/usersOnly-guest
Tim Düsterhus [Mon, 31 May 2021 09:48:14 +0000 (11:48 +0200)]
Merge pull request #4247 from WoltLab/usersOnly-guest

Skip usersOnly permissions for the guest group during permission merge

3 years agoSkip usersOnly permissions for the guest group during permission merge
Tim Düsterhus [Mon, 31 May 2021 09:36:24 +0000 (11:36 +0200)]
Skip usersOnly permissions for the guest group during permission merge

The value of usersOnly permissions cannot be configured for the guest group
within the ACP, but the stored default value is taken into account during the
permission merge in UserGroupPermissionCacheBuilder nonetheless. This might result
in unexpected permissions for accounts that are not yet activated.

As an example taking away the “Can use conversations” for all groups might
still allow accounts that are not yet activated to use the conversations,
because of this preserved default.

Fix this issue by simply skipping the value of the guest group during the
merge, thus ignoring whatever value may be stored. This is safe, because the
resulting option list always includes the “Everyone” group.

see https://community.woltlab.com/thread/289879/

3 years agoWrong version number in exception during setup
Marcel Werk [Mon, 31 May 2021 09:43:49 +0000 (11:43 +0200)]
Wrong version number in exception during setup

3 years agoIncorrect handling of empty values for `accept`
Alexander Ebert [Mon, 31 May 2021 09:33:18 +0000 (11:33 +0200)]
Incorrect handling of empty values for `accept`

3 years agoAdd custom meta description for system pages
joshuaruesweg [Thu, 27 May 2021 13:49:12 +0000 (15:49 +0200)]
Add custom meta description for system pages

3 years agoTruncate SMTP replies in error messages to 250 characters instead of 80
Tim Düsterhus [Mon, 31 May 2021 07:29:52 +0000 (09:29 +0200)]
Truncate SMTP replies in error messages to 250 characters instead of 80

3 years agoIncorrect position of the quote tooltip on touch devices
Alexander Ebert [Sun, 30 May 2021 10:23:51 +0000 (12:23 +0200)]
Incorrect position of the quote tooltip on touch devices

3 years agoIncorrect import of meta keywords for CMS pages
Marcel Werk [Fri, 28 May 2021 16:45:45 +0000 (18:45 +0200)]
Incorrect import of meta keywords for CMS pages

3 years agoMerge pull request #4244 from WoltLab/ajax-invoke-direct
Tim Düsterhus [Fri, 28 May 2021 14:59:27 +0000 (16:59 +0200)]
Merge pull request #4244 from WoltLab/ajax-invoke-direct

Send HTTP 405 on direct access to an AJAXInvokeAction

3 years agoSend HTTP 405 on direct access to an AJAXInvokeAction
Tim Düsterhus [Fri, 28 May 2021 14:41:49 +0000 (16:41 +0200)]
Send HTTP 405 on direct access to an AJAXInvokeAction

3 years agoUpdate version number in devtools configuration filename to 5.4
Matthias Schmidt [Fri, 28 May 2021 14:09:35 +0000 (16:09 +0200)]
Update version number in devtools configuration filename to 5.4

3 years agoIncrease the default font size and darken the text color a bit
Alexander Ebert [Fri, 28 May 2021 11:43:44 +0000 (13:43 +0200)]
Increase the default font size and darken the text color a bit

3 years agoTitles of MFA methods now link to the management section
Alexander Ebert [Fri, 28 May 2021 11:41:40 +0000 (13:41 +0200)]
Titles of MFA methods now link to the management section

3 years agoExplicit dimensions for language icons
Alexander Ebert [Fri, 28 May 2021 09:45:22 +0000 (11:45 +0200)]
Explicit dimensions for language icons

3 years agoMerge pull request #4242 from WoltLab/fix-setup-layout
Alexander Ebert [Fri, 28 May 2021 09:36:42 +0000 (11:36 +0200)]
Merge pull request #4242 from WoltLab/fix-setup-layout

Fix layout of WCFSetup

3 years agoFix incorrect sized logo
joshuaruesweg [Thu, 27 May 2021 19:28:44 +0000 (21:28 +0200)]
Fix incorrect sized logo

3 years agoFix layout of WCFSetup
joshuaruesweg [Thu, 27 May 2021 17:29:56 +0000 (19:29 +0200)]
Fix layout of WCFSetup

Fixes #4215

3 years agoMerge branch '5.3'
Matthias Schmidt [Thu, 27 May 2021 08:00:32 +0000 (10:00 +0200)]
Merge branch '5.3'

3 years agoFix first custom smiley category not being preloaded
SirWill [Sat, 1 May 2021 18:15:54 +0000 (20:15 +0200)]
Fix first custom smiley category not being preloaded

3 years agoMerge pull request #4240 from WoltLab/pageLogo-stable-name
Joshua Rüsweg [Thu, 27 May 2021 07:23:59 +0000 (09:23 +0200)]
Merge pull request #4240 from WoltLab/pageLogo-stable-name

Do not process the pageLogo in StyleAction::updateVariables() if it is unchanged

3 years agoDo not process the pageLogo in StyleAction::updateVariables() if it is unchanged
Tim Düsterhus [Wed, 26 May 2021 14:48:00 +0000 (16:48 +0200)]
Do not process the pageLogo in StyleAction::updateVariables() if it is unchanged

This change ensures that the filename of the logo remains the same, unless the
file actually is modified.

A fix for this issue was initially attempted in
cc17f302902fb62c78b4411dadc3243913f18c74. However that commit was much more
complex and it introduced additional bugs, because it no longer passed an
explicit `null` for removed files, thus breaking the update of the related
database columns. It was subsequently reverted in
dd7c98858d406f8ca9824770ae8a68edde451493.

3 years agoMerge branch '5.3'
Tim Düsterhus [Wed, 26 May 2021 14:38:37 +0000 (16:38 +0200)]
Merge branch '5.3'

3 years agoReduce size of og images
Marcel Werk [Wed, 26 May 2021 13:55:56 +0000 (15:55 +0200)]
Reduce size of og images

3 years agoMerge pull request #4239 from WoltLab/style-edit-reverts
Marcel Werk [Wed, 26 May 2021 13:45:28 +0000 (15:45 +0200)]
Merge pull request #4239 from WoltLab/style-edit-reverts

Revert broken commits in Style Editor

3 years agoRevert "Prevent rewriting filenames for processed files"
Tim Düsterhus [Wed, 26 May 2021 13:05:20 +0000 (15:05 +0200)]
Revert "Prevent rewriting filenames for processed files"

This change is bogus, because it completely changes StyleAction's API and it
introduces bugs (namely not updating the database). One of these was fixed in
88b962c25b4c2dd0c312c6f7e4c11f15a1263cf4, but other fields are also affected.

As this commit doesn't fix an actual bug, but only a small inelegance (namely
the logo's path changing whenever the style is changed, even if the logo is
unchanged) this can be safely reverted until a proper fix is developed.

This reverts commit cc17f302902fb62c78b4411dadc3243913f18c74.

3 years agoRevert "Fix updating pageLogo in StyleAction"
Tim Düsterhus [Wed, 26 May 2021 13:17:15 +0000 (15:17 +0200)]
Revert "Fix updating pageLogo in StyleAction"

This was a fix for the broken cc17f302902fb62c78b4411dadc3243913f18c74 which
will also be reverted.

This reverts commit 4b2f4354e6fab91ea1d7b38d7009f1f7f990d357.

3 years agoRevert "Only rebuild favicons if there is a new image uploaded"
Tim Düsterhus [Wed, 26 May 2021 13:16:42 +0000 (15:16 +0200)]
Revert "Only rebuild favicons if there is a new image uploaded"

This builds upon the broken cc17f302902fb62c78b4411dadc3243913f18c74 which will
also be reverted.

This reverts commit 9bed2ebfa4e250a00794cdc75755f379dc17a696.

3 years agoRevert "Cover photo deletion was not saved properly"
Tim Düsterhus [Wed, 26 May 2021 13:04:37 +0000 (15:04 +0200)]
Revert "Cover photo deletion was not saved properly"

This was a fix for the broken cc17f302902fb62c78b4411dadc3243913f18c74 which
will also be reverted.

This reverts commit 88b962c25b4c2dd0c312c6f7e4c11f15a1263cf4.

3 years agoFix `@since` tag for StyleAction::updateCustomAssets()
Tim Düsterhus [Wed, 26 May 2021 12:53:20 +0000 (14:53 +0200)]
Fix `@since` tag for StyleAction::updateCustomAssets()

see 908e40a36a87ba7039c067cd8343087d701bef70

3 years agoMerge pull request #4238 from WoltLab/php7.1-compat
Tim Düsterhus [Wed, 26 May 2021 12:52:37 +0000 (14:52 +0200)]
Merge pull request #4238 from WoltLab/php7.1-compat

Remove PHP 7.1 compatibility layer in AvatarUploadFileValidationStrategy

3 years agoTrim trailing whitespace
Tim Düsterhus [Wed, 26 May 2021 12:48:12 +0000 (14:48 +0200)]
Trim trailing whitespace

3 years agoProperly delete all variants of style cover photos
Tim Düsterhus [Wed, 26 May 2021 12:36:45 +0000 (14:36 +0200)]
Properly delete all variants of style cover photos

This needed some workarounds to properly account for the WebP variant.

3 years agoUpdate `$newLocation` after creating the WebP variant of a style's cover photo
Tim Düsterhus [Wed, 26 May 2021 12:35:22 +0000 (14:35 +0200)]
Update `$newLocation` after creating the WebP variant of a style's cover photo

This ensures that the StyleEditForm always uses the non-WebP version for processing.

3 years agoUse the non-WebP version of the cover photo in StyleEditForm
Tim Düsterhus [Wed, 26 May 2021 12:27:33 +0000 (14:27 +0200)]
Use the non-WebP version of the cover photo in StyleEditForm

3 years agoRecognize IMAGETYPE_WEBP in StyleAddForm
Tim Düsterhus [Wed, 26 May 2021 12:10:21 +0000 (14:10 +0200)]
Recognize IMAGETYPE_WEBP in StyleAddForm

3 years agoRemove PHP 7.1 compatibility layer in AvatarUploadFileValidationStrategy
Tim Düsterhus [Wed, 26 May 2021 11:07:18 +0000 (13:07 +0200)]
Remove PHP 7.1 compatibility layer in AvatarUploadFileValidationStrategy

3 years agoFix detection of WebP images in `ImageUtil::createWebpVariant()`
Tim Düsterhus [Wed, 26 May 2021 11:05:54 +0000 (13:05 +0200)]
Fix detection of WebP images in `ImageUtil::createWebpVariant()`

3 years agoFix `$forceWebP` parameter in `UserCoverPhoto::getLocation()` and `::getURL()`
Tim Düsterhus [Wed, 26 May 2021 10:59:18 +0000 (12:59 +0200)]
Fix `$forceWebP` parameter in `UserCoverPhoto::getLocation()` and `::getURL()`

3 years agoAdd missing backslash in `Attribute` attribute for `\wcf\SensitiveArgument`
Tim Düsterhus [Wed, 26 May 2021 10:21:12 +0000 (12:21 +0200)]
Add missing backslash in `Attribute` attribute for `\wcf\SensitiveArgument`

3 years agoUpdate tslib to 2.2.0
Tim Düsterhus [Wed, 26 May 2021 09:27:40 +0000 (11:27 +0200)]
Update tslib to 2.2.0

3 years agoMerge pull request #4236 from WoltLab/user-rebuild-memory-leak
Alexander Ebert [Tue, 25 May 2021 15:37:08 +0000 (17:37 +0200)]
Merge pull request #4236 from WoltLab/user-rebuild-memory-leak

Fetch UserProfiles live to avoid memory leaks through the RuntimeCache on CLI

3 years agoFix code formatting
Matthias Schmidt [Tue, 25 May 2021 09:04:20 +0000 (11:04 +0200)]
Fix code formatting

3 years agoMerge branch '5.3'
Matthias Schmidt [Tue, 25 May 2021 08:57:54 +0000 (10:57 +0200)]
Merge branch '5.3'

3 years agoIgnore disabled smiley categories for WYSIWYG form field
Matthias Schmidt [Tue, 25 May 2021 08:54:31 +0000 (10:54 +0200)]
Ignore disabled smiley categories for WYSIWYG form field

3 years agoFix code formatting
Matthias Schmidt [Tue, 25 May 2021 06:17:30 +0000 (08:17 +0200)]
Fix code formatting

3 years agoMerge branch '5.3'
Matthias Schmidt [Tue, 25 May 2021 06:13:26 +0000 (08:13 +0200)]
Merge branch '5.3'

3 years agoFix media clipboard inserting when having multiple editors
Matthias Schmidt [Tue, 25 May 2021 06:01:52 +0000 (08:01 +0200)]
Fix media clipboard inserting when having multiple editors

Ensure that the clipboard insertion event listener is only added once and that the active media manager is set in the clipboard handler when opening a media manager window.

3 years agoEnsure uniqueness of media insert dialogs when having multiple editors
Matthias Schmidt [Tue, 25 May 2021 05:46:36 +0000 (07:46 +0200)]
Ensure uniqueness of media insert dialogs when having multiple editors

3 years agoFetch UserProfiles live to avoid memory leaks through the RuntimeCache on CLI
Alexander Ebert [Fri, 21 May 2021 15:06:21 +0000 (17:06 +0200)]
Fetch UserProfiles live to avoid memory leaks through the RuntimeCache on CLI

3 years agoMerge pull request #4234 from WoltLab/email-log-discard
Tim Düsterhus [Fri, 21 May 2021 13:57:36 +0000 (15:57 +0200)]
Merge pull request #4234 from WoltLab/email-log-discard

Add 'discarded' status to email log

3 years agoImprove phrasing of message when discarding emails for read notifications
Tim Düsterhus [Fri, 21 May 2021 13:54:46 +0000 (15:54 +0200)]
Improve phrasing of message when discarding emails for read notifications

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
3 years agoMerge pull request #4235 from WoltLab/cover-webp
Tim Düsterhus [Fri, 21 May 2021 13:51:30 +0000 (15:51 +0200)]
Merge pull request #4235 from WoltLab/cover-webp

Check ->coverPhotoHasWebP in UserCoverPhoto::getFilename()

3 years agoCheck ->coverPhotoHasWebP in UserCoverPhoto::getFilename()
Tim Düsterhus [Fri, 21 May 2021 13:46:56 +0000 (15:46 +0200)]
Check ->coverPhotoHasWebP in UserCoverPhoto::getFilename()

3 years agoEvent listeners had been attached repeatedly
Alexander Ebert [Fri, 21 May 2021 13:42:39 +0000 (15:42 +0200)]
Event listeners had been attached repeatedly

3 years agoIncorrect check for ignored mutation events
Alexander Ebert [Fri, 21 May 2021 13:42:07 +0000 (15:42 +0200)]
Incorrect check for ignored mutation events

3 years agoUpdate email log status to discarded when dropping notification mails
Tim Düsterhus [Fri, 21 May 2021 13:18:55 +0000 (15:18 +0200)]
Update email log status to discarded when dropping notification mails

Fixes #4225

3 years agoAdd EmailLogEntry::STATUS_DISCARDED
Tim Düsterhus [Fri, 21 May 2021 12:27:13 +0000 (14:27 +0200)]
Add EmailLogEntry::STATUS_DISCARDED

3 years agoMake EmailDeliveryBackgroundJob::updateStatus() public
Tim Düsterhus [Fri, 21 May 2021 12:23:58 +0000 (14:23 +0200)]
Make EmailDeliveryBackgroundJob::updateStatus() public

3 years agoRelease 5.4.0 Alpha 3 5.4.0_Alpha_3
Alexander Ebert [Thu, 20 May 2021 15:04:39 +0000 (17:04 +0200)]
Release 5.4.0 Alpha 3

3 years agoMerge pull request #4232 from WoltLab/iusermailbox
Tim Düsterhus [Thu, 20 May 2021 13:20:48 +0000 (15:20 +0200)]
Merge pull request #4232 from WoltLab/iusermailbox

Add IUserMailbox interface

3 years agoAdd IUserMailbox interface
Tim Düsterhus [Thu, 20 May 2021 13:10:28 +0000 (15:10 +0200)]
Add IUserMailbox interface

This cleans up the OO design a bit, because consumers may check against the
interface instead of a concrete class. This allows for additional mailboxes
belonging to an user, e.g. for emergency contacts or separate billing
addresses.

3 years agoUpdating minified JavaScript files
WoltLab [Thu, 20 May 2021 12:23:10 +0000 (12:23 +0000)]
Updating minified JavaScript files

3 years agoMerge pull request #4231 from WoltLab/unfurl-user-agent-like
Marcel Werk [Thu, 20 May 2021 12:05:58 +0000 (14:05 +0200)]
Merge pull request #4231 from WoltLab/unfurl-user-agent-like

Add '; like Twitterbot' to URL Unfurling User-Agent

3 years agoImprove phrasing of success state in email log
Tim Düsterhus [Thu, 20 May 2021 09:26:08 +0000 (11:26 +0200)]
Improve phrasing of success state in email log

Resolves #4230

3 years agoAdd '; like Twitterbot' to URL Unfurling User-Agent
Tim Düsterhus [Thu, 20 May 2021 08:46:21 +0000 (10:46 +0200)]
Add '; like Twitterbot' to URL Unfurling User-Agent

3 years agoAllow commas and semicolons in the comment in HttpFactory::getDefaultUserAgent()
Tim Düsterhus [Thu, 20 May 2021 08:39:13 +0000 (10:39 +0200)]
Allow commas and semicolons in the comment in HttpFactory::getDefaultUserAgent()

3 years agoMerge branch '5.3'
Matthias Schmidt [Thu, 20 May 2021 07:45:11 +0000 (09:45 +0200)]
Merge branch '5.3'

3 years agoPreserve deleted filter when using article list pagination in ACP
Matthias Schmidt [Thu, 20 May 2021 07:43:46 +0000 (09:43 +0200)]
Preserve deleted filter when using article list pagination in ACP

3 years agoMerge pull request #4229 from WoltLab/bundle-exclude
Alexander Ebert [Wed, 19 May 2021 16:30:48 +0000 (18:30 +0200)]
Merge pull request #4229 from WoltLab/bundle-exclude

Exclude JS modules from bundles

3 years agoBundle two modules due to external dependency
Alexander Ebert [Wed, 19 May 2021 16:13:46 +0000 (18:13 +0200)]
Bundle two modules due to external dependency

3 years agoSkip the "Add Article" dialog for non authorized users
Alexander Ebert [Wed, 19 May 2021 15:57:49 +0000 (17:57 +0200)]
Skip the "Add Article" dialog for non authorized users

3 years agoShow disabled articles in categorized list
Marcel Werk [Wed, 19 May 2021 15:33:49 +0000 (17:33 +0200)]
Show disabled articles in categorized list

3 years agoMerge branch '5.3'
Marcel Werk [Wed, 19 May 2021 14:57:24 +0000 (16:57 +0200)]
Merge branch '5.3'

3 years agoMerge branch '5.3'
Marcel Werk [Wed, 19 May 2021 14:53:08 +0000 (16:53 +0200)]
Merge branch '5.3'

3 years agoIncorrect badge selector
Marcel Werk [Wed, 19 May 2021 14:49:38 +0000 (16:49 +0200)]
Incorrect badge selector

3 years agoRebuild JS files
Alexander Ebert [Wed, 19 May 2021 14:17:22 +0000 (16:17 +0200)]
Rebuild JS files

3 years agoExclude modules from (some) builds
Alexander Ebert [Wed, 19 May 2021 14:00:43 +0000 (16:00 +0200)]
Exclude modules from (some) builds

3 years agoMerge branch '5.3'
joshuaruesweg [Wed, 19 May 2021 12:31:19 +0000 (14:31 +0200)]
Merge branch '5.3'

3 years agoFix email in Apple Mail with darkmode enabled
joshuaruesweg [Wed, 19 May 2021 12:30:14 +0000 (14:30 +0200)]
Fix email in Apple Mail with darkmode enabled

Fix #4188

3 years agoUse whitespace as the separator after `@woltlabExcludeBundle`
Tim Düsterhus [Wed, 19 May 2021 10:32:05 +0000 (12:32 +0200)]
Use whitespace as the separator after `@woltlabExcludeBundle`

3 years agoMerge pull request #4226 from WoltLab/email-log-filter
Marcel Werk [Wed, 19 May 2021 10:22:58 +0000 (12:22 +0200)]
Merge pull request #4226 from WoltLab/email-log-filter

Add `email` filter to email log

3 years agoExclude `Ui/User/Multifactor/Totp/Qr` from all JS bundles
Tim Düsterhus [Wed, 19 May 2021 10:13:53 +0000 (12:13 +0200)]
Exclude `Ui/User/Multifactor/Totp/Qr` from all JS bundles

3 years agoExclude `Devtools/Style/LiveReload` from all JS bundles
Tim Düsterhus [Wed, 19 May 2021 10:10:48 +0000 (12:10 +0200)]
Exclude `Devtools/Style/LiveReload` from all JS bundles

3 years agoMerge pull request #4228 from WoltLab/js-bundle-optimize
Tim Düsterhus [Wed, 19 May 2021 09:58:02 +0000 (11:58 +0200)]
Merge pull request #4228 from WoltLab/js-bundle-optimize

Support excluding specific modules from bundles

3 years agoSupport excluding specific modules from bundles
Tim Düsterhus [Wed, 19 May 2021 09:46:54 +0000 (11:46 +0200)]
Support excluding specific modules from bundles

3 years agoMake require.build.js more flexible
Tim Düsterhus [Wed, 19 May 2021 09:20:47 +0000 (11:20 +0200)]
Make require.build.js more flexible

3 years agoUpdating minified JavaScript files
WoltLab [Wed, 19 May 2021 09:18:27 +0000 (09:18 +0000)]
Updating minified JavaScript files

3 years agoFix typo in comment in FloodControl.class.php
Tim Düsterhus [Wed, 19 May 2021 08:50:54 +0000 (10:50 +0200)]
Fix typo in comment in FloodControl.class.php

3 years agoStop using `elBySel` in emailLogList.tpl
Tim Düsterhus [Wed, 19 May 2021 07:40:40 +0000 (09:40 +0200)]
Stop using `elBySel` in emailLogList.tpl

3 years agoTrim filter values in EmailLogListPage
Tim Düsterhus [Wed, 19 May 2021 07:41:09 +0000 (09:41 +0200)]
Trim filter values in EmailLogListPage

3 years agoAdd `email` filter to EmailLogList
Tim Düsterhus [Wed, 19 May 2021 07:39:14 +0000 (09:39 +0200)]
Add `email` filter to EmailLogList

Resolves #4224

3 years agoFix code style issue
Matthias Schmidt [Wed, 19 May 2021 05:11:21 +0000 (07:11 +0200)]
Fix code style issue

3 years agoAdd `Database::prepare()` which replaces `app1_` with `app{WCF_N}_` (#4223)
Matthias Schmidt [Wed, 19 May 2021 05:08:01 +0000 (07:08 +0200)]
Add `Database::prepare()` which replaces `app1_` with `app{WCF_N}_` (#4223)

Close #2911