Discourse 2.2.0.beta4 Release Notes

New features in 2.2.0.beta4

Flagging Improvements: Show historical context

How accurate are your users at flagging content? Does Joe flag all the wrong posts? Or perhaps George is consistently spot on? To help your moderators understand this history we now show the user’s highest flag percentage right in the flag queue.

image

We also added a new “Most disagreed flaggers” report to quickly see at a glance which user’s flags are disagreed with most often.

Improved Account Security: Suspicious login emails and report

Continuing our account security improvements from 2.2.0.beta3, we’ve added a new suspicious login email. Admins that sign in from a new country will receive an email detailing the login, including IP, estimated location, browser, and device. We’re continuing to refine this feature, and plan to alert based on the geographic distance between the locations, not simply the country. Admins can also view the new suspicious logins report for a summary of new location logins.

Composer Improvement: Full Screen Mode

Need even more room to write your latest post? Want to eliminate on screen distractions? Use the fullscreen composer toggle to solely see the composer.

image

CSS Updates: Search

Discourse’s quick search interface hasn’t changed much since it was first added. For beta4 we’ve updated the design to better show each type of result: topics/posts, categories/tags, and users.

New Badge: Wiki Editor

image

Filter Improvement: Category and Tag

When searching for categories or tags, Discourse now provides all results, not only those visible in the dropdown.

image

21 Likes

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

  • Update loofah for CVE-2018-16468
  • Add CSRF protections to OpenID callback

Plugin improvements

Data Explorer

  • Correct “quality users” preseeded query
  • Allow clickable post titles in results view
  • Replace combo-box with search filter

Solved

Policy

  • Force Policy renewal every N days

Patreon

  • Bug fixes
  • Translation fixes

SAML

  • Option to require SAML usage for specific email domains

Voting

  • Improved button label for anonymous users

Zendesk Plugin

  • Bug fix
  • Translation improvements

Backup Uploads to s3

  • Bug fixes

Intercom

  • Initial release

Calendar

  • Bug fixes

Additional Features and Fixes

Click to expand

New Features

  • Add Noindex to robots.txt for disallowed routes
  • Show added date when looking at group members
  • New ‘simultaneous_uploads’ site setting
  • Add download script for Google Groups
  • Special offline support restricted to Android only
  • Push related PMs to take first 3 slots
  • Allow admins to control PWA display mode per user agent
  • Hide muted categories from /categories list
  • Warn users via email about suspicious logins.
  • Add server:before-head-close-crawler outlet for plugins
  • [Experimental] Content Security Policy
  • Adds latest to user-api-key session scope
  • New plugin outlets for user card customization
  • Allow plugins to whitelist user custom fields for public display
  • Adds list#(unread|new) to user api key routes
  • New rake task to anonymize all users
  • Upload tags from CSV
  • Allow multiple secrets for Discourse SSO provider
  • Support backup uploads/downloads directly to/from S3.

Bug Fixes

  • don’t allow adding a value containing vertical bar char to the secret list
  • topic-map spec with VDOM and i18n plural
  • don’t strip eml attachments from received emails
  • Disables dates filtering on most_disagreed_flags report
  • Uses more semantically correct spans in post map
  • Use ‘require’ for dependencies.
  • Translation error
  • Only extract script tags with certain types
  • We shouldn’t include topics when mobile view is enabled
  • Do not create superflous sessions when logged on
  • Do not leak information about post revisions.
  • Correct bookmark button class
  • Return 400 for missing required params
  • Improve error handling for missing maxmind dbs
  • Add ‘log in via link’ to email templates.
  • Fix ‘New Login Alert’ message.
  • Uploads didn’t work for subfolder anymore
  • Sso provider copyedit
  • Prevents y-axis labels to show useless/wrong values
  • Flash authentication data not rendered in latest iOS safari browser
  • Add String.includes polyfill for IE11
  • Remove orientation from the webmanifest
  • Add polyfill so that Array.includes works in IE11
  • Ensures reports links are correct on subfolder installs
  • Don’t seed flags if ids don’t exist
  • Don’t use srcset on cropped thumbnails
  • Do not update last_seen for API access
  • Do not track right clicks.
  • Support comma in ‘sso_provider_secrets’ site setting
  • Ensure the like button always has a title, for accessibility
  • GlobalPath#upload_cdn_path when S3 bucket has a folder
  • If poll has not options do not break serializer
  • Remove duplicate referrer policy
  • Strip accents from search query
  • Validates import theme form
  • Stop logging every 404 error when searching for gravatars
  • Fix order of recently connected devices.
  • Proper naming for the GNU/Linux OS
  • Fix browser detection for Microsoft Edge.
  • Clean tag before searching for matches
  • Sanitize tags before creation
  • Count emoji shortcuts in topic title
  • Prevent duplicate tags in tag-choosers
  • Strip @ when searching for users and groups.
  • User AvatarLookup for looking up avatar details
  • Lowercase username for add/rem group members
  • Always update ‘last_gravatar_download_attempt’ when updating gravatar
  • Properly import vBulletin’s hashed password
  • Extracted theme JavaScripts for multisite
  • Extracted theme javascripts for multisite
  • Wrap custom fields database statements in a transaction.
  • Don’t rescue PG::UniqueViolation within a transaction.
  • Discourse script didn’t allow backups with paths anymore
  • Mbox importer and rake task were broken
  • Use topic summary for meta description if topic excerpt is blank
  • Closing an empty fullscreen composer with toggler prevents scrolling
  • Support for local-date email preview without time attribute
  • Do not set null value to remove cookie
  • Clear color scheme cache when clearing theme cache
  • Force enable a user’s email_private_messages option when user replies via email
  • Do not award badges for links in restricted categories.
  • Reduce amount of work onceoff does
  • SSO provider secrets - check wildcard domains last, toggle secrets visibility
  • Can’t clean a tag if the given string is frozen.
  • Remove code that restricted “header” theme field from admin
  • Keep emoji syntax for custom emojis in quotes
  • Don’t show empty user stats in the card when profile is hidden

UX Changes

  • uses presentation role for accessibility in topic map
  • Don’t show crawler navigation in print view
  • Adds CSS classes to crawler navigation links
  • Hide crawler navigation in print view
  • Include subcategories in search result of all categories drop down
  • Updates category muting instructions
  • Remove “at” word from relative dates in local dates
  • Use latitude and longitude for more precision.
  • Use user locale for locations.
  • Bumps the user-api-key version to 3
  • Make title on Instagram less redundant
  • Adding Google-compliant logo
  • Increase size of topic title tap target on mobile
  • Improve spacing on composer controls
  • Allow vertical timeline to fit on narrower screens
  • Show error when hitting the rate limit on password reset
  • Warn users if the post that’s currently edited has changed.
  • Header items wrap on small screens for anon
  • Presence-users overlaps with composer toggles
  • Images should be responsive in embedded comments

Performance

  • Avoid DNS lookups when getting IP info
  • Remove total unread notifications from message bus
  • Limit unread count to 99 in the blue circle
  • User imports would slow down the more users were imported
13 Likes