Skip to content
Permalink
master

Commits on Oct 3, 2020

  1. Build(deps-dev): Bump better_errors from 2.8.2 to 2.8.3 (#10812)

    Bumps [better_errors](https://github.com/BetterErrors/better_errors) from 2.8.2 to 2.8.3.
    - [Release notes](https://github.com/BetterErrors/better_errors/releases)
    - [Commits](BetterErrors/better_errors@v2.8.2...v2.8.3)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    
    Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
    dependabot-preview committed Oct 3, 2020
    1
  2. FEATURE: explain why invites are disabled to staff users (#10810)

    Co-authored-by: Robin Ward <robin.ward@gmail.com>
    techAPJ and eviltrout committed Oct 3, 2020

Commits on Oct 2, 2020

  1. FIX: Hide empty popular/recent sections in 404 page (#10811)

    pmusaraj committed Oct 2, 2020
  2. FIX: Build was broken because uglify can't accept `let` or `const`

    For now we can live with `var`.
    eviltrout committed Oct 2, 2020
  3. REFACTOR: Move javascript tests inside discourse app

    This is where they should be as far as ember is concerned. Note this is
    a huge commit and we should be really careful everything continues to
    work properly.
    eviltrout committed Oct 2, 2020
  4. 1
  5. FEATURE: Add the title attribute to polls (#10759)

    Adds an optional title attribute to polls. The rationale for this addition is that polls themselves didn't contain context/question and relied on post body to explain them. That context wasn't always obvious (e.g. when there are multiple polls in a single post) or available (e.g. when you display the poll breakdown - you see the answers, but not the question)
    
    As a side note, here's a word on how the poll plugin works:
    
    > We have a markdown poll renderer, which we use in the builder UI and the composer preview, but… when you submit a post, raw markdown is cooked into html (twice), then we extract data from the generated html and save it to the database. When it's render time, we first display the cooked html poll, and then extract some data from that html, get the data from the post's JSON (and identify that poll using the extracted html stuff) to then render the poll using widgets and the JSON data.
    CvX committed Oct 2, 2020
  6. Revert "FIX: Use topic title headline in search menu result."

    This reverts commit 4b8c15b.
    
    This breaks topic title for topic similar search.
    tgxworld committed Oct 2, 2020
  7. FIX: Use topic title headline in search menu result.

    tgxworld committed Oct 2, 2020
  8. Build(deps-dev): Bump better_errors from 2.8.1 to 2.8.2

    Bumps [better_errors](https://github.com/BetterErrors/better_errors) from 2.8.1 to 2.8.2.
    - [Release notes](https://github.com/BetterErrors/better_errors/releases)
    - [Commits](https://github.com/BetterErrors/better_errors/commits)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview authored and tgxworld committed Oct 2, 2020
  9. FIX: Clear notification of skipped narrative bot PM (#10792)

    Resets a new user's PM count in their badge after skipping user tips.
    pmusaraj committed Oct 2, 2020

Commits on Oct 1, 2020

  1. FIX: move hp request from /users to /token (#10795)

    `hp` is a valid username and we should not prevent users from registering it.
    lis2 committed Oct 1, 2020
  2. DEV: Hide large commit for moving test directories

    eviltrout committed Oct 1, 2020
  3. FIX: Allow staff to use HTML in the category read only banner

    eviltrout committed Oct 1, 2020
  4. DEV: Recover missing files of existing uploads (#10757)

    UploadRecovery only worked on missing Upload records. Now it also works with existing ones that have an invalid_etag status.
    
    The specs (first that test the S3 path) are a bit of stub-a-palooza, but that's how much this class interacts with the the outside world. 🤷‍♂️
    CvX committed Oct 1, 2020
  5. FIX: Migration should only update ReviewableUsers where the user is n…

    …ot approved. (#10790)
    
    The reviewable was updated despite the user not being approved because a u.id = r.target_id condition is missing. It only affected user reviewables that were pending when the migration ran. Users were not auto-approved.
    romanrizzi committed Oct 1, 2020
  6. Build(deps): Bump rspec-core from 3.9.2 to 3.9.3 (#10791)

    Bumps [rspec-core](https://github.com/rspec/rspec-core) from 3.9.2 to 3.9.3.
    - [Release notes](https://github.com/rspec/rspec-core/releases)
    - [Changelog](https://github.com/rspec/rspec-core/blob/main/Changelog.md)
    - [Commits](rspec/rspec-core@v3.9.2...v3.9.3)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    
    Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
    dependabot-preview committed Oct 1, 2020

Commits on Sep 30, 2020

  1. DEV: Add support for `api-initializers` to reduce boilerplate.

    You can now create a file in your plugin/theme in the `api-initializers`
    directory which has a simpler template than previous initializers.
    Example:
    
    ```
    // api-initializers/my-plugin.js
    import { apiInitializer } from "discourse/lib/api";
    
    export default apiInitializer("0.8", api => {
      console.log("hello world from api initializer!");
    });
    ```
    eviltrout committed Sep 30, 2020
  2. Update server.en.yml

    eviltrout committed Sep 30, 2020
  3. Update server.en.yml

    eviltrout committed Sep 30, 2020
  4. minor copyedit

    coding-horror committed Sep 30, 2020
  5. FIX: Allow .otf fonts to be delivered via cdn (#10787)

    The discourse-fonts package includes NotoSansJP (bold and regular), but
    it is an OTF font, and it results in 404s in CDN requests.
    pmusaraj committed Sep 30, 2020
  6. DEV: Fix heisentest

    gschlager committed Sep 30, 2020
  7. 1
  8. Build(deps): Bump rotp from 6.1.0 to 6.2.0

    Bumps [rotp](https://github.com/mdp/rotp) from 6.1.0 to 6.2.0.
    - [Release notes](https://github.com/mdp/rotp/releases)
    - [Changelog](https://github.com/mdp/rotp/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/mdp/rotp/commits)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview authored and eviltrout committed Sep 30, 2020
  9. REFACTOR: Move qunit tests to a different directory structure

    This structure is closer to how ember-cli expects tests to be placed. It
    is not their final position, just the first step towards it.
    eviltrout committed Sep 30, 2020
  10. FIX: Deprecation overwriting `translatedText` CP

    This allows us to pass a `textParams` object for options that will be
    translated via i18n.
    eviltrout committed Sep 30, 2020
  11. Update app/assets/javascripts/discourse/app/templates/components/shar…

    …e-popup.hbs
    
    Co-authored-by: Jarek Radosz <jradosz@gmail.com>
    eviltrout and CvX committed Sep 30, 2020
  12. REFACTOR: Remove deprecated `action="something"` attributes

    In newer versions of Ember, `this.sendAction` is deprecated:
    
    https://deprecations.emberjs.com/v3.x/#toc_ember-component-send-action
    
    This patch removes most of our current uses (via `d-button`) but also
    some other rogue `this.sendAction` calls too.
    eviltrout committed Sep 30, 2020
  13. FIX: Make bundler CI cache setup explicit (#10785)

    Instructions on how to set this up exist at:
    
    https://github.com/actions/cache/blob/master/examples.md#ruby---bundler
    
    The second step was omitted, but it did not seem to prevent caching for unknown reasons.
    danielwaterworth committed Sep 30, 2020
  14. FIX: Invalid URLs could raise exceptions when calling UrlHelper.rails…

    …_route_from_url (#10782)
    
    Upload.secure_media_url? raised an exceptions when the URL was invalid,
    which was a issue in some situations where secure media URLs must be
    removed.
    
    For example, sending digests used PrettyText.strip_secure_media,
    which used Upload.secure_media_url? to replace secure media with
    placeholders. If the URL was invalid, then an exception would be raised
    and left unhandled.
    
    Now instead in UrlHelper.rails_route_from_url we return nil if there is something wrong with the URL.
    
    Co-authored-by: Bianca Nenciu <nenciu.bianca@gmail.com>
    martin-brennan and nbianca committed Sep 30, 2020

Commits on Sep 29, 2020

  1. minor copyedit

    coding-horror committed Sep 29, 2020
  2. UI: Remove background from group notifications of @mentions (#10775)

    This commit removes the background color from group @mention notifications. This resolves visual contrast issues when 'unread' styles are applied.
    jordanvidrine committed Sep 29, 2020
Older
You can’t perform that action at this time.