GitHub/WoltLab/WCF.git
4 years agoConvert `Ui/Like/Handler` to TypeScript
Alexander Ebert [Tue, 3 Nov 2020 11:02:05 +0000 (12:02 +0100)]
Convert `Ui/Like/Handler` to TypeScript

4 years agoConvert `Ui/Reaction/Profile/Loader` to TypeScript
Alexander Ebert [Mon, 2 Nov 2020 20:10:51 +0000 (21:10 +0100)]
Convert `Ui/Reaction/Profile/Loader` to TypeScript

4 years agoConvert `Ui/Reaction/Handler` to TypeScript
Alexander Ebert [Mon, 2 Nov 2020 19:55:49 +0000 (20:55 +0100)]
Convert `Ui/Reaction/Handler` to TypeScript

4 years agoConvert `Ui/Reaction/CountButton` to TypeScript
Alexander Ebert [Mon, 2 Nov 2020 17:10:30 +0000 (18:10 +0100)]
Convert `Ui/Reaction/CountButton` to TypeScript

4 years agoIncorrect detection of datetime values
Alexander Ebert [Mon, 2 Nov 2020 15:29:35 +0000 (16:29 +0100)]
Incorrect detection of datetime values

Fixes #3673

4 years agoMerge pull request #3680 from WoltLab/54-typescript
Tim Düsterhus [Mon, 2 Nov 2020 10:47:24 +0000 (11:47 +0100)]
Merge pull request #3680 from WoltLab/54-typescript

Converted JS files to TypeScript + backwards compatibility for inheritance

4 years agoRun prettier
Tim Düsterhus [Mon, 2 Nov 2020 10:34:42 +0000 (11:34 +0100)]
Run prettier

4 years agoMerge branch 'master' into 54-typescript
Tim Düsterhus [Mon, 2 Nov 2020 10:33:27 +0000 (11:33 +0100)]
Merge branch 'master' into 54-typescript

4 years agoAdd .prettierrc
Tim Düsterhus [Mon, 2 Nov 2020 10:31:53 +0000 (11:31 +0100)]
Add .prettierrc

4 years agoMerge branch 'master' into 54-typescript
Alexander Ebert [Mon, 2 Nov 2020 10:07:07 +0000 (11:07 +0100)]
Merge branch 'master' into 54-typescript

4 years agoMerge pull request #3671 from WoltLab/ts-passwordstrength
Tim Düsterhus [Mon, 2 Nov 2020 09:01:47 +0000 (10:01 +0100)]
Merge pull request #3671 from WoltLab/ts-passwordstrength

Convert `Ui/User/PasswordStrength` to TypeScript

4 years agoConvert `Ui/Sortable/List` to TypeScript
Alexander Ebert [Mon, 2 Nov 2020 00:16:46 +0000 (01:16 +0100)]
Convert `Ui/Sortable/List` to TypeScript

4 years agoConvert `Ui/Style/FontAwesome` to TypeScript
Alexander Ebert [Mon, 2 Nov 2020 00:10:01 +0000 (01:10 +0100)]
Convert `Ui/Style/FontAwesome` to TypeScript

4 years agoConvert `Ui/ItemList/Static` to TypeScript
Alexander Ebert [Sun, 1 Nov 2020 23:56:04 +0000 (00:56 +0100)]
Convert `Ui/ItemList/Static` to TypeScript

4 years agoExport `Ui/ItemList/User` to TypeScript
Alexander Ebert [Sun, 1 Nov 2020 18:59:32 +0000 (19:59 +0100)]
Export `Ui/ItemList/User` to TypeScript

4 years agoConvert `Ui/ItemList/Filter`
Alexander Ebert [Sun, 1 Nov 2020 16:33:49 +0000 (17:33 +0100)]
Convert `Ui/ItemList/Filter`

4 years agoSupport the ES5 legacy inheritance for all exported classes
Alexander Ebert [Sat, 31 Oct 2020 23:39:44 +0000 (00:39 +0100)]
Support the ES5 legacy inheritance for all exported classes

4 years agoIncorrect DOM markup for upload buttons
Alexander Ebert [Sat, 31 Oct 2020 23:38:36 +0000 (00:38 +0100)]
Incorrect DOM markup for upload buttons

4 years agoAdd missing parameter type
joshuaruesweg [Sat, 31 Oct 2020 20:20:14 +0000 (21:20 +0100)]
Add missing parameter type

4 years agoUpdate npm dependencies
joshuaruesweg [Sat, 31 Oct 2020 19:51:17 +0000 (20:51 +0100)]
Update npm dependencies

4 years agoSupport for legacy class inheritance (ES5-style)
Alexander Ebert [Sat, 31 Oct 2020 17:26:44 +0000 (18:26 +0100)]
Support for legacy class inheritance (ES5-style)

4 years agoUnified the return types for `_ajaxSetup()` and `_dialogSetup()`
Alexander Ebert [Sat, 31 Oct 2020 15:23:13 +0000 (16:23 +0100)]
Unified the return types for `_ajaxSetup()` and `_dialogSetup()`

4 years agoUse an underscore to mask intentionally unused parameters
Alexander Ebert [Sat, 31 Oct 2020 12:46:11 +0000 (13:46 +0100)]
Use an underscore to mask intentionally unused parameters

4 years agoConvert `Ui/User/Profile/Menu/Item/Ignore` to TypeScript
Alexander Ebert [Sat, 31 Oct 2020 12:12:38 +0000 (13:12 +0100)]
Convert `Ui/User/Profile/Menu/Item/Ignore` to TypeScript

4 years agoConvert `Ui/User/Profile/Menu/Item/Follow` to TypeScript
Alexander Ebert [Sat, 31 Oct 2020 12:07:13 +0000 (13:07 +0100)]
Convert `Ui/User/Profile/Menu/Item/Follow` to TypeScript

4 years agoConvert `Ui/User/Profile/Menu/Item/Abstract` to TypeScript
Alexander Ebert [Fri, 30 Oct 2020 23:46:36 +0000 (00:46 +0100)]
Convert `Ui/User/Profile/Menu/Item/Abstract` to TypeScript

4 years agoConvert `Ui/User/CoverPhoto/Upload` to TypeScript
Alexander Ebert [Fri, 30 Oct 2020 23:36:34 +0000 (00:36 +0100)]
Convert `Ui/User/CoverPhoto/Upload` to TypeScript

4 years agoConvert `Ui/User/CoverPhoto/Delete` to TypeScript
Alexander Ebert [Fri, 30 Oct 2020 23:26:31 +0000 (00:26 +0100)]
Convert `Ui/User/CoverPhoto/Delete` to TypeScript

4 years agoMerge branch 'master' into 54-typescript
Alexander Ebert [Fri, 30 Oct 2020 23:17:03 +0000 (00:17 +0100)]
Merge branch 'master' into 54-typescript

4 years agoMerge pull request #3670 from WoltLab/WCF_CLICK_EVENT
Alexander Ebert [Fri, 30 Oct 2020 21:35:54 +0000 (22:35 +0100)]
Merge pull request #3670 from WoltLab/WCF_CLICK_EVENT

Replace `WCF_CLICK_EVENT` with `click`

4 years agoConvert `Upload` to TypeScript
Alexander Ebert [Fri, 30 Oct 2020 17:09:54 +0000 (18:09 +0100)]
Convert `Upload` to TypeScript

4 years agoConvert `Ui/User/PasswordStrength` to TypeScript
Tim Düsterhus [Fri, 30 Oct 2020 15:48:52 +0000 (16:48 +0100)]
Convert `Ui/User/PasswordStrength` to TypeScript

4 years agoConvert `Ui/User/Activity/Recent` to TypeScript
Alexander Ebert [Fri, 30 Oct 2020 15:33:02 +0000 (16:33 +0100)]
Convert `Ui/User/Activity/Recent` to TypeScript

4 years agoMerge branch 'master' into 54-typescript
Alexander Ebert [Fri, 30 Oct 2020 15:05:57 +0000 (16:05 +0100)]
Merge branch 'master' into 54-typescript

4 years agoReplace `WCF_CLICK_EVENT` with `click`
Matthias Schmidt [Fri, 30 Oct 2020 15:03:58 +0000 (16:03 +0100)]
Replace `WCF_CLICK_EVENT` with `click`

Close #3669

4 years agoMerge pull request #3668 from WoltLab/eslint
Tim Düsterhus [Fri, 30 Oct 2020 15:02:26 +0000 (16:02 +0100)]
Merge pull request #3668 from WoltLab/eslint

Eslint

4 years agoResolve errors found by ESLint
Alexander Ebert [Fri, 30 Oct 2020 14:36:13 +0000 (15:36 +0100)]
Resolve errors found by ESLint

4 years agoPermit the `object` type for use in legacy modules
Alexander Ebert [Fri, 30 Oct 2020 12:50:40 +0000 (13:50 +0100)]
Permit the `object` type for use in legacy modules

4 years agoConvert `Ui/Page/Menu/User` to TypeScript
Alexander Ebert [Fri, 30 Oct 2020 11:50:30 +0000 (12:50 +0100)]
Convert `Ui/Page/Menu/User` to TypeScript

4 years agoMerge branch '5.3'
Tim Düsterhus [Fri, 30 Oct 2020 11:47:31 +0000 (12:47 +0100)]
Merge branch '5.3'

4 years agoMerge branch '5.2' into 5.3
Tim Düsterhus [Fri, 30 Oct 2020 11:47:08 +0000 (12:47 +0100)]
Merge branch '5.2' into 5.3

4 years agoExpired session during 3rd party auth led to a SystemException
Marcel Werk [Mon, 14 Sep 2020 12:31:34 +0000 (14:31 +0200)]
Expired session during 3rd party auth led to a SystemException

(cherry picked from commit da8b0e89fa9da82fc7965955e7c0639a65d6ac00)

4 years agoExpired session during google auth led to a SystemException
Marcel Werk [Mon, 14 Sep 2020 11:51:37 +0000 (13:51 +0200)]
Expired session during google auth led to a SystemException

(cherry picked from commit 740ece8da10177354ab904f9aeb6ea914741c025)

4 years agofixup! Add tslint to typescript workflow
Tim Düsterhus [Fri, 30 Oct 2020 11:38:38 +0000 (12:38 +0100)]
fixup! Add tslint to typescript workflow

4 years agoAdd tslint to typescript workflow
Tim Düsterhus [Fri, 30 Oct 2020 11:35:30 +0000 (12:35 +0100)]
Add tslint to typescript workflow

4 years agoMake everything no-empty clean
Tim Düsterhus [Fri, 30 Oct 2020 11:31:34 +0000 (12:31 +0100)]
Make everything no-empty clean

4 years agoMake everything @typescript-eslint/no-empty-function clean
Tim Düsterhus [Fri, 30 Oct 2020 11:28:58 +0000 (12:28 +0100)]
Make everything @typescript-eslint/no-empty-function clean

4 years agoMake everything @typescript-eslint/unbound-method clean
Tim Düsterhus [Fri, 30 Oct 2020 11:14:48 +0000 (12:14 +0100)]
Make everything @typescript-eslint/unbound-method clean

4 years agoAdd parameter types where possible
Tim Düsterhus [Fri, 30 Oct 2020 11:11:33 +0000 (12:11 +0100)]
Add parameter types where possible

4 years agoAdd return types on module boundaries
Tim Düsterhus [Fri, 30 Oct 2020 11:02:44 +0000 (12:02 +0100)]
Add return types on module boundaries

4 years agoMake everything prefer-const clean
Tim Düsterhus [Fri, 30 Oct 2020 10:45:43 +0000 (11:45 +0100)]
Make everything prefer-const clean

4 years agoAdd missing return types to Ajax callbacks
Tim Düsterhus [Fri, 30 Oct 2020 10:36:13 +0000 (11:36 +0100)]
Add missing return types to Ajax callbacks

4 years agoMake everything @typescript-eslint/no-unused-vars clean
Tim Düsterhus [Fri, 30 Oct 2020 10:28:28 +0000 (11:28 +0100)]
Make everything @typescript-eslint/no-unused-vars clean

4 years agoDisable eslint rules disallowing `any` to be used
Tim Düsterhus [Fri, 30 Oct 2020 10:02:34 +0000 (11:02 +0100)]
Disable eslint rules disallowing `any` to be used

4 years agoDisable the `no-non-null-assertion` rule
Alexander Ebert [Thu, 29 Oct 2020 17:25:51 +0000 (18:25 +0100)]
Disable the `no-non-null-assertion` rule

4 years agoEnable type checking rules
Alexander Ebert [Thu, 29 Oct 2020 16:50:01 +0000 (17:50 +0100)]
Enable type checking rules

4 years agoAdd rudimentary eslint configuration
Tim Düsterhus [Thu, 29 Oct 2020 16:10:18 +0000 (17:10 +0100)]
Add rudimentary eslint configuration

4 years agoMake everything no-case-declarations clean
Tim Düsterhus [Fri, 30 Oct 2020 11:25:12 +0000 (12:25 +0100)]
Make everything no-case-declarations clean

4 years agoMake everything no-constant-condition clean
Tim Düsterhus [Fri, 30 Oct 2020 11:24:17 +0000 (12:24 +0100)]
Make everything no-constant-condition clean

4 years agoMake Ajax/Jsonp.ts eslint clean
Tim Düsterhus [Fri, 30 Oct 2020 10:15:19 +0000 (11:15 +0100)]
Make Ajax/Jsonp.ts eslint clean

4 years agoMake Ajax/Status.ts eslint clean
Tim Düsterhus [Fri, 30 Oct 2020 10:13:44 +0000 (11:13 +0100)]
Make Ajax/Status.ts eslint clean

4 years agoMake everything @typescript-eslint/ban-ts-comment clean
Tim Düsterhus [Fri, 30 Oct 2020 10:12:08 +0000 (11:12 +0100)]
Make everything @typescript-eslint/ban-ts-comment clean

4 years agoConvert `Ui/Page/Menu/Main` to TypeScript
Alexander Ebert [Fri, 30 Oct 2020 11:15:57 +0000 (12:15 +0100)]
Convert `Ui/Page/Menu/Main` to TypeScript

4 years agoRemove useless non-null assertion in Date/Picker.ts
Tim Düsterhus [Fri, 30 Oct 2020 09:48:42 +0000 (10:48 +0100)]
Remove useless non-null assertion in Date/Picker.ts

4 years agoRemove useless type assertion in Language.ts
Tim Düsterhus [Fri, 30 Oct 2020 09:47:30 +0000 (10:47 +0100)]
Remove useless type assertion in Language.ts

4 years agoMake Ui/Article/MarkAllAsRead eslint clean
Tim Düsterhus [Fri, 30 Oct 2020 08:51:04 +0000 (09:51 +0100)]
Make Ui/Article/MarkAllAsRead eslint clean

4 years agoImprove typing of CallbackList#forEach
Tim Düsterhus [Fri, 30 Oct 2020 08:50:11 +0000 (09:50 +0100)]
Improve typing of CallbackList#forEach

4 years agoMake Ui/Dropdown/Builder.ts eslint clean
Tim Düsterhus [Fri, 30 Oct 2020 08:41:02 +0000 (09:41 +0100)]
Make Ui/Dropdown/Builder.ts eslint clean

4 years agoMake Ui/Page/Search.ts eslint clean
Tim Düsterhus [Fri, 30 Oct 2020 08:40:14 +0000 (09:40 +0100)]
Make Ui/Page/Search.ts eslint clean

4 years agoMake Ui/User/Ignore.ts eslint clean
Tim Düsterhus [Fri, 30 Oct 2020 08:38:21 +0000 (09:38 +0100)]
Make Ui/User/Ignore.ts eslint clean

4 years agoMake Ui/Page/Action eslint clean
Tim Düsterhus [Fri, 30 Oct 2020 08:37:41 +0000 (09:37 +0100)]
Make Ui/Page/Action eslint clean

4 years agoMake Ui/User/List.ts eslint clean
Tim Düsterhus [Fri, 30 Oct 2020 08:32:33 +0000 (09:32 +0100)]
Make Ui/User/List.ts eslint clean

4 years agoMake FileUtil.ts eslint clean
Tim Düsterhus [Fri, 30 Oct 2020 08:29:32 +0000 (09:29 +0100)]
Make FileUtil.ts eslint clean

4 years agoMake Date/Util.ts eslint clean
Tim Düsterhus [Fri, 30 Oct 2020 08:24:24 +0000 (09:24 +0100)]
Make Date/Util.ts eslint clean

4 years agoFix typo in codestyle workflow
Tim Düsterhus [Thu, 29 Oct 2020 16:12:34 +0000 (17:12 +0100)]
Fix typo in codestyle workflow

4 years agoAdd 'ts' to codestyle workflow
Tim Düsterhus [Thu, 29 Oct 2020 16:03:36 +0000 (17:03 +0100)]
Add 'ts' to codestyle workflow

4 years agoRun prettier on all TypeScript files
Tim Düsterhus [Thu, 29 Oct 2020 15:45:58 +0000 (16:45 +0100)]
Run prettier on all TypeScript files

find wcfsetup/install/files/ts/WoltLabSuite/Core/ -iname '*.ts' -print0 |xargs -0 npx prettier -w

4 years agoAdd prettier to package.json
Tim Düsterhus [Thu, 29 Oct 2020 15:44:36 +0000 (16:44 +0100)]
Add prettier to package.json

4 years agoMerge remote-tracking branch 'origin/54-typescript'
Tim Düsterhus [Thu, 29 Oct 2020 15:43:50 +0000 (16:43 +0100)]
Merge remote-tracking branch 'origin/54-typescript'

4 years agoMerge pull request #3666 from WoltLab/typescript-cleanup
Alexander Ebert [Thu, 29 Oct 2020 15:43:12 +0000 (16:43 +0100)]
Merge pull request #3666 from WoltLab/typescript-cleanup

Clean up code style and types for existing TypeScript modules

4 years agoMerge branch '5.3'
Tim Düsterhus [Thu, 29 Oct 2020 14:13:09 +0000 (15:13 +0100)]
Merge branch '5.3'

4 years agoMerge pull request #3663 from WoltLab/image-proxy-guzzle
Tim Düsterhus [Thu, 29 Oct 2020 14:12:35 +0000 (15:12 +0100)]
Merge pull request #3663 from WoltLab/image-proxy-guzzle

Use Guzzle directly in ImageProxyAction

4 years agoClean up code style and types for existing TypeScript modules
Tim Düsterhus [Thu, 29 Oct 2020 13:41:49 +0000 (14:41 +0100)]
Clean up code style and types for existing TypeScript modules

4 years agoReplace implicit `any` variables
Alexander Ebert [Thu, 29 Oct 2020 13:40:10 +0000 (14:40 +0100)]
Replace implicit `any` variables

4 years agoConvert `Ui/Page/Menu/Abstract` to TypeScript
Alexander Ebert [Thu, 29 Oct 2020 13:39:50 +0000 (14:39 +0100)]
Convert `Ui/Page/Menu/Abstract` to TypeScript

4 years agoDelete DownloadStyleLogoJob.class.php
Tim Düsterhus [Thu, 29 Oct 2020 10:17:04 +0000 (11:17 +0100)]
Delete DownloadStyleLogoJob.class.php

This background job is required for the upgrade from 5.2 to 5.3 only.

4 years agoRemove closest.js polyfill
Tim Düsterhus [Thu, 29 Oct 2020 09:43:26 +0000 (10:43 +0100)]
Remove closest.js polyfill

Resolves #3655

4 years agoRemove wcombined.min.js
Tim Düsterhus [Thu, 29 Oct 2020 09:37:24 +0000 (10:37 +0100)]
Remove wcombined.min.js

Resolves #3656

4 years agoUse Guzzle directly in ImageProxyAction
Tim Düsterhus [Thu, 29 Oct 2020 09:22:51 +0000 (10:22 +0100)]
Use Guzzle directly in ImageProxyAction

This makes the Exception handling much cleaner.

Fixes #3660

4 years agoSkip system requirements during setup if they are met (#3662)
Matthias Schmidt [Thu, 29 Oct 2020 09:18:26 +0000 (10:18 +0100)]
Skip system requirements during setup if they are met (#3662)

Close #3559

4 years agoSupport additional action parameters in `AbstractCustomOptionForm`
Matthias Schmidt [Wed, 28 Oct 2020 19:53:14 +0000 (20:53 +0100)]
Support additional action parameters in `AbstractCustomOptionForm`

4 years agoConvert `Ui/Page/Header/Menu` to TypeScript
Alexander Ebert [Wed, 28 Oct 2020 19:32:52 +0000 (20:32 +0100)]
Convert `Ui/Page/Header/Menu` to TypeScript

4 years agoConvert `Ui/Page/Header/Fixed` to TypeScript
Alexander Ebert [Wed, 28 Oct 2020 19:06:13 +0000 (20:06 +0100)]
Convert `Ui/Page/Header/Fixed` to TypeScript

4 years agoConvert `Ui/Page/Search/Input` to TypeScript
Alexander Ebert [Wed, 28 Oct 2020 18:58:27 +0000 (19:58 +0100)]
Convert `Ui/Page/Search/Input` to TypeScript

4 years agoIncorrect property name
Alexander Ebert [Wed, 28 Oct 2020 18:55:46 +0000 (19:55 +0100)]
Incorrect property name

4 years agoRemove obsolete TODO
Matthias Schmidt [Wed, 28 Oct 2020 16:22:54 +0000 (17:22 +0100)]
Remove obsolete TODO

4 years agoMerge branch '5.3'
Matthias Schmidt [Wed, 28 Oct 2020 16:22:41 +0000 (17:22 +0100)]
Merge branch '5.3'

4 years agoMerge branch '5.2' into 5.3
Matthias Schmidt [Wed, 28 Oct 2020 16:21:43 +0000 (17:21 +0100)]
Merge branch '5.2' into 5.3

4 years agoRemove obsolete TODO
Matthias Schmidt [Wed, 28 Oct 2020 16:21:28 +0000 (17:21 +0100)]
Remove obsolete TODO

4 years agoMerge branch '5.3'
Matthias Schmidt [Wed, 28 Oct 2020 16:02:41 +0000 (17:02 +0100)]
Merge branch '5.3'