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

10 months agoRelease 5.5.20 5.5.20
Alexander Ebert [Mon, 1 Jan 2024 13:04:50 +0000 (14:04 +0100)]
Release 5.5.20

10 months agoEncode the title of moderation queues
Alexander Ebert [Mon, 1 Jan 2024 12:47:42 +0000 (13:47 +0100)]
Encode the title of moderation queues

10 months agoRelease 6.0.5 6.0.5
Alexander Ebert [Fri, 29 Dec 2023 11:29:38 +0000 (12:29 +0100)]
Release 6.0.5

10 months agoFilter out `null` values passed as BBCode attribute
Alexander Ebert [Fri, 29 Dec 2023 11:20:02 +0000 (12:20 +0100)]
Filter out `null` values passed as BBCode attribute

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

10 months agoAdd missing interface implementation
Marcel Werk [Thu, 28 Dec 2023 16:34:33 +0000 (17:34 +0100)]
Add missing interface implementation

10 months agoRelease 6.0.5 dev 1 6.0.5_dev_1
Alexander Ebert [Wed, 27 Dec 2023 12:57:32 +0000 (13:57 +0100)]
Release 6.0.5 dev 1

10 months agoDrop the upgrade block for 5.5
Alexander Ebert [Wed, 27 Dec 2023 12:50:18 +0000 (13:50 +0100)]
Drop the upgrade block for 5.5

10 months agoUpdating minified JavaScript files
WoltLab [Wed, 27 Dec 2023 12:47:21 +0000 (12:47 +0000)]
Updating minified JavaScript files

10 months agoFix the icon visibility on mobile devices
Alexander Ebert [Wed, 27 Dec 2023 12:15:44 +0000 (13:15 +0100)]
Fix the icon visibility on mobile devices

See https://www.woltlab.com/community/thread/303180-text-nicht-lesbar-beim-einf%C3%BCgen-von-medien/

10 months agoFix broken gdpr export
Marcel Werk [Wed, 27 Dec 2023 11:56:40 +0000 (12:56 +0100)]
Fix broken gdpr export

The export generated an error if the Filebase was installed, as a table that no longer existed was accessed.

10 months agoProperly handle `NamedUserException` thrown by PSR controllers
Alexander Ebert [Sat, 23 Dec 2023 17:02:05 +0000 (18:02 +0100)]
Properly handle `NamedUserException` thrown by PSR controllers

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

11 months agoTrigger the `cancel` event when the dialog is closed with `Esc`
Alexander Ebert [Fri, 22 Dec 2023 17:04:09 +0000 (18:04 +0100)]
Trigger the `cancel` event when the dialog is closed with `Esc`

See https://www.woltlab.com/community/thread/303492-confirmationfactory-und-escape/

11 months agoWork-around for invalid email addresses
Alexander Ebert [Fri, 22 Dec 2023 15:06:57 +0000 (16:06 +0100)]
Work-around for invalid email addresses

See https://www.woltlab.com/community/thread/303187-fehler-bei-email-an-alle-nutzer/

11 months agoReload content after save (#5737)
Olaf Braun [Fri, 22 Dec 2023 13:20:54 +0000 (14:20 +0100)]
Reload content after save (#5737)

* Reload content after save

* Insert null check

* Reload content in pages after save

* Reload content in box after save

* Fix comment message

* Correct check if input processor exists

11 months agoNo margin-top after float object (#5736)
Olaf Braun [Fri, 22 Dec 2023 13:01:07 +0000 (14:01 +0100)]
No margin-top after float object (#5736)

* No margin-top for elements directly after float object

* Add ol and headers

* Use is and only to first-child

* Insert some spaces

11 months agoMerge branch '6.0' of https://github.com/WoltLab/WCF into 6.0
Alexander Ebert [Thu, 21 Dec 2023 10:56:52 +0000 (11:56 +0100)]
Merge branch '6.0' of https://github.com/WoltLab/WCF into 6.0

11 months agoInsert missing width
Olaf Braun [Thu, 21 Dec 2023 04:41:53 +0000 (05:41 +0100)]
Insert missing width

11 months agoRelease 6.0.4 6.0.4
Alexander Ebert [Wed, 20 Dec 2023 15:35:26 +0000 (16:35 +0100)]
Release 6.0.4

11 months agoMerge pull request #5735 from WoltLab/mailto-links
Olaf Braun [Wed, 20 Dec 2023 13:49:30 +0000 (14:49 +0100)]
Merge pull request #5735 from WoltLab/mailto-links

Skip mailto links

11 months agoSkip mailto links
Cyperghost [Wed, 20 Dec 2023 13:33:12 +0000 (14:33 +0100)]
Skip mailto links

11 months agoFix the visuals of the color picker on mobile / Firefox on Windows
Alexander Ebert [Wed, 20 Dec 2023 12:16:47 +0000 (13:16 +0100)]
Fix the visuals of the color picker on mobile / Firefox on Windows

See https://www.woltlab.com/community/thread/303691-im-acp-unter-style-der-farbw%C3%A4hler/

11 months agoMerge pull request #5734 from WoltLab/intl-cronjob-execute
Olaf Braun [Tue, 19 Dec 2023 14:05:19 +0000 (15:05 +0100)]
Merge pull request #5734 from WoltLab/intl-cronjob-execute

Use intl to format date

11 months agoUse intl to format date
Cyperghost [Tue, 19 Dec 2023 11:05:13 +0000 (12:05 +0100)]
Use intl to format date

11 months agoRelease 6.0.4 dev 1 6.0.4_dev_1
Alexander Ebert [Mon, 18 Dec 2023 11:14:22 +0000 (12:14 +0100)]
Release 6.0.4 dev 1

11 months agoUpdate the CKEditor bundle
Alexander Ebert [Mon, 18 Dec 2023 11:04:44 +0000 (12:04 +0100)]
Update the CKEditor bundle

11 months agoUpdating minified JavaScript files
WoltLab [Mon, 18 Dec 2023 11:00:05 +0000 (11:00 +0000)]
Updating minified JavaScript files

11 months agoStrip empty link artifacts in the output
Alexander Ebert [Fri, 15 Dec 2023 14:08:33 +0000 (15:08 +0100)]
Strip empty link artifacts in the output

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

11 months agoMerge pull request #5730 from WoltLab/bugifx-editor-image-scaling
Alexander Ebert [Thu, 14 Dec 2023 13:13:45 +0000 (14:13 +0100)]
Merge pull request #5730 from WoltLab/bugifx-editor-image-scaling

Prevent image can resize larger then max-width in safari

11 months agoPrevent image can resize larger then max-size in safari
Cyperghost [Thu, 14 Dec 2023 13:01:00 +0000 (14:01 +0100)]
Prevent image can resize larger then max-size in safari

11 months agoCorrect sort trophy's by username (#5729)
Olaf Braun [Thu, 14 Dec 2023 12:59:11 +0000 (13:59 +0100)]
Correct sort trophy's by username (#5729)

* Correct sort trophy's by username

* Change sort parameter to only username

11 months agoMerge pull request #5728 from WoltLab/bugfix-media-converted-to-img
Alexander Ebert [Thu, 14 Dec 2023 12:25:15 +0000 (13:25 +0100)]
Merge pull request #5728 from WoltLab/bugfix-media-converted-to-img

Fix media/attachment inside a-tag

11 months agoRemove unnecessary check
Cyperghost [Thu, 14 Dec 2023 11:11:14 +0000 (12:11 +0100)]
Remove unnecessary check

11 months agoHandle img has an a-tag
Cyperghost [Thu, 14 Dec 2023 11:05:09 +0000 (12:05 +0100)]
Handle img has an a-tag

11 months agoMerge pull request #5726 from WoltLab/image-center
Alexander Ebert [Wed, 13 Dec 2023 17:20:56 +0000 (18:20 +0100)]
Merge pull request #5726 from WoltLab/image-center

Fix centering for images and attachments

11 months agoMerge remote-tracking branch 'origin/6.0' into image-center
Cyperghost [Wed, 13 Dec 2023 12:16:07 +0000 (13:16 +0100)]
Merge remote-tracking branch 'origin/6.0' into image-center

# Conflicts:
# com.woltlab.wcf/templates/mediaBBCodeTag.tpl
# wcfsetup/install/files/acp/templates/mediaBBCodeTag.tpl
# wcfsetup/install/files/lib/system/bbcode/AttachmentBBCode.class.php

11 months agoFix image(attachment and media) width change from editor (#5725)
Olaf Braun [Wed, 13 Dec 2023 12:06:33 +0000 (13:06 +0100)]
Fix image(attachment and media) width change from editor (#5725)

* Read and write image and media width

* Insert media width in acp template

11 months agoFix centering image of image viewer
Cyperghost [Wed, 13 Dec 2023 12:06:04 +0000 (13:06 +0100)]
Fix centering image of image viewer

11 months agoAllow center for media and attachment
Cyperghost [Wed, 13 Dec 2023 12:04:25 +0000 (13:04 +0100)]
Allow center for media and attachment

11 months agoUnify dimension texts
Marcel Werk [Tue, 12 Dec 2023 16:25:39 +0000 (17:25 +0100)]
Unify dimension texts

11 months agoUnify "not unique" phrases
Marcel Werk [Tue, 12 Dec 2023 16:18:48 +0000 (17:18 +0100)]
Unify "not unique" phrases

11 months agoPrevent the focus shift on Android
Alexander Ebert [Mon, 11 Dec 2023 17:19:15 +0000 (18:19 +0100)]
Prevent the focus shift on Android

See https://www.woltlab.com/community/thread/302991-is-this-normal-behavior/

11 months agoUnify phrases
Marcel Werk [Mon, 11 Dec 2023 17:07:07 +0000 (18:07 +0100)]
Unify phrases

11 months agoGracefully handle invalid license credentials
Alexander Ebert [Mon, 11 Dec 2023 16:50:18 +0000 (17:50 +0100)]
Gracefully handle invalid license credentials

See https://www.woltlab.com/community/thread/302503-button-lizensierte-produkte-f%C3%BChrt-zu-fehler/

11 months agoFix the overlay container being stuck in dialogs
Alexander Ebert [Mon, 11 Dec 2023 16:33:01 +0000 (17:33 +0100)]
Fix the overlay container being stuck in dialogs

The `MutationObserver` is an async process that does not reliably fire when a property is mutated repeatedly within a short time.

See https://www.woltlab.com/community/thread/303449-url-einem-bild-zuweisen-erst-nach-speichern-m%C3%B6glich/
See https://www.woltlab.com/community/thread/303397-men%C3%BC-zur-bildpositionierung-%C3%B6ffnet-sich-nicht-nach-dem-einf%C3%BCgen/