Discourse 2.4.0.beta3 发布说明

2.4.0.beta3 中的新功能

允许自定义 robots.txt

此功能允许管理员在 /admin/customize/robots 处自定义/覆盖 robots.txt 文件的内容。该页面未链接到 UI 中的任何位置——管理员必须手动输入 URL 才能访问该页面:

批量邀请时每分钟最多发送 200 封电子邮件

注意: invite.via_email 已弃用,改用 invite.emailed_status

此提交在 invites 表中添加了一个新列 emailed_status,用于跟踪电子邮件发送状态。

 0 - 不需要
 1 - 待处理
 2 - 批量待处理
 3 - 发送中
 4 - 已发送
  • 对于普通电子邮件邀请,创建邀请记录时 emailed_status 设置为“待处理”。
  • 发送批量邀请时,创建邀请记录时 emailed_status 设置为“批量待处理”。
  • 对于生成链接的邀请,创建邀请记录时 emailed_status 设置为“不需要”。
  • 当邀请邮件进入队列时,emailed_status 更新为“发送中”。
  • 一旦通过 InviteEmail 作业发送了电子邮件,邀请的 emailed_status 将更新为“已发送”。

兑换邀请时的外部认证

此功能(启用后)将允许 invite_only 站点在兑换邀请之前要求外部认证。

  • 创建了隐藏站点设置以切换此功能
  • 允许在禁用本地登录的情况下发送邀请
  • 邀请表单中添加了 OAuth 按钮
  • 要求 OAuth 电子邮件地址与邀请电子邮件地址匹配
  • 如果 OAuth 认证失败,则阻止兑换邀请

公开私信时允许选择分类

此前默认会归类为 未分类,这对某些论坛来说并不理想。现在,工作人员可以立即决定将私信移至哪个分类。

允许查看可审核队列帖子的原始电子邮件

如果帖子通过电子邮件到达但需要审核,我们现在会显示一个图标,点击即可查看电子邮件的原始内容。

如果 Discourse 的电子邮件解析器表现异常,且审核帖子的用户希望了解批准/拒绝帖子之前的原始内容,这将非常有用。

关注词改进

此版本中添加了新功能。

有两个新按钮。第一个允许管理员按操作下载关注词为 .txt 文件,第二个按钮清除每个操作(例如屏蔽、标记等)的所有已删除词。此外,当帖子因包含一个或多个屏蔽词而被拒绝时,错误消息现在会列出帖子中包含的所有屏蔽词。

请注意,此新功能还将导入关注词的文件格式从 .csv 更改为 .txt,因此与导出关注词时的文件扩展名不一致。

自定义 HTML 电子邮件

此功能添加了使用自定义 HTML 模板和可选 CSS 样式来定制所有电子邮件 HTML 部分的能力。CSS 将被解析并转换为内联样式,因为电子邮件客户端对 CSS 的支持较差。在编写自定义 HTML 和 CSS 时,请注意电子邮件客户端的支持情况。保持自定义非常简单

自定义可以在 管理 > 自定义 > 电子邮件样式 中添加和编辑。

由于摘要电子邮件已经经过大量样式化,因此有一个设置可以禁用摘要电子邮件的自定义样式,名为 apply custom styles to digest,位于 管理 > 设置 > 电子邮件 中。

作为这项工作的一部分,所有电子邮件现在都能正确渲染 RTL 区域设置。

在关于页面列出分类版主

这是针对 Category Group Review/Moderation 功能的新更新。从现在开始,分类版主将与工作人员一起显示在站点的“关于”页面上。

添加对组成员可见性级别的支持 & 成员被接受加入群组时发送通知

这是群组可见性管理的另一个补充。现在有 5 个可见性级别(类似于群组可见性):

  • 公开(默认)
  • 已登录用户
  • 仅限成员
  • 工作人员
  • 所有者

管理员和群组所有者始终可以查看群组成员。

此外,从现在开始,当用户被接受加入群组时,将向其发送通知。

通过 JavaScript API 在远程站点嵌入主题列表

此功能添加了对 <d-topics-list> 标签的支持,您可以将其嵌入到您的站点中,该标签将被渲染为 Discourse 主题列表。标签上的任何属性都将作为过滤器传递。例如:

<d-topics-list discourse-url="URL" category="1234"> 将过滤到分类 1234。

要使用此功能,请启用 embed topics list 站点设置。然后,在您想要嵌入的站点上,包含以下 JavaScript:

<script src="http://URL/javascripts/embed-topics.js"></script>

其中 URL 是您的 Discourse 论坛的 URL。

然后在您的 HTML 文档中包含 <d-topics-list discourse-url="URL"> 标签,它将被替换为主题列表。

详细信息请参阅 Embedding a list of Discourse Topics in another site

为用户通知添加 Webhook

如果启用,每当创建用户通知时,这将触发一个 Webhook。根据您的论坛,这可能是大量数据,因此应谨慎使用,因为它包含了所有用户在其动态中看到的所有内容。

将 theme_uploads 视为 JavaScript 中的设置,并允许主题上传 js 文件作为资源

这是对主题的其他改进。第一个改进允许主题和组件访问主题资源。这意味着在主题 js 中,您现在可以通过以下方式获取资源的 URL:

settings.theme_uploads.name

第二个改进有助于解锁主题延迟加载较大 js 负载的能力。此更改是安全的,因为主题本来就可以包含内联 js。

与 iOS/Android 原生应用链接的站点设置 & 将 PWA 安装提示整合到 Discourse UI 中

在此版本中,Android 和 iOS 应用也有新功能。

现在有两个新的站点设置,用于通过 apple-app-site-association 端点添加对 iOS 通用链接的支持,以及通过 .well-known/assetlinks.json 端点添加对 Google 数字资产链接的支持。

此外,我们将阻止原生安装“迷你信息”栏出现,捕获弹出该栏的事件,并将其延迟到用户满足我们的条件为止,目前该条件是信任级别 1。

如果事件发生且用户满足我们的条件,我们将显示一个 Discourse 警报横幅,向用户提议安装。横幅的关闭会被记录,因此用户在同一设备上不再受到打扰。

使用 Discord 登录

我们将 discourse-plugin-discord-auth 的功能添加到了核心。当核心更新时,该插件将自动禁用,参见:discourse/discourse-plugin-discord-auth@fd08678?w=1

有关设置说明,请访问 Configure Discord Login for Discourse

提高匿名缓存性能

这里有 2 个新功能以提高性能:

  • DISCOURSE_COMPRESS_ANON_CACHE (true|false,默认为 false):允许您选择压缩 Redis 中的匿名缓存正文条目,对于 Redis 位于与 Web 服务器分离的高负载站点可能有用。

  • DISCOURSE_ANON_CACHE_STORE_THRESHOLD(默认为 2),仅当观察到条目超过 N 次时才将其推入 Redis。这避免了爬虫遍历大量主题并将它们全部存储在 Redis 中却从未被使用的情况。我们默认的匿名缓存时间对于主题仅为 60 秒。匿名缓存的存在是为了避免“Slashdot”效应,即单个主题在一分钟内被数百人访问。

26 个赞

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 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 10 security fixes for issues reported by our community and HackerOne.

  • Reset password when activating an account via auth provider
  • Don’t send CSRF token in query string
  • Bump nokogiri
  • Add rate limiting to anon JS error reporting
  • Don’t reveal category details to users that do not have access
  • Restrict message-bus access on login_required sites
  • Require POST with CSRF token for OmniAuth request phase
  • Sanitize email id for use as mutex key
  • Add confirmation screen when connecting associated accounts
  • Validate backup chunk identifier

Plugin improvements

Discourse Cakeday

  • Update translations

Discourse Checklist

  • Update translations

Discourse Math

  • Update translations

Discourse Saved Searches

  • Update translations

Discourse Policy

  • Update deprecated icon

Discourse Invite Token

  • FIX: invite.via_email is deprecated in favor of invite.emailed_status

Discourse User Notes

  • Update translations
  • Update deprecated icon names
  • Remove package.json
  • Update setting names, readme, to reflect rename to user notes
  • Update README.md
  • FIX: Rename site setting in the database, too.
  • FIX: uses correct path
  • DEV: Rename files, functions and DB entries plus two small fixes

Discourse Translator

  • Use zh-Hans and zh-Hant as language codes for Microsoft API
  • FIX: Use HTML option in Microsoft translator
  • Fix specs

Discourse Steam Login

  • Make Rubocop happy

Discourse Amazon Login

  • FIX: Amazon verifies the email addresses.
  • Make Rubocop happy

Discourse Canned Replies

  • Update translations
  • Update deprecated icon names
  • REFACTOR: minor refactoring/formatting
  • DEV: removes sendAction deprecation
  • FIX: limit edit reply modal height on mobile

Discourse Oauth2 Basic

  • Update translations
  • FEATURE: Migrate to ManagedAuthenticator
  • FIX: Ignore duplicate user_ids when migrating old data
  • Make Rubocop happy
  • FIX: Ignore non-numeric values when migrating from old data format

Discourse Chat Integration

  • Update translations
  • Update deprecated icon names
  • FIX: Access transcript params correctly
  • FIX: undefined local variable or method `site_setting_saved’
  • FIX: An error would be raised if fewer than “skip_messages” existed

Discourse Graphviz

  • Add id to decorateCooked API call
  • FIX: register plugin only if enabled
  • FIX: don’t do any work if not enabled
  • FIX: allows to render multiple graphs in preview
  • FIX: auto strip comments from graph definition
  • FIX: allows graph definition to have blank lines
  • FEATURE: use svg=true to force graphviz to avoid image conversion
  • FEATURE: render svg to actual svg and replace inline

Discourse Tooltips

  • REFACTOR: removes this.$() pattern
  • PERF: enable 3 minute anon cache for tooltips
  • FEATURE: adds support for rate limit when requests are queuing

Discourse Signatures

  • DEV: Do not require restart to enable signatures
  • FIX: Only serialize user custom fields specific to this plugin

Discourse Patreon

  • Update translations
  • Update deprecated icon
  • FIX: Don’t error when patrons group or badge already exists.
  • lint file

Discourse Code Review

  • Update deprecated icon
  • Changes after feedback from Sam
  • DEV: Rename i18n keys because they’re not i18n pluralization keys
  • DEV: Move user syncing to its own module
  • DEV: Move category creation into its own module
  • FIX: Race-condition
  • FIX: Pulling an individual commit was broken by 079055c
  • FEATURE: Sync unmerged commits
  • FEATURE: Sync post deletes back to Github
  • REFACTOR: old patterns and deprecations
  • Make Rubocop happy
  • DEV: Add helpers for sanitizing input
  • FEATURE: Pull Request Syncing
  • DEV: Make Rubocop happy
  • FIX: Make string constants upper snake case
  • FIX: Only sync regular posts
  • FIX: Skip validation when updating close posts
  • FIX: Update node_id after mirroring comment
  • FEATURE: Github Webhook Configuring Page
  • DEV: Added tests for mirroring PR posts to github as comments
  • FIX: Post and Topic creation race-condition

Discourse Styleguide

  • REFACTOR: removes this.$() pattern
  • Update deprecated FA 4.7 icon names and link
  • link update, additional details for icon section
  • UX: Small style fixes
  • List all available icons in the SVG Sprites

Discourse Characters Required

  • Update translations

Discourse Solved

  • Update translations
  • UX: Integrate text with button to improve spacing
  • Revert “UX: Integrate text with button to improve spacing”
  • UX: If I can’t unselect an answer, show text not a button
  • remove unused variable
  • Solved button text margin fix
  • FIX: Include previously solved topics in auto-bump
  • FIX: Fix test suite after fabricated category defaults changed
  • Replace deprecated icon

Discourse Calendar

  • Various bug fixes and performance improvements
  • Fix Prettier
  • Make Rubocop happy
  • FIX: ensure only active users can be on holiday
  • DEV: let’s not introduce time-based heisentests
  • FIX: do not attempt to validate a post from a topic with no calendar
  • FIX: ensures we check on op and not any post
  • minor code styling fix
  • FIX: do not markdownify calendar if plugin is not enabled
  • Fix prettier

Discourse Plugin Discord Auth

(From this release Discord support is included in Discourse core, this plugin is no longer required)

  • DEV: Approve users using the reviewable API
  • FIX: send_email should be false
  • FEATURE: Migrate Discord to ManagedAuthenticator
  • DEV: Remove unused strategy parameters
  • FIX: Correct after_authenticate method signature to allow reconnect
  • DEV: Remove dependency on omniauth-discord
  • FEATURE: Change the method for restricting access to trusted_guilds
  • UX: Define discord secret key as a secret site setting
  • Automatically disable plugin when core is updated with Discord support
  • UX: Update client_id site setting copy

Discourse Prometheus

  • Make Rubocop happy
  • DEV: lint file, attempt to isolate root of db exception
  • DEV: attempt to aggressively clear connections
  • FEATURE: track count of SQL calls per HTTP endpoint
  • FEATURE: track anonymous cache performance
  • DEV: logging db is overkill

Discourse Data Explorer

  • Update translations
  • REFACTOR: old patterns, deprecations and dead code
  • adds prettier
  • fixes prettier
  • FIX: prevents egression mutating read only object

Discourse Akismet

  • Update translations
  • Update deprecated icon names
  • FIX: don’t send user IP/UA when not available
  • FIX: always check for a bio before sending to Akismet
  • Check for comment_content before stripping
  • FIX: Skip user if the client_ip is not present
  • Update duplicated test description
  • Fix rubocop
  • Revert “Check for comment_content before stripping”
  • FEATURE: Link to the user profile if possible when reviewing AkismetFlaggedUsers
  • FIX: make compatible with ‘debundled plugin css assets’ feature.

Discourse Assign

  • Update translations
  • DEV: use group ids to allow assign on groups
  • REFACTOR: old ember patterns, deprecations, dead code
  • DEV: uses new topic-button API
  • FIX: uses taskActions api and removes old buttons
  • DEV: Assign allowed groups are sent alongside suggestions. After the migration happens, we’ll need to still have access to the allowed group names so we can search users.
  • FIX: remove unused import
  • Initialize allowedGroups inside the constructor
  • Make Rubocop happy
  • UX: Add “Assigned” to the page title for the assigned topic list
  • FIX: Use can_assign instead of staff to show the assign modal correctly

Discourse Voting

  • Update translations
  • DEV: Define category_custom_field as boolean
  • FIX: Reclaim votes when voting is disabled on a category
  • Make Rubocop happy
  • PERF: avoid N+1 on category load
  • DEV: uses new addNavigationBarItem API
  • DEV: moves back part of initializer in pre-initializer
  • FIX: wraps overrides in reloadable_patch
  • FIX: Add can_vote attribute to all category serializers.
  • linting
  • FIX: ensures container has not been destroyed
  • FIX: prevents any work if not enabled
  • FIX: keep plugin compatible with older discourse versions
  • REFACTOR: plugin CSS cleanup
  • UX: wrap avatars in voter pop-up

Discourse AD

  • Update translations
  • FIX: wrong size DFP ads when using multiple sizes
  • DEV: migrate no_ads_for_groups to use IDs instead of group names
  • FIX: Amazon ads never showing
  • DEV: migrate no_ads_for_groups to use IDs instead of group names
  • FIX: ads always showing in all placements for CodeFund and Carbon Ads
  • FIX: CodeFund ads in between posts on narrow widths
  • FEATURE: add option to disable ads in restricted categories

Additional Features and Fixes

Click to expand

New Features

  • Support data-explorer outlet in group navigation
  • Track date api key was last used
  • Embed topic with detailed metadata
  • Anon cache reports data to loggers
  • Create a rake task for destroying categories
  • New ‘Discourse-Render’ HTTP header
  • Notify posters when restoring flagged posts
  • Do not replace ↔ with an emoji
  • Publish read state on group messages. (Originally introduced in #7989)
  • Add hook after all initializers
  • Adds countdown attribute to [date]
  • Protect against replay attacks when using TLS 1.3 0-RTT
  • Allow plugins to manipulate site settings during backup restore
  • Publish read state on group messages.
  • Favorites emojis will also show in composer autocomplete
  • Staff only poll results
  • Add a preview to the poll builder
  • Allow themes to override color transformation variables
  • External auth when redeeming invites
  • Add setting to show content of forwarded emails in topics
  • Add option to always send excerpts in emails
  • Mention in secure category to prioritize groups
  • Allow post process mutex to be held longer
  • Add a test facility to the watched words admin interface
  • Improve stats provided by rake db:stats
  • Generate new VAPID keys when base_url changes
  • Sync unread state live to topic lists
  • Add attachments to outgoing emails
  • Add search operator to see all direct messages from a user
  • Permit users who had no penalties in last 6 months to be TL3.
  • Create a rake task for destroying categories]``[1]`
  • New date/time components
  • Gz to zip for exports
  • Admin/user exports are compressed using the zip format
  • Create a rake task for destroying categories
  • Make Discourse work offline with WorkboxJS

Bug Fixes

  • Mobile Safari composer improvements
  • Make ‘group membership requests’ feature compatible with visibility level option ‘logged_on_users’.
  • Adjust composer size for iPhone Xs Max and Xʀ
  • Report cached controller and action to loggers
  • Ensures google classic has correct man_facepalming emoji
  • Include ‘short_url’ as src if upload url not exist
  • Close user card after clicking Message button
  • Auth popup handling for Safari same-site cookie quirks
  • Flagged posts user notifications
  • User should get notified when a post is deleted
  • Broken scheduler when changing per_host <-> global
  • Allow accessing nested objects within theme settings
  • In case of orphan user records skip badge
  • Heartbeat should be per host
  • Notifications not updating correctly from background tab
  • Remote theme record not saved when checking for updates
  • Avoid publishing changes if the topic was deleted
  • Include read indicator when the publish_group_state is enabled
  • An overridden text of a non-existent plural key resulted in error
  • Ensure live-reloading of theme CSS works first time
  • Made turbo_rspec display errors in shared groups correctly
  • Race condition during deploys creating stylesheets
  • Don’t search for tags when editing topic title
  • Don’t blow up if the topic does not exists anymore
  • When activating via omniauth, create tokens after password reset
  • When activating a user, ensure the change is reflected immediately
  • Allow dashboard to load even when git version cannot be found
  • Display actual readers on the first post
  • Ensure avatar sizes are integers
  • Only use app argument for official iOS app banner
  • Show who read only if the attribute is enabled
  • Update topic groups correctly
  • Overriding _MF texts didn’t work for en_US
  • When using a custom authenticator URL, send request using GET
  • Add_to_serializer not correctly accounting for inheritance chains
  • Don’t display PWA banner when using native app
  • Remove duplicate %-sign from error messages
  • Heartbeat check per sidekiq process
  • Allows mini-tag-chooser to fetch tags in background
  • Filter out hidden posts for wordpress
  • Do not set destination_url cookie after deleting own account.
  • Infinite loop when mentioning in IE11
  • Properly load desktop and mobile only plugin css assets.
  • Allow topic edits when using a hidden tag
  • Race-condition in fallback handlers
  • Don’t try to delete staged, unused admins and mods
  • Regularly reset unknown extension of uploads
  • Limit PWA install banner to Android for now
  • Read indicator only appears when the group setting is enabled
  • Ensure extra locales are only available to staff
  • Ensure offset is always positive
  • Prevents mobile nav to create an error when unregistering click events
  • Uses simpler pattern for custom href on extra nav items
  • Rack-mini-profiler not showing plugin frames
  • J/K navigation resets current selection when scrolling fast.
  • Properly set notification levels on group invite
  • When inviting groups to message respect tracking state
  • Explicitly require topic_query_params
  • Clear banner topic cache after remapping
  • Ensures reports can’t modify records
  • Correct race condition loading library
  • Hold s3 related distributed locks longer
  • Store custom attributes that are needed by plugins in queuedpost payload
  • Attempts to use params from addDiscoveryQueryParam
  • Convert omniauth authenticator names to symbols before comparing
  • Do not raise exception if the authenticator email is missing
  • Downcase email coming back from auth-provider
  • Replace model usage with SQL query
  • Correct ordering for post_edits report, and remove query limit
  • Correct query for post_edits dashboard report
  • Remove the tmp inventory files after the s3 uploads check.
  • RIP swipe-in menus on Android
  • Don’t update watching_first_post notifications when moving first post
  • Trusted users might cause content to be hidden with one flag
  • Prevent failed remaps during restores
  • Truncate topic_links.url to 500 chars during remap
  • Do not create a double like notification.
  • Blank second factor gets default name
  • Polyfills String.prototype.repeat for IE
  • Disallow user self-delete when user posted in PMs
  • Use #dup instead of #+@ since content could be an instance of Nokogiri::XML::Element.
  • Drop readonly function when dropping table
  • Create readonly functions during backup
  • Detect DiscourseHub user agent.
  • Award ‘First Onebox’ badge just for Oneboxed URLs.
  • Correct OmniAuth route ordering
  • Notify on Reviewable update.
  • Wrong discobot tutorial started for certain locales.
  • Remove dependency on present? in distributed_mutex lib
  • Correctly encode non-ASCII filenames in HTTP header
  • Do not follow redirect on same host with path /login or /session
  • Allows replacement of digits and symbols emojis
  • Embedding topics would fail with some HTML
  • Don’t hide/close topics if they don’t meet minimum visibility
  • Use unescaped title as combo-box id
  • S3 uploads were missing a cache-control header
  • Ensures flag-ratio report shows users with disagreed >` agreed
  • Show membership requests link just for group owners.
  • Generated controller should be in an underscored folder
  • Ensures pikaday picker is showing in UTC
  • Allows copy pasting file in composer with chrome
  • Syntax error in b1f5949
  • Make the workbox path compatible with multisite
  • Composer preview on IE11
  • Rename deprecated “refresh” icon to “sync”
  • Better detection of Apple browsers
  • Various watched words improvements
  • Don’t include multisite upload path to source URL if already exist.
  • Make uploads recovery compatible with multisite.
  • Correctly update replies when first post gets moved
  • Modal onClose was being called repeatedly
  • Rollback when multisite tests raise exceptions
  • Don’t reuse redis connections in different threads in tests
  • Gravatar uploads being dependent on authorized_extensions.
  • DistributedMutex
  • Better error message on username update from Admin user page.
  • Add back verbose option to DbHelper.remap
  • Add frozen_string_literal: true in the migration
  • Prevent user-notifications-dropdown from causing unintended changes
  • Post#each_upload_url yields incorrect path to block when CDN is enabled.
  • Make initializer work on first db:migrate
  • Correctly identify Chromium-based Edge
  • Support multi-file stylesheets in theme components
  • Better error when SSO fails due to blank secret
  • Include default label when exporting reports
  • Provide an error message if no valid tags were selected
  • Frozen string error in TopicEmbed.import
  • Hide live-loaded posts from ignored users
  • Reverts #18e2816
  • Use same id for both original & optimized inventories in multisite setup.
  • Apply defaults constraints to routes format (take 2)
  • Keep query params present in auth_redirect
  • Ensure that jobs don’t run immediately after migrate_to_s3
  • Improves tags checking when updating category of topic
  • Removes uncategorized context if not allowed in composer
  • Send featuredLink as featured_link to backend to update correct …
  • Send featuredLink as featured_link to backend to update correct value
  • Use uniq instead of uniq! when checking for uncompressed root path. Use rails naming convention for ZipUtils
  • Migrations tried to change frozen string
  • Update reply count when moving posts
  • Delete notifications users can’t see after moving posts
  • Old notifications didn’t link to correct post after moving post
  • Allows to specify camelCased attributes in wrap component
  • Set a minimum reading time per post.
  • Always backup local uploads in addition to files stored on S3
  • Do not request refresh on ‘log out all’ request
  • Show same username or name for post notices.
  • Empty backup names with unicode site titles]``[1]`
  • URL encode usernames in user profile links in RSS feeds
  • Remove post upload record creation inside ‘find_missing_uploads’ method.
  • Bugs preventing to close delete account modal with button
  • String that can’t be translated in watched words UI
  • Empty backup names with unicode site titles
  • Respect logout_redirect setting on ‘Log out all’
  • When ‘raw’ started with non-image upload url it’s not converted to short-url.
  • Convert hotlinked non-image urls to short url.
  • Remove all service workers from Apple devices again
  • Rename deprecated icons, allow custom icons in badges
  • Recompile extra_js theme assets when COMPILER_VERSION changes
  • Fallback to gzip compression if brotli isn’t supported
  • Skip markdown conversion for hotlinked non image urls
  • Backups taken by pg_dump >`= 11 are nonportable
  • Apply defaults constraints to routes format
  • Ensure suppressed categories do not produce any featured topics.

UX Changes

  • Use Flexbox for topic list embed
  • User vertical-align: middle instead of em units
  • Use color code variable
  • Convert embedded topic list HTML structure from table to div
  • Read indicator improvements.
  • Remove unused strings about desktop notifications
  • Small follow-up to #8047
  • Better alignment for tags in the header
  • Workaround chrome autocomplete bug in search
  • Layout fix for category boxes w/ long subcategory names
  • Prevents non-lightboxed images in quotes from stretching/squeezing
  • Hide “Create Tag” option if user cannot create tag.
  • Consistent placement of category-title-before plugin outlet
  • Add link to robots.txt editor in site setting description
  • Fallback to unlocalized auth provider name if required
  • Prevent twitter onebox iframes from being taller than mobie viewport
  • Improve error handling for common OmniAuth exceptions
  • Modifies admin email template to have more space for the form
  • Clear username when opening ignore duration modal
  • Hide login/signup header buttons during authentication flows
  • Add login button icon to no_ember page
  • Improve layout of poll builder modal
  • Improves dates on reports export UI
  • Use shorter weekday labels in local-dates plugin
  • Use shorter weekday labels in date picker
  • Rename “Keep Post” to “Keep Post Hidden” when hidden
  • Style fixes for admin digest email preview page
  • Remove confusing border on ignored users list
  • Make profile views consistent with other elements
  • Prevents cooked dates from wrapping
  • Show a warning when admin clicks save without adding group when changing category permissions
  • Increase contrast of pinned/tracking reason text, improve layout
  • Improve account association when account description is missing
  • Add expanded/collapsed class to post-controls
  • Fixes onebox favicon vertical alignment
  • Improve layout of long tag headings on mobile
  • Refactor avatar upload modal for better mobile spacing
  • Update invite ‘not found’ message
  • Fix profile image upload control spacing on mobile
  • Adds <a> tag with href category box titles
  • Remove duplicate copy in two-factor preferences
  • Use SCSS color variables
  • Disable system edit notifications by default
  • Swap ignore and mute sections to move the ‘Save changes’ button to the bottom
  • Use height relative to the viewport for robots.txt textarea
  • Rearrange controls in edit modals

Performance

  • Use CDN url for proxy of favicon
  • Run multiple threads for regular job schedules
  • Reduce window of consistency on user actions
  • Avoid filtering shared drafts when not used
  • Only select the only field we use
  • Precalculate the last post readed by a group member
  • Faster length calculation of composer body
  • Avoid N+1 on topic view
  • Rake posts:rebake_uncooked_posts runs inline
  • Message_bus will be deferred by server when flooded
  • Add more constraint on the Cache Storage usage
  • Improve query speed when looking up direct PMs
25 个赞