3.0.0.beta15:Discourse 3.0 闭幕(包含侧边栏、聊天、新菜单等)

:dizzy: Discourse 3.0.0.beta15 有什么新功能?

此测试版将我们从 2.9.0.beta14 移至 3.0.0.beta15,因为我们计划在 一月份进行主版本更新,将各种激动人心的变化整合到 Discourse 中:

:new: 侧边栏 + 新用户菜单(Discourse 外观的重大改变)
:new: https://meta.discourse.org/t/discourse-chat/230881(现已包含在 Discourse 源代码树中)

即将到来的 3.0 主版本升级也将标志着我们在 2022 年开发的许多其他新增功能。目前来看,请注意,这些升级不会给后端 API 带来任何不兼容问题。

Hashtags 进行了 #大改造

Chat 和 Sidebar 现在默认启用

通过 此更改,Chat 和 Sidebar 现在可以通过网站设置在所有 Discourse 实例上启用!虽然现有网站没有变化,但管理员可以通过 chat enabledsidebar 网站设置或运行设置向导 (discourse.example.com/wizard) 来启用它们。

改进的管理员体验

除了 Discourse 3.0 中的各种其他改进之外,每次管理员运行设置向导时,您都会看到一些有用的新切换选项:

另一个变化是,在升级/部署后网站出现新功能时,会向管理员发送新通知:

简化 DnD、用户状态和通知

“请勿打扰”模式已与用户状态集成,并重命名为“暂停通知”。

  • 用户状态现在显示在群组页面上
  • 在帖子的内联提及中显示实时用户状态
  • 允许 UserApiKey 的 user_status 范围

更多 :new: 功能!

  • 警告管理员匿名用户可能暴露私有群组名称
  • 添加用户切换以屏蔽/取消屏蔽密码
  • Embed Motoko 的 Onebox
  • 在核心中添加对桌面推送通知的支持
  • 对以术语开头的标签进行排序,优先级更高
  • 区分直接或间接关注主题的通知类型
  • 允许类别版主设置主题自动删除计时器
  • 在处罚用户时显示相似用户
  • 可选允许指定单独的 s3_asset_cdn_url
  • 允许显示不带术语的标签自动完成结果
  • 改进管理 2fa 的 UI
  • 对聊天消息强制执行提及限制
  • 在帖子的内联提及中显示实时用户状态
  • 支持 Youtube Short onebox
  • 允许 UserApiKey 的 user_status 范围
  • 改进提及的编辑器警告
  • 频道可以允许/禁止 @all/@here 提及
  • 添加实验性插件 API 以注册消息导航下拉菜单
  • 为新 PM 和待审核项区分通知指示器
24 个赞

Even more!

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 describe. 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 one security fix for issues reported by our community and HackerOne:

  • Restrict unlisted topic creation

Plugin improvements

discourse-animated-avatars

New Features
  • Allow always-animated avatars

discourse-assign

New Features
  • Do not suggest users on vacation
  • Make plugin compatible with redesigned user messages
UX Changes
  • Update small actions to use sentence case

discourse-bbcode

Security Changes
  • Fix allowed font names

discourse-calendar

New Features
  • Add option to bump topic

discourse-checklist

UX Changes
  • Use checkboxes as bullets in unordered lists

discourse-encrypt

UX Changes
  • Don’t include encrypted posts while searching group messages.

discourse-footnote

UX Changes
  • Prevent long strings from causing overflow

discourse-post-voting

Bug Fixes
  • Category setting create_as_post_voting_default is not working as expected.
  • Treat replies to first post via email as answers.
  • Copyedits

discourse-question-answer-discourse

Bug Fixes
  • Category setting create_as_post_voting_default is not working as expected.
  • Treat replies to first post via email as answers.
  • Copyedits

discourse-saml

Bug Fixes
  • Add idp_cert_multi in hash format with signing key.

discourse-spoiler-alert

Accessibility
  • Toggle spoiler via keyboard and improve screen reader support

Additional Fixes and Improvements

Click to expand

Bug Fixes

  • More stable system tests
  • Correctly uses request_uri to generate load_more_url
  • At this point in time component can be destroyed
  • Correctly always return a promise from loadMore
  • Ensures loading more doesn’t erase filter on browse
  • Update nginx config for v1.23
  • Do not show push notification banner for MacOS
  • Add missing email template for user_watching_category_or_tag
  • Various fixes to channel archive status
  • Show status on mentions on just posted posts
  • Avoid race conditions when toggling presence state
  • Cancels fetching messages when pane is destroyed
  • DButton ellipsis argument
  • Show topic titles in deleted-posts
  • Gracefully handle DNS issued from SSRF lookup when inline oneboxing
  • Removes missed chat_channels legacy paths
  • Correctly allows admin to visit a user chat’s preferences page
  • Correctly handles navigating to a message
  • Whisper tooltip shows the allowed groups
  • More reliable archive channel spec
  • Ensures recovering network doesn’t create unread mentions
  • Workaround a bug in the R2 gem
  • Admin can’t see user sidebar preferences of other users
  • Flakey spec due to autocomplete
  • Increment wait to prevent a specific flakey spec
  • Autocomplete fadeout arrow key chat fix
  • Allow for nested chat transcripts
  • Ensure we have a patched version of CGI gem
  • Re-enables using_session tests
  • Prevents playing chat sound when in DnD
  • Styles of user status on mentions
  • Autocomplete arrow scroll for mention
  • Prevents creating a null User object
  • Sidebar preferences link shown when navigation menu is legacy
  • Triggers update last read when message is not staged
  • Prometheus plugin expects webrick in production
  • Corrects a regression with last_read_message_id
  • Allows an admin to access users preferences
  • Correctly sorts public channels
  • Better chat-api error handling
  • Prevents chat-api to generate double slash URLS
  • Quoting a mention with status emoji breaks the mention
  • Hashtag autocomplete scrolling arrow keys with fadeout
  • Include tags inside tag groups for hashtag search
  • Responsive buttons and wider content container
  • Do not return muted child categories termless hashtag search
  • TL0 could not message group with everyone messageable_level
  • Don’t assume a clean slate in tests
  • Don’t validate channel slug if it hasn’t changed
  • Box-sizing for avatars
  • Discourse-follow notification types
  • Add missing user_id args for ChatMessage.cook
  • Access to category chat only when user can create post
  • A string usage that was lost during git merge
  • Remove magic time ranges
  • Allow backspace into hashtag autocomplete
  • Scroll autocomplete container on arrow press
  • Remove user_option saving for bookmark auto delete pref
  • Correctly parse Mandrill webhooks
  • Add REPLACEMENTS icons to styleguide
  • Email summary subject order should be consistent
  • Use correct plural rules for Russian
  • Unable to change homepage style via wizard
  • Do not duplicate check when editing chat message to remove uploads
  • Invalid route path for staff info warnings link
  • Properly count DistributedMutex locking attempts
  • Remove console warning for “nohighlight”
  • Reset search controller state
  • Make sure user status on mentions doesnt fail in plugins
  • GitHub onebox ellipsis styling regressed in 9d03f20
  • Restore missing text for read_more and read_more_in_category
  • More specific class name to avoid collision
  • Make sure generated tsqueries are valid
  • Multipart uppy upload regression in 80e422c
  • Ensure hashtag autocomplete is not behind keyboard in chat
  • Do not return channels for hashtags if user cannot chat
  • Broken images on subfolder installs
  • Broken emoji url on password reset w/ subfolder
  • New pm notification should take precedence over mention
  • Server-side hashtag lookups of secure categories for a user
  • Correctly hides admin settings in channel settings
  • Show last match time of screened IP address
  • Admin webhook regression in 321b14d
  • Do not provide advice regarding GDPR compliance
  • Add translation for setting
  • Duplicate hashtag lookup results based on permissions
  • Use correct property for theme’s color_scheme_id
  • Do not reset seen popups when skip_new_user_tips is false
  • Profile page is not loading
  • Error when opening a previously deleted post
  • Webhook should touch channel’s last_message_sent_at
  • Uses CDN when available for chat mp3 sounds
  • URL fragments not purging
  • Update match_count of screened IP address
  • New message brings a direct message channel to the top
  • Nullify active channel only when not on a chat channel
  • Only modify secured sidebar links on user promotion/demotion
  • Don’t force show topic map on non-first posts
  • Ensures chat channel metadata date is updated
  • User menu bug when transit from narrow screen
  • Deactivate is not called in every cases
  • Include CDN in result of avatarUrl helper
  • Change drupal permalink creation to use /node/
  • Ensure chat channel slug uniqueness at DB level
  • Add MessageBust.last_id to chat channel subscriptions
  • Relative URL routing on ember-cli only page
  • Watched words replacement emoji render
  • Don’t update url in GitImporter
  • Observe unlisted topic creation restrictions in post creator specs
  • Email hashtag-cooked text replacement error
  • Do not replace hashtag-cooked text with WatchedWords
  • Handle null svg class for excerpt parsing
  • Exclude claimed reviewables from user menu
  • Horizontal scrolling was not working correctly
  • When following redirects before cloning, use the first git request
  • Validate unsubscribe key has an associated user
  • ScrollingPostStream regressed in #15313
  • Show chat channel info on reviewable items
  • Allow reviewable-item components to be template-only
  • Margin for sidebar and revamped user menu on iPad
  • Allow svg in oneboxer in certain cases
  • Improve message when posting a duplicate link
  • Don’t notify of post deletion when agreeing with automatic flags.

UX Changes

  • Improve copy for contact email and url description
  • Switch webkit to pseudoelement for fadeout
  • Setup wizard copy changes and vertically stack logo fields
  • Temporarily revert autocomplete highlight change
  • Update classname to something non-conflicting
  • Wizard Step Enhancements
  • Redesign and refactor penalty modals
  • Hashtag autocomplete styling
  • Rename “Do Not Disturb” to “Pause Notifications”
  • Add tooltip why file upload is disabled
  • Change color of preview card in channels
  • Update small action text to use sentence case
  • Add new boxshadow variation
  • Change highlight colour
  • Include space between elements in kbd tag
  • More consistent style for the new topic banner
  • Add lightbox information to max image width/height settings
  • Exclude child catgegories of muted category in similar to search
  • Omit instruction note when email_time_window_mins is off
  • Improve nav for user messages on small screens
  • Adjust emoji size in mentions
  • Exclude search ignored and user muted categories in similarity search
  • Refactor & update small post styles
  • Add target to start discussion link
  • Improve UI of group delete dialog
  • Removes silence from chat message actions
  • Chat index refactor

Performance

  • Avoid running redundant bookmarks query for anon viewing topic
  • Memoize topic level checks in PostGuardian
  • Remove redundant DB queries from TopicView
  • Make chat mention notifications async.
  • Ignore repeated PresenceChannel leave/join calls
  • Optimize the performance of TopicLink.topic_map query
  • Fix N+1 queries problem on topic view page
  • Fix N+1 queries on /categories route
  • Remove unnecessary query from TopicQuery.remove_muted_tags
  • Fix N+1 queries when serializing topic posters
  • Stop serializing user in ChatChannelSerializer#current_user_membership
  • Use MessageBus.last_ids instead of MessageBus.last_id for chat
  • Remove unnecessary SQL UNION query when search public channels
  • Add index for chat unread counts query
  • Remove unnecessary DB queries when preloading for chat
  • Perform only one category update when creating a new topic
  • Improve Accept header handling for stylesheets and theme-js
  • Add GlobalSetting to redirect avatars instead of proxying
  • Do not cancel debounce and prevents popper on scroll
  • Update Group#user_count counter cache outside DB transaction
11 个赞

帖子已拆分为新主题:User Preferences 仍引用 3.0.0.beta16 中的“请勿打扰”