GitHub/WoltLab/WCF.git
3 years agoReject `packageID = -1` in LanguageEditor::updateFromXML()
Tim Düsterhus [Fri, 26 Feb 2021 14:15:25 +0000 (15:15 +0100)]
Reject `packageID = -1` in LanguageEditor::updateFromXML()

3 years agoAdd package selection to LanguageImportForm
Tim Düsterhus [Fri, 26 Feb 2021 14:12:04 +0000 (15:12 +0100)]
Add package selection to LanguageImportForm

Resolves #3976

3 years agoRemove old update scripts during the upgrade to 5.4
Tim Düsterhus [Fri, 26 Feb 2021 13:36:59 +0000 (14:36 +0100)]
Remove old update scripts during the upgrade to 5.4

3 years agoUpdate Google Fonts when upgrading to 5.4
Tim Düsterhus [Fri, 26 Feb 2021 13:32:30 +0000 (14:32 +0100)]
Update Google Fonts when upgrading to 5.4

Resolves #4034

3 years agoUpdate Open Sans
Tim Düsterhus [Fri, 26 Feb 2021 12:56:43 +0000 (13:56 +0100)]
Update Open Sans

3 years agoMerge pull request #4032 from WoltLab/preload-google-font
Tim Düsterhus [Fri, 26 Feb 2021 12:32:54 +0000 (13:32 +0100)]
Merge pull request #4032 from WoltLab/preload-google-font

Support preloading for Google Fonts

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

3 years agoDisable attachment scaling for GIFs
Tim Düsterhus [Fri, 26 Feb 2021 11:01:57 +0000 (12:01 +0100)]
Disable attachment scaling for GIFs

Resolves #4030

3 years agoFix heredoc indentation / codestyle
Tim Düsterhus [Fri, 26 Feb 2021 10:21:52 +0000 (11:21 +0100)]
Fix heredoc indentation / codestyle

3 years agoSupport preloading for Google Fonts
Tim Düsterhus [Fri, 26 Feb 2021 10:14:50 +0000 (11:14 +0100)]
Support preloading for Google Fonts

see #3916
see #4029

3 years agoMerge pull request #4029 from WoltLab/preload
Tim Düsterhus [Fri, 26 Feb 2021 08:06:48 +0000 (09:06 +0100)]
Merge pull request #4029 from WoltLab/preload

Add preloading support to the StyleCompiler

3 years agoPreload the woff2 version of FontAwesome
Tim Düsterhus [Thu, 25 Feb 2021 15:50:15 +0000 (16:50 +0100)]
Preload the woff2 version of FontAwesome

3 years agoAdd preload tags to the generated HTML
Tim Düsterhus [Thu, 25 Feb 2021 15:49:51 +0000 (16:49 +0100)]
Add preload tags to the generated HTML

3 years agoAdd preload support to StyleCompiler
Tim Düsterhus [Thu, 25 Feb 2021 15:49:18 +0000 (16:49 +0100)]
Add preload support to StyleCompiler

3 years agoGenerate uncompressed stylesheet in developer mode
Tim Düsterhus [Thu, 25 Feb 2021 15:46:31 +0000 (16:46 +0100)]
Generate uncompressed stylesheet in developer mode

3 years agoFix indentation for SCSS functions in StyleCompiler
Tim Düsterhus [Thu, 25 Feb 2021 15:46:03 +0000 (16:46 +0100)]
Fix indentation for SCSS functions in StyleCompiler

3 years agoMerge branch 'master' of https://github.com/WoltLab/WCF
Marcel Werk [Thu, 25 Feb 2021 13:02:14 +0000 (14:02 +0100)]
Merge branch 'master' of https://github.com/WoltLab/WCF

3 years agoDefault languages (de/en) can no longer be deleted
Marcel Werk [Thu, 25 Feb 2021 13:02:04 +0000 (14:02 +0100)]
Default languages (de/en) can no longer be deleted

Closes #3969

3 years agoPrint the unix load with 2 decimal digits on ACP IndexPage
Tim Düsterhus [Thu, 25 Feb 2021 13:00:14 +0000 (14:00 +0100)]
Print the unix load with 2 decimal digits on ACP IndexPage

3 years agoMerge pull request #4025 from WoltLab/mail-admin-address-desc
Marcel Werk [Thu, 25 Feb 2021 12:03:34 +0000 (13:03 +0100)]
Merge pull request #4025 from WoltLab/mail-admin-address-desc

Improve the description of the MAIL_ADMIN_ADDRESS

3 years agoMerge pull request #4023 from WoltLab/account-security-full-ua
Tim Düsterhus [Thu, 25 Feb 2021 11:58:03 +0000 (12:58 +0100)]
Merge pull request #4023 from WoltLab/account-security-full-ua

Add `title` attribute to device name in session list

3 years agoImprove the description of the MAIL_ADMIN_ADDRESS
Tim Düsterhus [Thu, 25 Feb 2021 10:47:42 +0000 (11:47 +0100)]
Improve the description of the MAIL_ADMIN_ADDRESS

Resolves #3677

3 years agoMerge pull request #4024 from WoltLab/purchase-search-license
Marcel Werk [Thu, 25 Feb 2021 10:02:56 +0000 (11:02 +0100)]
Merge pull request #4024 from WoltLab/purchase-search-license

Request license information for purchased package search

3 years agoRequest license information for purchased package search
Tim Düsterhus [Thu, 25 Feb 2021 09:44:50 +0000 (10:44 +0100)]
Request license information for purchased package search

Resolves #3910

3 years agoAdd `title` attribute to device name in session list
Tim Düsterhus [Thu, 25 Feb 2021 09:12:24 +0000 (10:12 +0100)]
Add `title` attribute to device name in session list

3 years agoAdd UserAgent::getUserAgent()
Tim Düsterhus [Thu, 25 Feb 2021 09:04:15 +0000 (10:04 +0100)]
Add UserAgent::getUserAgent()

3 years agoMerge branch '5.3'
Alexander Ebert [Wed, 24 Feb 2021 17:22:45 +0000 (18:22 +0100)]
Merge branch '5.3'

3 years agoReset the internal state of the embedded object manager to its previous state (#4021)
Alexander Ebert [Wed, 24 Feb 2021 15:56:30 +0000 (16:56 +0100)]
Reset the internal state of the embedded object manager to its previous state (#4021)

* Reset the internal state of the embedded object manager to its previous state

See #4018

* Isolate the active message for each call

* Typo

* Redundant call to a semi internal API

* Explicit global scope for `array_pop`

3 years agoMerge branch 'email-safe-image'
Tim Düsterhus [Wed, 24 Feb 2021 11:28:33 +0000 (12:28 +0100)]
Merge branch 'email-safe-image'

3 years agoUse ->getSafeImageTag() in emails
Tim Düsterhus [Wed, 24 Feb 2021 11:01:09 +0000 (12:01 +0100)]
Use ->getSafeImageTag() in emails

see #3864

3 years agoMerge pull request #4014 from WoltLab/style-livereload
Tim Düsterhus [Tue, 23 Feb 2021 16:50:29 +0000 (17:50 +0100)]
Merge pull request #4014 from WoltLab/style-livereload

Add live reload to style CSS

3 years agoMerge pull request #4016 from WoltLab/delete-legacy-thumbnails
Tim Düsterhus [Tue, 23 Feb 2021 16:08:11 +0000 (17:08 +0100)]
Merge pull request #4016 from WoltLab/delete-legacy-thumbnails

Delete legacy avatar thumbnails in UserRebuildDataWorker

3 years agoDelete legacy avatar thumbnails in UserRebuildDataWorker
Tim Düsterhus [Tue, 23 Feb 2021 15:53:26 +0000 (16:53 +0100)]
Delete legacy avatar thumbnails in UserRebuildDataWorker

Resolves #4010

3 years agoAdd live reload to style CSS
Tim Düsterhus [Tue, 23 Feb 2021 15:08:38 +0000 (16:08 +0100)]
Add live reload to style CSS

After submitting StyleAddForm or StyleGlobalValuesForm the CSS within the
frontend will be reloaded automatically.

3 years agoAdd missing module comment for Acp/Ui/Maintenance/RebuildData
Tim Düsterhus [Tue, 23 Feb 2021 14:50:10 +0000 (15:50 +0100)]
Add missing module comment for Acp/Ui/Maintenance/RebuildData

see b84cb3855cadd73733cfb7fe2abde6a343a0aeb0

3 years agoMerge pull request #4013 from WoltLab/gdpr-export-permission
Tim Düsterhus [Tue, 23 Feb 2021 14:27:46 +0000 (15:27 +0100)]
Merge pull request #4013 from WoltLab/gdpr-export-permission

Add permission to access the GDPR export

3 years agoMerge branch '5.3'
Tim Düsterhus [Tue, 23 Feb 2021 14:14:32 +0000 (15:14 +0100)]
Merge branch '5.3'

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

3 years agoProperly handle empty logfiles in ExceptionLogUtil::splitLog()
Tim Düsterhus [Tue, 23 Feb 2021 14:11:55 +0000 (15:11 +0100)]
Properly handle empty logfiles in ExceptionLogUtil::splitLog()

3 years agoProperly handle corrupted or huge log files in exception mailer
Tim Düsterhus [Tue, 23 Feb 2021 14:10:22 +0000 (15:10 +0100)]
Properly handle corrupted or huge log files in exception mailer

3 years agoFix German long form of GDPR (“Datenschutz-Grundverordnung”)
Tim Düsterhus [Tue, 23 Feb 2021 13:52:41 +0000 (14:52 +0100)]
Fix German long form of GDPR (“Datenschutz-Grundverordnung”)

3 years agoAdd permission to access the GDPR export
Tim Düsterhus [Tue, 23 Feb 2021 13:49:50 +0000 (14:49 +0100)]
Add permission to access the GDPR export

Resolves #3993

3 years agoMerge pull request #4012 from WoltLab/rebuild-all
Tim Düsterhus [Tue, 23 Feb 2021 11:26:08 +0000 (12:26 +0100)]
Merge pull request #4012 from WoltLab/rebuild-all

Add button to run all rebuildData workers

3 years agoAdd button to run all rebuildData workers
Tim Düsterhus [Tue, 23 Feb 2021 11:15:09 +0000 (12:15 +0100)]
Add button to run all rebuildData workers

Resolves #3974

3 years agoMerge pull request #4009 from WoltLab/check-system-requirements
Tim Düsterhus [Tue, 23 Feb 2021 11:00:52 +0000 (12:00 +0100)]
Merge pull request #4009 from WoltLab/check-system-requirements

Check system requirements before starting the upgrade

3 years agoMerge pull request #4001 from WoltLab/avatars
Alexander Ebert [Tue, 23 Feb 2021 10:53:53 +0000 (11:53 +0100)]
Merge pull request #4001 from WoltLab/avatars

Add interface to request safe avatar formats

3 years agoSimplify object type sorting in RebuildDataPage
Tim Düsterhus [Tue, 23 Feb 2021 10:16:33 +0000 (11:16 +0100)]
Simplify object type sorting in RebuildDataPage

3 years agoRemove database encoding check from RebuildDataPage
Tim Düsterhus [Tue, 23 Feb 2021 10:06:44 +0000 (11:06 +0100)]
Remove database encoding check from RebuildDataPage

see 1238dfad4af8f94ea1c7aad09872fdf3d580cff5
see #3570

3 years agoRace condition when subscribing to the same object in parallel
Alexander Ebert [Tue, 23 Feb 2021 09:27:07 +0000 (10:27 +0100)]
Race condition when subscribing to the same object in parallel

3 years agoCorrectly handle `null` in benchmark parameter insertion
Tim Düsterhus [Tue, 23 Feb 2021 09:26:33 +0000 (10:26 +0100)]
Correctly handle `null` in benchmark parameter insertion

see 048aaf0c318f01d11da4f6b8c01b6fdd1acbcb7a

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

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

3 years agoMerge branch '3.1' into 5.2
Tim Düsterhus [Tue, 23 Feb 2021 08:47:42 +0000 (09:47 +0100)]
Merge branch '3.1' into 5.2

3 years agoMatch all prefixes for store.woltlab.com in PackageAction::validateSearchForPurchased...
Tim Düsterhus [Tue, 23 Feb 2021 08:46:31 +0000 (09:46 +0100)]
Match all prefixes for store.woltlab.com in PackageAction::validateSearchForPurchasedItems()

see #3910

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

3 years agoRemove return types from ContactRecipient for 5.3
Tim Düsterhus [Tue, 23 Feb 2021 08:13:05 +0000 (09:13 +0100)]
Remove return types from ContactRecipient for 5.3

3 years agoGeneric error messages for failed text option validation
Alexander Ebert [Mon, 22 Feb 2021 23:15:17 +0000 (00:15 +0100)]
Generic error messages for failed text option validation

3 years agoUploading too many attachments yields an incorrect error type
Alexander Ebert [Mon, 22 Feb 2021 23:05:56 +0000 (00:05 +0100)]
Uploading too many attachments yields an incorrect error type

3 years agoRestrict the maximum length of menu items
Alexander Ebert [Mon, 22 Feb 2021 23:01:26 +0000 (00:01 +0100)]
Restrict the maximum length of menu items

3 years agoClicking on notifications did not close the user menu overlay
Alexander Ebert [Mon, 22 Feb 2021 22:56:14 +0000 (23:56 +0100)]
Clicking on notifications did not close the user menu overlay

3 years agoMerge branch '5.3'
Alexander Ebert [Mon, 22 Feb 2021 22:42:13 +0000 (23:42 +0100)]
Merge branch '5.3'

3 years agoRemove inaccessible search results
Alexander Ebert [Mon, 22 Feb 2021 22:39:56 +0000 (23:39 +0100)]
Remove inaccessible search results

3 years agoRequesting the preview caused Firefox to submit the form
Alexander Ebert [Mon, 22 Feb 2021 22:23:29 +0000 (23:23 +0100)]
Requesting the preview caused Firefox to submit the form

3 years agoKeyboard support for drop-down menus with deferred initialization
Alexander Ebert [Mon, 22 Feb 2021 16:10:23 +0000 (17:10 +0100)]
Keyboard support for drop-down menus with deferred initialization

Fixes #3704

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 agoDelete .github/typescript-tsc.json
Tim Düsterhus [Mon, 22 Feb 2021 15:33:20 +0000 (16:33 +0100)]
Delete .github/typescript-tsc.json

Obsolete as of actions/setup-node#125

3 years agoImplement ISafeFormatAvatar in DefaultAvatar
Tim Düsterhus [Mon, 22 Feb 2021 12:50:46 +0000 (13:50 +0100)]
Implement ISafeFormatAvatar in DefaultAvatar

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 agoReturn AvatarDecorator in UserProfile::getAvatar()
Tim Düsterhus [Wed, 17 Feb 2021 15:05:54 +0000 (16:05 +0100)]
Return AvatarDecorator in UserProfile::getAvatar()

3 years agoImplement ISafeFormatAvatar in UserAvatar
Tim Düsterhus [Wed, 17 Feb 2021 14:49:39 +0000 (15:49 +0100)]
Implement ISafeFormatAvatar in UserAvatar

3 years agoAdd AvatarDecorator
Tim Düsterhus [Wed, 17 Feb 2021 14:49:23 +0000 (15:49 +0100)]
Add AvatarDecorator

3 years agoAdd ISafeFormatAvatar
Tim Düsterhus [Wed, 17 Feb 2021 14:49:05 +0000 (15:49 +0100)]
Add ISafeFormatAvatar

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.