Discourse 版本 2.6

重点功能

代号

开始日期

2020 年 6 月 25 日

发布日期

2020 年 11 月 30 日

71 个赞

新功能

  • 将插件 js / 插件测试 js 添加到 bootstrap.json
  • 添加 users:log_out API 密钥作用域
  • 本地分类 Onebox
  • 更新 Onebox 并为 githubfolder Onebox 添加样式
  • 添加用户更新、匿名化和删除 API 作用域
  • 在分类选择器中添加“所有子分类”选项
  • 添加站点设置,将忽略功能限制为特定信任等级
  • 搜索过滤器:管理员可搜索站点上的所有私信
  • 添加处理传入邮件的 API 密钥作用域
  • 为主题添加自动更新字段
  • 批量移动主题时创建修订版
  • 将站点设置标题直接链接到其变更日志
  • 改进标题无效时的错误提示
  • 实现帖子公告的编辑功能
  • 允许 /u/by-external 适用于所有受管认证器
  • 永久销毁私信的功能
  • 将 Google Universal Analytics v4 添加为选项
  • 允许分类组版主删除主题
  • 更改默认设置,使 log_out_strict 默认禁用
  • 新设置:在自动关闭的巨型主题中创建链接主题
  • 批量处理主题批量操作
  • 在后台连接错误时向 HTML 元素添加 CSS 类
  • 允许管理员选择退出分块编码
  • 当浏览量超过一定数量时,请求用户确认主题删除
  • 在用户档案导出中包含被拒绝的排队帖子
  • 禁用默认的 Bing 节流
  • 允许分类组版主编辑帖子
  • 添加帖子日期检测功能,用于书签模态框
  • 为组索引 API 添加 non_automatic 组类型参数
  • CTRL-SHIFT-ENTER 和 SHIFT-点击不会在帖子中滚动
  • 在预览中显示占位符而不是视频
  • 主题慢速模式
  • 使用“no-referrer-when-downgrade"作为我们的嵌入策略
  • 当无法发送主题计时数据时尝试重试
  • 符合 WCAG 的颜色方案
  • 为“采取行动”添加处罚选项
  • 如果标签属于某个分类,则在标签页面的 body 类中添加分类 slug
  • 添加每周书签清理代码
  • 将 analytics.js 升级到 gtag.js
  • 显示标签时遵守 tags_sort_alphabetically 设置
  • 批量移除标签
  • 分离基础字体和标题字体的站点设置
  • 向工作人员用户解释为何禁用邀请
  • 为投票添加 title 属性
  • 编辑器选项:重新加载页面并强制保存草稿
  • 高级搜索选项:最大帖子数量
  • 为 min_post_count 搜索过滤器添加别名
  • 支持在向导字体步骤中使用系统字体
  • 深色模式友好的向导
  • 添加站点设置以控制自动认证重定向
  • 浏览量和高级搜索过滤器
  • 更改最近帖子搜索的默认大小
  • 使搜索过滤器不区分大小写
  • 审核带有媒体的帖子
  • 区分群组提及和个人提及
  • 隐藏 SiteSetting.keep_old_ip_address_count 以跟踪 IP 历史记录
  • 默认允许在邮件中嵌入安全图片,设置为 true
  • 允许管理员在 UI 中删除用户 SSO 记录
  • 允许在搜索中扩展 topic_eager_loads
  • 移除用户主题计时器,迁移至带提醒的书签
  • 支持页面发布的移动视图
  • 支持非持久会话
  • 允许版主查看成员可见的群组
  • 在用户导出中添加书签
  • 在重命名模态框中显示现有标签名称
  • 添加用户选项,选择书签作为主页
  • 允许通过安全媒体嵌入邮件图片
  • 为样式表链接元素添加 CSS 类
  • 将样式表添加到 bootstrap.json 端点
  • 添加 below-static 插件出口
  • 弃用 lodash 以便移除它
  • 添加站点设置和向导步骤以设置基础字体
  • 允许为特定平台 gem 指定平台名称
  • 在用户档案导出中添加分类跟踪状态
  • 用户可选颜色方案
  • 对 Onebox 中的 iframe 进行更多控制
  • 当按标签过滤时,添加“忽略未读主题”按钮
  • 按用户名对目录项进行排序
  • 更多 API 作用域
  • 允许插件注册基于参数的 API 路由
  • 在站点设置和用户选项中添加 regular_categories 字段
  • 添加选项,在首次通知中跳过新用户提示
  • 确保在修复缺失内容时重新烘焙帖子
  • 自动播放 Onebox 中的 Twitter GIF 媒体
  • 深色模式替代徽标
  • 添加新用户选项 skip_new_user_tips
  • 允许组成员资格取消静音分类和标签
  • 不通知私信标签的更改
  • 引入处理遗留损坏上传的任务
  • 群组收件箱的 IMAP 删除邮件同步
  • 分类权限标签页(群组)
  • 阻止 Firefox Android 中的振动
  • 使用 PG ts_headline 高亮搜索中的主题标题
  • 为搜索添加高级排序
  • 投票插件通知
  • 加入群组时设置通知级别
  • 投票细分 2.0
  • 允许用户选择退出自动深色模式
  • 在 TopicViewWordpressSerializer 中添加 category_id
  • 分类标题的新插件出口
  • 从添加成员模态框向群组发送邀请邮件
  • 自动深色模式
  • /categories 页面添加可展开的静音分类 UI
  • 如果用户未登录,在错误页面显示登录按钮
  • 使用 g,j 和 g,k 导航到下一个和上一个主题
  • 允许帖子中使用 picture HTML 元素
  • 支持按天/周/月显示图表
  • 允许指定任意的 Unicorn 监听地址
  • 支持将 HEIF 图像转换为 JPEG
  • 为主题列表添加跟踪过滤器
  • 从移动编辑器预览提交帖子
  • 为工作人员操作日志添加查询参数
  • 支持标签页面的 top 过滤器
  • 为群组版主更改创建日志
  • 添加“在所有者回复时删除”书签功能
  • 私信白名单
  • 允许群组版主添加/移除工作人员备注
  • 可选的引用分享按钮
  • 为 API 密钥添加作用域
  • 如果电子邮件更改,触发 user_updated 事件
  • 使用 CSS 网格改进头部元数据对齐和截断
  • 分段加载隐藏帖子
  • 允许视频标签属性用于视频 GIF
  • 允许群组版主关闭/归档主题
  • 为 Discobot 添加隐藏站点设置以跳过某些教程
  • 在用户书签列表中添加搜索
  • 实现对 IMAP 和 SMTP 邮件协议的支持
  • 为匿名搜索添加全局速率限制
  • 解析邮件签名中的图片
  • 为用户文本大小偏好添加“最小”选项
  • 添加 reply_as_new_group_message 编辑器操作
  • 如果没有上传文件,则创建仅 SQL 备份
  • 对于外部认证,可选择跳过创建账户弹窗
  • 所有认证方法的 Sso_overrides_(email|username|name)
  • 如果用户名更改,触发 user_updated 事件
  • 站点设置:始终显示分类定义
  • 允许禁用搜索中的额外术语注入
9 个赞

BUG FIXES

  • Ensure directory items appear in a consistent order
  • No tags should be set if tag chooser is hidden
  • Bump nokogumbo to 2.0.3 with patch
  • Only use full slugs when compiling category backgrounds.
  • Issues with frowning/grinning
  • Add secure media url to SERVER_SIDE_ONLY list
  • When quoting an attachment, keep the |attachment in markdown
  • Rebake theme fields if upload changes
  • Hides votes from regular users when poll is staff only
  • Suggested Topics was being set inside a computed property
  • Exclude muted results when suggested related topics at random.
  • Checkbox value should not leak between themes
  • Force string conversions to UTF-8 “bytes”
  • Tests were using jQuery selectors
  • Gracefully handle force pushes for remote themes
  • Use tag model instead of tagId property.
  • Improve email validation error handling for external logins
  • Correct cdn path
  • Stop including GlobalPath in default context
  • Calculate email attachment size limit correctly
  • Onebox image alignment
  • Upload events happened outside of the runloop
  • IconList is an array in production
  • We shouldn’t debounce this in testing
  • Tests were performing data`` queries but without quotes
  • Handle uncaught exception
  • There are two elements with a suspend-reason class
  • Remove error for PostCreator in a transaction without skip_jobs
  • Show better error if no bookmarks found from search
  • Cached badge_count isn’t updated after backfilling badges
  • Modal methods should be wired up in setupTests not in module
  • Selected Tag Group permission shouldn’t change during save
  • Add missing translation for ‘views’ key.
  • Precompile wizard stylesheet
  • In newer embers, it’s triggerKeyEvent not keyEvent
  • Do not allow a tag to be synonym of its own
  • Use the correct key for the receive_emails scopes
  • Remove post-action when a post is permanently deleted
  • IndexCategoryForSearch category_id job exception
  • Disable auto_update for existent themes
  • Save draft when either title or reply is present
  • Inline avatar style for onebox when embedding secure images
  • Show read indicator only for group PMs
  • Disallow editing of remote themes
  • Store Reviewable’s force_review as a boolean.
  • Paste the spreadsheet to the composer
  • Do not optimize animated images in cooked posts
  • Reset category edit page button state
  • Add a way to cancel initialization of new draft
  • Use filters parameter instead of filter for staff action log
  • Add history icon to svg_sprite list
  • Ensure staff can see /tag/none
  • Do not optimize uploaded custom emoji
  • Precompile all plugin and color definition CSS assets
  • Restore (deprecated) ability to overwrite a property
  • Improve failover for multisite clusters
  • When creating linked topics make sure they belong to same category
  • Hide sso email behind a button click and log views
  • Use more specific selector for header
  • Show hidden posts to staff members.
  • Remove duplicate category description
  • Renaming and deleting tags
  • Handle rapid concurrent SSO attempts more gracefully
  • Make secure image onebox check more robust
  • Do not use “max_tags_in_filter_list” setting for showing PM tags
  • Small copy change in wizard
  • Paths with categories and tags were being generated incorrectly
  • Global setting needs to be coerced to float
  • Improve errors when invite to topic fails
  • Do not enable published page if secure media enabled
  • Correct “no tags” route in tag drop-down
  • Trim no-break space in to-markdown
  • Inconsistency in S3 inventory config
  • Include header offset relative to window
  • Update review settings.
  • Limit_topics_per_day should only apply to regular topics
  • Secure_media stripping on lightboxes, non-image links
  • Enqueue PostCreator jobs outside transaction block
  • Group notification level cannot be null
  • Stop bypassing email checks for invite emails
  • Safely skip secure_media steps when it’s not enabled
  • Show error message if user is already silenced or suspended
  • Remove 4 month limit on IgnoredUser records
  • Hide ‘category read only banner’ in categories list page.
  • Make all email subject vars available in notification subjects
  • Make addNavigationBarItem subfolder compatible
  • Disabled action buttons on newly-created category
  • Show an example username in Review Settings
  • Ensure oneboxed secure images which are optimized and also lightboxed optimized images are embedded in email
  • Category drop shows undefined
  • Use <> link instead of code for discobot backup image link
  • Keep tag filter value when changing the category dropdown.
  • Search filters text was not able to be overridden
  • Support new Google Analytics id format
  • Strip the trailing slash (/) of cors origins.
  • The attribute is discourse-url not data-discourse-url
  • Staff can create and edit posts even if a topic is in slow mode.
  • Show ‘quote’ button when topic is closed but composer is open
  • Pretty text allow list
  • Ensure group SMTP and message builder always uses from address for Reply-To when IMAP is enabled
  • IPad DiscourseHub app layout issues
  • Hide delete button if user cannot delete and/or flag a post
  • Capybara diet upgrade, can eat real :herb: now
  • Show title on results of all poll types
  • Converts html to text to use it as title attribute
  • Adjust user card position, follow-up to da5841d
  • IPad app sticky header positioning
  • Ignore PGP data in emails by MIME type
  • Reset invite when resending it
  • Prevent slow bookmark first post reminder at query for topic
  • State is leaking between tests, causing flakey failures
  • Only include last_posted_at if there’s a topic_user object.
  • Add check for youtube thumbnail
  • Removes duplicate “ and adds ‘ and ’
  • Properly handle quotes and backslash in Search.set_tsquery_weight_filter
  • Invite users with sufficient trust level
  • Optimizes sk body position in RTL mode
  • Persist secure image width and height if is given
  • Pass user to Email::Sender to avoid broken reply key for group_smtp email
  • Restore users#topic_tracking_state route to api session_info scope
  • Converts “ and ” to " in local dates
  • Attempts to convert french quotes to regular quotes in dates
  • Include font import for embedded comments
  • Remove need for overflow hidden, follow-up to da5841d
  • Ensure old uploads can have animated field updated
  • Ensure slow mode duration is correctly edited and displayed.
  • Loading container needs same width as posts, follow up to da5841d
  • Moderators can add/remove group owners
  • Enable “remove tags” button only when tagging is enabled
  • Calculate page if page param is not given to TopicView
  • “Sorry an error has occurred” was shown when flagging a post
  • Only TL4 users and staff should be able to see the disable slow mode button
  • Styleguide is only a parent url and is accessed with /styleguide
  • Check for link target attribute on link clink
  • Resolve issues running qunit via rake
  • Sort using ruby to avoid N+1 queries
  • Wizard theme preview when logo is missing
  • Killing a Unicorn worker shouldn’t kill a running backup or restore process
  • Backup didn’t work anymore after a running backup was canceled
  • Error messages from editing user being swallowed
  • Disabled option for sk was not working correctly
  • Use new color variables in embed.scss, remove hardcoded colors
  • Handle .discourse-compatibility syntax errors
  • Observers weren’t working on admin email logs
  • Second factor cannot be enabled if SSO is enabled
  • Display correct reply count for crawler
  • Include subfolder base_path in web app manifest shortcuts
  • Make browser-update work with IE`<11
  • Favicon count was not updated when window focus returned
  • Use scope name when serializing UserApiKeys
  • Ensures insert hyperlink works with mailto
  • Ensures category chooser is working with non english char
  • Confirm new email not sent for staff if email disabled with “non-staff” option
  • Scheduled jobs not showing up in /sidekiq/schedule in dev.
  • Missing SVG mask asset in wizard
  • Group Requests loading was broken
  • Respect show_category_definitions_in_topic_lists in category lists
  • Include topics from subcategories in tracked list
  • Compare Jobs::UserEmail type argument as string
  • Use getAttribute instead of dataset
  • When admin changes an email for the user the user must confirm the change
  • Fixes regression where wizard dropdown couldn’t update
  • Correctly render title-less poll widgets
  • Find noscript element with crawler content
  • Handle poll titles when headings are present
  • Escaped mailto URLs would raise an exception
  • Disallow email invites if enable_local_logins is disabled
  • Always let moderators to see their group PMs
  • Deprecated overwriting of computed property
  • Validate category name on parent change
  • Makes dashboard periods use current day and weekly 7 days
  • Preload uploads in groups#search to stop N+1
  • Hide empty popular/recent sections in 404 page
  • Build was broken because uglify can’t accept let or const
  • Stripping lines from incoming email shouldn’t fail for blank body
  • Remove whitespaces around inline HTML tags next to text.
  • Use topic title headline in search menu result.
  • Clear notification of skipped narrative bot PM
  • Move hp request from /users to /token
  • Allow staff to use HTML in the category read only banner
  • Migration should only update ReviewableUsers where the user is not approved.
  • Allow .otf fonts to be delivered via cdn
  • Better error message if invite is expired
  • Deprecation overwriting translatedText CP
  • Make bundler CI cache setup explicit
  • Correct value of auto and adds nohighlight to the description
  • Invalid URLs could raise exceptions when calling UrlHelper.rails_route_from_url
  • Use correct locale for error messages
  • We were overriding the canCreateTopicOnCategory computed property
  • Empty highlighted_languages resulted in ["", "auto", "nohighlight"]
  • Correct corrupt encoding in emails containing attachments
  • Respect force download when downloading secure media via lightbox
  • Admin change email for user process improvements and fixes
  • Prevents scrollbar jumping in the emoji picker
  • Removes time from date in calendar range at midnight
  • When the user is promoted to TL2 invite to advance training
  • Deprecate whitelist constants
  • Dismiss unread respects tracked query param
  • Don’t include category in quote topic title, if present
  • Don’t skip the new user badge
  • mouseEnter is deprecated in newer Ember releases
  • Email always settings were not being respected
  • Remove category id from category class name
  • Only staff can edit topic details when first post is locked
  • Allow editing in composer before a category is selected
  • Use scrollY for current scroll position
  • Unexpected return during system_message_sent event
  • Prettier popular-themes.js
  • Replace broken Material Design preview link
  • TL2 promotion message and advance training
  • Don’t error Topic#similar_to when prepared raw is blank
  • Do not downcase group name in notification payload
  • Respect moderator group permissions in guardian
  • Error “unknown attribute verified” in uploads rake tasks
  • Use normal logo in published pages if small not available.
  • If no group is found, raise correct error
  • Compensate for typographer
  • Nested quotes in BBCode
  • NotificationLevels import was incorrect
  • Missing / after basePath was causing the URL to be relative
  • Ensure multisite DB is set correctly when spawning backup process
  • Whitelist marker elements when uploading SVGs
  • Forking prevented notifications from being sent after backup
  • Hidden was defined as static instead of relying on attribute
  • Provide better API for registering custom upload public types
  • Do not downcase group name in current user serializer
  • Use asset_hostnames in rails_multisite
  • Fix verification_status migration for uploads
  • Group tag notifications included for all users
  • Don’t show Tags tab in group management if tags are disabled
  • N+1 for admins viewing groups page
  • Uses get() on properties of groups/badges which could be POJOs
  • Attempts to make autofocus more resilient in modals
  • Category slug route was not working for subfolder setup
  • Clear stylesheet cache on base font change
  • Missing files from previous commit
  • Topic progress wrapper positioning regression
  • Img width and height should be in quotes
  • Simplifies updating searchedTerms from connectors
  • TopicQuery.list_private_messages_unread ignore notification level
  • Improvements after code review
  • Spec for oversized images security fix
  • Wizard does not include discourse-shims
  • Adds shims for popper in wizard
  • Mark only uploads as verified/unverified in S3 inventory
  • Upload errors were sometimes not displayed properly
  • Make form use /u/admin-login instead of /users/admin-login
  • Selected diversity was off by one
  • isVisible is no longer allowed even if used properly
  • Was using a global Popper variable
  • Ember has deprecated isVisible in newer versions
  • Ensures focus is dropped before focus hyperlink input
  • Wrap modal onShow inside next
  • Ensure uploads are linked to post when revising a post
  • Prevent “uploads are missing in S3” alerts after restoring a backup
  • Prevents eslint failure on unmatched patterns in plugins
  • Make sure rel attributes are correctly set.
  • Adds important declaration to .hidden utility/helper class
  • Ignore empty search terms in topic queries
  • Account for different composer ‘edit’ states in discourse-presence
  • Update first_pm_unread_at of user’s groups without unread.
  • Search checkboxes incorrectly being checked on similar prefix.
  • Admin search for PMs should only search own PMs.
  • Topic_creator accepts participant_count in import mode
  • We should check for watched words first even if the user is a fast typer.
  • approve post count did not take new topics into account
  • Admin should always be able to view group messages.
  • We have changed the way __widget_helpers are resolved
  • Handles different cases of canInvite/canRemove states in PM
  • Workaround constructor name not available after transpilation
  • Wraps popper call in afterRender and uses createPopper
  • Make deleted topic post bookmarks more resilient
  • Allow us to call script_asset_url in controllers
  • Ensures we don’t attempt to concat an empty list
  • Preload bold fonts in wizard
  • Prevents error when opening a composer from a tag page
  • Make crawler linkback list compatible with google schema guidelines.
  • Convert jQuery array to JS array
  • Whoops, linting
  • Gravatar download attempt if user is missing their email
  • Don’t send mailing list for post with empty content
  • Highlightjs 10 requires some languages to be loaded before others
  • Remove font-famly property in .font- classes
  • System message wasn’t fully translatable
  • Updates highlightjs to latest version to avoid a freeze
  • Check if invite has expired before showing it
  • Add to tags result set only visible tags
  • Don’t raise error in update username job if user has been deleted.
  • Wait for groups before showing empty message
  • Add cache breaker for fonts
  • Allow fonts to be delivered via CDN
  • Skip pm view action log while generating webhook payload.
  • User export category preferences on a deleted category.
  • Emails.rake use authentication
  • Modify notification after remove auto_watch_category
  • Handle deleted categories in post export
  • Focus first button in topic admin menu
  • Ensure disabling 2FA works as expected
  • Disable insert link button when editing a category
  • Flaky JS test due to not waiting for promises
  • Dont error when bookmark topic is nil
  • Do not set color_scheme_id in user options when no schemes are marked as selectable
  • Pluralized translation overrides didn’t work for en_US
  • UserAction did not have a types enum
  • Bump onebox to fix soundcloud oneboxes
  • Suspend API to require suspend_until and reason params
  • Remove additional paths from robots.txt
  • default_tags_muted site setting won’t have tag ids.
  • Ensures period-chooser is not losing query params
  • Correctly redirect after external login on subfolder sites
  • Ensure that topic timers belonging to trashed topics are destroyed.
  • Clean up toggle closed topic timer when user is not authorized.
  • Clean up topic_timers when no longer valid.
  • Ensure autoclose based on last post is executed by system user.
  • Topic Timer auto opening closed topics
  • Symbols and strings should be treated similarly while saving custom fields
  • QUnit site has to be set before reset()
  • Server side rendering was broken with new helperContext()
  • Remove container from utilities
  • DEV: Lock-on improvements
  • :bug: category & tag search regex to support thai character
  • Limit number of users addable to group at once
  • Duplicate categories and tags allowed in inputs where they shouldn’t be allowed
  • Group categories inputs not filled sometimes
  • Improve Vanilla importing
  • Current title wasn’t visible when assigning badge title
  • Ensures diversity code is not applied multiple times
  • Close picker on emoji selection when on mobile device
  • Add cache-busting parameter to ace-editor javascript
  • Removes us_pacific-new from the list of available timezones
  • Stop category logo + background being marked secure
  • Restrict personal_messages: advanced search filter to admin.
  • Correct personal_messages:`` advanced search filter.
  • Remove unnecessary audio/video parent element load
  • Prefer timezones over timezone for previews
  • Backups should use relative paths for local uploads
  • Display warning only if all users already added to the group
  • Topic.similar_to results in error if cooked raw is blank.
  • Bookmark list showing wrong no content message
  • Wizard could not send custom color schemes to the client correctly
  • Detect dark scheme server-side for better dark logo support
  • user_option option can be nil for new users.
  • User titles from translated badge names were automatically revoked
  • SiteSettings::LocalProcessProvider didn’t work on multisite
  • Default_tags_muted setting should work for anonymous users too.
  • Sending a PM through a flag on a deleted post
  • Error message when setting enforce 2fa with social logins
  • Delete unused tags shouldn’t delete tags belonging to tag groups
  • Unlike own posts on ownership transfer
  • Polls can be quoted and loaded
  • Do not cancel search early in tests
  • Display label when theme uses default color scheme
  • Do not override logo markup when loading page in dark mode
  • Fix css var issues + button :active gradient
  • Makes group_show_serializer#is_group_owner follow standards
  • Always wait for promise when loading a topic
  • More efficient and resilient widget-dropdown body
  • Add bookmark-list component
  • Composer upload icon regression because of HEIC
  • When destroying uploads clear card and profile background
  • Add playsinline to twitter GIFs
  • Allow safari to load and autoplay videos in posts
  • Refactor broke wizard
  • Skip rendering twitter video if matching format not found
  • Broken when iconList missing
  • Replace iframe with <video> for twitter videos
  • Clicking on category autocomplete row
  • Prevents errors on /tags when a tag constructor exists
  • This leaves an empty example group in TRAVIS mode
  • Ensure auto close notice is posted with system locale
  • Mobile group add dropdown was broken
  • Defer topic was broken
  • application controller is not used by the card
  • DEV: Introduce @bind decorator
  • A paste event listener was re-added instead of being removed
  • Add script asset locations to worker-src CSP directives
  • Generate_topic_thumbnails job infinitely running for corrupted images
  • Update preview when autocomplete is clicked
  • Prevent LockOn conflicts
  • Move queryParams to each discovery controller rather than shared
  • Preserve anchors in permalink transitions
  • Generate topic excerpt when moving posts to new topic.
  • Make sure user preference to open external links in new tab works for bookmark list excerpts
  • Do not require tagging to be enabled for IMAP archive and delete
  • Allow plugin pinning to fetch missing commits
  • AWS S3 errors don’t necessarily include a message
  • Change the controller method name to match its new name.
  • Heisentest with topic timings
  • Allow mods to choose restricted categories as parent category.
  • Color scheme selection with non-default theme
  • Expose PG headline highlighting for all search results.
  • Limit PG headline based search blurb generation to 200 characters.
  • Try to make topic_tracking_state_spec stable
  • IOS/iPadOS freezing when changing notification level in topic footer
  • Use correct site setting when uploading images
  • Invalidate cache when updating color scheme colors
  • Ensure load more directory items has a .json url
  • Return 422 when creating topics with tags w/out permission
  • Include secure media URLs when linking post uploads
  • Update colors for presence plugin
  • Smaller header font size for published page
  • Include both name and id in color scheme stylesheet filename slugs
  • Sync reviewable count when opening the hamburger menu
  • Removes persistedQueryParams as it should work out of the box
  • Specify config when generating tsquery using ts_headline.
  • PM participants list refreshing after inviting
  • Missing bottom border in select-kit color list settings
  • User preferences tests didn’t always have pretender called
  • Stop sync of tracking state when list is filtered
  • Only raise proper "error" messages
  • Pretender errors were being swallowed
  • Raise errors for broken pretender responses in test mode
  • Replace fullPath while rewriting the /my/ URLs.
  • Ensures shadow has last_posted_at before comparing to site setting
  • Attempt to output a useful error message
  • Shows all_results if current settings category has no results
  • Disable concurrent migration for multisite:migrate.
  • Don’t run seeds if multisite migration fails.
  • Excerpts larger than 999 are not supported
  • Topic map was incorrectly counting assign actions
  • Show “group members forbidden” message on mobile
  • Rewrite of /my/URL should work on sub directory site too.
  • Allows to change a user group notification level
  • Previous fix comitted the wrong thing and was broken :frowning:
  • Exclude shared drafts from digests
  • Current value of flair icon missing in group manage UI
  • Load base color scheme when default theme is not set
  • Check if selectable avatar with SHA1
  • IMAP archive fix and group list mailbox code unification
  • Discobot inappropriate flag section
  • Bug with sharing when used outside a topic
  • Get correct selectable avatar from URL
  • Exclude DELETE methods from invalid request with payload.
  • Reset max_posts query parameter
  • Respect query params for latest.rss
  • Set mailing_list_mode to false when unsubscribing from all
  • IMAP sync email update uniqueness across groups and minor improvements
  • Removes an error in the console in test mode
  • Should allow non-ASCII slugs for category pages.
  • Reset ‘filter’ query parameter when clicking on a nav-item
  • Keep category name in URL when filtering
  • Allow ‘c’ as a tag
  • Define s3_helper in EnsureS3UploadsExistence job
  • Rename delete_when_reminder_sent? bookmark method to avoid conflict with AR
  • Add protection when removing auto delete on post bookmarks
  • Ensure topic user bookmarked synced on bookmark auto-delete
  • Allow playsinline for videos in posts
  • Ensure correct locale is set during RenderEmpty responses
  • Reduces charts height
  • Prevents group show serializer to override basic group serializer
  • Computed property deprecation
  • Page:changed was sometimes reporting the wrong URL
  • Add back group redirects
  • Bump onebox to 2.0.1 for engine priority fix
  • Cooked snippet of raw in Topic.similar_to.
  • Handle case where Post#raw is blank in Topic.similar_to.
  • Improve Topic.similar_to with better Topic#title matches.
  • Improve allowed_path column migration
  • Resolve issue where deleted spam topics marked as Not Spam were not being recovered
  • Avoid validation error when deleting users with locked trust level
  • Uses topic title for published page head title
  • Reduce number of terms injected for host lexeme.
  • Improve regexp for matching version lexeme.
  • Don’t inject extra terms for version lexeme.
  • Add a translation for reaction notification
  • Reserve id for reaction notifications
  • Use allowlist and blocklist terminology
  • Tests that used the olds paths
  • Uploads was not testing properly
  • Pass siteSettings through in more places
  • Add enable_email_sync_demon global variable and disable EmailSync demon by default
  • Add strip_secure_urls method to GroupSmtpMailer
  • Do not show Email tab for group settings unless IMAP + SMTP enabled
  • Tests for reindex_search_spec pass regardless of seed
  • Display correct status on unsubscribe page
  • Move consts and translations for bookmark auto delete prefs
  • Restore navigation-bar on tag topic list
  • Include resolved locale in anonymous cache key
  • Make set_locale an around_action to avoid leaking between requests
  • Improve email styling of code blocks
  • Remove iOS trick to prevent scrolling when focusing on input
  • Reviews that are auto-hidden by a trusted spam flagger should always have enough weight.
  • Remove the border from YT thumbnail placeholder
  • Apply video preview trick for Safari to stream only
  • Add system fonts to wizard
  • Allow user to recover/delete post if they can review the topic
  • Typo in NotificationsController#index not caught by tests.
  • Ignore removed delete_when_reminder_sent bookmarks column
  • Stop double prepending of window.location.origin on media URLs
  • Test for fillGapBefore
  • Remove username_lower from admin serializer
  • Keep by_users check in S3 inventory
  • Delete synonyms in topics if target tag is already added.
  • Improve S3 inventory logic
  • Gives emojis a width/height to prevent lazy loading warning
  • Handle PG readonly mode in Auth::DefaultCurrentUserProvider.
  • Don’t raise error when adding to cache fails in readonly mode.
  • Trigger before upload event after saving and before uploading it, so we are sure that the upload is valid.
  • Users should be able to delete their own queued posts
  • Focus tests are unreliable in qunit
  • Our test build of highlight.js was broken
  • Raw jQuery usage in tests
  • deleted is a computed property of Topic
  • Report was overwriting a CP
  • category-drop tests were broken and overwriting CPs
  • Overwritten computed properties
  • Missing favicon in test
  • Listing topics with muted mixed-case tags
  • Correct stream counter when load more posts
  • Fewer broken image paths in tests
  • Don’t use prototype extensions like .observes
  • Tests involving dates were logging warnings
  • passwordRequired is a computed property
  • Poll tests were overwriting a couple of computed properties
  • More 404 image requests in test
  • Error in test mode with missing topic
  • Don’t load images that don’t exist in test
  • Tooltip is no longer used
  • Discourse.Site is deprecated
  • Show background images for both slug formats
  • Missing title when inserting hyperlinks
  • Bookmark search fixes
  • Reindex posts when Topic#title or Category#name changes.
  • Add topic title back to choose-topic
  • Update meh-o icon to far-meh
  • Be sure to use same units when comparing thumbnail size
  • Fewer 404s in JS tests
  • More errors being logged in tests
  • Deprecation usernames is now recipients
  • Remove more computed properties being set
  • Deprecation - usernames is now recipients
  • Overwriting more computed properties
  • Remove computed property setting from hamburger test
  • Don’t use jQuery directly in a test
  • Setting computed properties in tests
  • Removal of i18nPrefix deprecations
  • Remove user_deleted when staff recovers post
  • : trigger user_updated event only if email changed after user creation.
  • in:title search should only search through topic first posts.
  • Search page bulk-select button position
  • Count new and unread respects muted categories
  • Prevent thumbnail gen if image too large
  • Apply video preview workaround to iOS
  • Regression in secure URL generation, followup to 36bad0c
  • Preload metadata for audio/video when secure media enabled
  • Trick Safari into loading video previews
  • Off-by-one-slash error in topic.notifications.reasons
  • Add noindex header to user summary page.
  • Don’t overwrite maxlength computed property
  • loaded is a CP and can’t be overwritten
  • Silence route-recognizer source map errors in development mode
  • Silence ember-qunit source map warning
  • Add popper sourcemap
  • Properly load ember source map in development mode
  • Can’t set url on topics, it is calculated from slugs
  • Error with currentCategory
  • FilterPlaceholder is a computed property
  • topic.details is not a plain JS Object
  • Allow highlightjs-worker to be compiled successfully
  • Ignore document length in search when ranking by relevance.
  • Prevent redirect when image scale btn is inside a link.
  • Search by relevance may return incorrect post number.
  • Add protection just in case topic is not set
  • Correct user profile URLs in /about crawler view
  • Strip query from URLs when indexing for search.
  • Inject extra lexemes for host lexeme.
  • Search for whole URLs wasn’t working.
  • Improvements for vanilla bulk import
  • Ensure that aggregating search shows the post with the higest rank.
  • Various improvements to bookmark modal UI
  • Incorrect search blurb when advanced search filters are used take2
  • Get only the correct collapse title in emails
  • Don’t strip noopener from oneboxes
  • Don’t award new user of the month in the wrong month
  • Remove social sharing icons from private contexts
  • Check if last poster exists before using it
  • Set the lang/xml:lang html attrs in emails
  • Skip whisper posts when updating topic like count
  • Slightly reduce fake delay of discobot user.
  • Last visit bar regression
  • Allow signup when auth provider supplies no email
  • Replace links to removed uploads from reviewables with a placeholder
  • Do not display enabled inputs when username/name are locked
  • Sync client and server side behavior for category hashtag lookup
  • Post menu bookmark icon and attributes not refreshing on notification click
  • Migrate topic_users.bookmarked to false when it is incorrectly true
  • Test output related to Discourse::VERSION
  • Flaky test
  • Flaky tests
  • Incorrect fix for invites breaking when no group is selected
  • Invites when no group is selected
  • Catch all kinds of exceptions when processing email
  • Short URL resolution in cook-text
  • Force ActiveRecord reading role if Redis is down take 2.
  • Force ActiveRecord reading role if Redis is down.
  • Do not send system emails to suspended users
  • getURL deprecation
  • ‘resend all invite’ button was not working as expected
  • Cap bookmark name at 100 chars and truncate existing names
  • Stop updating bookmarked column from TopicUser.update_post_action_cache
  • Incorrect search blurb when advanced search filters are used.
  • Disable security keys at same time as TOTP 2FA
  • Bookmarks shortcut goes to new bookmarks with reminders
  • Do not highlight large code blocks
  • Set default value for poll result field
  • Redirect user to the URL with the correct category slug
  • Ensures category order keeps consistent
  • Add table CSS rules to normalize
  • Fix race condition when resolving tag and category hashtags
  • Improve category hashtag lookup
  • Generate Topic Thumbnails nil to Array error
  • Handle the case where upload goes missing during downsizing
  • Do not rerender widget-dropdown on all clicks
  • CookText may be gone before promise resolves
  • OptimizedImage#filesize
  • Make Email::Styles operate on html documents instead of fragments
  • Ensures seconds are displayed when used with dates
  • Update normalize css from 3.0.1 to 8.0.1
  • Skip hidden posts while generating canonical url.
  • Uploading an existing image as a site setting
  • Uploading an image as a site setting
  • Emoji autocomplete not triggering correctly
  • Increase time of DOWNLOAD_URL_EXPIRES_AFTER_SECONDS to 5 minutes
  • Negative limit values shouldn’t cause error 500
  • Filter read/unread notifications on the server side
  • Delete related search data when record has been deleted.
  • Return cdn url for uploads if available.
  • Support root paths that omit the trailing slash and have QPs
  • Search was not multisite aware
  • Hide publish_read_state option from non-admin users
  • Sometimes not all output of psql was logged during restores
  • Emoji_autocomplete_min_chars failing when not 0
  • Update theme fields when updating from ThemesInstallTask
  • Uploads cannot be mapped due to the cook-text’s element attr being null
  • Identify slug-less topic urls everywhere
  • Correct version comparison logic when comparing stable to beta
  • Serialize an empty array if no suggested topics exist
  • Seed needs to run before optimizing site icons.
  • Published-page-header should be a sibling to published-page-body not a parent
  • Broken specs
  • Remove paths from robots.txt in favor of noindex header
  • Match discobot triggers on cooked version
  • Invalid urls should not break store.has_been_uploaded?
  • Avoid marking notifications as seen in readonly mode.
9 个赞

UX 变更

  • 在移动设备上不再重复显示已选帖子的界面
  • 在错误消息中添加群组名称
  • 微调 Onebox 的对齐方式
  • 改进私信标题图标的对齐与一致性
  • 在按群组筛选的目录结果中不包含当前用户
  • 彻底重构类别安全选项卡
  • 更新“重建 HTML"图标
  • 为 iOS 刘海屏设备的菜单面板添加底部内边距
  • 仅对站点设置历史记录链接图标
  • 处理“已跳过”和“已退回”标签页中的长电子邮件地址
  • 更新邀请按钮的标签
  • 草稿删除按钮在用户流中显示异常,已修复
  • 在静态页面上使用合适的标志
  • 编辑类别页面的布局变更
  • 为草稿删除操作添加确认对话框
  • 在快速访问个人资料面板中添加指向邀请的链接
  • 增加移动设备上置顶话题的点击区域
  • 在暂停对话框中添加默认的暂停原因
  • 增加自定义用户字段的数量限制
  • 对向导进行 minor 外观修复
  • 为私有仓库显示主题 Git 分支
  • 移除标签并为删除草稿按钮添加 danger 样式类
  • 在多用户通知中截断过长的用户名
  • 为假名(Furigana)及其他顶部溢出元素预留少量空间
  • 在下拉菜单中截断过长的导航项
  • 更新话题小操作帖子,为新关联话题 URL 添加链接
  • 加宽向导中的画布按钮
  • 按金 > 银 > 铜的顺序对用户徽章进行排序
  • 创建关联话题时使用 URL,让 Onebox 自动处理
  • 修复颜色方案更新时令人困惑的管理员 UI
  • 更新标签以表明将生成(而非复制)邀请链接
  • 通知工作人员用户:新用户通过邀请将自动获批
  • 优先显示“通过链接邀请”选项(针对工作人员用户)
  • 改进已登录用户的错误消息
  • 将类别编辑/创建移至独立页面
  • 从登录偏好设置中移除“忘记密码”按钮
  • 修复移动端的顶部内边距(跟进 da5841d)
  • 增加宽度并居中类别重排序输入框
  • “新话题将显示在此处”的显示变更
  • 增加“接受邀请”页面的输入框宽度
  • 将用户菜单中的齿轮图标替换为用户图标
  • 在搜索面板中不截断类别名称
  • 修复帖子和浏览量高级搜索的样式
  • 注册和邀请页面统一密码标签
  • 在高级搜索浏览量筛选器中显示范围
  • 允许在移动设备上水平滚动帖子按钮
  • 防止类别溢出 select-kit
  • 将向导垂直居中
  • 为向导按钮使用指针光标
  • 当话题列表为空时显示更积极的提示信息
  • 对无选项的设置使用简单列表
  • 确保新话题徽章渲染一致
  • 从编辑器标签中移除帖子编号
  • 将引用中的“加载中…"替换为旋转加载图标
  • 为邮件中的 GitHub Onebox 内联头像添加宽度和高度
  • 更新新用户覆盖层的深色模式样式
  • 调整 iOS 刘海屏设备的横向间距
  • 移除“加载中”后的多余省略号
  • 使表情符号选择器不区分大小写
  • 使 API 密钥的新建和展示页面响应更灵敏
  • 在群组下拉菜单中显示版主群组名称
  • 防止表情符号选择器自动大写/自动更正
  • 为移动编辑器按钮添加缺失的标签
  • 当 enable_badges 关闭时隐藏类别设置徽章复选框
  • 在 GitHub Onebox 中换行超长链接,防止溢出
  • 如果存在多个话题状态图标,则不在标题中包裹它们
  • 重新设计用户菜单,使用户链接易于查找
  • 使类别话题数量在移动设备上可点击
  • 更好地处理编辑器中过长的类别名称和按钮栏
  • 澄清时区格式
  • 针对 XHR 状态 0 的上传显示通用错误
  • 在类别框布局中添加 category-title-before
  • 在单帖话题的时间线应跳转至帖子底部
  • 主题管理页面的 minor 布局修复及一致性改进
  • 改进自动深色主题下的选择器
  • 在检查主题标题前将标签名转换为小写
  • 微调管理员调色板下拉菜单
  • 当没有未使用的标签可删除时,优化措辞
  • 帮助用户理解每个作用域的含义
  • 对用户和群组卡片简介使用相同的格式
  • 预加载静音类别列表以防止渲染延迟
  • 确保搜索结果在移动设备上正确换行
  • 使用系统区域设置设置 silence_reason
  • 更新移动应用 WebView 中的头部背景色
  • 确保 CSS 变量在向导样式表中加载
  • 重构 Pikaday 月份“上一月/下一月”按钮样式
  • 重构灯箱悬停时的投影效果
  • 统一编辑器输入框/文本区域的焦点样式
  • 允许使用 Tab 和 Enter 键导航小部件下拉菜单
  • 修复移动设备上编辑器预览的间距
  • 在 iOS 上按下“完成”时一致地缩小编辑器
  • 改进全屏搜索的对齐和一致性
  • 修复引用分享按钮的间距
  • 如果版主无权邀请加入群组,则显示更清晰的错误消息
  • 修复合并已选帖子时缺失的图标
  • 在邀请模态框中使用群组选择器
  • 修复长书签备注的布局
  • 简化电子邮件模板编辑,始终提供默认值
  • 在管理员视图中添加指向用户电子邮件偏好的链接
  • 移除编辑器预览中由图片调整控制添加的额外空格
  • 恢复表格边框
  • 在外部认证账户创建期间隐藏登录按钮
  • 默认在邮件中抑制“回复”部分
  • 在移动用户卡中截断过长的徽章名称
  • 如果用户未登录,在 403 错误页面添加登录按钮

安全变更

  • 确保用户在设置话题计时器前能看到该话题
  • __ws 不应能够覆盖多站点中的每个域名
  • 返回超大图片的错误
  • 版主不应看到 group_userssecond_factor_enabled
  • 如果用户无法查看某个群组,则移除该群组存在的指示
  • 不允许版主列出所有群组的私信
  • 不允许版主查看管理员收件箱
  • 对带有负载的 GET、HEAD 或 DELETE 请求返回 413 错误
  • 限制 embed#topics 可执行的工作量
  • 为 SVG 上传添加 content-disposition: attachment

性能

  • 移除统计信息时避免使用 destroy_all
  • 当未提供时,避免检查卡片背景和用户背景
  • 简化用户摘要页面的话题序列化
  • 为所有话题列表预加载话题缩略图
  • 在后台作业中更新类别索引
  • 对匿名用户引入激进的速率限制
  • 测试缩略图时无需使用超大图片
  • 在测试环境中应用 Sprockets 补丁
  • 仅在数据库恢复期间禁用 Sidekiq
  • 加载新帖子时不要请求新帖子
  • 过载时退避后台请求
  • 索引搜索时避免使用后顾断言
  • 若近期尝试过,则不排队发送摘要邮件
  • 引入每 30 分钟摘要数量的绝对限制
  • 加载私信时移除 category_user 查找
  • 修复私信路由上的 N+1 查询问题
  • 修复 GroupShowSerializer 中损坏的缓存机制
  • 使用 1 个查询加载群组和标签通知默认值
  • 检查深色模式时移除不必要的查询
  • 缓存对 ApplicationHelper#scheme_id 的调用
  • 跟踪用户的第一条未读私信和第一条未读群组私信
  • 不要为投票加载所有 poll_votes
  • 为话题视图在 reviewables 上添加部分索引
  • 在大型站点上为普通帖子搜索数据创建部分正则索引
  • 普通用户搜索私信时避免额外的子查询
  • 保存帖子时延迟对搜索的帖子索引
  • 并发删除索引 idx_regular_post_search_data
  • 在迁移期间删除 idx_regular_post_search_data
  • 改进 post_search_data 迁移的性能
  • 确保事务大小最小化
  • 为非私信搜索添加部分索引
  • 对于 User#private_posts_for_user,优先使用连接查询而非子查询
  • 移除搜索中的额外子查询
  • SearchIndexer 中切换到 ActiveRecord 的 upsert
  • 加速计算 TL3 晋升所需的回复数
  • 限制用于生成搜索摘要标题的字符数
  • 使用 PG 标题生成摘要和搜索高亮
  • 索引时在搜索摘要中替换视频和音频链接
  • 优化 ActionView::Helpers::TextHelper#excerpt
  • 当下载的图片被移除时释放 post_upload 记录
  • GroupSearchResults.blurb_for 中的 URI 正则表达式移至常量
  • 搜索时减少一次对 Redis 的调用
  • 为多站点集群预加载 S3 清单数据
  • 避免在每次搜索时用 Nokogiri 解析 Post#cooked
  • 将 avatar_lookup 和 primary_group_lookup 合并为 user_lookup
  • 通过移除未使用的话题属性来减小搜索负载大小
  • 将 highlightjs 移至后台工作者,并添加结果缓存
  • 话题视图参与者帖子计数:不返回 ID 列表
  • 缓存用户摘要数据
  • 添加 user_id 条件以便在查询中使用另一个索引
  • 在 user_post_bookmarks 中为用户加载话题书签
  • 移除每日 EnsureS3UploadsExistence 作业中的 post_upload 恢复逻辑
  • 在默认话题列表负载中不包含缩略图信息
  • 使用帖子编号在超大话题中创建规范路径
  • 仅在 etag 变化时更新它
  • 重构灯箱装饰器以使用 querySelectorAll
  • 以更高效的方式检查模态框可见性
  • SearchTopicListItemSerializer 中排除 image_urlthumbnails
  • 缓存所有元数据 60 秒
  • 当不需要时停止向搜索添加更多话题
10 个赞