ملاحظات إصدار Discourse 2.7.0.beta2

ميزات جديدة في 2.7.0.beta2

:warning: إعادة بناء مطلوبة. ستقوم إعادة البناء بتحديث إصدارات الحزم إلى أحدث إصدار، ويجب إكمالها إذا لم يتم إعادة بناء الموقع من سطر الأوامر خلال الأسبوع الماضي.

:warning: ترقية إصدار قاعدة البيانات. ستقوم إعادة البناء بترقية قاعدة بيانات موقعك إلى PostgreSQL 13. يرجى مراجعة PostgreSQL 13 update للحصول على تفاصيل كاملة، خاصة إذا كنت تعمل على خادم محدود التخزين.

إضافة الإنجليزية (المملكة المتحدة) كلغة محلية

هل تكتب كلمة “defense” بحرف ‘c’؟ وهل تكتب “catalog” بـ ue؟ هل تضع ‘y’ في كلمة “tire” أو تضيف ‘u’ إلى كلمة “color”؟ أخبار جيدة، يدعم Discourse الآن الإنجليزية (المملكة المتحدة). لذا استمتع بإجازتك مع مشروبك الغازي وبسكويتك، اخرج للجري في حذائك الرياضي، واسترخِ بجانب المدفأة في شقتك مع سترة دافئة جميلة. أما أنا، فستجدينني أحاول فهم ما كتبته للتو :smiley:.

هل وجدت شيئًا في الترجمة غير دقيق؟ تفضل بزيارة https://translate.discourse.org للمساعدة في المساهمة في الإنجليزية (المملكة المتحدة) ولغتنا العديدة الأخرى.

محدد لغة تخصيص نص الموقع

في السابق، كان على المسؤول التأكد من تعيين لغة واجهته إلى اللغة ذات الصلة في ملفه الشخصي قبل تجاوز أي من نصوص الموقع. بالنسبة للمجتمعات متعددة اللغات، كان هذا يعني القفز المتكرر بين الملف الشخصي وصفحات تخصيص النص. الآن، ندرج محدد لغة في أعلى صفحة التخصيص:

وضع “عدم الإزعاج”

لقد وصل وضع “عدم الإزعاج”! قم بتعطيل الإشعارات والرسائل الإلكترونية حتى تتمكن من التركيز على ما تعمل عليه. يمكن تمكين وضع “عدم الإزعاج” لفترة زمنية محددة أو حتى اليوم التالي. يمكنك أيضًا تعيين جدول الإشعارات لتمكين وضع “عدم الإزعاج” تلقائيًا كل يوم. يمكن القيام بذلك في تفضيلات المستخدم → الإشعارات. لمزيد من التفاصيل، راجع Do not disturb mode.
image

تحسينات إمكانية الوصول

خضع Discourse مؤخرًا لتقييم إمكانية الوصول “تقييم Lightning”. ركز هذا التقييم على الأجزاء الرئيسية من Discourse لضمان توافقها مع المستوى AA من إرشادات إمكانية الوصول لمحتوى الويب. تم إجراء تحسينات على Discourse بناءً على هذا التقييم، وستستمر في الحدوث خلال إصدارات بيتا القليلة القادمة.

استخدام logo small لصورة رمزية للمستخدم النظامي

سيستخدم المستخدم النظامي في الموقع الآن الشعار الصغير من إعدادات الموقع بدلاً من الترس العام. هذا يعطي مظهرًا وشعورًا أكثر تحديدًا للموقع عند تنفيذ إجراءات النظام أو إرسال رسائل خاصة تلقائية. يمكن للمواقع التي ترغب في تجاوز هذا التعيين تعطيل إعداد الموقع use_site_small_logo_as_system_avatar.

تمكين Onebox المضمن لجميع النطاقات افتراضيًا

يدعم Discourse منذ فترة طويلة خاصية Oneboxing. الصق رابطًا في سطر منفصل وسيعمل Discourse على محاولة سحب شعار الموقع والعنوان والوصف لمصدر الرابط، أو عرض معاينة للصورة المرتبطة أو مشغل الفيديو المضمن. ولكن هل كنت تعلم أن Discourse يدعم أيضًا Oneboxing المضمن؟ الصق رابطًا داخل فقرة وسيتم استبدال الرابط تلقائيًا بالعنوان. على سبيل المثال، الصق https://en.wikipedia.org/wiki/Main_Page وسيتم عرضه كـ Wikipedia, the free encyclopedia.

عرض الردود المفلتر اختياريًا

معطل افتراضيًا، يمكن للمواقع تمكين إعداد الموقع enable filtered replies view لتغيير طريقة عرض الردود في تدفق المنشورات. عند الاستخدام، يتم تحديث تدفق المنشورات بعرض الردود فقط في المحادثة الحالية التي تم تحديدها كمرئية.

تحسينات في إشراف مجموعات الفئات

يمكن الآن لمشرفي الفئات تعديل عناوين المواضيع، بالإضافة إلى إدراج/إزالة المواضيع من القائمة.

ميزات أخرى جديرة بالذكر

  • السماح بتعطيل حذف المنشورات ذاتيًا
  • استبدال -> بـ → عند تفعيل مطبع الماركداون
  • تضمين رقم المنشور في عناوين Onebox المضمنة
  • زيادة الحد الأقصى لطول الكلمات المراقبة من 50 إلى 100 حرف
  • يمكن للمستخدمين غير الموظفين استخدام المسودات المشتركة

المزيد والمزيد!

لكن انتظر، هناك المزيد! نبذل قصارى جهدنا لتسليط الضوء على الميزات الجديدة والتغييرات لك، لكن هناك دائمًا تغييرات كثيرة جدًا لا يمكن تفصيلها جميعًا. للحصول على قائمة كاملة بالميزات الجديدة وإصلاحات الأخطاء وتحسينات تجربة المستخدم والمزيد، تأكد من مراجعة الميزات والإصلاحات الإضافية المدرجة أدناه.

30 إعجابًا

Plugin improvements

Many plugins

  • Bug fix
    • We’ve patched numerous bugs in many of our plugins
  • Translations
    • We’ve updated the translations in many of our plugins

GitHub

  • Improve contributors detection

Onebox

  • Support Instagram TV links
  • Display section title when URL contains fragment

WP Discourse

  • Now maintained by Angus and the Pavilion team
  • Use direct db r/w for values used and updated in publication logic
    • Adds get_post_meta_from_db and add_post_meta_to_db, which are direct substitutes for get_post_meta and add_post_meta that read and write directly to and from the db instead of using the wordpress object cache as first port of call.
    • Like the prior usage of add_post_meta, add_post_meta_to_db enforces uniqueness.
    • These new methods have only been applied to the meta value both used AND updated in the publish logic, i.e. discourse_post_id.
  • Update @wordpress/scripts to 12.1.0
  • State should not be initialized if postType is not allowed
  • Add option to enable/disable direct db usage
  • Formatting changes for the PHP codesniffer

Chat Integration

  • Add support for Webex Teams

Canned Replies

  • Hide hyperlink and calender buttons in editor

Assign

  • Show assigned user on search results

Code Review

  • Set API Key site setting as secret, requires click to display
  • Allow disablingt of automatic followup approval
  • Use default branch instead of ‘master’

Solved

  • Silently auto close solved topic

Subscriptions

  • Add coupon support

Additional Features and Fixes

Click to expand

New Features

  • Give user menu icons alt attributes
  • Support DISCOURSE_SMTP_FORCE_TLS option
  • Replace single dash arrows when the typographer is enabled.
  • Reason to reject user signup
  • IMAP detect spammed email and delete associated Discourse topic
  • Log when a group is deleted.
  • Add before-groups-index-container outlet
  • Warn admins when installing a theme that’s already installed
  • Disable post deletions by setting max_post_deletions to zero…
  • Add dash warning for using S3 without CDN
  • Introduce skip_auto_delete_reply_likes site setting
  • Explicitly ban outlier traffic sources in robots.txt
  • Special shortcut for searching for own posts
  • Adds support for the WEBP image format
  • Allow plugins to show custom HTML via renderTags
  • Allow plugins to preload custom data on search
  • Allow plugins to register demon processes
  • Allow IP anonymization via admin user controller API
  • Automatically disable slow mode.
  • Support for GitHub Codespaces development
  • Link to text customization when editing system badges
  • Adds back button to theme editor
  • Add after-topic-list-body plugin-outlet
  • Reviewed by filter.
  • Silently close topic

Bug Fixes

  • Embedded comments should only return regular posts
  • Show the fallback locale warning when both settings are enabled.
  • Change default for IncomingEmail#created_via to 0 (unknown) and make NOT NULL
  • I18n couldn’t find translations.
  • Allow max_redemptions_limit to be 1
  • Polish lang label
  • Don’t try to focus on a missing element
  • Support for single use invite links
  • Always show overriden colors filter
  • Remove rendering UX from ember models
  • Unescape emoji when pg headlines is used for search result blurb.
  • Do not email group user with user_private_message notification
  • Make sure login required skipped for confirm new email routes
  • CurrentUser was missing appEvents
  • Add Retry-Header to rate limited responses
  • Do not test bookmark rate limiter message
  • Do not process pop3 mails >` 1 week old
  • Add bookmark limits
  • Check for user presence before granting badge
  • Allow users to opt-out of using the site’s small logo as the system user avatar.
  • Acceptance/bookmarks test date issue
  • Make sure current user timezone is used for bookmark reminders from post dates
  • Remove migrate_from_s3 task that silently corrupts data
  • TopicTrackingState was initialized after Site
  • Url:refresh triggered when query params change
  • Stop incorrect emailing of group email from PostAlerter
  • Prevent users from converting the default theme to a component
  • IMAP post alerter race condition and code improvements
  • Render fancy title correctly in composer
  • Render topic fancy title in review queue
  • Make category change work with shared drafts
  • Prevents debouncing and query to override each other
  • Use ImageMagick to detect animated images
  • Safari iOS page title and url regression when sharing
  • Users can remove themselves from a PM even if they can still access it through a group.
  • Use the same time moment for related Redis calls in rate limiter
  • Sliding window end time in rate limiter
  • Make category slugs lowercase
  • Do not downsize or crop GIF images
  • Discobot exception when site_contact_username is promoted
  • Publish DND ends_at updates in httpdate format
  • Hiding a post should not trigger the duplicate check
  • Show unassigned component warning when installing multiple components successively
  • Reset theme install modal state on close
  • Hidden tags returned in extras of tags index json
  • Always truncate uncomplete emojis in excerpts
  • Broken emojis in topic excerpt
  • Do not include URL query in auto-generated CSP header
  • Don’t error topic RSS when posts are deleted
  • Don’t count HTML comments when calculating reply length.
  • Tab key should autocomplete like enter key does
  • Recurring was not working for some cases (eg: hours and unit >` 1)
  • Fix bg color of header on published page
  • Hide notification count on document title in Do Not Disturb
  • Validate type when picking an avatar.
  • Group SMTP email improvements
  • Inline Onebox should use encoding from Content-Type header when present
  • Prevents autocompoete of username to appear on right
  • Ensures defined expired_in is passed from write to write_entry
  • Correctly set scroll position when viewing a tag’s topic list.
  • Increase inventory lag for s3 to 2 days
  • Ensures recurring works when setting a start date in future
  • S3 CDN warning was showing wrong warning message
  • The title attribute of the diversity scales was incorrect
  • User destroyer spec
  • When the user is deleted anonymise category post
  • Show all topic statuses on full page search.
  • Use Redis replica host and port
  • Allow for final sigma in suggested usernames
  • Don’t enqueue imported users when there’re multiple custom fields.
  • Disallow zero-width and other non-printing characters in tags
  • Handle badge grant for deleted badge
  • Search topic title headline being truncated.
  • Missing PG topic title headline when pg headlines is enabled.
  • Autoplay videos must always be muted
  • Show restricted tags in bulk select
  • Re-run remove flag and queued post web hook migrations.
  • Make find_by_slug_path work with default slugs
  • Clear in-process theme cache after clearing DB cache
  • Missing default notification level on group creation
  • Scroll to the last position when navigating back to the tag topic list.
  • Bypass AnonymousCache for /srv/status route.
  • No email when the category is muted and mailing list is on
  • Do not forbid tags in /new-topic on mobile
  • Clear WordWatcher cache after topic_spec
  • Show quote replies when filtering
  • Show correct avatar in post stream bar
  • Users without shared drafts access can still have access to the category.
  • Make Oneboxer#apply insert block Oneboxes correctly
  • Show retina avatars on Chrome
  • Posts with Staff Colors were excluded from the group activity
  • Show ‘New’ filter when ‘none’ subcategory set
  • Normalize links by converting them to lower case
  • Build correct topic list filter
  • Logout redirect should only be /login for login_required sites
  • Use sql_fragment instead of sanitize_sql_array
  • notify_file_change was outputting a command to vim
  • Correct tracking when mute all categories
  • Don’t raise an error if a custom emoji image was deleted
  • Only block local edits for git-sourced themes
  • Prevent error when primary email is missing
  • Missing translation
  • Only cache reports with exceptions for 1 minute
  • Prevent usage of composer-action-undefined CSS class
  • Replace Vimeo iframes with a link in emails
  • Avoid clock skew issues when logging in with Google
  • Allow for cateogry edit routes of unknown depth
  • Remove custom ‘error’ action on build-category-route/discovery
  • Actually error when topic timer time is in the past
  • Removes extra slashes from URL
  • Generate correct prev and next topics page URL
  • Correct casing of whitelisted SVG elements
  • Restore dismissing the first notification
  • Local dates showed incorrect timezones with extra whitespace
  • Follow open in new tab site setting for bio links
  • Stop category 404s from breaking the router
  • Hide user id when hide_email_address_taken
  • Adjust reviewable menu placement on mobile
  • Include locale in cache key for not_found_topics
  • Use CDN for custom emojis
  • Group#flair_url must be a real URL
  • Do not replace smiling_face by slight_smile
  • Trigger an event when a post is bookmarked.
  • Stop using duplicate composer button ID
  • Correct link in the notification about moved post
  • Load .js files from plugins in qunit testing env
  • On invite redemption only update pending ReviewableUser record
  • URL encode tag name
  • Show/hide ignored users preferences
  • Don’t error-index category job when missing category

UX Changes

  • Fallback locale warning improvements.
  • Use uniform style for tag counts
  • Text customization for different languages.
  • Show a warning on the category edit page when category style is none and colors are disabled.
  • Stop attempts to convert the default theme to a component by removing button
  • Ellipsis hamburger menu link text when overflowing
  • Add space between links and text in labels
  • Improve color scheme choices in user prefs
  • Refactor topic list nav
  • Autocomplete suggestions should be unselected by default
  • Allow quick access profile content to scroll
  • Allows to copy/paste a list of | separated values in sk
  • Transition to edit URL when adding a category
  • Move do not disturb to profile panel
  • Text overflow user-{primary,secondary}-navigation
  • Move reply filter button on mobile
  • Adjust default menu width
  • Blend header colors
  • Don’t wrap menu text under icon
  • Add title attribute to watched word input
  • Make theme install modal more responsive
  • When input placeholders are too long, truncate with ellipsis
  • Remove timeline from print view, fix header in crawler view
  • Tweaks to filtered replies
  • Show required indication consistently on signup
  • Fix unreachable buttons on menus in Safari iOS
  • Add full date title to fps-result date
  • Makes sk components full width on users admin page
  • When requiring user fields at signup, also mark default fields as required
  • Fix invite checkbox width issue

Performance

  • Improve cook_url performance for topic thumbnails
  • Optimize homepage and topic performance
  • Add indexes to speed up profile pages
  • Run user merging task in a background job.
27 إعجابًا