GitHub/WoltLab/WCF.git
8 months agoRemove obsolete `dateModified` property
Marcel Werk [Wed, 20 Mar 2024 13:52:54 +0000 (14:52 +0100)]
Remove obsolete `dateModified` property

8 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`.

8 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>
8 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

8 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

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

8 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

8 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

8 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

8 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

8 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

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

8 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

8 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

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

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

8 months agoMigrate the mentions to the new API endpoint
Alexander Ebert [Mon, 11 Mar 2024 15:36:34 +0000 (16:36 +0100)]
Migrate the mentions to the new API endpoint

8 months agoUpdate the shim for the editor suggestions
Alexander Ebert [Mon, 11 Mar 2024 15:33:36 +0000 (16:33 +0100)]
Update the shim for the editor suggestions

8 months agoAdd support for `DELETE` requests
Alexander Ebert [Mon, 11 Mar 2024 15:31:22 +0000 (16:31 +0100)]
Add support for `DELETE` requests

8 months agoAlways return a JSON response for errors
Alexander Ebert [Mon, 11 Mar 2024 15:29:34 +0000 (16:29 +0100)]
Always return a JSON response for errors

8 months agoRemove unused components
Alexander Ebert [Mon, 11 Mar 2024 13:02:24 +0000 (14:02 +0100)]
Remove unused components

8 months agoImplement a prototype based on `FastRoute`
Alexander Ebert [Mon, 11 Mar 2024 12:59:44 +0000 (13:59 +0100)]
Implement a prototype based on `FastRoute`

8 months agoRemove the `Assign` controller
Alexander Ebert [Mon, 11 Mar 2024 11:55:05 +0000 (12:55 +0100)]
Remove the `Assign` controller

8 months agoAdd nikic/FastRoute as a dependency
Alexander Ebert [Sun, 10 Mar 2024 23:05:14 +0000 (00:05 +0100)]
Add nikic/FastRoute as a dependency

8 months agoHydrate the parameters using a readonly struct
Alexander Ebert [Sun, 10 Mar 2024 14:19:02 +0000 (15:19 +0100)]
Hydrate the parameters using a readonly struct

8 months agoAdd automated parameter validation based on Valinor
Alexander Ebert [Sun, 10 Mar 2024 13:03:53 +0000 (14:03 +0100)]
Add automated parameter validation based on Valinor

8 months agoMigrate the endpoint for mention suggestions
Alexander Ebert [Sat, 9 Mar 2024 23:47:57 +0000 (00:47 +0100)]
Migrate the endpoint for mention suggestions

8 months agoAdd support for `GET` requests
Alexander Ebert [Sat, 9 Mar 2024 23:47:38 +0000 (00:47 +0100)]
Add support for `GET` requests

8 months agoUse a more specific exception to represent malformed controllers
Alexander Ebert [Sat, 9 Mar 2024 23:07:11 +0000 (00:07 +0100)]
Use a more specific exception to represent malformed controllers

8 months agoPrototype for an API method
Alexander Ebert [Sat, 9 Mar 2024 18:04:42 +0000 (19:04 +0100)]
Prototype for an API method

8 months agoRebuild the JS artifact
Alexander Ebert [Sun, 10 Mar 2024 14:19:32 +0000 (15:19 +0100)]
Rebuild the JS artifact

8 months agoMerge branch '6.0'
Alexander Ebert [Sun, 10 Mar 2024 14:14:32 +0000 (15:14 +0100)]
Merge branch '6.0'

8 months agoMerge pull request #5839 from WoltLab/bugfix/moderation-queue-comments-notification
Marcel Werk [Fri, 8 Mar 2024 12:54:19 +0000 (13:54 +0100)]
Merge pull request #5839 from WoltLab/bugfix/moderation-queue-comments-notification

Delete orphaned moderation queue comment notifications

8 months agoDelete moderation queue comment notifications if the moderation queue object has...
Cyperghost [Fri, 8 Mar 2024 10:28:37 +0000 (11:28 +0100)]
Delete moderation queue comment notifications if the moderation queue object has already been deleted.

8 months agoMerge pull request #5838 from WoltLab/category-additional-data
Marcel Werk [Thu, 7 Mar 2024 17:15:52 +0000 (18:15 +0100)]
Merge pull request #5838 from WoltLab/category-additional-data

Make magic method `__isset` respect additionalData properties

8 months agoMerge pull request #5837 from WoltLab/user-menu-items-update-counter
Olaf Braun [Thu, 7 Mar 2024 16:56:25 +0000 (17:56 +0100)]
Merge pull request #5837 from WoltLab/user-menu-items-update-counter

Custom event to update the counter for user menu entries

8 months agoMake magic method `__isset` respect additionalData properties
Marcel Werk [Thu, 7 Mar 2024 16:32:57 +0000 (17:32 +0100)]
Make magic method `__isset` respect additionalData properties

Closes #5825

8 months agoAdd `@since 6.1` comment
Olaf Braun [Thu, 7 Mar 2024 15:52:55 +0000 (16:52 +0100)]
Add `@since 6.1` comment

8 months agoAdd a custom event to update the counter of a user menu item
Cyperghost [Wed, 6 Mar 2024 11:48:39 +0000 (12:48 +0100)]
Add a custom event to update the counter of a user menu item

8 months agoMerge pull request #5836 from WoltLab/setup-php-version-check
Alexander Ebert [Thu, 7 Mar 2024 14:47:08 +0000 (15:47 +0100)]
Merge pull request #5836 from WoltLab/setup-php-version-check

Improve php version check during the setup

8 months agoImprove php version check during the setup
Marcel Werk [Wed, 6 Mar 2024 15:59:38 +0000 (16:59 +0100)]
Improve php version check during the setup

Closes #5626

8 months agoMerge pull request #5834 from WoltLab/bugfix/UserRegistrationDateCondition
Marcel Werk [Mon, 4 Mar 2024 15:57:10 +0000 (16:57 +0100)]
Merge pull request #5834 from WoltLab/bugfix/UserRegistrationDateCondition

use system timezone for `UserRegistrationDateCondition`

8 months agoMerge pull request #5831 from WoltLab/xsd
Marcel Werk [Mon, 4 Mar 2024 13:54:19 +0000 (14:54 +0100)]
Merge pull request #5831 from WoltLab/xsd

Fix multiple issues in XSD files

8 months agoFix multiple issues in XSD files
Marcel Werk [Fri, 1 Mar 2024 14:02:47 +0000 (15:02 +0100)]
Fix multiple issues in XSD files

Closes #5809

8 months agoMerge pull request #5832 from WoltLab/menu-caret-down-icon
Marcel Werk [Mon, 4 Mar 2024 13:48:31 +0000 (14:48 +0100)]
Merge pull request #5832 from WoltLab/menu-caret-down-icon

Fix obsolete 'caret-down' icon in menus

8 months agoUse timezone object
Cyperghost [Mon, 4 Mar 2024 12:43:51 +0000 (13:43 +0100)]
Use timezone object

8 months agoUse system timezone
Cyperghost [Mon, 4 Mar 2024 12:37:59 +0000 (13:37 +0100)]
Use system timezone

8 months agoMerge pull request #5828 from WoltLab/bugfix/recaptcha-dialog
Olaf Braun [Sat, 2 Mar 2024 16:30:42 +0000 (17:30 +0100)]
Merge pull request #5828 from WoltLab/bugfix/recaptcha-dialog

Move reCAPTCHA widget overlay for dialogs to `pageOverlayContainer`

8 months agoFix obsolete 'caret-down' icon in menus
Marcel Werk [Fri, 1 Mar 2024 17:17:40 +0000 (18:17 +0100)]
Fix obsolete 'caret-down' icon in menus

The icon was incorrectly shown in all menus and all levels.

8 months agoRemove obsolete tags in delete instructions
Marcel Werk [Fri, 1 Mar 2024 14:10:18 +0000 (15:10 +0100)]
Remove obsolete tags in delete instructions

These tags are not required for the deletion.

8 months agoUpdate outdated XSD location
Marcel Werk [Fri, 1 Mar 2024 14:08:49 +0000 (15:08 +0100)]
Update outdated XSD location

8 months agoMerge pull request #5808 from IceQ1337/XSD
Marcel Werk [Fri, 1 Mar 2024 14:04:49 +0000 (15:04 +0100)]
Merge pull request #5808 from IceQ1337/XSD

Add minlength and maxlength elements to option.xsd

8 months agoMerge pull request #5830 from WoltLab/bugfix/moderation-comments
Marcel Werk [Fri, 1 Mar 2024 13:17:04 +0000 (14:17 +0100)]
Merge pull request #5830 from WoltLab/bugfix/moderation-comments

Remove moderation comments when removing orphaned queue objects

8 months agoRemove comments when removing queue objects
Cyperghost [Fri, 1 Mar 2024 13:01:04 +0000 (14:01 +0100)]
Remove comments when removing queue objects

8 months agoUse `continue`
Cyperghost [Fri, 1 Mar 2024 12:25:18 +0000 (13:25 +0100)]
Use `continue`

8 months agoUpdate ts/WoltLabSuite/Core/Bootstrap.ts
Olaf Braun [Fri, 1 Mar 2024 12:24:37 +0000 (13:24 +0100)]
Update ts/WoltLabSuite/Core/Bootstrap.ts

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
8 months agoMove the reCAPTCHA widget overlay to the `pageOverlayContainer` when widget form...
Cyperghost [Fri, 1 Mar 2024 10:56:55 +0000 (11:56 +0100)]
Move the reCAPTCHA widget overlay to the `pageOverlayContainer` when widget form elements are placed in a dialog.

8 months agoMerge pull request #5826 from WoltLab/bugfix/delete-user-content
Olaf Braun [Fri, 1 Mar 2024 10:31:10 +0000 (11:31 +0100)]
Merge pull request #5826 from WoltLab/bugfix/delete-user-content

Use permission `admin.user.canDeleteUser` for deleting user content

8 months agoMerge pull request #5824 from WoltLab/cronjob-list-package-column
Marcel Werk [Thu, 29 Feb 2024 13:01:34 +0000 (14:01 +0100)]
Merge pull request #5824 from WoltLab/cronjob-list-package-column

Show package in cronjob list

8 months agoUse permission `admin.user.canDeleteUser` for deleting user content
Cyperghost [Thu, 29 Feb 2024 11:12:05 +0000 (12:12 +0100)]
Use permission `admin.user.canDeleteUser` for deleting user content

8 months agoShow package in cronjob list
Marcel Werk [Wed, 28 Feb 2024 16:16:37 +0000 (17:16 +0100)]
Show package in cronjob list

8 months agoRemove 'required' attribute from wysiwyg options
Marcel Werk [Wed, 28 Feb 2024 16:05:34 +0000 (17:05 +0100)]
Remove 'required' attribute from wysiwyg options

The textarea is hidden. The 'required' attribute lead to the issue that the form could not be submitted in the browser.

8 months agoMerge pull request #5823 from WoltLab/spider-list
Olaf Braun [Tue, 27 Feb 2024 14:45:03 +0000 (15:45 +0100)]
Merge pull request #5823 from WoltLab/spider-list

Remove the storage of spiders in the database

8 months agoAdd `@since 6.1` to database scripts
Cyperghost [Tue, 27 Feb 2024 13:56:26 +0000 (14:56 +0100)]
Add `@since 6.1` to database scripts

8 months agoAdd `@since 6.1`
Cyperghost [Tue, 27 Feb 2024 13:54:39 +0000 (14:54 +0100)]
Add `@since 6.1`

8 months agoUpdate wcfsetup/install/files/lib/system/spider/Spider.class.php
Olaf Braun [Tue, 27 Feb 2024 13:53:36 +0000 (14:53 +0100)]
Update wcfsetup/install/files/lib/system/spider/Spider.class.php

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
8 months agoUpdate wcfsetup/install/files/lib/system/spider/Spider.class.php
Olaf Braun [Tue, 27 Feb 2024 13:53:23 +0000 (14:53 +0100)]
Update wcfsetup/install/files/lib/system/spider/Spider.class.php

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
8 months agoUpdate wcfsetup/install/files/lib/system/session/SessionHandler.class.php
Olaf Braun [Tue, 27 Feb 2024 13:53:17 +0000 (14:53 +0100)]
Update wcfsetup/install/files/lib/system/session/SessionHandler.class.php

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
8 months agoUpdate wcfsetup/install/files/lib/data/session/Session.class.php
Olaf Braun [Tue, 27 Feb 2024 13:53:12 +0000 (14:53 +0100)]
Update wcfsetup/install/files/lib/data/session/Session.class.php

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
8 months agoMerge pull request #5822 from WoltLab/bugfix/user-menu-icons
Olaf Braun [Tue, 27 Feb 2024 13:15:43 +0000 (14:15 +0100)]
Merge pull request #5822 from WoltLab/bugfix/user-menu-icons

Fix `userMenuItemSingleLine` icons

8 months agoAdd class docs
Cyperghost [Tue, 27 Feb 2024 12:10:24 +0000 (13:10 +0100)]
Add class docs

8 months agoUse everytime lowercase identifier
Cyperghost [Tue, 27 Feb 2024 12:04:01 +0000 (13:04 +0100)]
Use everytime lowercase identifier

8 months agoAdd standard spiders to the event
Cyperghost [Tue, 27 Feb 2024 12:02:00 +0000 (13:02 +0100)]
Add standard spiders to the event

8 months agoAdd event to register own spiders
Cyperghost [Tue, 27 Feb 2024 11:49:12 +0000 (12:49 +0100)]
Add event to register own spiders

8 months agoRemove unnecessary method `getSpiderIdentifier`
Cyperghost [Tue, 27 Feb 2024 11:24:46 +0000 (12:24 +0100)]
Remove unnecessary method `getSpiderIdentifier`

8 months agoRemove old spider related classes and database columns/tables
Cyperghost [Tue, 27 Feb 2024 11:22:28 +0000 (12:22 +0100)]
Remove old spider related classes and database columns/tables

8 months agoFix `userMenuItemSingleLine` icons
Cyperghost [Tue, 27 Feb 2024 10:01:39 +0000 (11:01 +0100)]
Fix `userMenuItemSingleLine` icons

8 months agoAnswers to captcha questions are no longer case-sensitive
Marcel Werk [Mon, 26 Feb 2024 12:22:49 +0000 (13:22 +0100)]
Answers to captcha questions are no longer case-sensitive

8 months agoFix duplicate language phrases `wcf.acp.package.validation.errorCode.30`
Cyperghost [Mon, 26 Feb 2024 10:49:22 +0000 (11:49 +0100)]
Fix duplicate language phrases `wcf.acp.package.validation.errorCode.30`

8 months agoRelease 6.0.10 6.0.10
Alexander Ebert [Thu, 22 Feb 2024 18:23:36 +0000 (19:23 +0100)]
Release 6.0.10

8 months agoUpdate the CKEditor 5 bundle
Alexander Ebert [Thu, 22 Feb 2024 18:19:14 +0000 (19:19 +0100)]
Update the CKEditor 5 bundle

8 months agoRelease 6.0.9 6.0.9
Alexander Ebert [Thu, 22 Feb 2024 15:29:07 +0000 (16:29 +0100)]
Release 6.0.9

8 months agoUpdating minified JavaScript files
WoltLab [Thu, 22 Feb 2024 15:28:33 +0000 (15:28 +0000)]
Updating minified JavaScript files

8 months agoMerge pull request #5816 from WoltLab/bugfix/wcfNode-simplified-html
Olaf Braun [Thu, 22 Feb 2024 14:36:57 +0000 (15:36 +0100)]
Merge pull request #5816 from WoltLab/bugfix/wcfNode-simplified-html

Prevent the concatenation of texts with links of BBCodes

8 months agoUpdate the CKEditor 5 bundle
Alexander Ebert [Thu, 22 Feb 2024 14:01:36 +0000 (15:01 +0100)]
Update the CKEditor 5 bundle

8 months agoMerge pull request #5814 from WoltLab/unique-background-job
Olaf Braun [Thu, 22 Feb 2024 11:48:14 +0000 (12:48 +0100)]
Merge pull request #5814 from WoltLab/unique-background-job

Unique background job

8 months agoAdd a whitespace before and after each `<wcfNode-*>`.
Cyperghost [Thu, 22 Feb 2024 11:16:00 +0000 (12:16 +0100)]
Add a whitespace before and after each `<wcfNode-*>`.

8 months agoRelease 6.0.9 dev 5 6.0.9_dev_5
Alexander Ebert [Thu, 22 Feb 2024 11:06:06 +0000 (12:06 +0100)]
Release 6.0.9 dev 5

8 months agoAdd safeguard for an invalid `package.xml`
Alexander Ebert [Thu, 22 Feb 2024 11:04:52 +0000 (12:04 +0100)]
Add safeguard for an invalid `package.xml`

8 months agoUpdate wcfsetup/install/files/lib/system/background/job/AbstractUniqueBackgroundJob...
Olaf Braun [Thu, 22 Feb 2024 09:39:58 +0000 (10:39 +0100)]
Update wcfsetup/install/files/lib/system/background/job/AbstractUniqueBackgroundJob.class.php

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
8 months agoUpdate wcfsetup/install/files/lib/system/background/job/AbstractUniqueBackgroundJob...
Olaf Braun [Thu, 22 Feb 2024 09:39:53 +0000 (10:39 +0100)]
Update wcfsetup/install/files/lib/system/background/job/AbstractUniqueBackgroundJob.class.php

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
8 months agoUpdate wcfsetup/install/files/lib/system/background/job/AbstractUniqueBackgroundJob...
Olaf Braun [Thu, 22 Feb 2024 09:39:47 +0000 (10:39 +0100)]
Update wcfsetup/install/files/lib/system/background/job/AbstractUniqueBackgroundJob.class.php

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
9 months agoSet `wysiwygSelector` for comment editor
Cyperghost [Wed, 21 Feb 2024 13:50:14 +0000 (14:50 +0100)]
Set `wysiwygSelector` for comment editor

9 months agoInsert class description
Cyperghost [Wed, 21 Feb 2024 12:03:30 +0000 (13:03 +0100)]
Insert class description

9 months agoRe-queue stuck unique background jobs
Cyperghost [Wed, 21 Feb 2024 11:54:06 +0000 (12:54 +0100)]
Re-queue stuck unique background jobs

9 months agoCreate a new instance of this job to reset the failure counter by re-queuing the...
Cyperghost [Wed, 21 Feb 2024 11:47:04 +0000 (12:47 +0100)]
Create a new instance of this job to reset the failure counter by re-queuing the job.

9 months agoAlso call `onFinalFailure` in the cleanup cronjob.
Cyperghost [Wed, 21 Feb 2024 11:08:03 +0000 (12:08 +0100)]
Also call `onFinalFailure` in the cleanup cronjob.

9 months agoAdd try-finally block for SELECT FOR UPDATE statement
Cyperghost [Wed, 21 Feb 2024 11:05:09 +0000 (12:05 +0100)]
Add try-finally block for SELECT FOR UPDATE statement

9 months agoCorrect check if the job does not exist
Cyperghost [Wed, 21 Feb 2024 11:01:32 +0000 (12:01 +0100)]
Correct check if the job does not exist
Safe identifier in database

9 months agoSet `MAX_FAILURES` to zero
Cyperghost [Wed, 21 Feb 2024 10:51:06 +0000 (11:51 +0100)]
Set `MAX_FAILURES` to zero