GitHub/WoltLab/WCF.git
3 years agoMerge branch '5.3'
Matthias Schmidt [Sun, 27 Dec 2020 12:55:58 +0000 (13:55 +0100)]
Merge branch '5.3'

3 years agoMerge branch '5.2' into 5.3
Matthias Schmidt [Sun, 27 Dec 2020 12:55:45 +0000 (13:55 +0100)]
Merge branch '5.2' into 5.3

3 years agoThrow exception for VARBINARY columns without length
Matthias Schmidt [Sun, 27 Dec 2020 12:54:55 +0000 (13:54 +0100)]
Throw exception for VARBINARY columns without length

Close #3827

3 years agoFix comments in `SearchEngineConvertInnoDbWorker`
Matthias Schmidt [Sun, 27 Dec 2020 12:37:58 +0000 (13:37 +0100)]
Fix comments in `SearchEngineConvertInnoDbWorker`

See #3837

3 years agoRemoved the update file for 5.3
Alexander Ebert [Wed, 23 Dec 2020 18:18:16 +0000 (19:18 +0100)]
Removed the update file for 5.3

3 years agoMerge branch '5.3'
Alexander Ebert [Wed, 23 Dec 2020 18:17:42 +0000 (19:17 +0100)]
Merge branch '5.3'

3 years agoMerge pull request #3824 from WoltLab/53-upgrade-preserve-credentials
Alexander Ebert [Wed, 23 Dec 2020 18:16:53 +0000 (19:16 +0100)]
Merge pull request #3824 from WoltLab/53-upgrade-preserve-credentials

Preserve package server credentials during the upgrade from 5.2 to 5.3.

3 years agoMerge branch '5.3'
Alexander Ebert [Wed, 23 Dec 2020 17:31:15 +0000 (18:31 +0100)]
Merge branch '5.3'

3 years agoEnable the media page in offline mode
Alexander Ebert [Wed, 23 Dec 2020 17:30:50 +0000 (18:30 +0100)]
Enable the media page in offline mode

This is consistent with the existing exception from the forced login (`AbstractPage::forceLogin()`).

Fixes #3836

3 years agoPrevent the removal of the package servers for `5.3` to preserve the credentials
Alexander Ebert [Wed, 23 Dec 2020 17:12:16 +0000 (18:12 +0100)]
Prevent the removal of the package servers for `5.3` to preserve the credentials

3 years agoPermit `wsm` to be placed inside `<li>`
Alexander Ebert [Wed, 23 Dec 2020 16:15:43 +0000 (17:15 +0100)]
Permit `wsm` to be placed inside `<li>`

3 years agoMerge pull request #3838 from WoltLab/form_field_attributes
Matthias Schmidt [Wed, 23 Dec 2020 15:26:23 +0000 (16:26 +0100)]
Merge pull request #3838 from WoltLab/form_field_attributes

Support adding attributes to actual form field in form builder

3 years agoRemove obsolete entries in template sync file
Matthias Schmidt [Wed, 23 Dec 2020 15:23:10 +0000 (16:23 +0100)]
Remove obsolete entries in template sync file

3 years agoShow number of styles referencing a template group
Matthias Schmidt [Wed, 23 Dec 2020 15:22:22 +0000 (16:22 +0100)]
Show number of styles referencing a template group

Close #3747

3 years agoUse `size` field attribute in `multifactor\multifactor\CodeFormField`
Matthias Schmidt [Wed, 23 Dec 2020 15:16:24 +0000 (16:16 +0100)]
Use `size` field attribute in `multifactor\multifactor\CodeFormField`

3 years agoUse `size` field attribute in `multifactor\email\CodeFormField`
Matthias Schmidt [Wed, 23 Dec 2020 15:16:16 +0000 (16:16 +0100)]
Use `size` field attribute in `multifactor\email\CodeFormField`

3 years agoUse `size` field attribute in `multifactor\backup\CodeFormField`
Matthias Schmidt [Wed, 23 Dec 2020 15:16:03 +0000 (16:16 +0100)]
Use `size` field attribute in `multifactor\backup\CodeFormField`

3 years agoAdd field attribute support for `TagFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:49:18 +0000 (15:49 +0100)]
Add field attribute support for `TagFormField`

3 years agoAdd field attribute support for `UserPasswordField`
Matthias Schmidt [Wed, 23 Dec 2020 14:46:40 +0000 (15:46 +0100)]
Add field attribute support for `UserPasswordField`

3 years agoAdd field attribute support for `UsernameFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:45:38 +0000 (15:45 +0100)]
Add field attribute support for `UsernameFormField`

3 years agoAdd field attribute support for `WysiwygFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:42:49 +0000 (15:42 +0100)]
Add field attribute support for `WysiwygFormField`

3 years agoAdd field attribute support for `RadioButtonFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:38:07 +0000 (15:38 +0100)]
Add field attribute support for `RadioButtonFormField`

3 years agoAdd field attribute support for `MultipleSelectionFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:36:46 +0000 (15:36 +0100)]
Add field attribute support for `MultipleSelectionFormField`

3 years agoAdd field attribute support for `ItemListFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:33:48 +0000 (15:33 +0100)]
Add field attribute support for `ItemListFormField`

3 years agoAdd field attribute support for `DateFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:32:16 +0000 (15:32 +0100)]
Add field attribute support for `DateFormField`

3 years agoAdd field attribute support for `CheckboxFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:28:22 +0000 (15:28 +0100)]
Add field attribute support for `CheckboxFormField`

3 years agoAdd field attribute support for `BooleanFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:26:58 +0000 (15:26 +0100)]
Add field attribute support for `BooleanFormField`

3 years agoAdd field attribute support for `ButtonFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:22:08 +0000 (15:22 +0100)]
Add field attribute support for `ButtonFormField`

3 years agoAdd field attribute support for `AbstractNumericFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:19:32 +0000 (15:19 +0100)]
Add field attribute support for `AbstractNumericFormField`

3 years agoAdd field attribute support for `MultilineTextFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:17:35 +0000 (15:17 +0100)]
Add field attribute support for `MultilineTextFormField`

3 years agoAdd field attribute support for `EmailFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:15:59 +0000 (15:15 +0100)]
Add field attribute support for `EmailFormField`

3 years agoAdd field attribute support for `TextFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:13:16 +0000 (15:13 +0100)]
Add field attribute support for `TextFormField`

3 years agoAdd `TInputAttributeFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:12:55 +0000 (15:12 +0100)]
Add `TInputAttributeFormField`

3 years agoAdd `TAttributeFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:12:33 +0000 (15:12 +0100)]
Add `TAttributeFormField`

3 years agoAdd `IAttributeFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:12:16 +0000 (15:12 +0100)]
Add `IAttributeFormField`

3 years agoMerge branch 'master' of github.com:WoltLab/WCF
Matthias Schmidt [Wed, 23 Dec 2020 14:23:59 +0000 (15:23 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

3 years agoRemove duplicate interface implementation
Matthias Schmidt [Wed, 23 Dec 2020 14:23:36 +0000 (15:23 +0100)]
Remove duplicate interface implementation

`BooleanFormField` already implements `ICssClassFormField`.

3 years agoMerge pull request #3837 from WoltLab/innodb-search
Tim Düsterhus [Wed, 23 Dec 2020 14:17:53 +0000 (15:17 +0100)]
Merge pull request #3837 from WoltLab/innodb-search

InnoDB Search

3 years agoMerge branch '5.3'
Tim Düsterhus [Wed, 23 Dec 2020 13:12:49 +0000 (14:12 +0100)]
Merge branch '5.3'

3 years agoRemove obsolete imports from RegisterForm
Tim Düsterhus [Wed, 23 Dec 2020 13:12:07 +0000 (14:12 +0100)]
Remove obsolete imports from RegisterForm

3 years agoSet password = null when registering via a 3rdParty provider
Tim Düsterhus [Wed, 23 Dec 2020 13:10:13 +0000 (14:10 +0100)]
Set password = null when registering via a 3rdParty provider

3 years agoAdd SearchEngineConvertInnoDbWorker
Tim Düsterhus [Wed, 23 Dec 2020 12:01:17 +0000 (13:01 +0100)]
Add SearchEngineConvertInnoDbWorker

3 years agoRemoved the extra margin for `<em>`
Alexander Ebert [Wed, 23 Dec 2020 12:00:44 +0000 (13:00 +0100)]
Removed the extra margin for `<em>`

This margin was required in previous versions that used incomplete fonts with lack for true italic versions. All system fonts have support for italic variants and the new WebFont support utilizes fonts with the same capabilities, creating a weird gap after italic words.

3 years agoCheck the search table engines on ACP's IndexPage
Tim Düsterhus [Wed, 23 Dec 2020 11:50:35 +0000 (12:50 +0100)]
Check the search table engines on ACP's IndexPage

see #3404

3 years agoReplace MyISAM with InnoDB in SystemCheck for search engine tables
Tim Düsterhus [Wed, 23 Dec 2020 11:42:50 +0000 (12:42 +0100)]
Replace MyISAM with InnoDB in SystemCheck for search engine tables

see #3404

3 years agoRevert "Remove search table engine check from SystemCheckPage"
Tim Düsterhus [Wed, 23 Dec 2020 11:41:14 +0000 (12:41 +0100)]
Revert "Remove search table engine check from SystemCheckPage"

This reverts commit 8e01769e38ab684406021468679739c8f0e00741.

3 years agoCreate all tables as InnoDB in MySQLDatabaseEditor::createTable()
Tim Düsterhus [Wed, 23 Dec 2020 11:26:44 +0000 (12:26 +0100)]
Create all tables as InnoDB in MySQLDatabaseEditor::createTable()

Resolves #3404.

3 years agoRemove search table engine check from SystemCheckPage
Tim Düsterhus [Wed, 23 Dec 2020 11:25:37 +0000 (12:25 +0100)]
Remove search table engine check from SystemCheckPage

As of c36b70769fd366597d463064b29afc87fb2bcefe both engines are supported just
fine.

This is related to #3404.

3 years agoMerge pull request #3826 from WoltLab/parseSearchQuery
Tim Düsterhus [Wed, 23 Dec 2020 11:16:08 +0000 (12:16 +0100)]
Merge pull request #3826 from WoltLab/parseSearchQuery

Refactor search query parse of MysqlSearchEngine

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

3 years agoDisplay a somewhat meaningful message when the package list inaccessible
Alexander Ebert [Tue, 22 Dec 2020 17:48:21 +0000 (18:48 +0100)]
Display a somewhat meaningful message when the package list inaccessible

3 years agoMerge pull request #3833 from WoltLab/form_builder_pattern
Matthias Schmidt [Tue, 22 Dec 2020 13:50:46 +0000 (14:50 +0100)]
Merge pull request #3833 from WoltLab/form_builder_pattern

Add support for pattern attribute in form builder

3 years agoFix pattern for TOTP/email code form fields
Matthias Schmidt [Tue, 22 Dec 2020 13:49:20 +0000 (14:49 +0100)]
Fix pattern for TOTP/email code form fields

Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
3 years agoMerge branch '5.3'
Matthias Schmidt [Tue, 22 Dec 2020 13:08:21 +0000 (14:08 +0100)]
Merge branch '5.3'

3 years agoMerge branch '5.2' into 5.3
Matthias Schmidt [Tue, 22 Dec 2020 13:08:09 +0000 (14:08 +0100)]
Merge branch '5.2' into 5.3

3 years agoValidate column names in indices when using PHP DB API (#3832)
Matthias Schmidt [Tue, 22 Dec 2020 13:07:39 +0000 (14:07 +0100)]
Validate column names in indices when using PHP DB API (#3832)

Close  #3828

3 years agoAdd pattern support for `multifactor\totp\CodeFormField`
Matthias Schmidt [Tue, 22 Dec 2020 13:05:47 +0000 (14:05 +0100)]
Add pattern support for `multifactor\totp\CodeFormField`

3 years agoAdd pattern support for `multifactor\email\CodeFormField`
Matthias Schmidt [Tue, 22 Dec 2020 13:05:36 +0000 (14:05 +0100)]
Add pattern support for `multifactor\email\CodeFormField`

3 years agoAdd pattern support for `multifactor\backup\CodeFormField`
Matthias Schmidt [Tue, 22 Dec 2020 13:05:24 +0000 (14:05 +0100)]
Add pattern support for `multifactor\backup\CodeFormField`

3 years agoAdd pattern support for `MultilineTextFormField`
Matthias Schmidt [Tue, 22 Dec 2020 13:04:31 +0000 (14:04 +0100)]
Add pattern support for `MultilineTextFormField`

Textareas do not support `pattern` but as `MultilineTextFormField` extends `TextFormField`, pattern support is passed down to `MultilineTextFormField`.

3 years agoAdd pattern support for `EmailFormField`
Matthias Schmidt [Tue, 22 Dec 2020 13:02:19 +0000 (14:02 +0100)]
Add pattern support for `EmailFormField`

3 years agoAdd pattern support for `TextFormField`
Matthias Schmidt [Tue, 22 Dec 2020 13:00:52 +0000 (14:00 +0100)]
Add pattern support for `TextFormField`

3 years agoAdd `TPatternFormField`
Matthias Schmidt [Tue, 22 Dec 2020 13:00:27 +0000 (14:00 +0100)]
Add `TPatternFormField`

3 years agoAdd `IPatternFormField`
Matthias Schmidt [Tue, 22 Dec 2020 12:59:57 +0000 (13:59 +0100)]
Add `IPatternFormField`

3 years agoFix parameter name in `IAutoCompleteFormField`
Matthias Schmidt [Tue, 22 Dec 2020 12:28:11 +0000 (13:28 +0100)]
Fix parameter name in `IAutoCompleteFormField`

3 years agoMerge branch '5.3'
Matthias Schmidt [Tue, 22 Dec 2020 12:20:46 +0000 (13:20 +0100)]
Merge branch '5.3'

3 years agoMerge branch '5.2' into 5.3
Matthias Schmidt [Tue, 22 Dec 2020 12:20:34 +0000 (13:20 +0100)]
Merge branch '5.2' into 5.3

3 years agoFix case of non-existing table in DatabaseTableChangeProcessor::getColumnByName()
Matthias Schmidt [Tue, 22 Dec 2020 12:04:22 +0000 (13:04 +0100)]
Fix case of non-existing table in DatabaseTableChangeProcessor::getColumnByName()

Close #3829

3 years agoMerge branch '5.3'
Matthias Schmidt [Tue, 22 Dec 2020 12:00:13 +0000 (13:00 +0100)]
Merge branch '5.3'

3 years agoMerge branch '5.2' into 5.3
Matthias Schmidt [Tue, 22 Dec 2020 11:59:56 +0000 (12:59 +0100)]
Merge branch '5.2' into 5.3

3 years agoConsider package during event listeners' name validation in PIP GUI
Matthias Schmidt [Tue, 22 Dec 2020 11:59:18 +0000 (12:59 +0100)]
Consider package during event listeners' name validation in PIP GUI

Close #3831

3 years agoMerge pull request #3825 from WoltLab/form_builder_inputmode
Matthias Schmidt [Tue, 22 Dec 2020 11:48:59 +0000 (12:48 +0100)]
Merge pull request #3825 from WoltLab/form_builder_inputmode

Add support for the inputmode attribute in form builder

3 years agoAdd input mode support for `multifactor\totp\CodeFormField`
Matthias Schmidt [Mon, 21 Dec 2020 18:19:39 +0000 (19:19 +0100)]
Add input mode support for `multifactor\totp\CodeFormField`

3 years agoAdd input mode support for `multifactor\email\CodeFormField`
Matthias Schmidt [Mon, 21 Dec 2020 18:19:19 +0000 (19:19 +0100)]
Add input mode support for `multifactor\email\CodeFormField`

3 years agoAdd input mode support for `multifactor\backup\CodeFormField `
Matthias Schmidt [Mon, 21 Dec 2020 18:19:06 +0000 (19:19 +0100)]
Add input mode support for `multifactor\backup\CodeFormField `

3 years agoAdd input mode support for `UrlFormField`
Matthias Schmidt [Mon, 21 Dec 2020 18:18:49 +0000 (19:18 +0100)]
Add input mode support for `UrlFormField`

3 years agoAdd input mode support for `MultilineTextFormField`
Matthias Schmidt [Mon, 21 Dec 2020 18:18:39 +0000 (19:18 +0100)]
Add input mode support for `MultilineTextFormField`

3 years agoAdd input mode support for `TextFormField`
Matthias Schmidt [Mon, 21 Dec 2020 18:18:26 +0000 (19:18 +0100)]
Add input mode support for `TextFormField`

3 years agoAdd input mode support for `EmailFormField`
Matthias Schmidt [Mon, 21 Dec 2020 18:17:34 +0000 (19:17 +0100)]
Add input mode support for `EmailFormField`

3 years agoAdd input mode support for `AbstractNumericFormField`
Matthias Schmidt [Mon, 21 Dec 2020 18:17:20 +0000 (19:17 +0100)]
Add input mode support for `AbstractNumericFormField`

3 years agoAdd `TInputModeFormField`
Matthias Schmidt [Mon, 21 Dec 2020 18:16:55 +0000 (19:16 +0100)]
Add `TInputModeFormField`

3 years agoAdd `IInputModeFormField`
Matthias Schmidt [Mon, 21 Dec 2020 18:16:46 +0000 (19:16 +0100)]
Add `IInputModeFormField`

3 years agoMerge pull request #3819 from WoltLab/form_builder_autocomplete
Matthias Schmidt [Mon, 21 Dec 2020 18:03:49 +0000 (19:03 +0100)]
Merge pull request #3819 from WoltLab/form_builder_autocomplete

Add autocomplete support for form builder fields

3 years agoUnify position of autocomplete attribute position in form field output
Matthias Schmidt [Mon, 21 Dec 2020 17:51:01 +0000 (18:51 +0100)]
Unify position of autocomplete attribute position in form field output

3 years agoAdd autocomplete support for multifactor totp code form field
Matthias Schmidt [Mon, 21 Dec 2020 12:08:01 +0000 (13:08 +0100)]
Add autocomplete support for multifactor totp code form field

3 years agoAdd autocomplete support for multifactor email code form field
Matthias Schmidt [Mon, 21 Dec 2020 12:07:47 +0000 (13:07 +0100)]
Add autocomplete support for multifactor email code form field

3 years agoAdd autocomplete support for multifactor backup code form field
Matthias Schmidt [Mon, 21 Dec 2020 12:07:38 +0000 (13:07 +0100)]
Add autocomplete support for multifactor backup code form field

3 years agoFix method documentation in TAutoCompleteFormField
Matthias Schmidt [Sun, 20 Dec 2020 10:30:32 +0000 (11:30 +0100)]
Fix method documentation in TAutoCompleteFormField

3 years agoAdd autocomplete support for numeric form fields
Matthias Schmidt [Sat, 19 Dec 2020 12:17:18 +0000 (13:17 +0100)]
Add autocomplete support for numeric form fields

3 years agoAdd autocomplete support for email form field
Matthias Schmidt [Sat, 19 Dec 2020 12:17:05 +0000 (13:17 +0100)]
Add autocomplete support for email form field

3 years agoAdd autocomplete support for multiline text form field
Matthias Schmidt [Sat, 19 Dec 2020 12:16:55 +0000 (13:16 +0100)]
Add autocomplete support for multiline text form field

3 years agoAdd autocomplete support for url form field
Matthias Schmidt [Sat, 19 Dec 2020 12:16:44 +0000 (13:16 +0100)]
Add autocomplete support for url form field

3 years agoAdd autocomplete support for username form field
Matthias Schmidt [Sat, 19 Dec 2020 12:16:33 +0000 (13:16 +0100)]
Add autocomplete support for username form field

3 years agoAdd autocomplete support for user password form field
Matthias Schmidt [Sat, 19 Dec 2020 12:16:22 +0000 (13:16 +0100)]
Add autocomplete support for user password form field

3 years agoAdd autocomplete support for text form field
Matthias Schmidt [Sat, 19 Dec 2020 12:16:05 +0000 (13:16 +0100)]
Add autocomplete support for text form field

3 years agoAdd `TTextAutoCompleteFormField`
Matthias Schmidt [Sat, 19 Dec 2020 12:15:15 +0000 (13:15 +0100)]
Add `TTextAutoCompleteFormField`

3 years agoAdd `TAutoCompleteFormField`
Matthias Schmidt [Sat, 19 Dec 2020 12:15:03 +0000 (13:15 +0100)]
Add `TAutoCompleteFormField`

3 years agoAdd `IAutoCompleteFormField`
Matthias Schmidt [Sat, 19 Dec 2020 12:14:54 +0000 (13:14 +0100)]
Add `IAutoCompleteFormField`

3 years agoImproved the scroll behavior on mobile devices
Alexander Ebert [Mon, 21 Dec 2020 17:30:15 +0000 (18:30 +0100)]
Improved the scroll behavior on mobile devices

See 0b65868ad4f61877e21dc069bd7e51f1b3bcac5d

3 years agoMerge branch '5.3'
Alexander Ebert [Mon, 21 Dec 2020 17:29:50 +0000 (18:29 +0100)]
Merge branch '5.3'