GitHub/WoltLab/WCF.git
3 years agoCheck system requirements before starting the upgrade
Tim Düsterhus [Mon, 22 Feb 2021 11:27:17 +0000 (12:27 +0100)]
Check system requirements before starting the upgrade

Resolves #4008

3 years agoMerge pull request #4006 from WoltLab/log_sitemaps_file_log
Joshua Rüsweg [Mon, 22 Feb 2021 10:24:42 +0000 (11:24 +0100)]
Merge pull request #4006 from WoltLab/log_sitemaps_file_log

Log sitemap files for packages to delete them on uninstallation

3 years agoKeyboard support for reactions
Alexander Ebert [Mon, 22 Feb 2021 09:55:22 +0000 (10:55 +0100)]
Keyboard support for reactions

Fixes #3703

3 years agoImproved the accessibility for code listings and quotes
Alexander Ebert [Sun, 21 Feb 2021 12:20:04 +0000 (13:20 +0100)]
Improved the accessibility for code listings and quotes

Fixes #3702

3 years agoClear a dialog callback on runtime
Alexander Ebert [Sun, 21 Feb 2021 11:20:48 +0000 (12:20 +0100)]
Clear a dialog callback on runtime

See #3932

3 years agoLog sitemap files for packages to delete them on uninstallation
joshuaruesweg [Sat, 20 Feb 2021 14:51:08 +0000 (15:51 +0100)]
Log sitemap files for packages to delete them on uninstallation

3 years agoClear the abort callback on worker completion
Alexander Ebert [Sun, 21 Feb 2021 11:02:58 +0000 (12:02 +0100)]
Clear the abort callback on worker completion

Fixes #3932

3 years agoMerge pull request #3995 from WoltLab/email-log
Tim Düsterhus [Thu, 18 Feb 2021 15:31:09 +0000 (16:31 +0100)]
Merge pull request #3995 from WoltLab/email-log

Add Email Log

3 years agoUse stable Message-ID in MailWorker
Tim Düsterhus [Mon, 15 Feb 2021 14:04:57 +0000 (15:04 +0100)]
Use stable Message-ID in MailWorker

3 years agoSet fallback Message-ID in UserNotificationHandler::sendInstantMailNotification()
Tim Düsterhus [Mon, 15 Feb 2021 11:32:40 +0000 (12:32 +0100)]
Set fallback Message-ID in UserNotificationHandler::sendInstantMailNotification()

3 years agoSet explicit Message-ID in UserAction::enable()
Tim Düsterhus [Mon, 15 Feb 2021 11:31:11 +0000 (12:31 +0100)]
Set explicit Message-ID in UserAction::enable()

3 years agoSet explicit Message-ID in SendNewPasswordWorker
Tim Düsterhus [Mon, 15 Feb 2021 11:27:17 +0000 (12:27 +0100)]
Set explicit Message-ID in SendNewPasswordWorker

3 years agoSet explicit Message-ID in ExceptionMailerCronjob
Tim Düsterhus [Mon, 15 Feb 2021 11:25:01 +0000 (12:25 +0100)]
Set explicit Message-ID in ExceptionMailerCronjob

3 years agoAdd filter to EmailLogListPage
Tim Düsterhus [Thu, 18 Feb 2021 13:04:18 +0000 (14:04 +0100)]
Add filter to EmailLogListPage

3 years agoShorten the logged email subject to 20 characters
Tim Düsterhus [Thu, 18 Feb 2021 11:44:48 +0000 (12:44 +0100)]
Shorten the logged email subject to 20 characters

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
3 years agoAdd subject to email log
Tim Düsterhus [Mon, 15 Feb 2021 13:58:50 +0000 (14:58 +0100)]
Add subject to email log

3 years agoRemove `final` from private methods in EmailDeliveryBackgroundJob
Tim Düsterhus [Mon, 15 Feb 2021 13:37:44 +0000 (14:37 +0100)]
Remove `final` from private methods in EmailDeliveryBackgroundJob

3 years agoPrune email log entries
Tim Düsterhus [Mon, 15 Feb 2021 13:27:05 +0000 (14:27 +0100)]
Prune email log entries

3 years agoAdd EmailLogListPage
Tim Düsterhus [Mon, 15 Feb 2021 13:21:27 +0000 (14:21 +0100)]
Add EmailLogListPage

3 years agoReturn status message in SmtpEmailTransport::deliver()
Tim Düsterhus [Mon, 15 Feb 2021 11:15:54 +0000 (12:15 +0100)]
Return status message in SmtpEmailTransport::deliver()

3 years agoUpdate the email log entry when delivery succeeds or fails
Tim Düsterhus [Mon, 15 Feb 2021 11:09:16 +0000 (12:09 +0100)]
Update the email log entry when delivery succeeds or fails

3 years agoCreate email log entry when creating a delivery job
Tim Düsterhus [Mon, 15 Feb 2021 10:44:32 +0000 (11:44 +0100)]
Create email log entry when creating a delivery job

3 years agoCall ->onFinalFailure() when encountering a PermanentFailure during email delivery
Tim Düsterhus [Mon, 15 Feb 2021 10:43:16 +0000 (11:43 +0100)]
Call ->onFinalFailure() when encountering a PermanentFailure during email delivery

3 years agoAdd wcf1_email_log_entry
Tim Düsterhus [Mon, 15 Feb 2021 10:15:39 +0000 (11:15 +0100)]
Add wcf1_email_log_entry

3 years agoUse 'php' diff driver for PHP files
Tim Düsterhus [Thu, 18 Feb 2021 13:56:10 +0000 (14:56 +0100)]
Use 'php' diff driver for PHP files

3 years agoMerge pull request #4003 from WoltLab/contact-form-disable-admin
Tim Düsterhus [Thu, 18 Feb 2021 12:38:24 +0000 (13:38 +0100)]
Merge pull request #4003 from WoltLab/contact-form-disable-admin

Allow disabling the admin contact in ContactForm

3 years agoRemove deprecated methods from IUserAvatar interface
Tim Düsterhus [Wed, 17 Feb 2021 14:36:00 +0000 (15:36 +0100)]
Remove deprecated methods from IUserAvatar interface

3 years agoAllow disabling the admin contact in ContactForm
Tim Düsterhus [Thu, 18 Feb 2021 11:23:23 +0000 (12:23 +0100)]
Allow disabling the admin contact in ContactForm

Resolves #3967

3 years agoMerge pull request #4002 from WoltLab/box-content-loading
Tim Düsterhus [Thu, 18 Feb 2021 10:40:24 +0000 (11:40 +0100)]
Merge pull request #4002 from WoltLab/box-content-loading

Preload box content even for system boxes

3 years agoPreload box content even for system boxes
Tim Düsterhus [Thu, 18 Feb 2021 10:30:33 +0000 (11:30 +0100)]
Preload box content even for system boxes

Box::getBoxContentTitle() unconditionally loads the box contents for all box
types, because even system boxes might fall back to the box title that is
configured within the ACP.

This might result on O(n) queries when a page has several system boxes.

Fix this issue by preloading the box contents for all boxes.

3 years agoAdd 'name' to the contact form's `Reply-To` Mailbox
Tim Düsterhus [Thu, 18 Feb 2021 10:14:57 +0000 (11:14 +0100)]
Add 'name' to the contact form's `Reply-To` Mailbox

3 years agoMerge branch '5.3'
Tim Düsterhus [Thu, 18 Feb 2021 10:12:38 +0000 (11:12 +0100)]
Merge branch '5.3'

3 years agoFix use of localized recipient email addresses in contact form
Tim Düsterhus [Thu, 18 Feb 2021 10:08:05 +0000 (11:08 +0100)]
Fix use of localized recipient email addresses in contact form

3 years agoUpdate to setup-node@v2
Tim Düsterhus [Thu, 18 Feb 2021 09:57:55 +0000 (10:57 +0100)]
Update to setup-node@v2

3 years agoMerge pull request #3991 from WoltLab/settings-section-anchors
Tim Düsterhus [Thu, 18 Feb 2021 08:06:42 +0000 (09:06 +0100)]
Merge pull request #3991 from WoltLab/settings-section-anchors

Add anchors to account settings

3 years agoReturn the SystemException's description in extra information only if not empty
Tim Düsterhus [Wed, 17 Feb 2021 10:54:27 +0000 (11:54 +0100)]
Return the SystemException's description in extra information only if not empty

see 72ae641557703c600de12c07a04346ba16001251

3 years agoFix the visual marking of the markAll checkbox for Controller/Clipboard.ts
Tim Düsterhus [Tue, 16 Feb 2021 15:26:35 +0000 (16:26 +0100)]
Fix the visual marking of the markAll checkbox for Controller/Clipboard.ts

During the refactoring to TypeScript it was missed that after matching the
`.columnMark` class another access to `.parentNode` happens:

https://github.com/WoltLab/WCF/blob/6a623551e6d7a08ffdf7a623aa174e644af7a0d5/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Clipboard.js#L691

Fixes #3999

3 years agoFix calling UserAction::update() for 'counters' only
Tim Düsterhus [Tue, 16 Feb 2021 14:11:30 +0000 (15:11 +0100)]
Fix calling UserAction::update() for 'counters' only

This fixes:
> Undefined array key "data"

see 21dd1c3dafe4cfdc31748da4aae3027d63316d70

3 years agoMove `<meta charset="utf-8">` before `<title>` in WCFSetup
Tim Düsterhus [Tue, 16 Feb 2021 13:20:32 +0000 (14:20 +0100)]
Move `<meta charset="utf-8">` before `<title>` in WCFSetup

see #3802

3 years agoMove `<meta charset="utf-8">` before `<title>` in exception handler
Tim Düsterhus [Tue, 16 Feb 2021 13:20:08 +0000 (14:20 +0100)]
Move `<meta charset="utf-8">` before `<title>` in exception handler

see #3802

3 years agoMove `<meta charset="utf-8">` before `<title>` in install.php
Tim Düsterhus [Tue, 16 Feb 2021 13:19:07 +0000 (14:19 +0100)]
Move `<meta charset="utf-8">` before `<title>` in install.php

see #3802

3 years agoMerge branch '5.3'
Tim Düsterhus [Tue, 16 Feb 2021 11:54:29 +0000 (12:54 +0100)]
Merge branch '5.3'

3 years agoMerge branch '5.2' into 5.3
Tim Düsterhus [Tue, 16 Feb 2021 11:40:15 +0000 (12:40 +0100)]
Merge branch '5.2' into 5.3

3 years agoMerge branch '3.1' into 5.2
Tim Düsterhus [Tue, 16 Feb 2021 11:40:03 +0000 (12:40 +0100)]
Merge branch '3.1' into 5.2

3 years agoMerge branch '3.0' into 3.1
Tim Düsterhus [Tue, 16 Feb 2021 11:38:24 +0000 (12:38 +0100)]
Merge branch '3.0' into 3.1

3 years agoMerge pull request #3997 from WoltLab/major-upgrade-no-upload
Tim Düsterhus [Tue, 16 Feb 2021 11:37:59 +0000 (12:37 +0100)]
Merge pull request #3997 from WoltLab/major-upgrade-no-upload

Reject major com.woltlab.wcf upgrades via package upload

3 years agoReject major com.woltlab.wcf upgrades via package upload
Tim Düsterhus [Tue, 16 Feb 2021 11:11:21 +0000 (12:11 +0100)]
Reject major com.woltlab.wcf upgrades via package upload

3 years agoMerge branch 'master' of https://github.com/WoltLab/WCF
Marcel Werk [Tue, 16 Feb 2021 10:51:40 +0000 (11:51 +0100)]
Merge branch 'master' of https://github.com/WoltLab/WCF

3 years agoAdded missing literal tag
Marcel Werk [Tue, 16 Feb 2021 10:51:37 +0000 (11:51 +0100)]
Added missing literal tag

3 years agoFix typo in comment in PackageInstallationConfirmPage
Tim Düsterhus [Tue, 16 Feb 2021 10:20:17 +0000 (11:20 +0100)]
Fix typo in comment in PackageInstallationConfirmPage

3 years agoAdd prefix to accountSecurity / settings section `id`s
Tim Düsterhus [Tue, 16 Feb 2021 09:03:50 +0000 (10:03 +0100)]
Add prefix to accountSecurity / settings section `id`s

3 years agoMerge branch '5.3'
Tim Düsterhus [Tue, 16 Feb 2021 08:29:57 +0000 (09:29 +0100)]
Merge branch '5.3'

3 years agoStream the response in ImageProxyAction
Tim Düsterhus [Tue, 16 Feb 2021 08:23:58 +0000 (09:23 +0100)]
Stream the response in ImageProxyAction

see 5fc80baf9a348a63baaaa6fa150b1732adfc9f3c

3 years agoMerge branch 'master' of github.com:WoltLab/WCF
Tim Düsterhus [Tue, 16 Feb 2021 08:20:54 +0000 (09:20 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

3 years agoMerge branch '5.3'
Tim Düsterhus [Tue, 16 Feb 2021 08:20:38 +0000 (09:20 +0100)]
Merge branch '5.3'

3 years agoMerge branch '5.2' into 5.3
Tim Düsterhus [Tue, 16 Feb 2021 08:18:58 +0000 (09:18 +0100)]
Merge branch '5.2' into 5.3

3 years agoFixes twitch clips which contain a dash char
Sir-Will [Mon, 15 Feb 2021 18:48:20 +0000 (19:48 +0100)]
Fixes twitch clips which contain a dash char

Twitch clips can contain a dash (´-`).
Example: https://clips.twitch.tv/NeighborlyManlyBaconMikeHogu-_9zfXbRK47vik1WO

Resolves #3996

3 years agoThe mail notification type was unselectable
Alexander Ebert [Mon, 15 Feb 2021 19:05:54 +0000 (20:05 +0100)]
The mail notification type was unselectable

3 years agoMerge pull request #3994 from WoltLab/simplify-notification-phrases
Alexander Ebert [Sun, 14 Feb 2021 16:11:32 +0000 (17:11 +0100)]
Merge pull request #3994 from WoltLab/simplify-notification-phrases

Simplify phrases for notifications

3 years agoUpdated privacy policy regarding profile information of third-party logins
Marcel Werk [Sun, 14 Feb 2021 12:58:08 +0000 (13:58 +0100)]
Updated privacy policy regarding profile information of third-party logins

Closes #3925

3 years agoMerge branch '5.2' into 5.3
joshuaruesweg [Sun, 14 Feb 2021 12:37:54 +0000 (13:37 +0100)]
Merge branch '5.2' into 5.3

3 years agoFix deleting an empty list of objects
joshuaruesweg [Sun, 14 Feb 2021 12:35:03 +0000 (13:35 +0100)]
Fix deleting an empty list of objects

It can happen that content that was previously counted no longer exists and therefore fewer runs are required than initially assumed. This can happen if, for example, a user's posts and threads are deleted and the user has only written posts in his or her own threads (the posts are then deleted along with the threads). This may have led to errors before because an empty list of objects was passed.

3 years agoAdjusted/unified html attributes for avatars
Marcel Werk [Sun, 14 Feb 2021 12:29:58 +0000 (13:29 +0100)]
Adjusted/unified html attributes for avatars

3 years agoUse guest support of UserFunctionTemplatePlugin
Marcel Werk [Sun, 14 Feb 2021 11:44:39 +0000 (12:44 +0100)]
Use guest support of UserFunctionTemplatePlugin

See #3989

3 years agoSimplify phrases for notifications
Marcel Werk [Sat, 13 Feb 2021 20:36:58 +0000 (21:36 +0100)]
Simplify phrases for notifications

See #3958

3 years agoMerge branch '5.3'
Tim Düsterhus [Fri, 12 Feb 2021 15:39:16 +0000 (16:39 +0100)]
Merge branch '5.3'

3 years agoMerge pull request #3992 from WoltLab/export-mail-address-permission
Tim Düsterhus [Fri, 12 Feb 2021 14:55:58 +0000 (15:55 +0100)]
Merge pull request #3992 from WoltLab/export-mail-address-permission

Bind exportMailAddress bulk process to `canEditMailAddress` instead of `canMailUser`

3 years agoBind exportMailAddress bulk process to `canEditMailAddress` instead of `canMailUser`
Tim Düsterhus [Fri, 12 Feb 2021 14:46:44 +0000 (15:46 +0100)]
Bind exportMailAddress bulk process to `canEditMailAddress` instead of `canMailUser`

Unfortunately the `permissions` form a logical disjunction, not a conjunction,
thus we can't check both permissions. The `canEditMailAddress` is more fitting,
because even without `canMailUser` the admin could simply look up all users
manually if they are allowed to edit (and thus see) mail addresses. It's just a
larger effort.

Resolves #3963

3 years agoMake SystemException implement IExtraInformationException
Tim Düsterhus [Fri, 12 Feb 2021 13:59:02 +0000 (14:59 +0100)]
Make SystemException implement IExtraInformationException

This allows logging the `$description`.

Resolves #3944

3 years agoMake use of anchors when linking to AccountSecurityPage
Tim Düsterhus [Fri, 12 Feb 2021 13:42:08 +0000 (14:42 +0100)]
Make use of anchors when linking to AccountSecurityPage

3 years agoAdd `id`s to sections in AccountSecurityPage
Tim Düsterhus [Fri, 12 Feb 2021 13:37:11 +0000 (14:37 +0100)]
Add `id`s to sections in AccountSecurityPage

3 years agoAdd `id`s to sections in SettingsForm
Tim Düsterhus [Fri, 12 Feb 2021 13:36:32 +0000 (14:36 +0100)]
Add `id`s to sections in SettingsForm

Resolves #3972

3 years agoMerge pull request #3990 from WoltLab/guest-user-function-template-plugin
Marcel Werk [Fri, 12 Feb 2021 12:51:09 +0000 (13:51 +0100)]
Merge pull request #3990 from WoltLab/guest-user-function-template-plugin

Support guest users in UserFunctionTemplatePlugin

3 years agoMerge pull request #3987 from WoltLab/visit-tracker-after-registration
Tim Düsterhus [Fri, 12 Feb 2021 12:47:29 +0000 (13:47 +0100)]
Merge pull request #3987 from WoltLab/visit-tracker-after-registration

Mark contents created before user registration as read

3 years agoMerge pull request #3986 from WoltLab/wcfsetup-all-languages
Tim Düsterhus [Fri, 12 Feb 2021 12:46:49 +0000 (13:46 +0100)]
Merge pull request #3986 from WoltLab/wcfsetup-all-languages

Remove language selection from WCFSetup

3 years agoSupport guest users in UserFunctionTemplatePlugin
Marcel Werk [Fri, 12 Feb 2021 12:35:03 +0000 (13:35 +0100)]
Support guest users in UserFunctionTemplatePlugin

Closes #3989

3 years agoMark contents created before user registration as read
Tim Düsterhus [Fri, 12 Feb 2021 10:50:14 +0000 (11:50 +0100)]
Mark contents created before user registration as read

Resolves #3971

3 years agoRemove language selection from WCFSetup
Tim Düsterhus [Fri, 12 Feb 2021 09:57:39 +0000 (10:57 +0100)]
Remove language selection from WCFSetup

see #3969

3 years agoMerge pull request #3962 from WoltLab/devtools-efficient-scan
Tim Düsterhus [Fri, 12 Feb 2021 09:48:37 +0000 (10:48 +0100)]
Merge pull request #3962 from WoltLab/devtools-efficient-scan

Make DevtoolsPackageArchive::openArchive() more efficient

3 years agoAdd return types to anonymous functions
Tim Düsterhus [Fri, 12 Feb 2021 09:38:34 +0000 (10:38 +0100)]
Add return types to anonymous functions

3 years agoMerge branch '5.3'
Tim Düsterhus [Thu, 11 Feb 2021 16:00:05 +0000 (17:00 +0100)]
Merge branch '5.3'

3 years agoDeprecate wcf\system\exception\HTTP*Exception
Tim Düsterhus [Thu, 11 Feb 2021 15:57:19 +0000 (16:57 +0100)]
Deprecate wcf\system\exception\HTTP*Exception

see 5ff8745012d43b1bcdc5df3c74a19532379d182f
see 33893f8e7201269f326117c3b1eed1af31106c06

3 years agoDeprecate \wcf\util\exception\HTTPException
Tim Düsterhus [Thu, 11 Feb 2021 15:55:15 +0000 (16:55 +0100)]
Deprecate \wcf\util\exception\HTTPException

see 5ff8745012d43b1bcdc5df3c74a19532379d182f

3 years agoDeprecated classes and methods related to the master password
Tim Düsterhus [Thu, 11 Feb 2021 15:47:32 +0000 (16:47 +0100)]
Deprecated classes and methods related to the master password

see #3698

3 years agoRemove unused imports
Tim Düsterhus [Thu, 11 Feb 2021 15:43:54 +0000 (16:43 +0100)]
Remove unused imports

3 years agoUse HttpFactory::makeClientWithTimeout()
Tim Düsterhus [Thu, 11 Feb 2021 14:43:56 +0000 (15:43 +0100)]
Use HttpFactory::makeClientWithTimeout()

3 years agoAdd HttpFactory::makeClientWithTimeout()
Tim Düsterhus [Thu, 11 Feb 2021 14:40:43 +0000 (15:40 +0100)]
Add HttpFactory::makeClientWithTimeout()

3 years agoUse proper return types in HttpFactory
Tim Düsterhus [Thu, 11 Feb 2021 14:37:18 +0000 (15:37 +0100)]
Use proper return types in HttpFactory

3 years agoUse Guzzle's RequestOptions constants
Tim Düsterhus [Thu, 11 Feb 2021 14:30:04 +0000 (15:30 +0100)]
Use Guzzle's RequestOptions constants

These allow one to easily view the option's description within the IDE.

3 years agoReplace GuzzleException by ClientExceptionInterface
Tim Düsterhus [Thu, 11 Feb 2021 11:46:54 +0000 (12:46 +0100)]
Replace GuzzleException by ClientExceptionInterface

ClientExceptionInterface is the standardized Exception and thus preferable.
GuzzleException extends that interface.

3 years agoMake DevtoolsPackageArchive::openArchive() more efficient
Tim Düsterhus [Thu, 11 Feb 2021 11:10:49 +0000 (12:10 +0100)]
Make DevtoolsPackageArchive::openArchive() more efficient

Resolves #3830

3 years agoMerge branch '5.3'
Tim Düsterhus [Thu, 11 Feb 2021 08:58:46 +0000 (09:58 +0100)]
Merge branch '5.3'

3 years agoMerge branch '5.2' into 5.3
Marcel Werk [Thu, 11 Feb 2021 08:52:51 +0000 (09:52 +0100)]
Merge branch '5.2' into 5.3

3 years agoAdditional template event in articleAdd template
Marcel Werk [Thu, 11 Feb 2021 08:52:33 +0000 (09:52 +0100)]
Additional template event in articleAdd template

3 years agoAdd `RewriteEngine On` to generated Apache mod_rewrite rules
Tim Düsterhus [Wed, 10 Feb 2021 15:28:47 +0000 (16:28 +0100)]
Add `RewriteEngine On` to generated Apache mod_rewrite rules

Resolves #3930

3 years agoUse unicode escape for bullets in BackupMultifactorMethod
Tim Düsterhus [Wed, 10 Feb 2021 10:12:52 +0000 (11:12 +0100)]
Use unicode escape for bullets in BackupMultifactorMethod

3 years agoDelete unused require.build-acp.js
Tim Düsterhus [Tue, 9 Feb 2021 11:31:21 +0000 (12:31 +0100)]
Delete unused require.build-acp.js

3 years agoSet optimize to 'none' for r.js
Tim Düsterhus [Tue, 9 Feb 2021 11:27:44 +0000 (12:27 +0100)]
Set optimize to 'none' for r.js

This was forgotten to commit while adjusting extra/*.

see e9fa719f372fb3aeb2fa1c1579699164f2ca7fe6
see #3952

3 years agoExplicitly load tslib
Tim Düsterhus [Tue, 9 Feb 2021 11:21:53 +0000 (12:21 +0100)]
Explicitly load tslib

This should resolve #3951, because this performs a blocking load.

3 years agoMerge pull request #3952 from WoltLab/jsmin-ts
Tim Düsterhus [Tue, 9 Feb 2021 08:38:11 +0000 (09:38 +0100)]
Merge pull request #3952 from WoltLab/jsmin-ts

Make extra/* compatible with TypeScript / ES 6