GitHub/WoltLab/WCF.git
3 years agoMerge branch '5.3'
Matthias Schmidt [Mon, 2 Nov 2020 17:56:32 +0000 (18:56 +0100)]
Merge branch '5.3'

3 years agoMerge branch '5.2' into 5.3
Matthias Schmidt [Mon, 2 Nov 2020 17:56:18 +0000 (18:56 +0100)]
Merge branch '5.2' into 5.3

3 years agoMerge branch '3.1' into 5.2
Matthias Schmidt [Mon, 2 Nov 2020 17:56:03 +0000 (18:56 +0100)]
Merge branch '3.1' into 5.2

3 years agoFix GDPR export if invalid user id is given
Matthias Schmidt [Mon, 2 Nov 2020 17:55:46 +0000 (18:55 +0100)]
Fix GDPR export if invalid user id is given

… and stop using deprecated method `UserProfile::getUserProfile()`.

3 years agoFix class name of invalid password algorithm
Matthias Schmidt [Mon, 2 Nov 2020 17:12:05 +0000 (18:12 +0100)]
Fix class name of invalid password algorithm

See #3580

3 years agoSupport rebuilding activity points on user rank list page (#3684)
Matthias Schmidt [Mon, 2 Nov 2020 16:23:49 +0000 (17:23 +0100)]
Support rebuilding activity points on user rank list page (#3684)

Close  #3532

3 years agoMerge branch '5.3'
Matthias Schmidt [Mon, 2 Nov 2020 15:40:53 +0000 (16:40 +0100)]
Merge branch '5.3'

3 years agoSupport moderation filters if no outstanding entries exist
Matthias Schmidt [Mon, 2 Nov 2020 15:40:35 +0000 (16:40 +0100)]
Support moderation filters if no outstanding entries exist

3 years agoAdd permissions for attachments in signatures (#3683)
Matthias Schmidt [Mon, 2 Nov 2020 15:32:12 +0000 (16:32 +0100)]
Add permissions for attachments in signatures (#3683)

* Add permissions for attachments in signatures

Close #3675

* Add missing `module_user_signature` option

* Add `enableoptions` for `user.signature.attachment.canUpload`

3 years agoMerge pull request #3682 from WoltLab/menu_item_add
Marcel Werk [Mon, 2 Nov 2020 14:56:28 +0000 (15:56 +0100)]
Merge pull request #3682 from WoltLab/menu_item_add

Menu item add

3 years agoMerge pull request #3645 from WoltLab/user-session-list
Joshua Rüsweg [Mon, 2 Nov 2020 14:50:18 +0000 (15:50 +0100)]
Merge pull request #3645 from WoltLab/user-session-list

User session list

3 years agoAdd more compact view for sessions
joshuaruesweg [Mon, 2 Nov 2020 09:57:48 +0000 (10:57 +0100)]
Add more compact view for sessions

3 years agoAdd new UserAgent Util class
joshuaruesweg [Mon, 2 Nov 2020 09:52:45 +0000 (10:52 +0100)]
Add new UserAgent Util class

3 years agoSort active sessions by last activity time
joshuaruesweg [Sat, 31 Oct 2020 20:37:53 +0000 (21:37 +0100)]
Sort active sessions by last activity time

3 years agoAdd session list for user
joshuaruesweg [Fri, 30 Oct 2020 13:55:13 +0000 (14:55 +0100)]
Add session list for user

3 years agoAdd helper methods for the session class
joshuaruesweg [Fri, 30 Oct 2020 13:49:47 +0000 (14:49 +0100)]
Add helper methods for the session class

3 years agoAdd action to delete an own session
joshuaruesweg [Fri, 30 Oct 2020 13:47:19 +0000 (14:47 +0100)]
Add action to delete an own session

3 years agoAdd UserUtil::isMobileBrowser() method
joshuaruesweg [Thu, 29 Oct 2020 12:57:29 +0000 (13:57 +0100)]
Add UserUtil::isMobileBrowser() method

3 years agoAdd UserUtil::isTablet() method
joshuaruesweg [Thu, 29 Oct 2020 12:55:47 +0000 (13:55 +0100)]
Add UserUtil::isTablet() method

3 years agoAdd UserUtil::getBrowser() method
joshuaruesweg [Tue, 27 Oct 2020 18:01:48 +0000 (19:01 +0100)]
Add UserUtil::getBrowser() method

3 years agoRemove default values for intern methods
joshuaruesweg [Mon, 26 Oct 2020 14:08:54 +0000 (15:08 +0100)]
Remove default values for intern methods

3 years agoAdd account security page
joshuaruesweg [Mon, 26 Oct 2020 13:58:50 +0000 (14:58 +0100)]
Add account security page

3 years agoShow menu name on menu add/edit form
Matthias Schmidt [Mon, 2 Nov 2020 13:21:58 +0000 (14:21 +0100)]
Show menu name on menu add/edit form

3 years agoAdd icons to menu item add form in menu list
Matthias Schmidt [Mon, 2 Nov 2020 13:21:45 +0000 (14:21 +0100)]
Add icons to menu item add form in menu list

3 years agoMerge pull request #3679 from WoltLab/register-admin-notification-remove
Tim Düsterhus [Mon, 2 Nov 2020 12:31:00 +0000 (13:31 +0100)]
Merge pull request #3679 from WoltLab/register-admin-notification-remove

Remove REGISTER_ADMIN_NOTIFICATION

3 years agoAdd and use InvalidObjectArgument (#3672)
Matthias Schmidt [Mon, 2 Nov 2020 12:14:21 +0000 (13:14 +0100)]
Add and use InvalidObjectArgument (#3672)

Close #3664

3 years agoAdd new intern method to delete sessions except a specific one
joshuaruesweg [Mon, 26 Oct 2020 13:42:04 +0000 (14:42 +0100)]
Add new intern method to delete sessions except a specific one

3 years agoAdd new intern method to delete sessions
joshuaruesweg [Mon, 26 Oct 2020 13:35:28 +0000 (14:35 +0100)]
Add new intern method to delete sessions

3 years agoAdd new intern method to fetch sessions
joshuaruesweg [Mon, 26 Oct 2020 13:16:24 +0000 (14:16 +0100)]
Add new intern method to fetch sessions

3 years agoImport Session class and rename legacy session
joshuaruesweg [Mon, 26 Oct 2020 12:54:36 +0000 (13:54 +0100)]
Import Session class and rename legacy session

3 years agoAdd missing since tags
joshuaruesweg [Mon, 26 Oct 2020 10:07:59 +0000 (11:07 +0100)]
Add missing since tags

3 years agoDelete sessions after password change
joshuaruesweg [Mon, 26 Oct 2020 10:05:35 +0000 (11:05 +0100)]
Delete sessions after password change
Closes #3635
Closes #3641

3 years agoAdd class to represent a session
joshuaruesweg [Sat, 24 Oct 2020 15:37:43 +0000 (17:37 +0200)]
Add class to represent a session

3 years agoAdd method to get all acp sessions for a specific user
joshuaruesweg [Sat, 24 Oct 2020 14:31:38 +0000 (16:31 +0200)]
Add method to get all acp sessions for a specific user

3 years agoAdd method to get all user sessions for a specific user
joshuaruesweg [Sat, 24 Oct 2020 14:29:43 +0000 (16:29 +0200)]
Add method to get all user sessions for a specific user

3 years agoAdd method to delete all acp sessions for a specific user
joshuaruesweg [Sat, 24 Oct 2020 14:14:02 +0000 (16:14 +0200)]
Add method to delete all acp sessions for a specific user

3 years agoAdd method to delete all user sessions
joshuaruesweg [Sat, 24 Oct 2020 14:12:21 +0000 (16:12 +0200)]
Add method to delete all user sessions

3 years agoAdd methods to delete a session
joshuaruesweg [Sat, 24 Oct 2020 14:05:15 +0000 (16:05 +0200)]
Add methods to delete a session

3 years agoFix offset calculation in Date/Time/Relative
Tim Düsterhus [Mon, 2 Nov 2020 11:03:28 +0000 (12:03 +0100)]
Fix offset calculation in Date/Time/Relative

3 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

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

3 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

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

3 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

3 years agoMerge branch '5.2' into 5.3
Tim Düsterhus [Mon, 2 Nov 2020 09:40:56 +0000 (10:40 +0100)]
Merge branch '5.2' into 5.3

3 years agoWhitelist `version_compare` in enterprise mode
Tim Düsterhus [Mon, 2 Nov 2020 09:40:18 +0000 (10:40 +0100)]
Whitelist `version_compare` in enterprise mode

3 years agoRemove REGISTER_ADMIN_NOTIFICATION
Tim Düsterhus [Mon, 2 Nov 2020 09:21:05 +0000 (10:21 +0100)]
Remove REGISTER_ADMIN_NOTIFICATION

Resolves #3674

3 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

3 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

3 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

3 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

3 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

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

3 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

3 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

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

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

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

3 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()`

3 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

3 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

3 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

3 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

3 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

3 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

3 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

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

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

3 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

3 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

3 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

3 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

3 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

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

3 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

3 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

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

3 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

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

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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

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

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

3 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

3 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

3 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

3 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

3 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

3 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