Discourse 2.7.0.beta2 リリースノート

2.7.0.beta2 の新機能

:warning: 再ビルドが必要です。 再ビルドを行うと、パッケージのバージョンが最新に更新されます。過去 1 週間にコマンドラインからサイトを再ビルドしていない場合は、必ずこの作業を完了してください。

:warning: データベースバージョンのアップグレード。 再ビルドを行うと、サイトのデータベースが PostgreSQL 13 にアップグレードされます。詳細については、特にストレージ容量が限られているサーバーを使用している場合は、PostgreSQL 13 update を必ずご確認してください。

英語(イギリス)のロケール追加

「defense」を「c」で綴りますか?「Catalog」に ue を入れますか?「tire」に「y」を入れるか、「color」に「u」を追加しますか?朗報です。Discourse には現在、英語(イギリス)のサポートが追加されました。炭酸飲料とお菓子を片手に休暇を楽しんだり、スニーカーでランニングをしたり、暖かいセーターを着てアパートの暖炉のそばでくつろいだりしてください。私はここで自分が何を入力したのか考え中です :smiley:

翻訳で何かおかしい点を見つけましたか?https://translate.discourse.org にアクセスして、英語(イギリス)やその他の多くの言語への貢献をお手伝いください。

サイトテキストのカスタマイズ言語セレクター

以前は、管理者がサイトテキストをオーバーライドする前に、ユーザープロフィールでインターフェースの言語を対応する言語に設定する必要がありました。多言語コミュニティの場合、プロフィールとテキストカスタマイズページの間を行き来する必要があり、非常に手間がかかっていました。現在、カスタマイズページの上部に言語セレクターが追加されました:

通知オフ(Do Not Disturb)モード

通知オフモードが登場しました!通知やメールを無効にして、作業に集中しましょう。通知オフモードは、一定期間または翌日まで有効に設定できます。また、通知スケジュールを設定して、毎日自動的に通知オフモードを有効にすることも可能です。これは「ユーザー設定」→「通知」から行えます。詳細については、Do not disturb mode をご覧ください。
image

アクセシビリティの改善

Discourse は最近、「Lightning assessment」と呼ばれるアクセシビリティ監査を行いました。これは、Web コンテンツアクセシビリティガイドラインのレベル AA に準拠していることを確認するために、Discourse の主要な部分を調査するものです。この監査に基づいた 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 サイト設定を有効にすることで、投稿ストリームでの返信の表示方法を変更できます。有効にすると、現在の会話に属する返信のみが表示され、投稿ストリームが更新されます。

カテゴリグループモデレーションの改善

カテゴリモデレーターは、トピックのタイトルを編集したり、トピックのリスト表示/非表示を切り替えたりできるようになりました。

その他の注目すべき機能

  • 投稿の自己削除を無効化可能に
  • マークダウンタイポグラファーが有効な場合、-\u003e を -\u003e に置換
  • インライン Onebox のタイトルに投稿番号を含める
  • 監視単語の最大長を 50 文字から 100 文字に増加
  • スタッフ以外のユーザーが共有ドラフトを使用可能に

さらに!

でも、まだあります!私たちは新機能や変更点をできるだけ強調して紹介していますが、詳細をすべて記載するには変更が多すぎます。新機能、バグ修正、UX 改善などの完全なリストについては、以下に記載された「追加機能と修正」を必ずご確認ください。

「いいね!」 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