GitHub/WoltLab/WCF.git
7 months agoSet `theme_color` and `background_color` dynamically
Cyperghost [Wed, 3 Apr 2024 10:40:12 +0000 (12:40 +0200)]
Set `theme_color` and `background_color` dynamically

7 months agoMerge pull request #5863 from WoltLab/user-mail-form-builder-form
Marcel Werk [Tue, 2 Apr 2024 15:30:26 +0000 (17:30 +0200)]
Merge pull request #5863 from WoltLab/user-mail-form-builder-form

Migrate user mail form to formbuilder form

7 months agoRemove option for different sender from bulk mail
Marcel Werk [Tue, 2 Apr 2024 15:25:10 +0000 (17:25 +0200)]
Remove option for different sender from bulk mail

7 months agoMerge pull request #5860 from WoltLab/acl-json
Olaf Braun [Tue, 2 Apr 2024 12:20:42 +0000 (14:20 +0200)]
Merge pull request #5860 from WoltLab/acl-json

Modernization of the ACL list

7 months agoRevert the changes on `WCF.Combined.tiny.js` and `WCF.Combined.tiny.min.js`
Cyperghost [Tue, 2 Apr 2024 09:49:45 +0000 (11:49 +0200)]
Revert the changes on `WCF.Combined.tiny.js` and `WCF.Combined.tiny.min.js`

7 months agoRemove `/>`
Cyperghost [Tue, 2 Apr 2024 08:22:52 +0000 (10:22 +0200)]
Remove `/>`

7 months agoMigrate user mail to formbuilder form
Marcel Werk [Mon, 1 Apr 2024 13:51:12 +0000 (15:51 +0200)]
Migrate user mail to formbuilder form

7 months agoRemove obsolete imports
Marcel Werk [Mon, 1 Apr 2024 12:29:04 +0000 (14:29 +0200)]
Remove obsolete imports

7 months agoReduce the usage of `@` in the template
Alexander Ebert [Fri, 29 Mar 2024 16:54:10 +0000 (17:54 +0100)]
Reduce the usage of `@` in the template

7 months agoRemove the redundant tooltips
Alexander Ebert [Fri, 29 Mar 2024 16:40:45 +0000 (17:40 +0100)]
Remove the redundant tooltips

7 months agoFix the behavior for empty ACLs
Alexander Ebert [Fri, 29 Mar 2024 16:36:11 +0000 (17:36 +0100)]
Fix the behavior for empty ACLs

7 months agoAdd a dark mode to the exception page
Alexander Ebert [Wed, 27 Mar 2024 22:55:18 +0000 (23:55 +0100)]
Add a dark mode to the exception page

7 months agoMove assignment of '__userAuthConfig'
Marcel Werk [Wed, 27 Mar 2024 16:26:39 +0000 (17:26 +0100)]
Move assignment of '__userAuthConfig'

The assignment must be made at a later point in the lifecycle, as otherwise it is not possible to change the configuration via an event.

7 months agoMerge pull request #5861 from WoltLab/user-authentication-config
Marcel Werk [Wed, 27 Mar 2024 10:28:27 +0000 (11:28 +0100)]
Merge pull request #5861 from WoltLab/user-authentication-config

User authentication configuration

7 months agoRevert `ExifUtil.js` changes
Cyperghost [Wed, 27 Mar 2024 10:08:53 +0000 (11:08 +0100)]
Revert `ExifUtil.js` changes

7 months agoFix `aclPermissionList` show if no item selected(empty)
Cyperghost [Wed, 27 Mar 2024 09:51:05 +0000 (10:51 +0100)]
Fix `aclPermissionList` show if no item selected(empty)

7 months agoAdd `aclListItem` class
Cyperghost [Wed, 27 Mar 2024 09:41:48 +0000 (10:41 +0100)]
Add `aclListItem` class

7 months agoUse new css for acl simple
Cyperghost [Wed, 27 Mar 2024 09:41:08 +0000 (10:41 +0100)]
Use new css for acl simple

7 months agomodernize css for acl list
Cyperghost [Wed, 27 Mar 2024 09:32:38 +0000 (10:32 +0100)]
modernize css for acl list

7 months agomodernize css for acl permission list
Cyperghost [Wed, 27 Mar 2024 09:24:51 +0000 (10:24 +0100)]
modernize css for acl permission list

7 months agoRemove `WCF.ACL.js`
Cyperghost [Wed, 27 Mar 2024 09:09:22 +0000 (10:09 +0100)]
Remove `WCF.ACL.js`

7 months agoApplying the new configuration
Marcel Werk [Tue, 26 Mar 2024 17:17:06 +0000 (18:17 +0100)]
Applying the new configuration

7 months agoUser authentication configuration
Marcel Werk [Tue, 26 Mar 2024 17:16:18 +0000 (18:16 +0100)]
User authentication configuration

A central location for the configuration should make it easier to disable certain unwanted functions in SSO plugins.

7 months agoAdd sticky header
Cyperghost [Tue, 26 Mar 2024 14:37:21 +0000 (15:37 +0100)]
Add sticky header

7 months agoAdd hover and border
Cyperghost [Tue, 26 Mar 2024 14:28:40 +0000 (15:28 +0100)]
Add hover and border

7 months agoRemove "containerList"
Cyperghost [Tue, 26 Mar 2024 14:19:49 +0000 (15:19 +0100)]
Remove "containerList"

7 months agoAdd grid layout
Cyperghost [Tue, 26 Mar 2024 14:19:03 +0000 (15:19 +0100)]
Add grid layout

7 months agoCall `#select` function instead of set `checked` value
Cyperghost [Tue, 26 Mar 2024 13:06:55 +0000 (14:06 +0100)]
Call `#select` function instead of set `checked` value

7 months agoAdd a default value radio button for acl options
Cyperghost [Tue, 26 Mar 2024 13:02:52 +0000 (14:02 +0100)]
Add a default value radio button for acl options

7 months agoMark `WCF.ACL.List` as deprecated
Cyperghost [Tue, 26 Mar 2024 12:59:17 +0000 (13:59 +0100)]
Mark `WCF.ACL.List` as deprecated

7 months agoMake functions public
Cyperghost [Tue, 26 Mar 2024 12:41:50 +0000 (13:41 +0100)]
Make functions public

7 months agoImport `AclList`
Cyperghost [Tue, 26 Mar 2024 12:38:30 +0000 (13:38 +0100)]
Import `AclList`

7 months agoAdd margin to search input
Cyperghost [Tue, 26 Mar 2024 12:32:41 +0000 (13:32 +0100)]
Add margin to search input

7 months agoSave acl values as json
Cyperghost [Tue, 26 Mar 2024 12:29:59 +0000 (13:29 +0100)]
Save acl values as json
Read in ACLHandler the json values

7 months agoUse radio input elements
Cyperghost [Tue, 26 Mar 2024 12:07:02 +0000 (13:07 +0100)]
Use radio input elements

7 months agoFix display of acl items
Cyperghost [Tue, 26 Mar 2024 12:05:13 +0000 (13:05 +0100)]
Fix display of acl items

7 months agoFix language phrases
Cyperghost [Tue, 26 Mar 2024 11:34:36 +0000 (12:34 +0100)]
Fix language phrases

7 months agoCreate typescript for ACLList
Cyperghost [Tue, 26 Mar 2024 11:00:50 +0000 (12:00 +0100)]
Create typescript for ACLList

7 months agoMerge pull request #5852 from WoltLab/moderation-notification-report
Olaf Braun [Mon, 25 Mar 2024 12:24:32 +0000 (13:24 +0100)]
Merge pull request #5852 from WoltLab/moderation-notification-report

Moderation notification report

7 months agoUpdate wcfsetup/install/files/lib/system/comment/manager/ICommentPermissionManager...
Olaf Braun [Mon, 25 Mar 2024 12:21:06 +0000 (13:21 +0100)]
Update wcfsetup/install/files/lib/system/comment/manager/ICommentPermissionManager.class.php

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
7 months agoAdd `.class` to file name
Cyperghost [Mon, 25 Mar 2024 10:12:39 +0000 (11:12 +0100)]
Add `.class` to file name

7 months agoUpdate code-style in `UserProfileCommentManager`
Cyperghost [Mon, 25 Mar 2024 10:11:06 +0000 (11:11 +0100)]
Update code-style in `UserProfileCommentManager`

7 months agoUpdate php doc for deprecation info
Cyperghost [Mon, 25 Mar 2024 10:08:34 +0000 (11:08 +0100)]
Update php doc for deprecation info

7 months agoUse runtime cache for article content
Cyperghost [Mon, 25 Mar 2024 10:07:00 +0000 (11:07 +0100)]
Use runtime cache for article content

7 months agoRun php-cs-fixer
Cyperghost [Mon, 25 Mar 2024 10:00:44 +0000 (11:00 +0100)]
Run php-cs-fixer

7 months agoImplement the new interface `ICommentPermissionManager` in the comment managers
Cyperghost [Mon, 25 Mar 2024 09:58:54 +0000 (10:58 +0100)]
Implement the new interface `ICommentPermissionManager` in the comment managers

7 months agoAdd new interface `ICommentPermissionManager`
Cyperghost [Mon, 25 Mar 2024 09:49:26 +0000 (10:49 +0100)]
Add new interface `ICommentPermissionManager`

7 months agoAdd `userID` to `$data` array
Cyperghost [Fri, 22 Mar 2024 11:38:29 +0000 (12:38 +0100)]
Add `userID` to `$data` array

7 months agoCorrect the check if user can access the profile
Cyperghost [Fri, 22 Mar 2024 11:35:30 +0000 (12:35 +0100)]
Correct the check if user can access the profile

7 months agoAllow `null` value
Cyperghost [Fri, 22 Mar 2024 11:18:31 +0000 (12:18 +0100)]
Allow `null` value

7 months agoAdded new function `canViewObject` to `ICommentManager` to check access to any object...
Cyperghost [Fri, 22 Mar 2024 11:16:51 +0000 (12:16 +0100)]
Added new function `canViewObject` to `ICommentManager` to check access to any object of comments.

7 months agoAdd `$user` parameter to `isAccessible` function in `Page`
Cyperghost [Fri, 22 Mar 2024 10:59:49 +0000 (11:59 +0100)]
Add `$user` parameter to `isAccessible` function in `Page`

7 months agoAdd `$userID` parameter to `isAccessible` in `UserProfile`
Cyperghost [Fri, 22 Mar 2024 10:50:51 +0000 (11:50 +0100)]
Add `$userID` parameter to `isAccessible` in `UserProfile`

7 months agoFix parent call
Cyperghost [Fri, 22 Mar 2024 10:34:57 +0000 (11:34 +0100)]
Fix parent call

7 months agoAdd `isAffectedUser` function the comment `AbstractCommentResponseModerationQueueHandler`
Cyperghost [Fri, 22 Mar 2024 10:33:56 +0000 (11:33 +0100)]
Add `isAffectedUser` function the comment `AbstractCommentResponseModerationQueueHandler`

7 months agoRevert "Allow the `SessionHandler` as `$user` parameter, too"
Cyperghost [Fri, 22 Mar 2024 10:31:34 +0000 (11:31 +0100)]
Revert "Allow the `SessionHandler` as `$user` parameter, too"

This reverts commit ee8b210549eb81e86ce76fb58db153936fb5a791.

7 months agoMerge pull request #5854 from WoltLab/force-login-middleware
Marcel Werk [Thu, 21 Mar 2024 16:55:45 +0000 (17:55 +0100)]
Merge pull request #5854 from WoltLab/force-login-middleware

Move check for `FORCE_LOGIN` into a Middleware

7 months agoApply "Force login" for users with pending activation
Marcel Werk [Thu, 21 Mar 2024 16:10:44 +0000 (17:10 +0100)]
Apply "Force login" for users with pending activation

7 months agoAdd exceptions for some actions
Marcel Werk [Thu, 21 Mar 2024 15:47:06 +0000 (16:47 +0100)]
Add exceptions for some actions

These actions are required for registration or general tasks.

7 months agoFix status code
Marcel Werk [Thu, 21 Mar 2024 15:31:55 +0000 (16:31 +0100)]
Fix status code

7 months agoAdd further variables to the language variables
Cyperghost [Thu, 21 Mar 2024 09:40:28 +0000 (10:40 +0100)]
Add further variables to the language variables

7 months agoUse new function `canModerateObject` to check if the user has permission to this...
Cyperghost [Thu, 21 Mar 2024 09:34:04 +0000 (10:34 +0100)]
Use new function `canModerateObject` to check if the user has permission to this moderation queue item

7 months agoAllow the `SessionHandler` as `$user` parameter, too
Cyperghost [Thu, 21 Mar 2024 09:33:07 +0000 (10:33 +0100)]
Allow the `SessionHandler` as `$user` parameter, too

7 months agoAdd new function `canModerateObject`to `ICommentManager`
Cyperghost [Thu, 21 Mar 2024 09:28:56 +0000 (10:28 +0100)]
Add new function `canModerateObject`to `ICommentManager`

7 months agoRevert "Add a user parameter to check whether the user is allowed to moderate this...
Cyperghost [Thu, 21 Mar 2024 09:19:17 +0000 (10:19 +0100)]
Revert "Add a user parameter to check whether the user is allowed to moderate this comment."

This reverts commit 8005d38adb57834864e7c7736193568d80d83813.

7 months agoImproved handling of AJAX requests
Marcel Werk [Wed, 20 Mar 2024 16:47:37 +0000 (17:47 +0100)]
Improved handling of AJAX requests

7 months agoMove check for `FORCE_LOGIN` into a Middleware
Marcel Werk [Wed, 20 Mar 2024 16:40:41 +0000 (17:40 +0100)]
Move check for `FORCE_LOGIN` into a Middleware

Closes #5853

7 months agoFix outdated allowed controller
Marcel Werk [Wed, 20 Mar 2024 16:14:19 +0000 (17:14 +0100)]
Fix outdated allowed controller

7 months agoRemove obsolete `dateModified` property
Marcel Werk [Wed, 20 Mar 2024 13:52:54 +0000 (14:52 +0100)]
Remove obsolete `dateModified` property

7 months agoChange `dateCreated` property to `datePublished`
Marcel Werk [Wed, 20 Mar 2024 13:47:12 +0000 (14:47 +0100)]
Change `dateCreated` property to `datePublished`

It seems that Google prefers `datePublished`.

7 months agoAssign user before sending notification
Cyperghost [Wed, 20 Mar 2024 13:16:48 +0000 (14:16 +0100)]
Assign user before sending notification

7 months agoAdd mail plain and html text
Cyperghost [Wed, 20 Mar 2024 13:05:19 +0000 (14:05 +0100)]
Add mail plain and html text

7 months agoCorrect plain text email template
Cyperghost [Wed, 20 Mar 2024 12:56:17 +0000 (13:56 +0100)]
Correct plain text email template

7 months agoAdd test notification
Cyperghost [Wed, 20 Mar 2024 12:42:35 +0000 (13:42 +0100)]
Add test notification

7 months agoUse function `ViewableModerationQueue::getViewableModerationQueue`
Cyperghost [Wed, 20 Mar 2024 12:26:10 +0000 (13:26 +0100)]
Use function `ViewableModerationQueue::getViewableModerationQueue`

7 months agoAdd notification message for reported content
Cyperghost [Wed, 20 Mar 2024 12:20:20 +0000 (13:20 +0100)]
Add notification message for reported content

7 months agoAdd title for notification
Cyperghost [Wed, 20 Mar 2024 11:53:07 +0000 (12:53 +0100)]
Add title for notification

7 months agoSet stackable to false(default)
Cyperghost [Wed, 20 Mar 2024 11:46:43 +0000 (12:46 +0100)]
Set stackable to false(default)

7 months agoFire notification report
Cyperghost [Wed, 20 Mar 2024 11:44:44 +0000 (12:44 +0100)]
Fire notification report

7 months agoAdd user notification for new reports
Cyperghost [Wed, 20 Mar 2024 11:41:34 +0000 (12:41 +0100)]
Add user notification for new reports

7 months agoAdd assert check
Cyperghost [Wed, 20 Mar 2024 11:30:50 +0000 (12:30 +0100)]
Add assert check

7 months agoUser array filter
Cyperghost [Wed, 20 Mar 2024 10:15:48 +0000 (11:15 +0100)]
User array filter

7 months agoAdd function to notify moderators about new reports
Cyperghost [Wed, 20 Mar 2024 10:14:24 +0000 (11:14 +0100)]
Add function to notify moderators about new reports

7 months agoOverride `isAffectedUser` for article
Cyperghost [Wed, 20 Mar 2024 10:04:46 +0000 (11:04 +0100)]
Override `isAffectedUser` for article

7 months agoOverride `isAffectedUser` for comments
Cyperghost [Wed, 20 Mar 2024 09:59:23 +0000 (10:59 +0100)]
Override `isAffectedUser` for comments

7 months agoAdd a user parameter to check whether the user is allowed to moderate this comment.
Cyperghost [Wed, 20 Mar 2024 09:56:14 +0000 (10:56 +0100)]
Add a user parameter to check whether the user is allowed to moderate this comment.

7 months agoAdd an empty upcast converter that handles custom bb-codes (#5851)
Olaf Braun [Tue, 19 Mar 2024 17:48:07 +0000 (18:48 +0100)]
Add an empty upcast converter that handles custom bb-codes (#5851)

* Add an empty upcast converter that handles custom bb-codes

* Update wcfsetup/install/files/lib/system/html/metacode/upcast/EmptyMetacodeUpcast.class.php

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
---------

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
7 months agoMerge pull request #5841 from WoltLab/rest-rpc-api
Alexander Ebert [Tue, 19 Mar 2024 17:19:39 +0000 (18:19 +0100)]
Merge pull request #5841 from WoltLab/rest-rpc-api

PoC: REST/RPC API

7 months agoRemove the previous controllers
Alexander Ebert [Tue, 19 Mar 2024 15:29:45 +0000 (16:29 +0100)]
Remove the previous controllers

Those are considered to be internal controllers and `DeleteSessionAction` behaves differently. Since the only consumers are internal components, it is safer to remove them than to risk them becoming out of sync

7 months agoRename the controller
Alexander Ebert [Tue, 19 Mar 2024 15:27:17 +0000 (16:27 +0100)]
Rename the controller

7 months agoAdd JsDoc comments to the components
Alexander Ebert [Sun, 17 Mar 2024 17:50:05 +0000 (18:50 +0100)]
Add JsDoc comments to the components

7 months agoImplement a cache for the router
Alexander Ebert [Sun, 17 Mar 2024 17:05:11 +0000 (18:05 +0100)]
Implement a cache for the router

7 months agoAdd PhpDoc headers to all components
Alexander Ebert [Sun, 17 Mar 2024 16:44:50 +0000 (17:44 +0100)]
Add PhpDoc headers to all components

7 months agoReject requests with a query shorter than 3 characters
Alexander Ebert [Sun, 17 Mar 2024 16:44:33 +0000 (17:44 +0100)]
Reject requests with a query shorter than 3 characters

7 months agoFix the casing of the enum
Alexander Ebert [Sun, 17 Mar 2024 15:50:04 +0000 (16:50 +0100)]
Fix the casing of the enum

7 months agoRebuild JS artifacts
Alexander Ebert [Sun, 17 Mar 2024 15:30:18 +0000 (16:30 +0100)]
Rebuild JS artifacts

7 months agoAdd a helper method to identify validation errors
Alexander Ebert [Sun, 17 Mar 2024 15:24:07 +0000 (16:24 +0100)]
Add a helper method to identify validation errors

7 months agoAdd an API wrapper for editor mentions
Alexander Ebert [Tue, 12 Mar 2024 16:28:55 +0000 (17:28 +0100)]
Add an API wrapper for editor mentions

7 months agoRemove an unnecessary assertion
Alexander Ebert [Tue, 12 Mar 2024 15:48:18 +0000 (16:48 +0100)]
Remove an unnecessary assertion

7 months agoAdd support for `DELETE` requests
Alexander Ebert [Tue, 12 Mar 2024 15:44:58 +0000 (16:44 +0100)]
Add support for `DELETE` requests