Tim Düsterhus [Tue, 4 Jul 2023 13:51:08 +0000 (15:51 +0200)]
Inline the HTML regex patterns in StringUtil
These are very specific to `StringUtil::stripHTML()` and cannot be usefully
used outside of that method. Inline them to improve readability and to remove
them from the public API.
Tim Düsterhus [Tue, 4 Jul 2023 11:49:10 +0000 (13:49 +0200)]
Sync update_com.woltlab.wcf_6.0_styleVariables.php with install.sql
see
648e43dde01592a235ca64320ed9342bed25bba0
Alexander Ebert [Tue, 4 Jul 2023 11:45:33 +0000 (13:45 +0200)]
Improve the contrast of the content border
See https://www.woltlab.com/community/thread/300400-missing-visual-separation-between-pinned-and-non-pinned-threads-in-dark-mode/
Tim Düsterhus [Tue, 4 Jul 2023 08:52:02 +0000 (10:52 +0200)]
Rebuild WebComponent bundle
Tim Düsterhus [Tue, 4 Jul 2023 08:08:53 +0000 (10:08 +0200)]
Merge branch '5.5'
Tim Düsterhus [Tue, 4 Jul 2023 08:07:05 +0000 (10:07 +0200)]
Update tslib
Tim Düsterhus [Tue, 4 Jul 2023 08:04:38 +0000 (10:04 +0200)]
Update focus-trap and tabbable
Tim Düsterhus [Tue, 4 Jul 2023 08:02:57 +0000 (10:02 +0200)]
Update esbuild
Tim Düsterhus [Tue, 4 Jul 2023 08:02:21 +0000 (10:02 +0200)]
Merge branch '5.5'
Tim Düsterhus [Tue, 4 Jul 2023 07:59:09 +0000 (09:59 +0200)]
Update npm dependencies
Tim Düsterhus [Mon, 3 Jul 2023 15:36:46 +0000 (17:36 +0200)]
Map the `query` as `non-empty-string` in EditorGetMentionSuggestionsAction
see
13cc9092ccc404276c68b009e545aa4fbfe549e5
Alexander Ebert [Mon, 3 Jul 2023 15:32:12 +0000 (17:32 +0200)]
Stop trying to look up mentions when reaching 24 characters
See https://www.woltlab.com/community/thread/300491-mention-detection-in-editor-is-overeager/
Alexander Ebert [Mon, 3 Jul 2023 14:54:17 +0000 (16:54 +0200)]
Convert plain text quotes into their HTML equivalent
See https://www.woltlab.com/community/thread/300419-beim-zitieren-von-aufz%C3%A4hlungen-werden-umbr%C3%BCche-entfernt/
Alexander Ebert [Mon, 3 Jul 2023 13:26:08 +0000 (15:26 +0200)]
Tone down the border of avatar lists in dark mode
See https://www.woltlab.com/community/thread/300470-avatar-border-dark-theme/
Alexander Ebert [Mon, 3 Jul 2023 13:16:41 +0000 (15:16 +0200)]
Prevent the image file name from overlapping the close button
See https://www.woltlab.com/community/thread/300453-bildtitel-kann-von-schlie%C3%9Fen-button-%C3%BCberdeckt-werden/
Alexander Ebert [Mon, 3 Jul 2023 10:29:32 +0000 (12:29 +0200)]
Hide tooltips on mobile
Fixes WoltLab/editor#38
See https://www.woltlab.com/community/thread/300454-editor-unterstrichen-%C3%BCberdeckt-mobil-zwei-icons/
Alexander Ebert [Mon, 3 Jul 2023 10:26:08 +0000 (12:26 +0200)]
Improve the visuals of the sticky editor toolbar
Alexander Ebert [Mon, 3 Jul 2023 09:32:19 +0000 (11:32 +0200)]
Remove the legacy `interactWithRedactor()` wrapper
Alexander Ebert [Sun, 2 Jul 2023 18:58:25 +0000 (20:58 +0200)]
Add a small spacing from the content to the edge of the screen
See https://www.woltlab.com/community/thread/300282-au%C3%9Fenabstand-sidebarboxen-in-mobiler-ansicht/
Alexander Ebert [Sun, 2 Jul 2023 18:56:46 +0000 (20:56 +0200)]
Sync the appearance of quotes in the editor
Alexander Ebert [Sun, 2 Jul 2023 17:42:16 +0000 (19:42 +0200)]
Scroll to the editor when inserting HTML
See https://www.woltlab.com/community/thread/300446-zitate-einf%C3%BCgen-scrollt-nicht-zum-editor/
Alexander Ebert [Sun, 2 Jul 2023 17:12:04 +0000 (19:12 +0200)]
Use the native `<details>` for spoilers and refresh the design
See WoltLab/WCF#4612
Alexander Ebert [Sun, 2 Jul 2023 16:59:24 +0000 (18:59 +0200)]
Add an extra border to increase the contrast of quote boxes
See https://www.woltlab.com/community/thread/300272-unzureichender-farbkontrast-der-zitate/
Alexander Ebert [Sun, 2 Jul 2023 16:57:22 +0000 (18:57 +0200)]
Slightly refresh the visual appearance of code boxes
Marcel Werk [Sun, 2 Jul 2023 16:00:35 +0000 (18:00 +0200)]
Merge branch 'master' of https://github.com/WoltLab/WCF
Marcel Werk [Sun, 2 Jul 2023 16:00:33 +0000 (18:00 +0200)]
Dont hide style changer in mobile view
Alexander Ebert [Fri, 30 Jun 2023 15:54:07 +0000 (17:54 +0200)]
Improve the visuals of the image viewer controls
See https://www.woltlab.com/community/thread/300325-wenig-abstand-bei-den-steuerelementen-der-bildanzeige/
Alexander Ebert [Fri, 30 Jun 2023 15:34:11 +0000 (17:34 +0200)]
Fix the formatting of embedded content in the message preview
See https://www.woltlab.com/community/thread/300428-large-margin-between-type-article-and-headline-for-embedded-contents/
Alexander Ebert [Fri, 30 Jun 2023 13:16:30 +0000 (15:16 +0200)]
Reintroduce the borders on the side of the inline code
See https://www.woltlab.com/community/thread/300345-inline-code-wieder-mit-seitlichem-rahmen/
Alexander Ebert [Fri, 30 Jun 2023 13:14:50 +0000 (15:14 +0200)]
Add the undo/redo feature to CKEditor
See https://www.woltlab.com/community/thread/300366-editor-r%C3%BCckg%C3%A4ngig/
Marcel Werk [Fri, 30 Jun 2023 12:54:01 +0000 (14:54 +0200)]
Merge pull request #5562 from WoltLab/mail-placeholders
Move replacement of placerholders in mail texts into `UserMailBox`
Marcel Werk [Fri, 30 Jun 2023 12:14:10 +0000 (14:14 +0200)]
Merge pull request #5563 from WoltLab/cleanup-clipboard-checkboxes
Cleanup CSS / JS for clipboard checkboxes
Marcel Werk [Fri, 30 Jun 2023 12:10:03 +0000 (14:10 +0200)]
Fix outdated JS file
Marcel Werk [Fri, 30 Jun 2023 12:08:06 +0000 (14:08 +0200)]
Apply suggestions from code review
Marcel Werk [Fri, 30 Jun 2023 12:05:14 +0000 (14:05 +0200)]
Remove obsolete code
Making the label accessible is no longer necessary, since the checkbox is already accessible.
Marcel Werk [Fri, 30 Jun 2023 12:04:21 +0000 (14:04 +0200)]
Cleanup CSS
Marcel Werk [Fri, 30 Jun 2023 11:58:24 +0000 (13:58 +0200)]
Move replacement of placerholders in mail texts into `UserMailBox`
Also added support for an `{$email}` placeholder.
Alexander Ebert [Fri, 30 Jun 2023 11:45:24 +0000 (13:45 +0200)]
Add a default protocol to protocol-less links
See https://www.woltlab.com/community/thread/300389-vorschau-verlinkung-bei-links-in-texten-falsch-verlinkt/
Alexander Ebert [Thu, 29 Jun 2023 17:39:04 +0000 (19:39 +0200)]
Fix the value for the theme color of the dark mode
The value was previously not set if the style already provided an own theme color.
Alexander Ebert [Thu, 29 Jun 2023 16:02:56 +0000 (18:02 +0200)]
Release 6.0.0 Alpha 3
WoltLab [Thu, 29 Jun 2023 15:38:39 +0000 (15:38 +0000)]
Updating minified JavaScript files
Alexander Ebert [Thu, 29 Jun 2023 15:26:36 +0000 (17:26 +0200)]
Update the CKEditor bundle and translations
Alexander Ebert [Thu, 29 Jun 2023 15:08:23 +0000 (17:08 +0200)]
Fix the font style in CKEditor
Alexander Ebert [Thu, 29 Jun 2023 14:54:41 +0000 (16:54 +0200)]
Fix the shortcut for the editor submissions
See https://www.woltlab.com/community/thread/300307-submitting-the-editor-of-a-conversation-message-using-the-access-key-not-possibl/
Alexander Ebert [Thu, 29 Jun 2023 14:08:49 +0000 (16:08 +0200)]
Reorder the editor toolbar and add logical groups through dividers
Alexander Ebert [Thu, 29 Jun 2023 14:03:21 +0000 (16:03 +0200)]
Move the button to remove the formatting into the formatting group
Alexander Ebert [Thu, 29 Jun 2023 14:00:41 +0000 (16:00 +0200)]
Enforce a consistent design of labels
See https://www.woltlab.com/community/thread/300302-label-f%C3%BCr-link-extrem-klein/
Alexander Ebert [Thu, 29 Jun 2023 13:40:26 +0000 (15:40 +0200)]
Add the missing localization of quote author / code file name/line number
See https://www.woltlab.com/community/thread/300304-nicht-%C3%BCbersetzte-texte-im-editor/
Alexander Ebert [Thu, 29 Jun 2023 13:12:32 +0000 (15:12 +0200)]
Remove the tint of icons in flexible button groups
See https://www.woltlab.com/community/thread/300326-icons-bei-checkboxen-nicht-gut-erkennbar/
Alexander Ebert [Thu, 29 Jun 2023 11:50:35 +0000 (13:50 +0200)]
Improve the hover background of labels in dark mode
See https://www.woltlab.com/community/thread/300408-incorrect-hover-text-color-for-default-colored-labels-in-dark-mode/
Alexander Ebert [Thu, 29 Jun 2023 11:34:42 +0000 (13:34 +0200)]
Restrict the maximum height of CKEditor’s lists
See https://www.woltlab.com/community/thread/300306-problem-mit-drop-down-von-sprachauswahl-bei-code-bl%C3%B6cken/
Alexander Ebert [Thu, 29 Jun 2023 11:24:47 +0000 (13:24 +0200)]
Drop the border radius of the sub menu’s top corners
See https://www.woltlab.com/community/thread/300336-submenu-border-radius-top/
Alexander Ebert [Thu, 29 Jun 2023 11:23:41 +0000 (13:23 +0200)]
Force a default tab width of 4 for code boxes
See https://www.woltlab.com/community/thread/300406-tab-l%C3%A4nge-in-code-block-unterschiedlich-in-editor-und-beitrag/
Alexander Ebert [Thu, 29 Jun 2023 11:21:36 +0000 (13:21 +0200)]
Update the theme color when the color scheme is updated
See https://www.woltlab.com/community/thread/300357-theme-color-im-darkmode/
Tim Düsterhus [Thu, 29 Jun 2023 10:17:01 +0000 (12:17 +0200)]
Merge pull request #5560 from WoltLab/prism-dark
Add dark mode variant for Prism highlighting
Alexander Ebert [Thu, 29 Jun 2023 10:12:14 +0000 (12:12 +0200)]
Fix the background color of an unfocused selection
See https://www.woltlab.com/community/thread/300371-markierter-text-im-dark-mode-ist-kaum-sichtbar/
Tim Düsterhus [Thu, 29 Jun 2023 10:00:21 +0000 (12:00 +0200)]
Check for `[data-color-scheme="light"]` instead of `not([data-color-scheme="dark"])`
Co-authored-by: Alexander Ebert <ebert@woltlab.com>
Tim Düsterhus [Thu, 29 Jun 2023 09:18:55 +0000 (11:18 +0200)]
Add dark mode variant for Prism highlighting
see https://www.woltlab.com/community/thread/300315-syntax-highlighting-im-dark-mode-unpassend/
Alexander Ebert [Wed, 28 Jun 2023 17:36:24 +0000 (19:36 +0200)]
Fix the hover state of the link balloon tooltip
See https://www.woltlab.com/community/thread/300338-link-bearbeiten-nicht-optimale-farbwahl/
Alexander Ebert [Wed, 28 Jun 2023 17:25:53 +0000 (19:25 +0200)]
Fix the position of the toggle button of long quotes
See https://www.woltlab.com/community/thread/300355-darstellungsfehler-beim-zitat-weniger-anzeigen/
Alexander Ebert [Wed, 28 Jun 2023 17:07:08 +0000 (19:07 +0200)]
Clear the stored draft when submitting the editor form
See https://www.woltlab.com/community/thread/300295-fehlerhafte-nachricht-absenden-stellt-frage-ob-entwurf-wiederhergestellt-wird/
Alexander Ebert [Wed, 28 Jun 2023 16:02:46 +0000 (18:02 +0200)]
Fix the handling of attachments when editing messages
Alexander Ebert [Wed, 28 Jun 2023 15:30:00 +0000 (17:30 +0200)]
Mark icons are non translatable
See https://www.woltlab.com/community/thread/300333-message-icon-error/
Marcel Werk [Wed, 28 Jun 2023 11:05:30 +0000 (13:05 +0200)]
Merge pull request #5559 from WoltLab/comment-menu
Dont show button for the comment menu if the menu has no entries
Marcel Werk [Wed, 28 Jun 2023 10:26:39 +0000 (12:26 +0200)]
Dont show button for the comment menu if the menu has no entries
Alexander Ebert [Tue, 27 Jun 2023 16:04:37 +0000 (18:04 +0200)]
Release 6.0.0 Alpha 2
WoltLab [Tue, 27 Jun 2023 16:03:02 +0000 (16:03 +0000)]
Updating minified JavaScript files
Alexander Ebert [Tue, 27 Jun 2023 16:01:36 +0000 (18:01 +0200)]
Update the CKEditor 5 bundle
Alexander Ebert [Tue, 27 Jun 2023 15:53:10 +0000 (17:53 +0200)]
Prevent text markers from overlapping markers
See https://www.woltlab.com/community/thread/300322-the-size-of-the-highlight-bbcode-needs-to-be-fixed/
Alexander Ebert [Tue, 27 Jun 2023 15:52:10 +0000 (17:52 +0200)]
Give the inline code a slightly blue tint
See https://www.woltlab.com/community/thread/300294-inline-code-sieht-im-dark-mode-nicht-sch%C3%B6n-aus/
Alexander Ebert [Tue, 27 Jun 2023 15:46:44 +0000 (17:46 +0200)]
Always apply the border radius to `.embeddedContent`
See https://www.woltlab.com/community/thread/300321-farbkontrast-bei-den-rich-embeds/
Alexander Ebert [Tue, 27 Jun 2023 15:41:38 +0000 (17:41 +0200)]
Do not apply the inline code formatting to code boxes
See https://www.woltlab.com/community/thread/300320-appearance-of-the-code-block-in-the-editor/
Alexander Ebert [Tue, 27 Jun 2023 15:32:39 +0000 (17:32 +0200)]
Fix the contrast of unread badges
See https://www.woltlab.com/community/thread/300275-kontrast-badges-darkmode/
Alexander Ebert [Tue, 27 Jun 2023 15:30:51 +0000 (17:30 +0200)]
Add proper spacing to smilies in the list
See https://www.woltlab.com/community/thread/300318-mobil-fehlt-den-smileys-vertikaler-abstand-nach-unten/
Alexander Ebert [Tue, 27 Jun 2023 15:28:16 +0000 (17:28 +0200)]
Fix the insertion of quotes into the editor
See https://www.woltlab.com/community/thread/300303-einf%C3%BCgen-von-zitaten-setzt-den-cursor-nicht-in-den-editor/
See https://www.woltlab.com/community/thread/300285-inserting-all-quotes-from-the-quote-dialog-will-nest-the-quotes/
Alexander Ebert [Tue, 27 Jun 2023 14:43:27 +0000 (16:43 +0200)]
Disabling images should not disable attachments and smilies
See https://www.woltlab.com/community/thread/300270-smiley-hinzuf%C3%BCgen-bei-woltlab-6-0/
See https://www.woltlab.com/community/thread/300284-einf%C3%BCgen-von-bildern-aus-der-zwischenablage-im-editor-nicht-m%C3%B6glich/
Marcel Werk [Tue, 27 Jun 2023 13:45:04 +0000 (15:45 +0200)]
The $value for getFormElement() is nullable
Alexander Ebert [Tue, 27 Jun 2023 10:17:20 +0000 (12:17 +0200)]
Release 6.0.0 Alpha 1
WoltLab [Tue, 27 Jun 2023 10:10:18 +0000 (10:10 +0000)]
Updating minified JavaScript files
Marcel Werk [Tue, 27 Jun 2023 10:07:49 +0000 (12:07 +0200)]
Merge pull request #5556 from WoltLab/rename-emergency-code
Rename 'Emergency Code' to 'Backup Code'
Marcel Werk [Tue, 27 Jun 2023 10:02:34 +0000 (12:02 +0200)]
Rename 'Notfallcode' to 'Wiederherstellungscode'
Alexander Ebert [Tue, 27 Jun 2023 10:01:09 +0000 (12:01 +0200)]
Add `files_pre_check.tar` required for the upgrade
Alexander Ebert [Mon, 26 Jun 2023 16:06:45 +0000 (18:06 +0200)]
Suppress the autosave restore if it is identical
Fixes WoltLab/editor#62
Alexander Ebert [Mon, 26 Jun 2023 16:06:21 +0000 (18:06 +0200)]
Suppress the autosave restore when the content is newer
Fixes WoltLab/editor#63
Alexander Ebert [Mon, 26 Jun 2023 15:52:56 +0000 (17:52 +0200)]
Sync the visuals of inline code and text markers
Marcel Werk [Mon, 26 Jun 2023 15:14:12 +0000 (17:14 +0200)]
Merge pull request #5555 from WoltLab/content-box-sheets
Unify appearance of content boxes
Marcel Werk [Mon, 26 Jun 2023 13:18:59 +0000 (15:18 +0200)]
Rename 'Emergency Code' to 'Backup Code'
Marcel Werk [Mon, 26 Jun 2023 13:12:34 +0000 (15:12 +0200)]
Unify appearance of content boxes
Apply sheet-like presentation for content boxes to bring them in line with other content containers.
Tim Düsterhus [Mon, 26 Jun 2023 12:04:52 +0000 (14:04 +0200)]
Merge branch '5.5'
Alexander Ebert [Mon, 26 Jun 2023 09:57:46 +0000 (11:57 +0200)]
Improve the visuals of markers
Alexander Ebert [Sun, 25 Jun 2023 14:33:12 +0000 (16:33 +0200)]
Merge pull request #5551 from WoltLab/suppress-text-formatting
Add options to suppress text formatting
Alexander Ebert [Sun, 25 Jun 2023 13:03:23 +0000 (15:03 +0200)]
Filter out text formatting on input/output
Alexander Ebert [Sun, 25 Jun 2023 12:39:17 +0000 (14:39 +0200)]
Add options to suppress text formatting in existing messages
Alexander Ebert [Sun, 25 Jun 2023 12:27:11 +0000 (14:27 +0200)]
Merge pull request #5549 from WoltLab/ckeditor-highlight
Add text markers to CKEditor
Alexander Ebert [Sun, 25 Jun 2023 12:03:26 +0000 (14:03 +0200)]
Convert `[mark]` into `<mark>`
Marcel Werk [Sun, 25 Jun 2023 12:03:20 +0000 (14:03 +0200)]
Unified phrases for blocked functions
Alexander Ebert [Sat, 24 Jun 2023 14:44:46 +0000 (16:44 +0200)]
Add support for text markers to CKEditor
Marcel Werk [Sat, 24 Jun 2023 13:55:07 +0000 (15:55 +0200)]
Fix missing title in article delete confirmation
Closes #5543
Marcel Werk [Sat, 24 Jun 2023 13:50:57 +0000 (15:50 +0200)]
Remove obsolete code
Closes #5541
Alexander Ebert [Fri, 23 Jun 2023 16:05:00 +0000 (18:05 +0200)]
Add support for text markers