GitHub/WoltLab/WCF.git
8 months agoFix the caret misplacement when backspacing spaces
Alexander Ebert [Sat, 10 Feb 2024 23:40:30 +0000 (00:40 +0100)]
Fix the caret misplacement when backspacing spaces

See https://github.com/ckeditor/ckeditor5/issues/13994#issuecomment-1937350906

8 months agoRelease 6.0.9 dev 3
Alexander Ebert [Sat, 10 Feb 2024 16:16:19 +0000 (17:16 +0100)]
Release 6.0.9 dev 3

8 months agoFix the "paste to link" and fix a desktop composition issue
Alexander Ebert [Sat, 10 Feb 2024 16:16:12 +0000 (17:16 +0100)]
Fix the "paste to link" and fix a desktop composition issue

8 months agoRelease 6.0.9 dev 2
Alexander Ebert [Fri, 9 Feb 2024 17:11:43 +0000 (18:11 +0100)]
Release 6.0.9 dev 2

8 months agoUse the proper build from editor/6.0 with the custom fix
Alexander Ebert [Fri, 9 Feb 2024 16:52:24 +0000 (17:52 +0100)]
Use the proper build from editor/6.0 with the custom fix

8 months agoRelease 6.0.9 dev 1
Alexander Ebert [Fri, 9 Feb 2024 16:31:21 +0000 (17:31 +0100)]
Release 6.0.9 dev 1

8 months agoUpdating minified JavaScript files
WoltLab [Fri, 9 Feb 2024 16:31:07 +0000 (16:31 +0000)]
Updating minified JavaScript files

8 months ago`ImageInsertUI` is now required by `ImageBlock`
Alexander Ebert [Fri, 9 Feb 2024 16:28:39 +0000 (17:28 +0100)]
`ImageInsertUI` is now required by `ImageBlock`

8 months agoUpdate the CKEditor bundle + custom fix
Alexander Ebert [Fri, 9 Feb 2024 16:20:25 +0000 (17:20 +0100)]
Update the CKEditor bundle + custom fix

This build includes the fix described in https://github.com/ckeditor/ckeditor5/issues/13994#issuecomment-1936074486

8 months agoRemove obsolete code
Marcel Werk [Thu, 8 Feb 2024 15:55:57 +0000 (16:55 +0100)]
Remove obsolete code

The language is already changed in the cronjob handler.

8 months agoFix issue when sending notifications about moderation comments
Marcel Werk [Thu, 8 Feb 2024 13:25:06 +0000 (14:25 +0100)]
Fix issue when sending notifications about moderation comments

If the e-mail notifications were created as a daily summary, the use of `ViewableModerationQueue::getViewableModerationQueue()` was not reliable, as the ID of the activate user was used there.

8 months agoFix typo in `wcf.acp.devtools.notificationTest`
Cyperghost [Thu, 8 Feb 2024 09:06:47 +0000 (10:06 +0100)]
Fix typo in `wcf.acp.devtools.notificationTest`

8 months agoIcon positioning in userMenu corrected
Cyperghost [Wed, 7 Feb 2024 13:26:30 +0000 (14:26 +0100)]
Icon positioning in userMenu corrected
See https://www.woltlab.com/community/thread/304644-icons-userpanel/

8 months agoFixes the error that the order of links and text was swapped in unfurl
Cyperghost [Mon, 5 Feb 2024 11:04:25 +0000 (12:04 +0100)]
Fixes the error that the order of links and text was swapped in unfurl

8 months agoForce backslashes for non imported namespaces
Alexander Ebert [Mon, 5 Feb 2024 15:19:05 +0000 (16:19 +0100)]
Force backslashes for non imported namespaces

8 months agoFix error in user search
Marcel Werk [Mon, 5 Feb 2024 10:21:23 +0000 (11:21 +0100)]
Fix error in user search

The error is caused by an empty radiobutton.
```
preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
```

8 months agoFix the support for numeric phrase variants
Alexander Ebert [Fri, 2 Feb 2024 16:57:40 +0000 (17:57 +0100)]
Fix the support for numeric phrase variants

8 months agoMove check to top of function
Cyperghost [Fri, 2 Feb 2024 10:37:28 +0000 (11:37 +0100)]
Move check to top of function

8 months agoIf `$recipientIDs` empty this will cause an exception
Cyperghost [Thu, 1 Feb 2024 13:37:07 +0000 (14:37 +0100)]
If `$recipientIDs` empty this will cause an exception

8 months agoAdd a check that `variables_order` has `ENV` active
Cyperghost [Fri, 2 Feb 2024 12:31:59 +0000 (13:31 +0100)]
Add a check that `variables_order` has `ENV` active

8 months agoInitialize the `$cursorOffset` variable
Alexander Ebert [Wed, 31 Jan 2024 16:37:19 +0000 (17:37 +0100)]
Initialize the `$cursorOffset` variable

See https://www.woltlab.com/community/thread/304469-threads-im-cli-worker-undefined-variable-cursoroffset/

8 months agoRelease 6.0.8
Alexander Ebert [Mon, 29 Jan 2024 22:55:26 +0000 (23:55 +0100)]
Release 6.0.8

8 months ago`\DOMElement::$parentElement` requires PHP 8.3+
Alexander Ebert [Mon, 29 Jan 2024 22:49:08 +0000 (23:49 +0100)]
`\DOMElement::$parentElement` requires PHP 8.3+

See https://www.woltlab.com/community/thread/304491-undefined-property-domelement-parentelement/

8 months agoUpgrade to CKEditor v41.0.0
Alexander Ebert [Mon, 29 Jan 2024 18:21:07 +0000 (19:21 +0100)]
Upgrade to CKEditor v41.0.0

8 months agoUpdated the composer dependencies
Alexander Ebert [Mon, 29 Jan 2024 17:47:57 +0000 (18:47 +0100)]
Updated the composer dependencies

8 months agoFix the default hostname for links without hostnames
Alexander Ebert [Mon, 29 Jan 2024 17:37:37 +0000 (18:37 +0100)]
Fix the default hostname for links without hostnames

See https://www.woltlab.com/community/thread/302070-link-ohne-protokoll-zeigt-auf-localhost/

8 months agoRelease 6.0.7
Alexander Ebert [Mon, 29 Jan 2024 11:57:25 +0000 (12:57 +0100)]
Release 6.0.7

8 months agoRelease 6.0.7 dev 2
Alexander Ebert [Fri, 26 Jan 2024 12:11:10 +0000 (13:11 +0100)]
Release 6.0.7 dev 2

8 months agoUpdate the CKEditor 5 bundle
Alexander Ebert [Fri, 26 Jan 2024 12:10:24 +0000 (13:10 +0100)]
Update the CKEditor 5 bundle

8 months agoRelease 6.0.7 dev 1
Alexander Ebert [Thu, 25 Jan 2024 16:29:11 +0000 (17:29 +0100)]
Release 6.0.7 dev 1

8 months agoUpdating minified JavaScript files
WoltLab [Thu, 25 Jan 2024 16:20:24 +0000 (16:20 +0000)]
Updating minified JavaScript files

8 months agoMake the StyleChanger button clickable when the Edit button from a box overlaps it
Cyperghost [Thu, 25 Jan 2024 12:15:02 +0000 (13:15 +0100)]
Make the StyleChanger button clickable when the Edit button from a box overlaps it

8 months agoOnly load page content for active languages (#5773)
Olaf Braun [Thu, 25 Jan 2024 12:22:24 +0000 (13:22 +0100)]
Only load page content for active languages (#5773)

* Only load page content for active languages

* Typo

---------

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
8 months agoRemove call `getSignature`
Cyperghost [Wed, 24 Jan 2024 09:57:21 +0000 (10:57 +0100)]
Remove call `getSignature`

8 months agoAllow admin to add attachments to the signature of users
Cyperghost [Wed, 24 Jan 2024 09:50:46 +0000 (10:50 +0100)]
Allow admin to add attachments to the signature of users

8 months agoDisable implicit delete of attachments for signature
Cyperghost [Tue, 23 Jan 2024 11:24:49 +0000 (12:24 +0100)]
Disable implicit delete of attachments for signature

8 months agoChange the order of the buttons in the link form dialog of ckeditor
Cyperghost [Mon, 22 Jan 2024 11:35:16 +0000 (12:35 +0100)]
Change the order of the buttons in the link form dialog of ckeditor

8 months agoImprove the docs
Alexander Ebert [Mon, 22 Jan 2024 17:14:35 +0000 (18:14 +0100)]
Improve the docs

8 months agoAdd some checks if multiply links in the same paragraph
Cyperghost [Mon, 22 Jan 2024 11:24:30 +0000 (12:24 +0100)]
Add some checks if multiply links in the same paragraph

8 months agoSimplify the code
Cyperghost [Mon, 22 Jan 2024 11:00:59 +0000 (12:00 +0100)]
Simplify the code

8 months agoAllow non null values for element
Cyperghost [Mon, 22 Jan 2024 10:49:33 +0000 (11:49 +0100)]
Allow non null values for element

8 months agoRename function
Cyperghost [Mon, 22 Jan 2024 10:48:08 +0000 (11:48 +0100)]
Rename function

8 months agoUpdate wcfsetup/install/files/lib/system/html/node/HtmlNodePlainLink.class.php
Olaf Braun [Mon, 22 Jan 2024 10:45:20 +0000 (11:45 +0100)]
Update wcfsetup/install/files/lib/system/html/node/HtmlNodePlainLink.class.php

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
8 months agoRemove if both(next and previous) are null. This should be handled by the default...
Cyperghost [Wed, 17 Jan 2024 14:55:16 +0000 (15:55 +0100)]
Remove if both(next and previous) are null. This should be handled by the default link detection

8 months agoFix if link in b,u or other elements and text directly after the parent element
Cyperghost [Wed, 17 Jan 2024 14:52:06 +0000 (15:52 +0100)]
Fix if link in b,u or other elements and text directly after the parent element

8 months agoInsert spaces before comment text
Cyperghost [Wed, 17 Jan 2024 14:42:33 +0000 (15:42 +0100)]
Insert spaces before comment text

8 months agoFix none bb-code links
Cyperghost [Wed, 17 Jan 2024 14:02:46 +0000 (15:02 +0100)]
Fix none bb-code links

8 months agoRun code fixer
Cyperghost [Wed, 17 Jan 2024 13:56:35 +0000 (14:56 +0100)]
Run code fixer

8 months agoMove the mayContainOtherContent check in separate function
Cyperghost [Wed, 17 Jan 2024 13:51:06 +0000 (14:51 +0100)]
Move the mayContainOtherContent check in separate function
Simplify to find the next/previous br

8 months agoCheck parent elements and new property `aloneInParagraph`
Cyperghost [Wed, 17 Jan 2024 13:24:56 +0000 (14:24 +0100)]
Check parent elements and new property `aloneInParagraph`

8 months agoDetect links in one line alone
Cyperghost [Wed, 17 Jan 2024 12:29:50 +0000 (13:29 +0100)]
Detect links in one line alone

8 months agoUpdate the JS artifacts
Alexander Ebert [Mon, 22 Jan 2024 12:17:26 +0000 (13:17 +0100)]
Update the JS artifacts

8 months agoAdd an event when the editor data has changed
Alexander Ebert [Mon, 22 Jan 2024 12:15:15 +0000 (13:15 +0100)]
Add an event when the editor data has changed

8 months agoUpdating minified JavaScript files
WoltLab [Sat, 20 Jan 2024 15:00:24 +0000 (15:00 +0000)]
Updating minified JavaScript files

8 months agoSafeguard against invalid EXIF values
Alexander Ebert [Fri, 19 Jan 2024 10:54:28 +0000 (11:54 +0100)]
Safeguard against invalid EXIF values

See https://www.woltlab.com/community/thread/304312-fehlermeldung-division-by-zero-bei-anzeigen-aktualisieren-galerie-bilder-aktuali/

8 months agoFix react button in additional loaded comments
Marcel Werk [Wed, 17 Jan 2024 16:10:32 +0000 (17:10 +0100)]
Fix react button in additional loaded comments

Closes #5762

8 months agoRevert "Fix poll editor"
Cyperghost [Wed, 17 Jan 2024 14:29:28 +0000 (15:29 +0100)]
Revert "Fix poll editor"

This reverts commit bce2b7e5a7084e378f50a26aa821e12d7c48154d.

8 months agoRevert "Rename resultsRequireVoteField"
Cyperghost [Wed, 17 Jan 2024 14:29:24 +0000 (15:29 +0100)]
Revert "Rename resultsRequireVoteField"

This reverts commit c56309ed91f2d04d7a0eee56a33ea2d019eb5551.

8 months agoRename resultsRequireVoteField
Cyperghost [Wed, 17 Jan 2024 10:53:13 +0000 (11:53 +0100)]
Rename resultsRequireVoteField

8 months agoFix poll editor
Cyperghost [Wed, 17 Jan 2024 10:51:02 +0000 (11:51 +0100)]
Fix poll editor
- Remove unused variables
- Changes the element-ID to what was defined in template `__messageFormPollInline`

8 months agoInsert comment for the definitions
Cyperghost [Wed, 17 Jan 2024 10:08:25 +0000 (11:08 +0100)]
Insert comment for the definitions

8 months agoDefine some variables for backward compatibility
Cyperghost [Wed, 17 Jan 2024 10:01:00 +0000 (11:01 +0100)]
Define some variables for backward compatibility

8 months agoClose overlays after tab change
Cyperghost [Mon, 15 Jan 2024 14:01:05 +0000 (15:01 +0100)]
Close overlays after tab change

8 months agoImprove the name of the exported type
Alexander Ebert [Mon, 15 Jan 2024 16:54:46 +0000 (17:54 +0100)]
Improve the name of the exported type

8 months agoUse native event
Cyperghost [Mon, 15 Jan 2024 09:58:13 +0000 (10:58 +0100)]
Use native event

8 months agoCkeditor5 saveDraft and deleteDraft event
Cyperghost [Fri, 12 Jan 2024 11:54:03 +0000 (12:54 +0100)]
Ckeditor5 saveDraft and deleteDraft event

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 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 #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 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 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 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 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 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>
8 months agoSet `wysiwygSelector` for comment editor
Cyperghost [Wed, 21 Feb 2024 13:50:14 +0000 (14:50 +0100)]
Set `wysiwygSelector` for comment editor

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

8 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

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

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

8 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

8 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

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

8 months agoCheck whether the background job should be queued
Cyperghost [Wed, 21 Feb 2024 10:48:58 +0000 (11:48 +0100)]
Check whether the background job should be queued

8 months agoInsert new `identifier` column for background jobs
Cyperghost [Wed, 21 Feb 2024 10:23:46 +0000 (11:23 +0100)]
Insert new `identifier` column for background jobs

8 months agoCreate a unique background job
Cyperghost [Wed, 21 Feb 2024 10:18:52 +0000 (11:18 +0100)]
Create a unique background job