Skip to content
Permalink
Branch: master
Commits on Oct 16, 2019
  1. Allow the topic excerpt size to be customizable by plugins

    eviltrout committed Oct 16, 2019
  2. FIX: Use the quote generator in the example text

    eviltrout committed Oct 16, 2019
    This way if a plugin customizes the quotes the example will match.
Commits on Oct 11, 2019
  1. FIX: Remove another broken test

    eviltrout committed Oct 11, 2019
  2. FIX: This emoji test was broken too

    eviltrout committed Oct 11, 2019
  3. FIX: Flaky tests

    eviltrout committed Oct 11, 2019
    We had acceptance tests that were testing the contents of the post
    stream preview, not the contents of the eventual topic itself.
    
    This became apparent when I introduced a new promise which caused the
    tests to finish waiting for work properly. Before that, it was up to the
    speed of the execution, very spooky!
  4. DEV: Add a plugin API for registering a "beforeSave" on the composer

    eviltrout committed Oct 11, 2019
    This allows plugins to perform operations before saves occur, and
    perhaps reject the post.
Commits on Oct 8, 2019
  1. FIX: Bump Compiler Version

    eviltrout committed Oct 8, 2019
    In 98719be we fixed raw handlebars, but they won't be recompiled without
    this bump.
  2. Log an event for `topic:created`

    eviltrout committed Oct 8, 2019
    You can distinguish between `post:created` and `topic:created` now.
  3. Add an appEvent for when a post is created

    eviltrout committed Oct 8, 2019
    List for `post:created` and you'll be passed the new post when it is
    created.
Commits on Oct 7, 2019
  1. Add more analytics events

    eviltrout committed Oct 7, 2019
    The ability to track when likes and bookmarks are toggled
  2. Add event for when "Reply" is clicked

    eviltrout committed Oct 7, 2019
    This is useful by analytics libraries or other code that wants to track
    when replies are begun. A new event: `page:compose-reply` is fired with
    the topic.
  3. Add an app event for when a topic is fully loaded

    eviltrout committed Oct 7, 2019
    If we are interested in page events (say analytics), they are reported
    when the route changes, which does not wait for any promises in
    `setupController` to finish.
    
    A plugin might want to know when a topic has fully loaded, so this event
    is triggered when that happens.
Commits on Oct 4, 2019
  1. REFACTOR: Move `app-events:main` to `service:app-events` (#8152)

    eviltrout committed Oct 4, 2019
    AppEvents was always a service object in disguise, so we should move it
    to the correct place in the application. Doing this allows other service
    objects to inject it easily without container access.
    
    In the future we should also deprecate `this.appEvents` without an
    explicit injection too.
Commits on Oct 3, 2019
  1. The generated plugin should also freeze strings

    eviltrout committed Oct 3, 2019
Commits on Sep 30, 2019
  1. SECURITY: Don't allow base_uri as embeddable host if none exist

    eviltrout committed Sep 30, 2019
Commits on Sep 19, 2019
  1. Tweak calculation for reviewable sensitivities/priorities

    eviltrout committed Sep 19, 2019
    Previously, calculating thresholds for reviewables was done based on the
    50th and 85th percentile across all reviewables. However, many forum
    owners provided feedback that these thresholds were too easy to hit, in
    particular when it came to auto hiding content.
    
    The calculation has been adjusted to base the priorities on reviewables
    that have a minimum of 2 scores (flags). This should push the amount of
    flags required to hide something higher then before.
  2. FIX: Require a min amount of reviewables before calculating thresholds

    eviltrout committed Sep 19, 2019
    On forums with very few flags you don't want to calculate averages
    because they won't be very useful. Stick with the defaults until we hit
    15 reviewables at least.
  3. FIX: Sensitivity did not work by default

    eviltrout committed Sep 19, 2019
    Forums without previously calculated scores would return the same values
    for low/medium/high sensitivity. Now those are scaled based on the
    default value.
    
    The default value has also been changed from 10.0 to 12.5 based on
    observing data from live discourse forums.
Commits on Sep 18, 2019
  1. Add spec to confirm auto hide is not executed on like

    eviltrout committed Sep 18, 2019
  2. FIX: Only apply post hide logic to flag actions

    eviltrout committed Sep 18, 2019
Commits on Sep 17, 2019
  1. FIX: Put back the TL3 -> TL0 spam thing

    eviltrout committed Sep 17, 2019
    We talked about it and decided it's still relevant in the score world.
  2. FIX: Ignored flags should not count in your accuracy score

    eviltrout committed Sep 17, 2019
  3. Remove special cases for flagging

    eviltrout committed Sep 17, 2019
    Prior to the new review queue there were a couple special cases where
    posts would be auto hidden:
    
    * If a TL3 or above flagged a TL0 post as spam
    * If a TL4 or above flagged a non-staff, non-TL4 post as spam, inappropriate or off
    topic.
    
    These cases are now removed in favour of the scoring system.
Commits on Sep 12, 2019
  1. DEV: Allow custom hosts in development mode

    eviltrout committed Sep 12, 2019
    Rails 6 seems to introduce a whitelist of allowed hosts. I personally
    use `dev.local` for development and this no longer works.
    
    This introduces a new ENV variable, `DISCOURSE_DEV_HOST`. If present,
    it will whitelist that host for development mode.
Commits on Sep 11, 2019
  1. FIX: Missing translation

    eviltrout committed Sep 11, 2019
Commits on Sep 10, 2019
  1. FEATURE: Allow embedding to ignore HTTP REFERER

    eviltrout committed Sep 10, 2019
    New site setting: `embed_any_origin` that will send postMessages to
    wildcard origins `*` instead of the referer.
    
    Most of the time you won't want to do this, so the setting is default to
    `false`. However, there are certain situations where you want to allow
    embedding to send post messages when there is no HTTP REFERER.
    
    For example, if you created a native mobile app and you wanted to embed a list
    of Discourse topics as HTML. In the code your HTML would be a
    static file/string, which would not be able to send a referer. In this
    case, the site setting will allow the embed to work.
    
    From a security standpoint we currently only use `postMessage` to send
    data about the size of the HTML document and scroll position, so it
    should be enable if required with minimal security ramifications.
Commits on Sep 9, 2019
  1. FIX: Broken spec

    eviltrout committed Sep 9, 2019
  2. Allow CORS combined with HTTP Auth

    eviltrout committed Sep 9, 2019
Commits on Sep 6, 2019
  1. Version bump to 2.4.0.beta4

    eviltrout committed Sep 6, 2019
  2. Revert "FIX: Auth popup handling for Safari same-site cookie quirks"

    eviltrout committed Sep 6, 2019
    This reverts commit 310a8ac.
    
    It seems this breaks google authentication. My suspicion is opening
    the URL twice invalidates the CSRF after the first access.
Commits on Sep 4, 2019
  1. FEATURE: Adds a pop up that shows a more detailed score for reviewabl…

    eviltrout committed Sep 4, 2019
    …es (#8035)
    
    If you click a (?) icon beside the reviewable status a pop up will
    appear with expanded informatio that explains how the reviewable got its
    score, and how it compares to system thresholds.
Commits on Aug 15, 2019
  1. FEATURE: Add a webhook for user notifications

    eviltrout committed Aug 15, 2019
    If enabled, this will fire a webhook whenever a user's notification has
    been created. This could potentially be a lot of data depending on your
    forum, and should be used carefully since it includes everything all users
    will see in their feeds.
Older
You can’t perform that action at this time.