github coralproject/talk v3.5.0

latest releases: v9.11.2, v9.11.1, v9.11.0...
8 years ago

Features

  • Introducing In-Stream Moderation 🎈
    • Now Moderators can easily accept, reject, or feature comments, as well as ban users, directly from the comment stream on the article
    • This is available by adding the plugin talk-plugin-moderation-actions to your plugins.json file
  • The Flagged Username queue now has a count so Moderators can have a better idea of how much activity is happening there
  • New Moderator labels make make it easier to moderate at a glance (ref: #971):
    • Reply label shows if a comment is a reply
    • Premod label shows if a comment is currently in a pre-mod state
    • History flag label shows if a comment is flagged because of a user's history (e.g. they are below the Trust threshold)
    • Suspect flag label shows if a comment is flagged because it has one or more suspicious words
    • User flag label shows if a comment was flagged by a fellow reader

Plugins

  • We're introducing 2 new non-default plugins:
    • talk-plugin-remember-sort saves the last user sorting choice into pymStorage and loads it before render, so the reader can keep their last sort saved as they peruse articles
    • talk-plugin-deep-reply-count counts replies as all replies in a thread by adding a new field to the graph deepReplyCount which can be used by plugin authors to craft plugins to display this information
      • Warning: this plugin could impact the performance of sites with many levels of nesting; it not recommended for any site exceeding 3 levels deep of commenting; please test extensively before deploying to a production environment

Dev Support

  • Continued work to migrate fully from REST APIs to GraphQL
  • Replace all React.PropTypes with PropTypes to support newer versions of React
  • Add optional TALK_HELMET_CONFIGURATION environment variable setting (addresses #962)
  • Adds support for new static root configuration:
    • TALK_STATIC_URI (optional) - Used to set the uri where the static assets should be served from. This is used when you want to upload the static assets through your build process to a service like Google Cloud Storage or Amazon S3 and you would then specify the CDN/Storage url (default process.env.TALK_ROOT_URL)
    • TALK_DISABLE_STATIC_SERVER (optional) - When TRUE, it will not mount the static asset serving routes on the router (default FALSE)
  • Add support for a new runtime variable that is injected to the client to specify a different root url to use for subscriptions:
    • process.env.TALK_WEBSOCKET_LIVE_URI when set should point to the endpoint (path included) to the web socket server
    • Example, the Talk API is being served out of https://sitea.com; specifying TALK_WEBSOCKET_LIVE_URI=wss://siteb.com/api/v1/live will allow you to have the server use that instead
    • Warning: if used without managing the auth state manually, auth cannot be persisted
  • Introduce init property for plugins that is called with the context and resolved before render
  • The bootstrap service now accepts a preInit and init option; use new bootstrap options to load config before rendering the embed
  • Implement a introspection service with an isValidEnumValue method
  • Implement pymStorage that uses the localStorage of the parent and is available on the context

Fixes & Enhancements

  • If a comment is approved and then edited, the status on the comment should be reset to before it was approved; rejected comments should stay rejected
  • Fix issue with "Staff" users not getting a "Staff" badge
  • Fix off-topic checkbox not un-checking itself after submitting a comment
  • Fix issues with the highlighting of banned and suspect words/phrases in the Mod queues
  • Fix notifications no longer showing
  • Replaces the hard-coded string, "All Comments", with a translation string on the All Comments Pane Tab

Don't miss a new talk release

NewReleases is sending notifications on new releases.