GitHub/WoltLab/WCF.git
3 years agoMerge pull request #3738 from WoltLab/emogrifier-4.0
Tim Düsterhus [Mon, 23 Nov 2020 08:10:25 +0000 (09:10 +0100)]
Merge pull request #3738 from WoltLab/emogrifier-4.0

Update to Emogrifier 4.0

3 years agoMerge branch '5.3'
Tim Düsterhus [Fri, 20 Nov 2020 10:23:22 +0000 (11:23 +0100)]
Merge branch '5.3'

- Dropped update_com.woltlab.wcf_5.2.10_orphanedComments.php
- Replaced ts/WoltLabSuite/Core/Acp/Ui/Article/InlineEditor.js with the file
  from 5.3, replacing WCF_CLICK_EVENT with 'click' and regenerated the compiled
  JavaScript.

3 years agoMerge branch '5.2' into 5.3
Tim Düsterhus [Fri, 20 Nov 2020 10:19:32 +0000 (11:19 +0100)]
Merge branch '5.2' into 5.3

3 years agoClean up comments when removing moderation queues (#3740)
Alexander Ebert [Thu, 19 Nov 2020 18:24:52 +0000 (19:24 +0100)]
Clean up comments when removing moderation queues (#3740)

* Delete comments when moderation queues are being removed

See #3707

* Clean-up script for orphaned comments

* Use the `CommentHandler` to remove comments

* Apply suggestions from code review

Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
3 years agoEnabled three column layout for boxes top / bottom
Marcel Werk [Thu, 19 Nov 2020 18:02:23 +0000 (19:02 +0100)]
Enabled three column layout for boxes top / bottom

3 years agoSkip DOM updates when the article is not present
Alexander Ebert [Thu, 19 Nov 2020 15:56:12 +0000 (16:56 +0100)]
Skip DOM updates when the article is not present

3 years agoMerge branch '5.3'
Tim Düsterhus [Thu, 19 Nov 2020 15:24:51 +0000 (16:24 +0100)]
Merge branch '5.3'

- Dropped update_com.woltlab.wcf_5.3_style.php which is not required.
- Replaced ts/WoltLabSuite/Core/Media/Editor.js with the file from 5.3,
  replacing WCF_CLICK_EVENT with 'click' and regenerated the compiled
  JavaScript.

3 years agoMerge pull request #3739 from WoltLab/fix-style-preview
Tim Düsterhus [Thu, 19 Nov 2020 15:17:08 +0000 (16:17 +0100)]
Merge pull request #3739 from WoltLab/fix-style-preview

Fix style preview images when upgrading from 5.2

3 years agoFix style preview images when upgrading from 5.2
Tim Düsterhus [Thu, 19 Nov 2020 15:09:29 +0000 (16:09 +0100)]
Fix style preview images when upgrading from 5.2

3 years agoFixed html in acp search results
Marcel Werk [Thu, 19 Nov 2020 14:27:41 +0000 (15:27 +0100)]
Fixed html in acp search results

3 years agoAdjust RecipientAwareTextMimePart for Emogrifier 4.0
Tim Düsterhus [Thu, 19 Nov 2020 13:30:56 +0000 (14:30 +0100)]
Adjust RecipientAwareTextMimePart for Emogrifier 4.0

3 years agoUpdate pelago/emogrifier to 4.0
Tim Düsterhus [Thu, 19 Nov 2020 13:30:40 +0000 (14:30 +0100)]
Update pelago/emogrifier to 4.0

3 years agoAdd note about the email_html.tpl update to package.xml
Tim Düsterhus [Thu, 19 Nov 2020 13:18:04 +0000 (14:18 +0100)]
Add note about the email_html.tpl update to package.xml

3 years agoMerge branch '5.2' into 5.3
Tim Düsterhus [Thu, 19 Nov 2020 13:13:46 +0000 (14:13 +0100)]
Merge branch '5.2' into 5.3

3 years agoReplace the selector for the font-family in email_html.tpl
Tim Düsterhus [Thu, 19 Nov 2020 13:06:01 +0000 (14:06 +0100)]
Replace the selector for the font-family in email_html.tpl

The Emogrifier version used in 5.2 does not fully support all features
of the `:not()` selector. Depending on the environment the use of
`:not()` results in slightly different output. Specifically the number
of `:not()`s chained there caused the result to have a very large
specificity, possibly overriding the font-size of the headline tags.

Use `body, body *` instead, it will not put any useless CSS onto heading
tags and still catch all relevant elements. The biggest difference is
that the `<br>` tag will carry a `font-family` and `font-size`.

3 years agoMerge branch '5.2' into 5.3
Alexander Ebert [Wed, 18 Nov 2020 19:02:11 +0000 (20:02 +0100)]
Merge branch '5.2' into 5.3

3 years agoMerge branch '3.1' into 5.2
Alexander Ebert [Wed, 18 Nov 2020 19:01:46 +0000 (20:01 +0100)]
Merge branch '3.1' into 5.2

3 years agoMutable variable access inside a callback
Alexander Ebert [Wed, 18 Nov 2020 19:00:04 +0000 (20:00 +0100)]
Mutable variable access inside a callback

3 years agoMerge branch '5.2' into 5.3
Matthias Schmidt [Wed, 18 Nov 2020 16:32:58 +0000 (17:32 +0100)]
Merge branch '5.2' into 5.3

3 years agoMerge branch '3.1' into 5.2
Matthias Schmidt [Wed, 18 Nov 2020 16:32:41 +0000 (17:32 +0100)]
Merge branch '3.1' into 5.2

3 years agoFix ACL buttons when editing media files successively
Matthias Schmidt [Wed, 18 Nov 2020 16:32:21 +0000 (17:32 +0100)]
Fix ACL buttons when editing media files successively

Replaces 3a7740a3704339c79d08fd2f5094fa1a1973318b by backporting and using parts of 6ee58cd2865980cd7fa16a1f3ebc660131fc7fd6.

3 years agoRevert "Fix ACL buttons when editing media files successively"
Matthias Schmidt [Wed, 18 Nov 2020 16:26:26 +0000 (17:26 +0100)]
Revert "Fix ACL buttons when editing media files successively"

This reverts commit 3a7740a3704339c79d08fd2f5094fa1a1973318b.

3 years agoFix ACL buttons when editing media files successively
Matthias Schmidt [Wed, 18 Nov 2020 16:24:30 +0000 (17:24 +0100)]
Fix ACL buttons when editing media files successively

3 years agoMerge branch '5.3'
Matthias Schmidt [Wed, 18 Nov 2020 15:31:03 +0000 (16:31 +0100)]
Merge branch '5.3'

3 years agoMerge branch '5.2' into 5.3
Matthias Schmidt [Wed, 18 Nov 2020 15:28:34 +0000 (16:28 +0100)]
Merge branch '5.2' into 5.3

3 years agoFix file icon update after upload on media list page
Matthias Schmidt [Wed, 18 Nov 2020 15:28:18 +0000 (16:28 +0100)]
Fix file icon update after upload on media list page

3 years agoRemove assignment of $__wscMissingOwnerGroup
Tim Düsterhus [Wed, 18 Nov 2020 15:16:44 +0000 (16:16 +0100)]
Remove assignment of $__wscMissingOwnerGroup

Apparently this was forgotten in #3697.

3 years agoMake WoltLabSuite/Core/List a proper generic class
Tim Düsterhus [Wed, 18 Nov 2020 14:14:59 +0000 (15:14 +0100)]
Make WoltLabSuite/Core/List a proper generic class

3 years agoMerge branch '5.3'
Tim Düsterhus [Wed, 18 Nov 2020 11:43:32 +0000 (12:43 +0100)]
Merge branch '5.3'

Dropped update_com.woltlab.wcf_5.3_fixActivationMethod.php which is not
required.

3 years agoRemove obsolete update_com.woltlab.wcf_5.3_fixActivationMethod.php
Tim Düsterhus [Wed, 18 Nov 2020 11:42:59 +0000 (12:42 +0100)]
Remove obsolete update_com.woltlab.wcf_5.3_fixActivationMethod.php

3 years agoMerge pull request #3727 from WoltLab/favicon-template-typo
Tim Düsterhus [Wed, 18 Nov 2020 08:22:32 +0000 (09:22 +0100)]
Merge pull request #3727 from WoltLab/favicon-template-typo

Fix typo in favicon template filename

3 years agoUpdating minified JavaScript files
WoltLab [Tue, 17 Nov 2020 14:56:24 +0000 (14:56 +0000)]
Updating minified JavaScript files

3 years agoMerge branch '5.3'
Tim Düsterhus [Tue, 17 Nov 2020 14:47:05 +0000 (15:47 +0100)]
Merge branch '5.3'

3 years agoFix typo in favicon template filename
Tim Düsterhus [Tue, 17 Nov 2020 14:25:44 +0000 (15:25 +0100)]
Fix typo in favicon template filename

5.2 used `favicon-template.ext` instead of `favicon.template.ext`.

3 years agoForce the synchronization of the `codeMetaCode` template
Alexander Ebert [Tue, 17 Nov 2020 14:25:36 +0000 (15:25 +0100)]
Force the synchronization of the `codeMetaCode` template

3 years agoPlace the `@charset` at the very beginning of the generated CSS (#3726)
Alexander Ebert [Tue, 17 Nov 2020 14:17:49 +0000 (15:17 +0100)]
Place the `@charset` at the very beginning of the generated CSS (#3726)

* Place the `@charset` at the very beginning of the generated CSS

* Apply suggestions from code review

Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
3 years agoFix wrong user disable/enable label in user profile
joshuaruesweg [Tue, 17 Nov 2020 13:51:28 +0000 (14:51 +0100)]
Fix wrong user disable/enable label in user profile

3 years agoMerge pull request #3724 from WoltLab/upgrade-53-ignore-missing-imagePath
Tim Düsterhus [Tue, 17 Nov 2020 11:30:12 +0000 (12:30 +0100)]
Merge pull request #3724 from WoltLab/upgrade-53-ignore-missing-imagePath

Verify the existence of the old imagePath in update_com.woltlab.wcf_5.3_style.php

3 years agoMerge branch '5.3'
Tim Düsterhus [Tue, 17 Nov 2020 11:11:16 +0000 (12:11 +0100)]
Merge branch '5.3'

3 years agoMerge branch '5.2' into 5.3
Tim Düsterhus [Tue, 17 Nov 2020 11:10:59 +0000 (12:10 +0100)]
Merge branch '5.2' into 5.3

3 years agoEncode HTML special chars in form builder's action
Tim Düsterhus [Tue, 17 Nov 2020 11:10:32 +0000 (12:10 +0100)]
Encode HTML special chars in form builder's action

3 years agoMerge branch '5.3'
Tim Düsterhus [Tue, 17 Nov 2020 09:17:50 +0000 (10:17 +0100)]
Merge branch '5.3'

3 years agoVerify the existence of the old imagePath in update_com.woltlab.wcf_5.3_style.php
Tim Düsterhus [Tue, 17 Nov 2020 09:13:42 +0000 (10:13 +0100)]
Verify the existence of the old imagePath in update_com.woltlab.wcf_5.3_style.php

3 years agoAdded style.xsd
Marcel Werk [Mon, 16 Nov 2020 17:07:14 +0000 (18:07 +0100)]
Added style.xsd

3 years agoMerge pull request #3708 from WoltLab/labeled-url-user-option
Joshua Rüsweg [Sat, 14 Nov 2020 10:32:48 +0000 (11:32 +0100)]
Merge pull request #3708 from WoltLab/labeled-url-user-option

Add labeledUrl user option type

3 years agoAdd labeledUrl user option type
joshuaruesweg [Sun, 8 Nov 2020 11:09:43 +0000 (12:09 +0100)]
Add labeledUrl user option type
Closes #3651

3 years agoMerge branch '5.3'
Alexander Ebert [Fri, 13 Nov 2020 12:55:02 +0000 (13:55 +0100)]
Merge branch '5.3'

3 years agoForce a sane value for `REGISTER_ACTIVATION_METHOD`
Alexander Ebert [Fri, 13 Nov 2020 12:33:17 +0000 (13:33 +0100)]
Force a sane value for `REGISTER_ACTIVATION_METHOD`

Fixes #3723

3 years agoMerge branch '5.2' into 5.3
Alexander Ebert [Thu, 12 Nov 2020 18:16:06 +0000 (19:16 +0100)]
Merge branch '5.2' into 5.3

3 years agoWorkaround for nested paragraphs after pasting in Firefox
Alexander Ebert [Thu, 12 Nov 2020 18:04:01 +0000 (19:04 +0100)]
Workaround for nested paragraphs after pasting in Firefox

3 years agoMerge branch '5.3'
Matthias Schmidt [Thu, 12 Nov 2020 16:30:51 +0000 (17:30 +0100)]
Merge branch '5.3'

3 years agoMerge branch '5.2' into 5.3
Matthias Schmidt [Thu, 12 Nov 2020 16:30:40 +0000 (17:30 +0100)]
Merge branch '5.2' into 5.3

3 years agoDisallow changing time support after setting value in `DateFormField`
Matthias Schmidt [Thu, 12 Nov 2020 16:30:28 +0000 (17:30 +0100)]
Disallow changing time support after setting value in `DateFormField`

3 years agoMerge branch '5.3'
Matthias Schmidt [Thu, 12 Nov 2020 15:08:20 +0000 (16:08 +0100)]
Merge branch '5.3'

3 years agoMerge branch '5.2' into 5.3
Matthias Schmidt [Thu, 12 Nov 2020 15:08:04 +0000 (16:08 +0100)]
Merge branch '5.2' into 5.3

3 years agoDelete FK logs after removing FKs due to column removal
Matthias Schmidt [Thu, 12 Nov 2020 15:07:33 +0000 (16:07 +0100)]
Delete FK logs after removing FKs due to column removal

3 years agoMerge branch '5.3'
Tim Düsterhus [Thu, 12 Nov 2020 08:57:31 +0000 (09:57 +0100)]
Merge branch '5.3'

3 years agoMerge branch '5.2' into 5.3
Tim Düsterhus [Thu, 12 Nov 2020 08:56:26 +0000 (09:56 +0100)]
Merge branch '5.2' into 5.3

3 years agoMerge branch '3.1' into 5.2
Tim Düsterhus [Thu, 12 Nov 2020 08:56:12 +0000 (09:56 +0100)]
Merge branch '3.1' into 5.2

3 years agoActually delete the external_link_rel_nofollow option
Tim Düsterhus [Thu, 12 Nov 2020 08:54:12 +0000 (09:54 +0100)]
Actually delete the external_link_rel_nofollow option

see 533948aa618e967d39449b1ba2f810d9477c719d

3 years agoFix BBCodeHandler::setDisallowedBBCodes(...) PHPDoc (#3722)
Niklas [Thu, 12 Nov 2020 08:16:32 +0000 (09:16 +0100)]
Fix BBCodeHandler::setDisallowedBBCodes(...) PHPDoc (#3722)

3 years agoMerge branch '5.3'
Tim Düsterhus [Thu, 12 Nov 2020 08:15:26 +0000 (09:15 +0100)]
Merge branch '5.3'

3 years agoFix typo in de.xml
Felix | D1strict [Wed, 11 Nov 2020 20:35:39 +0000 (21:35 +0100)]
Fix typo in de.xml

See https://community.woltlab.com/thread/286689-sprachvariable-im-acp-von-option-inhalte-von-externen-anbietern/

Closes #3721

3 years agoUpdate packageSearchResultList.tpl
Sascha Moser [Wed, 11 Nov 2020 18:24:30 +0000 (19:24 +0100)]
Update packageSearchResultList.tpl

Should fix https://community.woltlab.com/thread/286683-paketsuche-zeigt-falschen-string/

Closes #3718
Closes #3719

3 years agoAdd parent for AccountSecurity in page.xml
Tim Düsterhus [Tue, 10 Nov 2020 14:14:20 +0000 (15:14 +0100)]
Add parent for AccountSecurity in page.xml

3 years agoMerge pull request #3685 from WoltLab/jslang 5.3.0
Alexander Ebert [Tue, 10 Nov 2020 13:06:52 +0000 (14:06 +0100)]
Merge pull request #3685 from WoltLab/jslang

Use `jslang` in more places

3 years agoAdd missing import to update_com.woltlab.wcf_5.4_db.php
Tim Düsterhus [Tue, 10 Nov 2020 08:29:25 +0000 (09:29 +0100)]
Add missing import to update_com.woltlab.wcf_5.4_db.php

3 years agoMerge pull request #3709 from WoltLab/54-typescript-i18n
Alexander Ebert [Mon, 9 Nov 2020 18:14:20 +0000 (19:14 +0100)]
Merge pull request #3709 from WoltLab/54-typescript-i18n

Convert i18n modules to TypeScript

3 years agoMerge pull request #3705 from WoltLab/54-typescript-upload
Alexander Ebert [Mon, 9 Nov 2020 18:13:54 +0000 (19:13 +0100)]
Merge pull request #3705 from WoltLab/54-typescript-upload

Convert `Ui/File/Upload` to TypeScript

3 years agoMerge pull request #3706 from WoltLab/54-remove-enquire
Alexander Ebert [Mon, 9 Nov 2020 18:13:16 +0000 (19:13 +0100)]
Merge pull request #3706 from WoltLab/54-remove-enquire

Remove enquire.js

3 years agoRemove extra space after class attribute in form builder containers
Tim Düsterhus [Mon, 9 Nov 2020 16:04:53 +0000 (17:04 +0100)]
Remove extra space after class attribute in form builder containers

3 years agoAdd proper return types to CryptoUtil
Tim Düsterhus [Mon, 9 Nov 2020 13:45:33 +0000 (14:45 +0100)]
Add proper return types to CryptoUtil

3 years agoUse constant time encoding in CryptoUtil
Tim Düsterhus [Mon, 9 Nov 2020 13:43:20 +0000 (14:43 +0100)]
Use constant time encoding in CryptoUtil

3 years agoRelease 5.3.0
Alexander Ebert [Mon, 9 Nov 2020 15:19:30 +0000 (16:19 +0100)]
Release 5.3.0

3 years agoUpdating minified JavaScript files
WoltLab [Mon, 9 Nov 2020 15:16:18 +0000 (15:16 +0000)]
Updating minified JavaScript files

3 years agoFix diff problem matcher
Tim Düsterhus [Mon, 9 Nov 2020 14:24:24 +0000 (15:24 +0100)]
Fix diff problem matcher

3 years agoUse class constant to determine the output class
joshuaruesweg [Mon, 9 Nov 2020 14:00:20 +0000 (15:00 +0100)]
Use class constant to determine the output class

3 years agoMerge branch '5.3'
Matthias Schmidt [Mon, 9 Nov 2020 13:10:31 +0000 (14:10 +0100)]
Merge branch '5.3'

3 years agoMerge branch '5.2' into 5.3
Matthias Schmidt [Mon, 9 Nov 2020 13:08:28 +0000 (14:08 +0100)]
Merge branch '5.2' into 5.3

3 years agoFix deleting obsolete nodes in form builder dependeny manager
Matthias Schmidt [Mon, 9 Nov 2020 13:08:14 +0000 (14:08 +0100)]
Fix deleting obsolete nodes in form builder dependeny manager

3 years agoRemove obsolete code for update from 2.1 to 3.0 (#3710)
Matthias Schmidt [Mon, 9 Nov 2020 12:43:58 +0000 (13:43 +0100)]
Remove obsolete code for update from 2.1 to 3.0 (#3710)

See 96ad3d1dfbda38394a8a31b6fff5839428719106

3 years agoUpdating minified JavaScript files
WoltLab [Mon, 9 Nov 2020 12:41:51 +0000 (12:41 +0000)]
Updating minified JavaScript files

3 years agoFix WCFSetup
Tim Düsterhus [Mon, 9 Nov 2020 12:00:02 +0000 (13:00 +0100)]
Fix WCFSetup

3 years agoMerge branch '5.2' into 5.3
Alexander Ebert [Sun, 8 Nov 2020 18:19:49 +0000 (19:19 +0100)]
Merge branch '5.2' into 5.3

3 years agoMerge branch '3.1' into 5.2
Alexander Ebert [Sun, 8 Nov 2020 18:19:34 +0000 (19:19 +0100)]
Merge branch '3.1' into 5.2

3 years agoObsolete exclusion of the old ACP catpcha
Alexander Ebert [Sun, 8 Nov 2020 18:19:17 +0000 (19:19 +0100)]
Obsolete exclusion of the old ACP catpcha

This route does not exist anymore since WoltLab Suite 3.0.

3 years agoConvert `Language/Text` to TypeScript
Alexander Ebert [Sun, 8 Nov 2020 18:04:00 +0000 (19:04 +0100)]
Convert `Language/Text` to TypeScript

3 years agoConvert `Language/Input` to TypeScript
Alexander Ebert [Sun, 8 Nov 2020 14:04:17 +0000 (15:04 +0100)]
Convert `Language/Input` to TypeScript

3 years agoConvert `Language/Chooser` to TypeScript
Alexander Ebert [Sat, 7 Nov 2020 23:40:23 +0000 (00:40 +0100)]
Convert `Language/Chooser` to TypeScript

3 years agoRemove enquire.js
Alexander Ebert [Sat, 7 Nov 2020 18:57:18 +0000 (19:57 +0100)]
Remove enquire.js

3 years agoConvert `Ui/File/Upload` to TypeScript
Alexander Ebert [Sat, 7 Nov 2020 18:32:48 +0000 (19:32 +0100)]
Convert `Ui/File/Upload` to TypeScript

3 years agoAdd button form field and is not clicked condition
Matthias Schmidt [Sat, 7 Nov 2020 11:53:50 +0000 (12:53 +0100)]
Add button form field and is not clicked condition

* Add button form field

Close #3693

* Add public method to submit `Ui/Dialog`

* Support additional submit buttons in `Form/Builder/Dialog`

* Support `ButtonFormField` in AJAX forms

* Fix identifier of data processor in `ButtonFormField`

* Fix data processor for `ButtonFormField`

* Add condition for form builder buttons not being clicked

* Simplify button form field-related TypeScript code

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
* Add missing semicolon

* Unify condition to checked if form field button has been clicked

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
3 years agoMerge branch '5.3'
Matthias Schmidt [Sat, 7 Nov 2020 09:17:01 +0000 (10:17 +0100)]
Merge branch '5.3'

3 years agoMerge branch '5.2' into 5.3
Matthias Schmidt [Sat, 7 Nov 2020 09:15:35 +0000 (10:15 +0100)]
Merge branch '5.2' into 5.3

3 years agoFix deleting obsolete nodes in form builder dependeny manager
Matthias Schmidt [Sat, 7 Nov 2020 09:15:20 +0000 (10:15 +0100)]
Fix deleting obsolete nodes in form builder dependeny manager

3 years agoMerge pull request #3700 from WoltLab/54-typescript-comment
Alexander Ebert [Fri, 6 Nov 2020 17:13:33 +0000 (18:13 +0100)]
Merge pull request #3700 from WoltLab/54-typescript-comment

Convert the comment (response) modules to TypeScript

3 years agoUse `WeakSet` to track elements
Alexander Ebert [Fri, 6 Nov 2020 16:44:33 +0000 (17:44 +0100)]
Use `WeakSet` to track elements

3 years agoMerge pull request #3697 from WoltLab/promote-owner-remove
Alexander Ebert [Fri, 6 Nov 2020 16:41:36 +0000 (17:41 +0100)]
Merge pull request #3697 from WoltLab/promote-owner-remove

Remove the owner group promotion functionality

3 years agoRemove the owner group promotion functionality
Tim Düsterhus [Fri, 6 Nov 2020 08:45:05 +0000 (09:45 +0100)]
Remove the owner group promotion functionality

By now every instance should have an owner group.

3 years agoFix filenames of 5.3 -> 5.4 update scripts
Tim Düsterhus [Fri, 6 Nov 2020 16:22:07 +0000 (17:22 +0100)]
Fix filenames of 5.3 -> 5.4 update scripts