Features
-
Introducing Report Karma! 🎏
-
Each time a user reports a comment as violating the site guidelines, and the moderator then rejects the comment, their individual Report Karma score goes up by one point. Each time the moderator approves a comment that the user has reported (ie. says that the comment is ok), their score goes down one point.
-
If a user's reports mostly match what moderators reject, their Report status will display to moderators as Reliable in the user information drawer. If a user's reports mostly differ from what moderators reject, their Report status will show as Unreliable.
-
If we don't have enough reports to make a call, or the reports even out, their status is Neutral.
-
Note: Report Karma doesn't include reports of "I don't agree with this comment".
-
The default Report Karma thresholds are:
- -2 and lower -> Unreliable
- -1 to +2 -> Neutral
- +3 and higher -> Reliable
-
You can change these thresholds as environment variables: https://coralproject.github.io/talk/docs/running/configuration/#trust
Optimizations
- Extensive frontend optimizations using shouldComponentUpdate and our GraphQL framework (See full details here: #863)
- Update Apollo
- Remove immutable.js from core
Dev Support
-
Add support for mounting the router on a base path. When the
TALK_ROOT_URLcontains a path component, andTALK_ROOT_URL_MOUNT_PATHis set toTRUE, then the router will mount all the paths onto the pathname component of theTALK_ROOT_URL.Example:
TALK_ROOT_URL=https://my-site.com/api/comments TALK_ROOT_URL_MOUNT_PATH=TRUE
Then the GraphQL endpoint will be mounted at:
https://my-site.com/api/comments/api/v1/graph/ql -
Adds extensive debugging logs support for any Redis connection originating from Talk, as well as exposing more configuration parameters revolving around reconnection logic. The new Redis configuration options available are:
TALK_REDIS_RECONNECTION_MAX_ATTEMPTS(optional) - the amount of attempts that a redis connection will attempt to reconnect before aborting with an error. (Default100)TALK_REDIS_RECONNECTION_MAX_RETRY_TIME(optional) - the time in string format for the maximum amount of time that a client can be considered "connecting" before attempts at reconnection are aborted with an error. (Default1 min)TALK_REDIS_RECONNECTION_BACKOFF_FACTOR(optional) - the time factor that will be multiplied against the current attempt count inbetween attempts to connect to redis. (Default500 ms)TALK_REDIS_RECONNECTION_BACKOFF_MINIMUM_TIME(optional) - the minimum time used to delay before attempting to reconnect to redis. (Default1 sec)
Fixes
- Fix Suspect and Banned words not highlighting when adjoined by punctuation
- Fix Dashboard links which were incorrect
- Fix Ignore User capability from permalink page
- Fix bug with some Configure settings
- Styling fixes