Tim Düsterhus [Tue, 5 Jan 2021 13:15:10 +0000 (14:15 +0100)]
Add prism-meta compatibility wrapper
Tim Düsterhus [Tue, 5 Jan 2021 12:36:39 +0000 (13:36 +0100)]
Mark Template.grammar.js as linguist-generated
Alexander Ebert [Tue, 5 Jan 2021 12:20:23 +0000 (13:20 +0100)]
Merge pull request #3846 from WoltLab/54-typescript
Convert a large amount of missing modules to TypeScript
Tim Düsterhus [Mon, 4 Jan 2021 16:19:44 +0000 (17:19 +0100)]
Merge pull request #3847 from WoltLab/smart-by-tag
Automatically infer the return type of Dom/Traverse#child(ren)?ByTag
Tim Düsterhus [Mon, 4 Jan 2021 16:12:33 +0000 (17:12 +0100)]
Automatically infer the return type of Dom/Traverse#child(ren)?ByTag
Tim Düsterhus [Mon, 4 Jan 2021 16:12:08 +0000 (17:12 +0100)]
Update to TypeScript 4.1
Alexander Ebert [Mon, 4 Jan 2021 16:11:56 +0000 (17:11 +0100)]
Improved the code style
The `break` in `Popover.ts` uses braces for all cases for consistency with the `State.None` case that introduces local variables.
Matthias Schmidt [Mon, 4 Jan 2021 12:21:46 +0000 (13:21 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF
Matthias Schmidt [Mon, 4 Jan 2021 12:21:42 +0000 (13:21 +0100)]
Fix documentation issues
Tim Düsterhus [Mon, 4 Jan 2021 11:36:18 +0000 (12:36 +0100)]
Add .gitattributes to mark JavaScript generated from TypeScript as linguist-generated
Matthias Schmidt [Sun, 3 Jan 2021 16:23:28 +0000 (17:23 +0100)]
Merge branch '5.3'
Matthias Schmidt [Sun, 3 Jan 2021 16:23:09 +0000 (17:23 +0100)]
Hide article-related notification events if articles are disabled
Matthias Schmidt [Sun, 3 Jan 2021 16:20:22 +0000 (17:20 +0100)]
Merge branch '5.2' into 5.3
Matthias Schmidt [Sun, 3 Jan 2021 16:20:06 +0000 (17:20 +0100)]
Hide article-related notification events if articles are disabled
Close #3845
Matthias Schmidt [Sun, 3 Jan 2021 16:08:47 +0000 (17:08 +0100)]
Only show label groups available in category on CategoryArticleListPage
Close #3701
Alexander Ebert [Sun, 3 Jan 2021 15:58:21 +0000 (16:58 +0100)]
The callbacks for `Ui/Screen.on()` are optional
Alexander Ebert [Sun, 3 Jan 2021 15:48:17 +0000 (16:48 +0100)]
Replaced the outdated `jQuery.browser.mobile`
The detection is now based on the `Environment` module to provide a consistent behavior.
Alexander Ebert [Sun, 3 Jan 2021 15:45:15 +0000 (16:45 +0100)]
Merge branch 'master' into 54-typescript
Alexander Ebert [Sun, 3 Jan 2021 15:44:18 +0000 (16:44 +0100)]
Removed the polyfill for smooth scrolling
All modern browsers natively support this already.
Alexander Ebert [Sun, 3 Jan 2021 15:44:01 +0000 (16:44 +0100)]
Removed the `document.registerElement()` polyfill
The polyfill was introduced in 2015 to support mentiones through a custom element (see
b4346e66b2f179e2f2ee5eb8db529475f7ec992e), but eventually was never used. `document.registerElement` is deprecated in browser anyway and should not be used.
Matthias Schmidt [Sun, 3 Jan 2021 15:24:18 +0000 (16:24 +0100)]
Fix inserting newly creating list in `Ui/Search/Input`
Matthias Schmidt [Sun, 3 Jan 2021 14:41:14 +0000 (15:41 +0100)]
Fix mark all-checkbox being temporarily checked after checking individual checkbox
Alexander Ebert [Sun, 3 Jan 2021 14:41:10 +0000 (15:41 +0100)]
Convert `Acp/Ui/Devtools/Project/Installation/Confirmation` to TypeScript
Alexander Ebert [Sun, 3 Jan 2021 12:58:27 +0000 (13:58 +0100)]
Convert `Acp/Ui/Devtools/Project/Pip/Entry/List` to TypeScript
Alexander Ebert [Sun, 3 Jan 2021 12:09:14 +0000 (13:09 +0100)]
Convert `Acp/Ui/Devtools/Project/QuickSetup` to TypeScript
Alexander Ebert [Sun, 3 Jan 2021 11:46:49 +0000 (12:46 +0100)]
Convert `Acp/Ui/Devtools/Project/Sync` to TypeScript
Alexander Ebert [Sat, 2 Jan 2021 15:36:11 +0000 (16:36 +0100)]
Convert `Acp/Ui/CodeMirror/Page`
Alexander Ebert [Sat, 2 Jan 2021 15:26:42 +0000 (16:26 +0100)]
Convert `Acp/Ui/Devtools/Notification/Test` to TypeScript
Alexander Ebert [Sat, 2 Jan 2021 14:30:17 +0000 (15:30 +0100)]
Convert `Bbcode/Spoiler` to TypeScript
joshuaruesweg [Sat, 2 Jan 2021 14:16:12 +0000 (15:16 +0100)]
Merge branch '5.3'
Peter Lohse [Sat, 2 Jan 2021 13:37:43 +0000 (14:37 +0100)]
Fix missing informal language variable
Closes #3843
Peter Lohse [Sat, 2 Jan 2021 13:37:43 +0000 (14:37 +0100)]
Fix missing informal language variable
Closes #3843
Alexander Ebert [Sat, 2 Jan 2021 13:16:01 +0000 (14:16 +0100)]
Convert `Bbcode/Collapsible` to TypeScript
Matthias Schmidt [Sat, 2 Jan 2021 13:11:00 +0000 (14:11 +0100)]
Re-create elements in `Upload._createButton()`
The logic relies on these elements being recreated as it was done before the conversion to TypeScript.
See
2c22735da3519b9786ae141d072cbf9adee2a72c
Alexander Ebert [Sat, 2 Jan 2021 13:03:45 +0000 (14:03 +0100)]
Convert `Controller/Condition/Page/Dependence`
Alexander Ebert [Sat, 2 Jan 2021 12:47:39 +0000 (13:47 +0100)]
Convert `Controller/Map/Route/Planner` to TypeScript
Alexander Ebert [Sat, 2 Jan 2021 11:52:05 +0000 (12:52 +0100)]
Convert `Controller/Notice/Dismiss` to TypeScript
Alexander Ebert [Sat, 2 Jan 2021 11:47:40 +0000 (12:47 +0100)]
Convert `Controller/User/Notification/Settings` to TypeScript
Alexander Ebert [Sat, 2 Jan 2021 11:14:15 +0000 (12:14 +0100)]
Convert `Acp/Bootstrap` to TypeScript
Alexander Ebert [Sat, 2 Jan 2021 11:10:28 +0000 (12:10 +0100)]
Convert `BootstrapFrontend` to TypeScript
Joshua Rüsweg [Fri, 1 Jan 2021 16:26:57 +0000 (17:26 +0100)]
Merge pull request #3842 from WoltLab/fix-upload-form-field-js
Fix JS for upload form fields
Alexander Ebert [Fri, 1 Jan 2021 15:08:05 +0000 (16:08 +0100)]
Convert `Controller/Popover` to TypeScript
joshuaruesweg [Fri, 1 Jan 2021 12:16:27 +0000 (13:16 +0100)]
Fix JS for upload form fields
Alexander Ebert [Fri, 1 Jan 2021 12:25:29 +0000 (13:25 +0100)]
Convert `Controller/Style/Changer` to TypeScript
Alexander Ebert [Fri, 1 Jan 2021 12:15:33 +0000 (13:15 +0100)]
Moved the call to `favico.js` into `WCF.User.js`
Alexander Ebert [Fri, 1 Jan 2021 11:45:43 +0000 (12:45 +0100)]
Convert `Bootstrap` to TypeScript
Alexander Ebert [Thu, 31 Dec 2020 13:04:39 +0000 (14:04 +0100)]
Merge branch '5.3'
Alexander Ebert [Thu, 31 Dec 2020 12:43:19 +0000 (13:43 +0100)]
Prevent sentences in the search result list from being "glued" together
Alexander Ebert [Tue, 29 Dec 2020 11:26:24 +0000 (12:26 +0100)]
Merge branch '5.3'
Alexander Ebert [Mon, 28 Dec 2020 19:08:32 +0000 (20:08 +0100)]
Properly remove formatting in nested elements
Matthias Schmidt [Mon, 28 Dec 2020 15:30:18 +0000 (16:30 +0100)]
Merge branch '5.3'
Matthias Schmidt [Mon, 28 Dec 2020 15:30:06 +0000 (16:30 +0100)]
Merge branch '5.2' into 5.3
Matthias Schmidt [Mon, 28 Dec 2020 15:29:17 +0000 (16:29 +0100)]
Fix validation of required single media form fields
Matthias Schmidt [Sun, 27 Dec 2020 13:13:56 +0000 (14:13 +0100)]
Merge branch '5.3'
Matthias Schmidt [Sun, 27 Dec 2020 13:12:50 +0000 (14:12 +0100)]
Merge branch '5.2' into 5.3
Matthias Schmidt [Sun, 27 Dec 2020 13:11:32 +0000 (14:11 +0100)]
Improve readability of form field template code
Matthias Schmidt [Sun, 27 Dec 2020 13:10:31 +0000 (14:10 +0100)]
Fix validation of form builder node attributes
Close #3827
Matthias Schmidt [Sun, 27 Dec 2020 12:55:58 +0000 (13:55 +0100)]
Merge branch '5.3'
Matthias Schmidt [Sun, 27 Dec 2020 12:55:45 +0000 (13:55 +0100)]
Merge branch '5.2' into 5.3
Matthias Schmidt [Sun, 27 Dec 2020 12:54:55 +0000 (13:54 +0100)]
Throw exception for VARBINARY columns without length
Close #3827
Matthias Schmidt [Sun, 27 Dec 2020 12:37:58 +0000 (13:37 +0100)]
Fix comments in `SearchEngineConvertInnoDbWorker`
See #3837
Alexander Ebert [Wed, 23 Dec 2020 18:18:16 +0000 (19:18 +0100)]
Removed the update file for 5.3
Alexander Ebert [Wed, 23 Dec 2020 18:17:42 +0000 (19:17 +0100)]
Merge branch '5.3'
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.
Alexander Ebert [Wed, 23 Dec 2020 17:31:15 +0000 (18:31 +0100)]
Merge branch '5.3'
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
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
Alexander Ebert [Wed, 23 Dec 2020 16:15:43 +0000 (17:15 +0100)]
Permit `wsm` to be placed inside `<li>`
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
Matthias Schmidt [Wed, 23 Dec 2020 15:23:10 +0000 (16:23 +0100)]
Remove obsolete entries in template sync file
Matthias Schmidt [Wed, 23 Dec 2020 15:22:22 +0000 (16:22 +0100)]
Show number of styles referencing a template group
Close #3747
Matthias Schmidt [Wed, 23 Dec 2020 15:16:24 +0000 (16:16 +0100)]
Use `size` field attribute in `multifactor\multifactor\CodeFormField`
Matthias Schmidt [Wed, 23 Dec 2020 15:16:16 +0000 (16:16 +0100)]
Use `size` field attribute in `multifactor\email\CodeFormField`
Matthias Schmidt [Wed, 23 Dec 2020 15:16:03 +0000 (16:16 +0100)]
Use `size` field attribute in `multifactor\backup\CodeFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:49:18 +0000 (15:49 +0100)]
Add field attribute support for `TagFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:46:40 +0000 (15:46 +0100)]
Add field attribute support for `UserPasswordField`
Matthias Schmidt [Wed, 23 Dec 2020 14:45:38 +0000 (15:45 +0100)]
Add field attribute support for `UsernameFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:42:49 +0000 (15:42 +0100)]
Add field attribute support for `WysiwygFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:38:07 +0000 (15:38 +0100)]
Add field attribute support for `RadioButtonFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:36:46 +0000 (15:36 +0100)]
Add field attribute support for `MultipleSelectionFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:33:48 +0000 (15:33 +0100)]
Add field attribute support for `ItemListFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:32:16 +0000 (15:32 +0100)]
Add field attribute support for `DateFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:28:22 +0000 (15:28 +0100)]
Add field attribute support for `CheckboxFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:26:58 +0000 (15:26 +0100)]
Add field attribute support for `BooleanFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:22:08 +0000 (15:22 +0100)]
Add field attribute support for `ButtonFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:19:32 +0000 (15:19 +0100)]
Add field attribute support for `AbstractNumericFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:17:35 +0000 (15:17 +0100)]
Add field attribute support for `MultilineTextFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:15:59 +0000 (15:15 +0100)]
Add field attribute support for `EmailFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:13:16 +0000 (15:13 +0100)]
Add field attribute support for `TextFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:12:55 +0000 (15:12 +0100)]
Add `TInputAttributeFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:12:33 +0000 (15:12 +0100)]
Add `TAttributeFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:12:16 +0000 (15:12 +0100)]
Add `IAttributeFormField`
Matthias Schmidt [Wed, 23 Dec 2020 14:23:59 +0000 (15:23 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF
Matthias Schmidt [Wed, 23 Dec 2020 14:23:36 +0000 (15:23 +0100)]
Remove duplicate interface implementation
`BooleanFormField` already implements `ICssClassFormField`.
Tim Düsterhus [Wed, 23 Dec 2020 14:17:53 +0000 (15:17 +0100)]
Merge pull request #3837 from WoltLab/innodb-search
InnoDB Search
Tim Düsterhus [Wed, 23 Dec 2020 13:12:49 +0000 (14:12 +0100)]
Merge branch '5.3'
Tim Düsterhus [Wed, 23 Dec 2020 13:12:07 +0000 (14:12 +0100)]
Remove obsolete imports from RegisterForm
Tim Düsterhus [Wed, 23 Dec 2020 13:10:13 +0000 (14:10 +0100)]
Set password = null when registering via a 3rdParty provider
Tim Düsterhus [Wed, 23 Dec 2020 12:01:17 +0000 (13:01 +0100)]
Add SearchEngineConvertInnoDbWorker
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.