GitHub/WoltLab/WCF.git
4 years agoRefactor search query parse of MysqlSearchEngine
Tim Düsterhus [Tue, 22 Dec 2020 10:59:00 +0000 (11:59 +0100)]
Refactor search query parse of MysqlSearchEngine

This new parser was written against MySQL's Yacc / Bison grammar and should be
much more robust, because it also understand MySQL's semantics properly.

This new parser consists of two parts:
1. Split the query into separate terms like MySQL would do.
2. Modify these terms to improve the user experience
   (e.g. by adding the asterisk wildcard).

The result of this change should be that the search engine always generates
queries that are compatible with InnoDB based fulltext indices.

This is related to #3404.

4 years agoUse runtime cache instead of `UserProfile::getUserProfile()` (#3688)
Matthias Schmidt [Mon, 21 Dec 2020 12:12:35 +0000 (13:12 +0100)]
Use runtime cache instead of `UserProfile::getUserProfile()` (#3688)

4 years agoMerge pull request #3822 from WoltLab/field_css_class
Matthias Schmidt [Mon, 21 Dec 2020 12:05:55 +0000 (13:05 +0100)]
Merge pull request #3822 from WoltLab/field_css_class

Support adding CSS classes to actual form field in form builder

4 years agoAdd field CSS class support for `multifactor\totp\CodeFormField`
Matthias Schmidt [Mon, 21 Dec 2020 12:01:32 +0000 (13:01 +0100)]
Add field CSS class support for `multifactor\totp\CodeFormField`

4 years agoAdd field CSS class support for `multifactor\email\CodeFormField`
Matthias Schmidt [Mon, 21 Dec 2020 12:01:19 +0000 (13:01 +0100)]
Add field CSS class support for `multifactor\email\CodeFormField`

4 years agoAdd field CSS class support for `multifactor\backup\CodeFormField`
Matthias Schmidt [Mon, 21 Dec 2020 12:01:06 +0000 (13:01 +0100)]
Add field CSS class support for `multifactor\backup\CodeFormField`

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 agoAdd field CSS class support for `AbstractNumericFormField`
Matthias Schmidt [Sun, 20 Dec 2020 09:59:00 +0000 (10:59 +0100)]
Add field CSS class support for `AbstractNumericFormField`

4 years agoAdd field CSS class support for `ItemListFormField`
Matthias Schmidt [Sun, 20 Dec 2020 09:58:19 +0000 (10:58 +0100)]
Add field CSS class support for `ItemListFormField`

4 years agoAdd field CSS class support for `MultipleSelectionFormField`
Matthias Schmidt [Sun, 20 Dec 2020 09:57:38 +0000 (10:57 +0100)]
Add field CSS class support for `MultipleSelectionFormField`

4 years agoAdd field CSS class support for `RadioButtonFormField`
Matthias Schmidt [Sun, 20 Dec 2020 09:56:33 +0000 (10:56 +0100)]
Add field CSS class support for `RadioButtonFormField`

4 years agoAdd field CSS class support for `SingleSelectionFormField`
Matthias Schmidt [Sun, 20 Dec 2020 09:55:40 +0000 (10:55 +0100)]
Add field CSS class support for `SingleSelectionFormField`

4 years agoAdd field CSS class support for `MultilineTextFormField`
Matthias Schmidt [Sun, 20 Dec 2020 09:52:56 +0000 (10:52 +0100)]
Add field CSS class support for `MultilineTextFormField`

4 years agoAdd field CSS class support for `ButtonFormField`
Matthias Schmidt [Sun, 20 Dec 2020 09:52:07 +0000 (10:52 +0100)]
Add field CSS class support for `ButtonFormField`

4 years agoAdd field CSS class support for `CheckboxFormField`
Matthias Schmidt [Sun, 20 Dec 2020 09:51:09 +0000 (10:51 +0100)]
Add field CSS class support for `CheckboxFormField`

4 years agoAdd field CSS class support for `BooleanFormField`
Matthias Schmidt [Sun, 20 Dec 2020 09:49:01 +0000 (10:49 +0100)]
Add field CSS class support for `BooleanFormField`

4 years agoAdd field CSS class support for `EmailFormField`
Matthias Schmidt [Sun, 20 Dec 2020 09:48:03 +0000 (10:48 +0100)]
Add field CSS class support for `EmailFormField`

4 years agoAdd field CSS class support for `DateFormField`
Matthias Schmidt [Sun, 20 Dec 2020 09:47:00 +0000 (10:47 +0100)]
Add field CSS class support for `DateFormField`

4 years agoAdd field CSS class support for `TextFormField`
Matthias Schmidt [Sun, 20 Dec 2020 09:45:30 +0000 (10:45 +0100)]
Add field CSS class support for `TextFormField`

4 years agoAdd `TCssClassFormField`
Matthias Schmidt [Sun, 20 Dec 2020 09:44:51 +0000 (10:44 +0100)]
Add `TCssClassFormField`

4 years agoAdd `ICssClassFormField`
Matthias Schmidt [Sun, 20 Dec 2020 09:43:34 +0000 (10:43 +0100)]
Add `ICssClassFormField`

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'