block_hotlinked_media هو إعداد موقع جديد، عند تمكينه، يتسبب في فشل جميع محاولات ربط الوسائط (الصور ومقاطع الفيديو والصوت) بشكل مباشر، واستبدالها بعنصر نائب مرتبط. يمكن إضافة استثناءات للقاعدة عبر إعداد الموقع block_hotlinked_media_exceptions. يمكن استخدام download_remote_image_to_local بالتوازي مع هذه الميزة. في هذه الحالة، سيتم حظر الصور المرتبطة بشكل مباشر فور إنشاء المنشور، ولكن سيتم استبدالها بالنسخة التي تم تنزيلها بعد بضع ثوانٍ.
في السابق، كنا نحد من موفر DiscourseConnect بسري واحد لكل نطاق. جعل هذا الأمر صعبًا للغاية لتغيير الأسرار في البيئات التي يستغرق فيها نشر التكوين وقتًا.
يسمح هذا التغيير بأن يكون للنطاق نفسه أسرار متعددة.
السماح لمشرفي الفئات بالنشر بشكل متتالي
يتجاوز مشرفو الفئات الآن إعداد الموقع max_consecutive_replies في فئتهم، مما يسمح بعدد غير محدود من الردود المتتالية مثل المنشورين الأوائل والموظفين.
السماح بوضع علامات على الرسائل الخاصة لغير الموظفين
في السابق، كانت الطريقة الوحيدة للسماح بوضع العلامات على الرسائل الخاصة هي استخدام إعداد الموقع allow_staff_to_tag_pms. لقد استبدلنا إعداد الموقع هذا بـ pm_tags_allowed_for_groups الذي يسمح بوضع علامات على الرسائل الخاصة لغير الموظفين.
سيتم تلقائيًا إضافة مجموعة staff إلى الإعداد الجديد للمواقع التي كانت قد مكّنت سابقًا وضع علامات الموظفين على الرسائل الخاصة.
إضافة الكلمة المفتاحية group_messages: إلى البحث المتقدم
يسمح هذا للمستخدمين بالبحث عن الرسائل في صندوق وارد لمجموعة معينة. على سبيل المثال، سيؤدي إدخال group_messages:support keyword إلى البحث عن “keyword” في الرسائل الخاصة لمجموعة الدعم.
في السابق، كان يمكن البحث عن الرسائل الشخصية عبر المعدّل in:personal. وجدنا أن هذا لم يكن قابلاً للاكتشاف بشكل جيد، لذلك أضفنا دعمًا لـ in:messages أيضًا.
دعم البريد الإلكتروني في الوضع المظلم
أضفنا دعمًا لعرض رسائل البريد الإلكتروني في الوضع المظلم! تجدر الإشارة إلى أن دعم الوضع المظلم في عملاء البريد الإلكتروني في أفضل حالاته عند إصدار هذه الميزة - وليس كل عميل بريد إلكتروني سيدعم ذلك.
But wait, there’s more! We do our best to highlight new features and changes for you, but there’s always too many changes to detail. For a full list of new features, bug fixes, UX improvements, and more, be sure to review the Additional Features and Fixes listed below.
Security Updates
This beta includes 2 security fixes for issues reported by our community and HackerOne.
Do not expose banner data in login_required sites
Remove auto approval when redeeming an invite
Plugin improvements
Assign
Features
Register assigned link under sidebar topics section.
Promote polymorphic bookmarks
Shows note in moderator post
Show note in tooltip
Add assign note
Bug Fixes
Include users who were assigned to a post instead of topic.
Only assign when suggestion is clicked
Assigning a user without notes assigns and closes the modal
Polymorphic bookmarks support
Rename button
User link on post assign/unassign
Hide footer action button when user cannot assign
Broken reviewable filter
UX Changes
Don’t mention the group when no one is assigned.
Show posers on group assign list
Show posters on assigned topic list
Performance
Speed up User.assign_allowed SQL query
Discourse Chat
Features
Move bookmark button to chat message quick actions
Implement oneboxes for chat
Add a button to switch back to small chat
Chat notification emails
Chat message bookmarks
Chat-composer-buttons API
Move chat messages to another channel
Make original message the reply excerpt if prettified excerpt is empty
Bug Fixes
Ensures a deleted message can be marked as read
Requests larger avatars for onebox
Tests were broken following core change
Prevents the jump when loading more
Onebox should only show active users
Make sure chat uploads have correct URL in template
Undefined uploads error when attempting to cloneJSON
Dev populate breaks with missing admin user
Refresh chat state when tab gains visibility
Add extra chat shortcut help text
Ensures we attempt to fill the current pane with messages
Ensures chat has correct height on composer resizing
Ensures staged message is not using uploads array ref
Ensures we unsubscribe from /chat-reply in draft mode
Issues with deleted messages and incorrect last read
Prevents destroyed/deleted chatable to crash admin page
Message order consistency
Serialize dates using ISO8601
Add ChatChannelFetcher specs and fix issues
Use message full_url in summary emails
Send_unread_mentions_summary is a class method
Make the bookmark row highlight work with sidebar
Fix filter in chat channel fetcher
Don’t hide the new messages’ separator besides the channel header.
Ensures composer transition is over to compute height
Minor fixes to msg-actions
Reduces margin before dots of replying indicator
Workaround electron quirk
Prevents 2 rows when only one is needed in firefox
Composer disabled state was incorrect
Update user last read endpoint.
Add channel ID attribute to chat quotes
Make get channel by name work with chatable name
Nicer error message when reacting without membership
Immediately queue notification jobs
Excerpts for complex messages
Composer uploads were appearing in the last message
ChatMessageClasses has too many arguments
Add gallery to collapser
Ensures mentions are correctly highlighted
Don’t hide the new messages indicator beside the channel header
Do not show Move Messages button in DM channels
Do not assume name exists for channel
Don’t hide the new messages indicator beside the channel header.
Loads populate only on development env
Ensures separator is correctly translated
Shows edited text if editing a collapsible into a collapsible
Ensures collapsing is working on legacy
Ensure edits are shown, with tests
Decorates lazyYT only once
Get + computed causing issues on legacy
Ensures widget is re-rendering when router changes
Fix overflowing github oneboxes
Scope chat image/onebox styling to .chat-message
Following public channel doesn’t return channel
Ensures channels are refreshed when creating channel
Resize images within oneboxes
Ensures we don’t double subscribe to updates
Correctly acknowledge for deletion in unread_counts
Use @service router to fix chat quoting on mobile
Enable quoting in all cases
Scope updating ChatMessageEmailStatus records to current_user
Default channel setting not working
Ensures html pasting works
Reset dm-creator state on channel change
Ensures we focus when creating from a dm
Improves channel switching when upserting
UX Changes
Ensures sticking to bottom loads from last message
Reduces spacing between avatars in channel onebox
Split each summary’s message into its row.
Tweak the archived channel UI
Changes chat composer dropdown button to use times icon
Raises DM limit to 20 in every cases
Hide msg actions on mouseleave
Slightly improve look of message actions on desktop
Vibrate on devices supporting it
Disable text selection on more elements
Make some UI elements unselectable
Display staged message when creating channel
Uses pencil icon for browse channels button
Uses cog icon for editing channels btn
Reduces replying indicator vertical padding
Ensures progress bar reaches done state
Performance
Only parse HTML once during isCollapsible
Update all decorators to use decorateChatMessage api
Only decorate messages when cooked changes
Voting
Bug Fixes
Logs category setting changes when voting is enabled/disabled
Do not recreate database record for category setting
Templates (formerly Canned Replies)
Features
Includes variables %{topic_title} and %{topic_url}
Return 422 in /canned_replies/id/use if id does not belong to canned reply
Limit max replies retrieved as a safe guard
Added rake tasks to migrate data from v1 to v2
Check category permissions to see if user can use canned replies
Filter out topics with unwanted status from replies list
Unified desktop and mobile selection UI
Remove replies CUD code and UI elements
Allow user to filter canned response by tag
MVP - Fetch replies from category topics
Bug Fixes
Fixes regression in templates variables starting with reply_
Renamed migration to reate_discourse_templates_usage_count
Default usage_count to 0 while migrating from v1
@computed in CannedTagDrop was causing test to fail
Test if the filter input was found before setting focus
Removed unnecessary inline style in canned-replies-modal.hbs
Use POST to update reply usage
Removed unused settings
Fixed lint errors
Calendar
New Features
Allow admins to view holidays by region
Add events calendar on the category page
Bug Fixes
Don’t initialize on logged-out login_required
Make region visible to current user too
Do not hide upcoming events calendar when navigating away from page
UX Changes
Fix timezone picker and multi-person logic
Do not show scrollbar when there’s no scrolling required