GitHub/WoltLab/WCF.git
4 years agoMerge branch '5.3'
Tim Düsterhus [Thu, 12 Nov 2020 08:57:31 +0000 (09:57 +0100)]
Merge branch '5.3'

4 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

4 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

4 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

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

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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

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

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

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

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

4 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

4 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

4 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

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

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

4 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

4 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

4 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.

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

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

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

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

4 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

4 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>
4 years agoMerge branch '5.3'
Matthias Schmidt [Sat, 7 Nov 2020 09:17:01 +0000 (10:17 +0100)]
Merge branch '5.3'

4 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

4 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

4 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

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

4 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

4 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.

4 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

4 years agoUse constant time encoding / decoding of security critical code (#3699)
Joshua Rüsweg [Fri, 6 Nov 2020 16:00:10 +0000 (17:00 +0100)]
Use constant time encoding / decoding of security critical code (#3699)

* Use `Hex::decode` to convert hex2bin
Previously we used the internal PHP function `hex2bin` which has the problem with cache-timing leaks. The Hex class converts the given string without cache-timing leaks.

* Use `Hex::encode` to convert bin2hex
Previously we used the internal PHP function `bin2hex` which has the problem with cache-timing leaks. The Hex class converts the given string without cache-timing leaks.

4 years agoConvert `Ui/Comment/Response/Edit` to TypeScript
Alexander Ebert [Fri, 6 Nov 2020 15:54:50 +0000 (16:54 +0100)]
Convert `Ui/Comment/Response/Edit` to TypeScript

4 years agoConvert `Ui/Comment/Response/Add` to TypeScript
Alexander Ebert [Fri, 6 Nov 2020 14:52:55 +0000 (15:52 +0100)]
Convert `Ui/Comment/Response/Add` to TypeScript

4 years agoMove types dev dependencies to normal dependencies
Matthias Schmidt [Fri, 6 Nov 2020 14:24:44 +0000 (15:24 +0100)]
Move types dev dependencies to normal dependencies

4 years agoFix storing ids in `Ui/Dialog` elements
Matthias Schmidt [Fri, 6 Nov 2020 13:45:07 +0000 (14:45 +0100)]
Fix storing ids in `Ui/Dialog` elements

See b6b1bdd4461e8a841b3d0aff02043aef5acceb3a

4 years agoConvert `Ui/Comment/Edit` to TypeScript
Alexander Ebert [Fri, 6 Nov 2020 12:35:15 +0000 (13:35 +0100)]
Convert `Ui/Comment/Edit` to TypeScript

4 years agoConvert `Ui/Comment/Add` to TypeScript
Alexander Ebert [Fri, 6 Nov 2020 12:02:10 +0000 (13:02 +0100)]
Convert `Ui/Comment/Add` to TypeScript

4 years agoMerge pull request #3696 from WoltLab/54-typescript-message
Alexander Ebert [Fri, 6 Nov 2020 11:46:53 +0000 (12:46 +0100)]
Merge pull request #3696 from WoltLab/54-typescript-message

Convert message modules to TypeScript

4 years agoOutdated JS files
Alexander Ebert [Fri, 6 Nov 2020 11:28:59 +0000 (12:28 +0100)]
Outdated JS files

4 years agoUse the twitter definitions and cleaned up the code
Alexander Ebert [Fri, 6 Nov 2020 11:24:15 +0000 (12:24 +0100)]
Use the twitter definitions and cleaned up the code

4 years agoAvoid using PasswordUtil
Tim Düsterhus [Fri, 6 Nov 2020 09:04:40 +0000 (10:04 +0100)]
Avoid using PasswordUtil

4 years agoReplace use MathUtil::getRandomValue() by random_int()
Tim Düsterhus [Fri, 6 Nov 2020 08:57:13 +0000 (09:57 +0100)]
Replace use MathUtil::getRandomValue() by random_int()

4 years agoRemove legacy auto login remains from AccountManagementForm
Tim Düsterhus [Fri, 6 Nov 2020 08:49:48 +0000 (09:49 +0100)]
Remove legacy auto login remains from AccountManagementForm

4 years agoUse the native click event if available
Alexander Ebert [Thu, 5 Nov 2020 22:22:43 +0000 (23:22 +0100)]
Use the native click event if available

4 years agoMerge branch '5.3'
Alexander Ebert [Thu, 5 Nov 2020 22:22:06 +0000 (23:22 +0100)]
Merge branch '5.3'

4 years agoConvert `Ui/Message/Replay` to TypeScript
Alexander Ebert [Thu, 5 Nov 2020 22:20:36 +0000 (23:20 +0100)]
Convert `Ui/Message/Replay` to TypeScript

4 years agoMerge branch '5.2' into 5.3
Marcel Werk [Thu, 5 Nov 2020 22:05:51 +0000 (23:05 +0100)]
Merge branch '5.2' into 5.3

4 years agoUse native click event if available
Marcel Werk [Thu, 5 Nov 2020 22:05:15 +0000 (23:05 +0100)]
Use native click event if available

4 years agoConvert `Controller/Captcha` to TypeScript
Alexander Ebert [Thu, 5 Nov 2020 19:05:04 +0000 (20:05 +0100)]
Convert `Controller/Captcha` to TypeScript

This module was intentionally kept as an object instead of simple function exports because of the `delete()` function being a reserved keyword.

4 years agoConvert `Ui/Message/TwitterEmbed` to TypeScript
Alexander Ebert [Thu, 5 Nov 2020 18:44:31 +0000 (19:44 +0100)]
Convert `Ui/Message/TwitterEmbed` to TypeScript

4 years agoReplaced <b> tags with <strong>
Marcel Werk [Thu, 5 Nov 2020 17:21:09 +0000 (18:21 +0100)]
Replaced <b> tags with <strong>

4 years agoConvert `Ui/Message/UserConsent` to TypeScript
Alexander Ebert [Thu, 5 Nov 2020 17:20:09 +0000 (18:20 +0100)]
Convert `Ui/Message/UserConsent` to TypeScript

4 years agoConvert `Ui/Message/Share` to TypeScript
Alexander Ebert [Thu, 5 Nov 2020 17:07:54 +0000 (18:07 +0100)]
Convert `Ui/Message/Share` to TypeScript

4 years agoMerge branch 'master' into 54-typescript-message
Alexander Ebert [Thu, 5 Nov 2020 16:56:51 +0000 (17:56 +0100)]
Merge branch 'master' into 54-typescript-message

4 years agoMerge pull request #3695 from WoltLab/54-typescript-redactor
Alexander Ebert [Thu, 5 Nov 2020 16:34:23 +0000 (17:34 +0100)]
Merge pull request #3695 from WoltLab/54-typescript-redactor

Convert modules for Redactor to TypeScript

4 years agoFilter the keys in `localStorage` before processing them
Alexander Ebert [Thu, 5 Nov 2020 16:27:36 +0000 (17:27 +0100)]
Filter the keys in `localStorage` before processing them

4 years agoSlightly modified the `prism-meta.js` to satisfy Prettier
Alexander Ebert [Thu, 5 Nov 2020 16:26:03 +0000 (17:26 +0100)]
Slightly modified the `prism-meta.js` to satisfy Prettier

4 years agoConvert `Ui/Message/Manager` to TypeScript
Alexander Ebert [Thu, 5 Nov 2020 16:20:27 +0000 (17:20 +0100)]
Convert `Ui/Message/Manager` to TypeScript

4 years agoAdd paragonie/constant_time_encoding composer dependency
Tim Düsterhus [Thu, 5 Nov 2020 10:46:15 +0000 (11:46 +0100)]
Add paragonie/constant_time_encoding composer dependency

4 years agoConvert `Ui/Message/InlineEditor` to TypeScript
Alexander Ebert [Thu, 5 Nov 2020 15:09:06 +0000 (16:09 +0100)]
Convert `Ui/Message/InlineEditor` to TypeScript

4 years agoSimplified code for better readability
Alexander Ebert [Thu, 5 Nov 2020 12:53:29 +0000 (13:53 +0100)]
Simplified code for better readability

4 years agoImproved the code readability
Alexander Ebert [Thu, 5 Nov 2020 10:41:09 +0000 (11:41 +0100)]
Improved the code readability

4 years agoConvert `Ui/Redactor/Table` to TypeScript
Alexander Ebert [Thu, 5 Nov 2020 10:10:25 +0000 (11:10 +0100)]
Convert `Ui/Redactor/Table` to TypeScript

4 years agoConvert `Ui/Redactor/Spoiler` to TypeScript
Alexander Ebert [Thu, 5 Nov 2020 09:50:47 +0000 (10:50 +0100)]
Convert `Ui/Redactor/Spoiler` to TypeScript

4 years agoConvert `Ui/Redactor/Quote` to TypeScript
Alexander Ebert [Wed, 4 Nov 2020 23:48:30 +0000 (00:48 +0100)]
Convert `Ui/Redactor/Quote` to TypeScript

4 years agoConvert `Ui/Redactor/Page` to TypeScript
Alexander Ebert [Wed, 4 Nov 2020 23:20:59 +0000 (00:20 +0100)]
Convert `Ui/Redactor/Page` to TypeScript

4 years agoConvert `Ui/Redactor/Mention` to TypeScript
Alexander Ebert [Wed, 4 Nov 2020 23:17:10 +0000 (00:17 +0100)]
Convert `Ui/Redactor/Mention` to TypeScript

4 years agoConvert `Ui/Redactor/Link` to TypeScript
Alexander Ebert [Wed, 4 Nov 2020 22:14:52 +0000 (23:14 +0100)]
Convert `Ui/Redactor/Link` to TypeScript

4 years agoConvert `Ui/Redactor/Html` to TypeScript
Alexander Ebert [Wed, 4 Nov 2020 19:38:15 +0000 (20:38 +0100)]
Convert `Ui/Redactor/Html` to TypeScript

Heads up! The old JS file did include references to dialogs (if was a shameless copy of `Ui/Redactor/Code`), but that was never implemented. I have removed the reminders and stripped properties/methods that have never been in use.

4 years agoIncorrect handling of the default state of code blocks
Alexander Ebert [Wed, 4 Nov 2020 19:27:26 +0000 (20:27 +0100)]
Incorrect handling of the default state of code blocks

4 years ago`StringUtil` no longer has a circular dependency on `Language`
Alexander Ebert [Wed, 4 Nov 2020 18:13:33 +0000 (19:13 +0100)]
`StringUtil` no longer has a circular dependency on `Language`

4 years agoMake use of the s modifier to parse the highlighter file
Alexander Ebert [Wed, 4 Nov 2020 16:24:55 +0000 (17:24 +0100)]
Make use of the s modifier to parse the highlighter file

4 years agoDelete obsolete `Ui/Poll/Editor` JS file in `ts` directory
Matthias Schmidt [Wed, 4 Nov 2020 15:16:53 +0000 (16:16 +0100)]
Delete obsolete `Ui/Poll/Editor` JS file in `ts` directory

4 years agoConvert `Ui/Poll/Editor` to TypeScript (#3690)
Matthias Schmidt [Wed, 4 Nov 2020 15:15:13 +0000 (16:15 +0100)]
Convert `Ui/Poll/Editor` to TypeScript (#3690)

* Convert `Ui/Poll/Editor` to TypeScript

* Fix eslint issues in `Ui/Poll/Editor`

* Apply changes from code review

* Use prettier on `Ui/Poll/Editor`

* Scope variables in case statements in `Ui/Poll/Editor`

* Fix tsc errors in `Ui/Poll/Editor`

4 years agoConvert `Ui/Redactor/Format` to TypeScript
Alexander Ebert [Wed, 4 Nov 2020 15:04:43 +0000 (16:04 +0100)]
Convert `Ui/Redactor/Format` to TypeScript

4 years agoMake the type-only import explicit in PasswordStrength.ts
Tim Düsterhus [Wed, 4 Nov 2020 13:04:51 +0000 (14:04 +0100)]
Make the type-only import explicit in PasswordStrength.ts

4 years agoMake prism-meta compatible with TypeScript
Tim Düsterhus [Wed, 4 Nov 2020 13:00:36 +0000 (14:00 +0100)]
Make prism-meta compatible with TypeScript

4 years agoExport `Ui/Redactor/DragAndDrop` to TypeScript
Alexander Ebert [Wed, 4 Nov 2020 12:36:22 +0000 (13:36 +0100)]
Export `Ui/Redactor/DragAndDrop` to TypeScript

4 years agoConvert `Ui/Redactor/Code` to TypeScript
Alexander Ebert [Wed, 4 Nov 2020 12:06:47 +0000 (13:06 +0100)]
Convert `Ui/Redactor/Code` to TypeScript

4 years agoIgnore changes to package-lock.json in workflows
Tim Düsterhus [Wed, 4 Nov 2020 10:01:23 +0000 (11:01 +0100)]
Ignore changes to package-lock.json in workflows

4 years agoCommit package-lock.json from npm 7
Tim Düsterhus [Wed, 4 Nov 2020 09:52:05 +0000 (10:52 +0100)]
Commit package-lock.json from npm 7

4 years agoConvert `Ui/Redactor/PseudoHeader` to TypeScript
Alexander Ebert [Wed, 4 Nov 2020 09:42:56 +0000 (10:42 +0100)]
Convert `Ui/Redactor/PseudoHeader` to TypeScript

4 years agoConvert `Ui/Redactor/Autosave` to TypeScript
Alexander Ebert [Tue, 3 Nov 2020 23:44:43 +0000 (00:44 +0100)]
Convert `Ui/Redactor/Autosave` to TypeScript

4 years agoImport typings for jQuery
Alexander Ebert [Tue, 3 Nov 2020 23:44:27 +0000 (00:44 +0100)]
Import typings for jQuery

4 years agoConvert `Ui/Redactor/Metacode` to TypeScript
Alexander Ebert [Tue, 3 Nov 2020 22:32:23 +0000 (23:32 +0100)]
Convert `Ui/Redactor/Metacode` to TypeScript

4 years agoConvert `Ui/Redactor/Article` to TypeScript
Alexander Ebert [Tue, 3 Nov 2020 19:21:12 +0000 (20:21 +0100)]
Convert `Ui/Redactor/Article` to TypeScript

4 years agoUpgrade scssphp/scssphp to v1.3
Alexander Ebert [Tue, 3 Nov 2020 18:45:45 +0000 (19:45 +0100)]
Upgrade scssphp/scssphp to v1.3