GitHub/WoltLab/WCF.git
9 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/

9 months agoMerge branch 'update-608' into 6.0
Alexander Ebert [Mon, 29 Jan 2024 23:06:42 +0000 (00:06 +0100)]
Merge branch 'update-608' into 6.0

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

9 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/

9 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

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

9 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/

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

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

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

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

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

9 months agoMerge pull request #5776 from WoltLab/bugfix/styleChanger
Olaf Braun [Thu, 25 Jan 2024 12:28:25 +0000 (13:28 +0100)]
Merge pull request #5776 from WoltLab/bugfix/styleChanger

Make the style changer clickable when the box edit button overlaps it

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

10 months agoMerge pull request #5771 from WoltLab/acp-signature-attachments
Olaf Braun [Wed, 24 Jan 2024 13:51:44 +0000 (14:51 +0100)]
Merge pull request #5771 from WoltLab/acp-signature-attachments

ACP user add/edit signature attachments

10 months ago`$attachmentHandler` can not be null
Cyperghost [Wed, 24 Jan 2024 12:56:07 +0000 (13:56 +0100)]
`$attachmentHandler` can not be null

10 months agoRemove call `getSignature`
Cyperghost [Wed, 24 Jan 2024 09:57:21 +0000 (10:57 +0100)]
Remove call `getSignature`

10 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

10 months agoAllow attachment, but disable media
Cyperghost [Wed, 24 Jan 2024 09:48:33 +0000 (10:48 +0100)]
Allow attachment, but disable media

10 months agoMerge pull request #5769 from WoltLab/bugfix/signature-attachment-delete
Olaf Braun [Wed, 24 Jan 2024 08:49:39 +0000 (09:49 +0100)]
Merge pull request #5769 from WoltLab/bugfix/signature-attachment-delete

Disable implicit delete of attachments for signature

10 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

10 months agoMerge pull request #5768 from WoltLab/order-link-form
Olaf Braun [Tue, 23 Jan 2024 10:03:20 +0000 (11:03 +0100)]
Merge pull request #5768 from WoltLab/order-link-form

Change the order of the buttons in the ckeditor link form dialog box

10 months agoMerge pull request #5763 from WoltLab/bugfix/link-detection-line-breaks
Olaf Braun [Tue, 23 Jan 2024 10:02:38 +0000 (11:02 +0100)]
Merge pull request #5763 from WoltLab/bugfix/link-detection-line-breaks

Better detect for standalone links

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

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

10 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

10 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

10 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

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

10 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

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

10 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>
10 months agoUpdating minified JavaScript files
WoltLab [Sat, 20 Jan 2024 15:00:24 +0000 (15:00 +0000)]
Updating minified JavaScript files

10 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/

10 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

10 months agoMerge pull request #5761 from WoltLab/bugfix/pollEditor
Marcel Werk [Wed, 17 Jan 2024 16:02:54 +0000 (17:02 +0100)]
Merge pull request #5761 from WoltLab/bugfix/pollEditor

Fix poll editor

10 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

10 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

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

10 months agoRename ids of fields
Cyperghost [Wed, 17 Jan 2024 14:33:45 +0000 (15:33 +0100)]
Rename ids of fields

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

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

This reverts commit c56309ed91f2d04d7a0eee56a33ea2d019eb5551.

10 months agoMerge pull request #5760 from WoltLab/bugfix/dailyNotification
Marcel Werk [Wed, 17 Jan 2024 14:06:44 +0000 (15:06 +0100)]
Merge pull request #5760 from WoltLab/bugfix/dailyNotification

Daily notification mail, define backwards compatibility variable

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

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

10 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

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

10 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

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

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

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

10 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

10 months agoMerge pull request #5757 from WoltLab/bugfix/UiDropdown-open-when-switching-tabs
Olaf Braun [Tue, 16 Jan 2024 09:51:52 +0000 (10:51 +0100)]
Merge pull request #5757 from WoltLab/bugfix/UiDropdown-open-when-switching-tabs

Close overlays after tab change

10 months agoMerge pull request #5755 from WoltLab/ckeditor-autosave-event
Alexander Ebert [Mon, 15 Jan 2024 16:55:44 +0000 (17:55 +0100)]
Merge pull request #5755 from WoltLab/ckeditor-autosave-event

CKEditor5 autosave event

10 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

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

10 months agoMerge pull request #5756 from WoltLab/bugfix/mobile-menu-not-closed
Olaf Braun [Mon, 15 Jan 2024 13:53:42 +0000 (14:53 +0100)]
Merge pull request #5756 from WoltLab/bugfix/mobile-menu-not-closed

Close all other open menus

10 months agoClose all other open menus
Cyperghost [Mon, 15 Jan 2024 12:40:56 +0000 (13:40 +0100)]
Close all other open menus

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

10 months agoFix poll integration in form builder dialogs
Marcel Werk [Sat, 13 Jan 2024 12:50:07 +0000 (13:50 +0100)]
Fix poll integration in form builder dialogs

Closes #5317

10 months agoFix order in cronjob definition
Marcel Werk [Fri, 12 Jan 2024 13:29:18 +0000 (14:29 +0100)]
Fix order in cronjob definition

Closes #5706

10 months agoRemove obsolete title tag
Marcel Werk [Fri, 12 Jan 2024 13:28:59 +0000 (14:28 +0100)]
Remove obsolete title tag

10 months agoSet color theme for reCAPTCHA
Marcel Werk [Fri, 12 Jan 2024 12:08:50 +0000 (13:08 +0100)]
Set color theme for reCAPTCHA

Closes #5721

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

10 months agoSkip the unknown packages if everything is installed
Alexander Ebert [Fri, 12 Jan 2024 11:28:52 +0000 (12:28 +0100)]
Skip the unknown packages if everything is installed

10 months agoFix handling of comment permalinks
Marcel Werk [Thu, 11 Jan 2024 16:13:43 +0000 (17:13 +0100)]
Fix handling of comment permalinks

If a page had several comment containers, opening a comment permalink caused the comment to be inserted in all containers.

Closes #5717

10 months agoAdd generic css class for discussion provider buttons
Marcel Werk [Thu, 11 Jan 2024 14:53:25 +0000 (15:53 +0100)]
Add generic css class for discussion provider buttons

10 months agoMark notifications as read when visiting an article
Marcel Werk [Thu, 11 Jan 2024 14:03:11 +0000 (15:03 +0100)]
Mark notifications as read when visiting an article

Closes #5222

10 months agoFix missing phrase in CLI importer
Marcel Werk [Thu, 11 Jan 2024 13:55:51 +0000 (14:55 +0100)]
Fix missing phrase in CLI importer

Closes #5513

10 months agoRemove obsolete code
Marcel Werk [Wed, 10 Jan 2024 16:59:00 +0000 (17:59 +0100)]
Remove obsolete code

10 months agoRemove support for square brackets in FileUtil::LINK_REGEX
Marcel Werk [Wed, 10 Jan 2024 15:33:27 +0000 (16:33 +0100)]
Remove support for square brackets in FileUtil::LINK_REGEX

ref https://www.woltlab.com/community/thread/303714-linkerkennung-innerhalb-von-tags/

10 months agoMerge remote-tracking branch 'origin/6.0' into 6.0
Cyperghost [Wed, 10 Jan 2024 11:14:16 +0000 (12:14 +0100)]
Merge remote-tracking branch 'origin/6.0' into 6.0

10 months agoCompletely delete ICQ profile field
Cyperghost [Wed, 10 Jan 2024 11:13:28 +0000 (12:13 +0100)]
Completely delete ICQ profile field

See https://www.woltlab.com/community/thread/304070-languageitem-wcf-user-option-icq-nicht-definiert/

10 months agoMerge pull request #5748 from WoltLab/bugfix-share-dialog-url
Olaf Braun [Wed, 10 Jan 2024 11:01:30 +0000 (12:01 +0100)]
Merge pull request #5748 from WoltLab/bugfix-share-dialog-url

Hold one dialog per button

10 months agoRead image width only from `img` element
Cyperghost [Wed, 10 Jan 2024 10:16:43 +0000 (11:16 +0100)]
Read image width only from `img` element

See https://github.com/WoltLab/editor/commit/deff5ef1cbac24c80a6d1d7fc230b2815391be47

10 months agoDon't safe dialog persistent
Cyperghost [Wed, 10 Jan 2024 10:06:12 +0000 (11:06 +0100)]
Don't safe dialog persistent

10 months agoRevert "Hold one dialog per button"
Cyperghost [Wed, 10 Jan 2024 09:55:10 +0000 (10:55 +0100)]
Revert "Hold one dialog per button"

This reverts commit 15231b82ce442ae623b9c0916b3516e542fa5040.

10 months agoMerge pull request #5749 from WoltLab/bugifx-user-list-dialog
Olaf Braun [Wed, 10 Jan 2024 09:38:36 +0000 (10:38 +0100)]
Merge pull request #5749 from WoltLab/bugifx-user-list-dialog

Fix (un)follow in userList dialog

10 months agoMerge pull request #5750 from Hanashi/fix/id-search
Alexander Ebert [Tue, 9 Jan 2024 14:59:56 +0000 (15:59 +0100)]
Merge pull request #5750 from Hanashi/fix/id-search

Fix error on menu item id search

10 months agoFix error on menu item id search
Peter Lohse [Tue, 9 Jan 2024 12:23:33 +0000 (13:23 +0100)]
Fix error on menu item id search

10 months agoSet innerHTML by DomUtil to execute script
Cyperghost [Tue, 9 Jan 2024 12:17:07 +0000 (13:17 +0100)]
Set innerHTML by DomUtil to execute script

10 months agoHold one dialog per button
Cyperghost [Tue, 9 Jan 2024 11:39:53 +0000 (12:39 +0100)]
Hold one dialog per button

10 months agoMerge pull request #5745 from WoltLab/remove-text-formatting
Olaf Braun [Mon, 8 Jan 2024 12:22:22 +0000 (13:22 +0100)]
Merge pull request #5745 from WoltLab/remove-text-formatting

Remove unused userOption `editorPastePreserveFormatting`

10 months agoChange font-sizes in CKEditor (#5746)
Olaf Braun [Mon, 8 Jan 2024 12:19:02 +0000 (13:19 +0100)]
Change font-sizes in CKEditor (#5746)

* Allow min font-size 11px

* Change max font-sizes

* Use saner values for the font size

These values are also in line with the default font sizes.

* Rebuild the JS artifacts

---------

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
10 months agoRemove not used userOption `editorPastePreserveFormatting`
Cyperghost [Mon, 8 Jan 2024 10:50:55 +0000 (11:50 +0100)]
Remove not used userOption `editorPastePreserveFormatting`

10 months agoSee https://www.woltlab.com/community/thread/303938-counter-intuitive-icon-for-the...
Cyperghost [Fri, 5 Jan 2024 11:20:15 +0000 (12:20 +0100)]
See https://woltlab.com/community/thread/303938-counter-intuitive-icon-for-the-sort-button-in-members-list/

10 months agoFix error caused by undefined username
Marcel Werk [Thu, 4 Jan 2024 13:44:29 +0000 (14:44 +0100)]
Fix error caused by undefined username

10 months agoFilter out nested links before attempting to process them
Alexander Ebert [Thu, 4 Jan 2024 13:15:52 +0000 (14:15 +0100)]
Filter out nested links before attempting to process them

See https://www.woltlab.com/community/thread/303962/

10 months agoIncrease the contrast of the text selection in CodeMirror
Alexander Ebert [Thu, 4 Jan 2024 11:50:46 +0000 (12:50 +0100)]
Increase the contrast of the text selection in CodeMirror

See https://www.woltlab.com/community/thread/303005-stileditor-markierter-text-im-editor-im-dark-mode-kaum-sichtbar/

10 months agoPreserve the scroll position when refreshing CodeMirror
Alexander Ebert [Wed, 3 Jan 2024 16:43:43 +0000 (17:43 +0100)]
Preserve the scroll position when refreshing CodeMirror

See https://www.woltlab.com/community/thread/303004-stileditor-vergisst-die-aktive-code-zeile-beim-tab-wechsel/

10 months agoProperly detach the dialog when rejecting it with `Esc`
Alexander Ebert [Wed, 3 Jan 2024 16:27:39 +0000 (17:27 +0100)]
Properly detach the dialog when rejecting it with `Esc`

See https://www.woltlab.com/community/thread/303957-confirmationfactory-und-esc/

10 months agoMerge pull request #5744 from WoltLab/bugifx-media-insert
Olaf Braun [Wed, 3 Jan 2024 12:55:14 +0000 (13:55 +0100)]
Merge pull request #5744 from WoltLab/bugifx-media-insert

Bugifx media insert

10 months agoAllow size `auto`
Cyperghost [Wed, 3 Jan 2024 12:30:11 +0000 (13:30 +0100)]
Allow size `auto`

10 months agoRemove handle media as image
Cyperghost [Wed, 3 Jan 2024 12:13:20 +0000 (13:13 +0100)]
Remove handle media as image

10 months agoNot insert media elements as img element
Cyperghost [Wed, 3 Jan 2024 11:22:50 +0000 (12:22 +0100)]
Not insert media elements as img element

10 months agoMerge pull request #5742 from WoltLab/fix-empty-content
Olaf Braun [Wed, 3 Jan 2024 10:55:39 +0000 (11:55 +0100)]
Merge pull request #5742 from WoltLab/fix-empty-content

Only reload content if content type `text`

10 months agoOnly reload content if content type `text`
Cyperghost [Tue, 2 Jan 2024 12:08:40 +0000 (13:08 +0100)]
Only reload content if content type `text`

10 months agoRelease 6.0.6 6.0.6
Alexander Ebert [Mon, 1 Jan 2024 13:19:02 +0000 (14:19 +0100)]
Release 6.0.6

10 months agoMerge branch '5.5' into 6.0
Alexander Ebert [Mon, 1 Jan 2024 13:08:38 +0000 (14:08 +0100)]
Merge branch '5.5' into 6.0