GitHub/WoltLab/WCF.git
4 years agoMerge pull request #3791 from WoltLab/form_builder_ts
Matthias Schmidt [Mon, 21 Dec 2020 11:40:08 +0000 (12:40 +0100)]
Merge pull request #3791 from WoltLab/form_builder_ts

Convert form builder JavaScript to TypeScript

4 years agoTypo
Marcel Werk [Mon, 21 Dec 2020 11:28:57 +0000 (12:28 +0100)]
Typo

4 years agoFix typo in de.xml
Tim Düsterhus [Mon, 21 Dec 2020 11:02:19 +0000 (12:02 +0100)]
Fix typo in de.xml

4 years agoUse ->fetchAll() in TotpMultifactorMethod
Tim Düsterhus [Mon, 21 Dec 2020 08:34:27 +0000 (09:34 +0100)]
Use ->fetchAll() in TotpMultifactorMethod

4 years agoDelete update_com.woltlab.wcf_5.3.2_style.php
Tim Düsterhus [Mon, 21 Dec 2020 08:06:07 +0000 (09:06 +0100)]
Delete update_com.woltlab.wcf_5.3.2_style.php

4 years agoFix class names in documentation
Matthias Schmidt [Sun, 20 Dec 2020 10:39:21 +0000 (11:39 +0100)]
Fix class names in documentation

4 years agoFix variable name
Matthias Schmidt [Sun, 20 Dec 2020 10:36:19 +0000 (11:36 +0100)]
Fix variable name

4 years agoFix UserEditor JavaScript call
joshuaruesweg [Sat, 19 Dec 2020 14:30:08 +0000 (15:30 +0100)]
Fix UserEditor JavaScript call

4 years agoRevert "Fix DatabaseTableChangeProcessor::getColumnByName() for WSC < 5.4"
Matthias Schmidt [Fri, 18 Dec 2020 18:36:07 +0000 (19:36 +0100)]
Revert "Fix DatabaseTableChangeProcessor::getColumnByName() for WSC < 5.4"

This reverts commit 7c8a1b332fd09ddb046dccfba9e92c463a18a414.

4 years agoMerge branch '5.3'
Matthias Schmidt [Fri, 18 Dec 2020 18:35:46 +0000 (19:35 +0100)]
Merge branch '5.3'

4 years agoMerge branch '5.2' into 5.3
Matthias Schmidt [Fri, 18 Dec 2020 18:33:51 +0000 (19:33 +0100)]
Merge branch '5.2' into 5.3

4 years agoFix DatabaseTableChangeProcessor::getColumnByName() for WSC < 5.4
Matthias Schmidt [Fri, 18 Dec 2020 18:33:23 +0000 (19:33 +0100)]
Fix DatabaseTableChangeProcessor::getColumnByName() for WSC < 5.4

See #3792

4 years agoFix missing variable error in DatabaseTableChangeProcessor
Matthias Schmidt [Fri, 18 Dec 2020 18:32:51 +0000 (19:32 +0100)]
Fix missing variable error in DatabaseTableChangeProcessor

See #3792

4 years agoFix updating action of foreign key
Matthias Schmidt [Fri, 18 Dec 2020 18:26:29 +0000 (19:26 +0100)]
Fix updating action of foreign key

See c64a33b40a7e601a6005f7ca247f7d2ecb52a393

4 years agoAdd CheckboxFormField (#3812)
Peter Lohse [Fri, 18 Dec 2020 18:17:12 +0000 (19:17 +0100)]
Add CheckboxFormField (#3812)

* added implementation of a checkbox form field for boolen values

* fixed indentation

* added __checkboxFormField to syncTemplates.json

* added missing comma

4 years agoFix eslint issue in `Form/Builder/Field/Dependency/Value`
Matthias Schmidt [Fri, 18 Dec 2020 18:08:56 +0000 (19:08 +0100)]
Fix eslint issue in `Form/Builder/Field/Dependency/Value`

4 years agoConvert `Form/Builder/Field/Dependency/Value` to TypeScript
Matthias Schmidt [Fri, 18 Dec 2020 16:42:29 +0000 (17:42 +0100)]
Convert `Form/Builder/Field/Dependency/Value` to TypeScript

4 years agoRecompile `Form/Builder/Manager` JS file from TS file
Matthias Schmidt [Fri, 18 Dec 2020 16:28:29 +0000 (17:28 +0100)]
Recompile `Form/Builder/Manager` JS file from TS file

4 years agoUse arrow function in form builder manager class
Matthias Schmidt [Fri, 18 Dec 2020 16:20:28 +0000 (17:20 +0100)]
Use arrow function in form builder manager class

Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
4 years agoRTL fix for code boxes
Marcel Werk [Fri, 18 Dec 2020 14:47:22 +0000 (15:47 +0100)]
RTL fix for code boxes

4 years agoMerge pull request #3818 from WoltLab/empty-style-preview
Tim Düsterhus [Fri, 18 Dec 2020 12:53:16 +0000 (13:53 +0100)]
Merge pull request #3818 from WoltLab/empty-style-preview

Fix style previews pointing to the style's asset folder

4 years agoFix style previews pointing to the style's asset folder
Tim Düsterhus [Fri, 18 Dec 2020 12:44:57 +0000 (13:44 +0100)]
Fix style previews pointing to the style's asset folder

update_com.woltlab.wcf_5.3.1_style.php created this situation when the style
did not have a preview image, due to a missing check for a non-empty `image` /
`image2x` property.

4 years agoMerge pull request #3817 from WoltLab/count-category-options
Marcel Werk [Fri, 18 Dec 2020 11:16:38 +0000 (12:16 +0100)]
Merge pull request #3817 from WoltLab/count-category-options

Improved detection of empty option categories

4 years agoFix typo in de.xml
Tim Düsterhus [Fri, 18 Dec 2020 08:44:07 +0000 (09:44 +0100)]
Fix typo in de.xml

4 years agoMerge pull request #3816 from WoltLab/parseSearchQuery
Tim Düsterhus [Fri, 18 Dec 2020 08:17:29 +0000 (09:17 +0100)]
Merge pull request #3816 from WoltLab/parseSearchQuery

Remove AbstractSearchEngine::parseSearchQuery()

4 years agoRemoved obsolete parameter
Marcel Werk [Thu, 17 Dec 2020 18:20:09 +0000 (19:20 +0100)]
Removed obsolete parameter

4 years agoMerge branch '5.3'
Alexander Ebert [Thu, 17 Dec 2020 16:57:56 +0000 (17:57 +0100)]
Merge branch '5.3'

4 years agoPermit the use of `is_null` in templates when running in the enterprise mode
Alexander Ebert [Thu, 17 Dec 2020 16:57:43 +0000 (17:57 +0100)]
Permit the use of `is_null` in templates when running in the enterprise mode

4 years agoImproved detection of empty option categories
Marcel Werk [Thu, 17 Dec 2020 15:20:13 +0000 (16:20 +0100)]
Improved detection of empty option categories

4 years agoRemove AbstractSearchEngine::parseSearchQuery()
Tim Düsterhus [Thu, 17 Dec 2020 08:27:26 +0000 (09:27 +0100)]
Remove AbstractSearchEngine::parseSearchQuery()

Resolves #3815

4 years agoFix typo in de.xml
Tim Düsterhus [Thu, 17 Dec 2020 08:14:29 +0000 (09:14 +0100)]
Fix typo in de.xml

4 years agoApply changes from code review to form builder TypeScript code
Matthias Schmidt [Tue, 15 Dec 2020 17:48:39 +0000 (18:48 +0100)]
Apply changes from code review to form builder TypeScript code

4 years agoMerge pull request #3790 from WoltLab/54-typescript-acp-trophy
Alexander Ebert [Tue, 15 Dec 2020 17:41:56 +0000 (18:41 +0100)]
Merge pull request #3790 from WoltLab/54-typescript-acp-trophy

Convert ACP UI trophy modules to TypeScript

4 years agoMerge pull request #3789 from WoltLab/54-typescript-acp-template
Alexander Ebert [Tue, 15 Dec 2020 17:41:26 +0000 (18:41 +0100)]
Merge pull request #3789 from WoltLab/54-typescript-acp-template

Convert `Acp/Ui/Template/Group/Copy` to TypeScript

4 years agoMerge pull request #3788 from WoltLab/54-typescript-acp-style
Alexander Ebert [Tue, 15 Dec 2020 17:41:02 +0000 (18:41 +0100)]
Merge pull request #3788 from WoltLab/54-typescript-acp-style

Convert `Acp/Ui/Style/Editor` to TypeScript

4 years agoUse `WeakSet` for dependency manager forms
Matthias Schmidt [Tue, 15 Dec 2020 17:40:44 +0000 (18:40 +0100)]
Use `WeakSet` for dependency manager forms

Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
4 years agoMerge pull request #3787 from WoltLab/54-typescript-acp-user
Alexander Ebert [Tue, 15 Dec 2020 17:40:28 +0000 (18:40 +0100)]
Merge pull request #3787 from WoltLab/54-typescript-acp-user

Convert ACP UI user modules to TypeScript

4 years agoFix hiding dependent nodes in form builder forms
Matthias Schmidt [Tue, 15 Dec 2020 17:34:21 +0000 (18:34 +0100)]
Fix hiding dependent nodes in form builder forms

4 years agoMerge pull request #3806 from WoltLab/LanguageItemFormNode
Matthias Schmidt [Tue, 15 Dec 2020 17:26:39 +0000 (18:26 +0100)]
Merge pull request #3806 from WoltLab/LanguageItemFormNode

Add `LanguageItemFormNode`

4 years agoConvert `Form/Builder/Field/Dependency/Manager` to TypeScript
Matthias Schmidt [Sat, 12 Dec 2020 15:13:06 +0000 (16:13 +0100)]
Convert `Form/Builder/Field/Dependency/Manager` to TypeScript

4 years agoConvert `Form/Builder/Field/Dependency/NonEmpty` to TypeScript
Matthias Schmidt [Sat, 12 Dec 2020 15:08:26 +0000 (16:08 +0100)]
Convert `Form/Builder/Field/Dependency/NonEmpty` to TypeScript

4 years agoConvert `Form/Builder/Field/Dependency/IsNotClicked` to TypeScript
Matthias Schmidt [Sat, 12 Dec 2020 15:07:29 +0000 (16:07 +0100)]
Convert `Form/Builder/Field/Dependency/IsNotClicked` to TypeScript

4 years agoConvert `Form/Builder/Field/Dependency/Empty` to TypeScript
Matthias Schmidt [Sat, 12 Dec 2020 15:06:48 +0000 (16:06 +0100)]
Convert `Form/Builder/Field/Dependency/Empty` to TypeScript

4 years agoConvert `Form/Builder/Field/Dependency/Container/TabMenu` to TypeScript
Matthias Schmidt [Sat, 12 Dec 2020 15:04:41 +0000 (16:04 +0100)]
Convert `Form/Builder/Field/Dependency/Container/TabMenu` to TypeScript

4 years agoConvert `Form/Builder/Field/Dependency/Container/Tab` to TypeScript
Matthias Schmidt [Sat, 12 Dec 2020 15:03:48 +0000 (16:03 +0100)]
Convert `Form/Builder/Field/Dependency/Container/Tab` to TypeScript

4 years agoConvert `Form/Builder/Field/Dependency/Container/Default` to TypeScript
Matthias Schmidt [Sat, 12 Dec 2020 15:03:39 +0000 (16:03 +0100)]
Convert `Form/Builder/Field/Dependency/Container/Default` to TypeScript

4 years agoConvert `Form/Builder/Field/Dependency/Container/Abstract` to TypeScript
Matthias Schmidt [Sat, 12 Dec 2020 15:03:25 +0000 (16:03 +0100)]
Convert `Form/Builder/Field/Dependency/Container/Abstract` to TypeScript

4 years agoConvert `Form/Builder/Field/Dependency/Abstract` to TypeScript
Matthias Schmidt [Sat, 12 Dec 2020 15:03:08 +0000 (16:03 +0100)]
Convert `Form/Builder/Field/Dependency/Abstract` to TypeScript

4 years agoConvert `Form/Builder/Container/SuffixFormField` to TypeScript
Matthias Schmidt [Sat, 12 Dec 2020 15:02:49 +0000 (16:02 +0100)]
Convert `Form/Builder/Container/SuffixFormField` to TypeScript

4 years agoConvert `Form/Builder/Field/Wysiwyg/Poll` to TypeScript
Matthias Schmidt [Sat, 12 Dec 2020 14:36:46 +0000 (15:36 +0100)]
Convert `Form/Builder/Field/Wysiwyg/Poll` to TypeScript

4 years agoConvert `Form/Builder/Field/Wysiwyg/Attachment` to TypeScript
Matthias Schmidt [Sat, 12 Dec 2020 14:36:32 +0000 (15:36 +0100)]
Convert `Form/Builder/Field/Wysiwyg/Attachment` to TypeScript

4 years agoConvert `Form/Builder/Field/Language/ContentLanguage` to TypeScript
Matthias Schmidt [Sat, 12 Dec 2020 14:36:03 +0000 (15:36 +0100)]
Convert `Form/Builder/Field/Language/ContentLanguage` to TypeScript

4 years agoConvert `Form/Builder/Field/Controller/Rating` to TypeScript
Matthias Schmidt [Sat, 12 Dec 2020 14:35:48 +0000 (15:35 +0100)]
Convert `Form/Builder/Field/Controller/Rating` to TypeScript

4 years agoConvert `Form/Builder/Field/Controller/Label` to TypeScript
Matthias Schmidt [Sat, 12 Dec 2020 14:35:37 +0000 (15:35 +0100)]
Convert `Form/Builder/Field/Controller/Label` to TypeScript

4 years agoApply changes from review on form builder TypeScript code
Matthias Schmidt [Sat, 12 Dec 2020 14:20:40 +0000 (15:20 +0100)]
Apply changes from review on form builder TypeScript code

4 years agoConvert `Form/Builder/Field/ValueI18n` to TypeScript
Matthias Schmidt [Wed, 9 Dec 2020 16:35:22 +0000 (17:35 +0100)]
Convert `Form/Builder/Field/ValueI18n` to TypeScript

4 years agoConvert `Form/Builder/Field/Value` to TypeScript
Matthias Schmidt [Wed, 9 Dec 2020 16:35:10 +0000 (17:35 +0100)]
Convert `Form/Builder/Field/Value` to TypeScript

4 years agoConvert `Form/Builder/Field/User` to TypeScript
Matthias Schmidt [Wed, 9 Dec 2020 16:35:02 +0000 (17:35 +0100)]
Convert `Form/Builder/Field/User` to TypeScript

4 years agoConvert `Form/Builder/Field/Tag` to TypeScript
Matthias Schmidt [Wed, 9 Dec 2020 16:34:50 +0000 (17:34 +0100)]
Convert `Form/Builder/Field/Tag` to TypeScript

4 years agoConvert `Form/Builder/Field/SimpleAcl` to TypeScript
Matthias Schmidt [Wed, 9 Dec 2020 16:34:41 +0000 (17:34 +0100)]
Convert `Form/Builder/Field/SimpleAcl` to TypeScript

4 years agoConvert `Form/Builder/Field/RadioButton` to TypeScript
Matthias Schmidt [Wed, 9 Dec 2020 16:34:32 +0000 (17:34 +0100)]
Convert `Form/Builder/Field/RadioButton` to TypeScript

4 years agoConvert `Form/Builder/Field/ItemList` to TypeScript
Matthias Schmidt [Wed, 9 Dec 2020 16:34:22 +0000 (17:34 +0100)]
Convert `Form/Builder/Field/ItemList` to TypeScript

4 years agoConvert `Form/Builder/Field/Field` to TypeScript
Matthias Schmidt [Wed, 9 Dec 2020 16:34:00 +0000 (17:34 +0100)]
Convert `Form/Builder/Field/Field` to TypeScript

4 years agoConvert `Form/Builder/Field/Date` to TypeScript
Matthias Schmidt [Wed, 9 Dec 2020 16:33:50 +0000 (17:33 +0100)]
Convert `Form/Builder/Field/Date` to TypeScript

4 years agoConvert `Form/Builder/Field/Checked` to TypeScript
Matthias Schmidt [Wed, 9 Dec 2020 16:33:42 +0000 (17:33 +0100)]
Convert `Form/Builder/Field/Checked` to TypeScript

4 years agoConvert `Form/Builder/Field/Checkboxes` to TypeScript
Matthias Schmidt [Wed, 9 Dec 2020 16:33:30 +0000 (17:33 +0100)]
Convert `Form/Builder/Field/Checkboxes` to TypeScript

4 years agoConvert `Form/Builder/Field/Captcha` to TypeScript
Matthias Schmidt [Wed, 9 Dec 2020 16:33:21 +0000 (17:33 +0100)]
Convert `Form/Builder/Field/Captcha` to TypeScript

4 years agoConvert `Form/Builder/Field/Button` to TypeScript
Matthias Schmidt [Wed, 9 Dec 2020 16:33:12 +0000 (17:33 +0100)]
Convert `Form/Builder/Field/Button` to TypeScript

4 years agoConvert `Form/Builder/Field/Acl` to TypeScript
Matthias Schmidt [Wed, 9 Dec 2020 16:32:58 +0000 (17:32 +0100)]
Convert `Form/Builder/Field/Acl` to TypeScript

4 years agoFix eslint issue in `Form/Builder/Dialog`
Matthias Schmidt [Tue, 8 Dec 2020 17:35:22 +0000 (18:35 +0100)]
Fix eslint issue in `Form/Builder/Dialog`

4 years agoApply code suggestions for form builder TS code
Matthias Schmidt [Tue, 8 Dec 2020 17:21:46 +0000 (18:21 +0100)]
Apply code suggestions for form builder TS code

4 years agoFix some eslint issues in form builder code
Matthias Schmidt [Sun, 6 Dec 2020 13:56:02 +0000 (14:56 +0100)]
Fix some eslint issues in form builder code

4 years agoConvert `Form/Builder/Dialog` to TypeScript
Matthias Schmidt [Sun, 6 Dec 2020 13:42:44 +0000 (14:42 +0100)]
Convert `Form/Builder/Dialog` to TypeScript

4 years agoConvert `Form/Builder/Manager` to TypeScript
Matthias Schmidt [Sun, 6 Dec 2020 13:41:40 +0000 (14:41 +0100)]
Convert `Form/Builder/Manager` to TypeScript

4 years agoMerge branch '5.3'
Matthias Schmidt [Tue, 15 Dec 2020 17:22:32 +0000 (18:22 +0100)]
Merge branch '5.3'

4 years agoMerge branch '5.2' into 5.3
Matthias Schmidt [Tue, 15 Dec 2020 17:19:37 +0000 (18:19 +0100)]
Merge branch '5.2' into 5.3

4 years agoFix hiding/showing tab menu entries due to form builder dependencies
Matthias Schmidt [Tue, 15 Dec 2020 17:19:21 +0000 (18:19 +0100)]
Fix hiding/showing tab menu entries due to form builder dependencies

4 years agoMerge pull request #3809 from WoltLab/access-log
Tim Düsterhus [Tue, 15 Dec 2020 10:47:41 +0000 (11:47 +0100)]
Merge pull request #3809 from WoltLab/access-log

Make the ACP session access log more useful

4 years agoEnsure that the request ID is fully logged in SessionAccessLogListener
Tim Düsterhus [Mon, 14 Dec 2020 16:19:00 +0000 (17:19 +0100)]
Ensure that the request ID is fully logged in SessionAccessLogListener

4 years agoMerge branch '5.3'
Alexander Ebert [Tue, 15 Dec 2020 10:43:02 +0000 (11:43 +0100)]
Merge branch '5.3'

4 years agoMerge pull request #3810 from WoltLab/user-group-option-limited-removal
Alexander Ebert [Tue, 15 Dec 2020 10:42:36 +0000 (11:42 +0100)]
Merge pull request #3810 from WoltLab/user-group-option-limited-removal

Prevent the unintentional removal of values for groups that are not being edited

4 years agoMerge branch '5.3'
Alexander Ebert [Mon, 14 Dec 2020 19:13:50 +0000 (20:13 +0100)]
Merge branch '5.3'

4 years agoMerge branch '5.2' into 5.3
Alexander Ebert [Mon, 14 Dec 2020 19:13:35 +0000 (20:13 +0100)]
Merge branch '5.2' into 5.3

4 years agoExcempt the admin panel from application overrides
Alexander Ebert [Mon, 14 Dec 2020 19:13:04 +0000 (20:13 +0100)]
Excempt the admin panel from application overrides

Fixes #3762

4 years agoPrevent the unintentional removal of values for groups that are not being edited
Alexander Ebert [Mon, 14 Dec 2020 17:44:41 +0000 (18:44 +0100)]
Prevent the unintentional removal of values for groups that are not being edited

4 years agoIncrease `Bcrypt` cost to 12
Tim Düsterhus [Mon, 14 Dec 2020 15:16:09 +0000 (16:16 +0100)]
Increase `Bcrypt` cost to 12

This results in ~333ms per hash on an oldish Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
 any other CPU I tested was faster than that.

4 years agoMerge branch '5.3'
Alexander Ebert [Mon, 14 Dec 2020 13:13:57 +0000 (14:13 +0100)]
Merge branch '5.3'

4 years agoMerge pull request #3807 from WoltLab/imagick-quantize-images
Alexander Ebert [Mon, 14 Dec 2020 13:13:27 +0000 (14:13 +0100)]
Merge pull request #3807 from WoltLab/imagick-quantize-images

Greatly improve the performance of GIF processing with ImageMagick

4 years agoRemoved the legacy workaround for ancient ImageMagick versions
Alexander Ebert [Mon, 14 Dec 2020 12:43:18 +0000 (13:43 +0100)]
Removed the legacy workaround for ancient ImageMagick versions

4 years agoMake the ACP session access log more useful
Tim Düsterhus [Mon, 14 Dec 2020 10:51:24 +0000 (11:51 +0100)]
Make the ACP session access log more useful

This commit intentionally overloads the existing fields to keep the change
simple. The log is not really usuable for programmatic processing, due to the
existing constraints. The cleanest solution probably would be storing all the
loggable information as a JSON blob and then parsing that one when accessing
the log and querying it with MySQL's JSON function. But the latter are not
supported yet.

All in all this change improves the ACP session access log a lot and that is
what counts.

Resolves #3537

4 years agoUse LanguageItemFormNode in MultifactorManageForm
Tim Düsterhus [Mon, 14 Dec 2020 09:48:06 +0000 (10:48 +0100)]
Use LanguageItemFormNode in MultifactorManageForm

4 years agoUse LanguageItemFormNode in MultifactorDisableForm
Tim Düsterhus [Mon, 14 Dec 2020 09:46:31 +0000 (10:46 +0100)]
Use LanguageItemFormNode in MultifactorDisableForm

4 years agoUse LanguageItemFormNode in BackupMultifactorMethod
Tim Düsterhus [Mon, 14 Dec 2020 09:44:16 +0000 (10:44 +0100)]
Use LanguageItemFormNode in BackupMultifactorMethod

4 years agoUse LanguageItemFormNode in EmailMultifactorMethod
Tim Düsterhus [Mon, 14 Dec 2020 09:42:49 +0000 (10:42 +0100)]
Use LanguageItemFormNode in EmailMultifactorMethod

4 years agoFix typo in LanguageItemFormNode
Tim Düsterhus [Mon, 14 Dec 2020 09:39:11 +0000 (10:39 +0100)]
Fix typo in LanguageItemFormNode

4 years agoTypo
Alexander Ebert [Sun, 13 Dec 2020 19:05:13 +0000 (20:05 +0100)]
Typo

4 years agoPrevent the trophy content being squished together
Alexander Ebert [Sat, 12 Dec 2020 18:11:39 +0000 (19:11 +0100)]
Prevent the trophy content being squished together

4 years agoGreatly improve the performance of GIF processing with ImageMagick
Alexander Ebert [Sat, 12 Dec 2020 17:41:36 +0000 (18:41 +0100)]
Greatly improve the performance of GIF processing with ImageMagick

4 years agoAdd `LanguageItemFormNode`
Matthias Schmidt [Sat, 12 Dec 2020 15:25:09 +0000 (16:25 +0100)]
Add `LanguageItemFormNode`

Close #3753

4 years agoMerge branch '5.3'
Matthias Schmidt [Sat, 12 Dec 2020 14:08:25 +0000 (15:08 +0100)]
Merge branch '5.3'