Skip to content
Branch: master
Commits on Feb 21, 2020
  1. FIX: blank popular posts in summary emails due to lightbox images

    nlalonde committed Feb 21, 2020
    When looking for the first paragraph with content in a post,
    it was matching the lightboxed image paragraph as "<p></p>".
    Fix that and other potential empty paragraphs with the
    p:not(:empty) selector.
    Add a new selector to find the image links in lightboxed
    images as valid content for emails.
Commits on Feb 14, 2020
  1. FIX: tag topic counts wrong after adding synonyms

    nlalonde committed Feb 14, 2020
    After adding a tag as a synonym of another tag,
    both tags will have the wrong topic counts. It's
    corrected within 12 hours by the EnsureDbConsistency
    job. This fix ensures the topic counts are updated
    much sooner.
Commits on Feb 13, 2020
  1. Version bump to v2.4.0.beta11

    nlalonde committed Feb 13, 2020
  2. Update translations

    nlalonde committed Feb 13, 2020
Commits on Feb 5, 2020
  1. FIX: tag info misleading message saying it's not restricted

    nlalonde committed Feb 5, 2020
    When a tag is restricted to a secured category that the user can't see,
    the message was saying that it wasn't restricted to any categories.
    Now it will say it's restricted to categories you can't access.
Commits on Jan 29, 2020
  1. FIX: customized email subjects was ignored for some notifications

    nlalonde committed Jan 29, 2020
    Email templates for notifications about new posts and topics weren't
    using customized values.
Commits on Jan 22, 2020
  1. UX: add confirmation when adding tag synonyms

    nlalonde committed Jan 22, 2020
    The new confirmation modal explains that adding a tag as a synonym to
    another tag will change all topics to replace the synonyms with the
    base tag.
Commits on Jan 21, 2020
  1. Version bump to v2.4.0.beta10

    nlalonde committed Jan 21, 2020
Commits on Jan 20, 2020
  1. Update translations

    nlalonde committed Jan 20, 2020
Commits on Dec 19, 2019
  1. Version bump to v2.4.0.beta9

    nlalonde committed Dec 19, 2019
  2. Update translations

    nlalonde committed Dec 19, 2019
  3. Bump rack from 2.0.7 to 2.0.8

    nlalonde committed Dec 19, 2019
Commits on Dec 10, 2019
  1. REFACTOR: use rest serializer for tag-info categories

    nlalonde committed Dec 10, 2019
    But the "synonyms" can't use the TagSerializer yet. We still have some
    code from the discourse-tagging plugin that uses "text" instead of
    "name", "count" instead of "topic_count", etc. We should make the js
    consistent with the TagSerializer and then stop using tag_counts_json.
  2. FIX: tag input doesn't show all top 5 permitted tags

    nlalonde committed Dec 10, 2019
Commits on Dec 6, 2019
  1. REFACTOR: changes from tag synonym feedback

    nlalonde committed Dec 6, 2019
Commits on Dec 5, 2019
  1. Version bump to v2.4.0.beta8

    nlalonde committed Dec 5, 2019
  2. Fix release notes rake task

    nlalonde committed Dec 5, 2019
    It breaks when a commit message is "FIX:"
  3. Update translations

    nlalonde committed Dec 5, 2019
Commits on Dec 4, 2019
  1. FEATURE: Tag synonyms

    nlalonde committed Dec 4, 2019
    This feature adds the ability to define synonyms for tags, and the ability to merge one tag into another while keeping it as a synonym. For example, tags named "js" and "java-script" can be synonyms of "javascript". When searching and creating topics using synonyms, they will be mapped to the base tag.
    Along with this change is a new UI found on each tag's page (for example, `/tags/javascript`) where more information about the tag can be shown. It will list the synonyms, which categories it's restricted to (if any), and which tag groups it belongs to (if tag group names are public on the `/tags` page by enabling the "tags listed by group" setting). Staff users will be able to manage tags in this UI, merge tags, and add/remove synonyms.
Commits on Nov 19, 2019
  1. FIX: email excerpts for posts starting with a quote were displaying a…

    nlalonde committed Nov 19, 2019
    … username
    If a post starts with a post quote and has no other text content,
    then the email excerpt was the name of the person quoted and
    nothing else. The intention was to show the contents of the
    first paragraph or div after the quote.
    With this change, a quote followed by an image will use the
    image as the excerpt. A quote followed by a onebox will use the
Commits on Nov 18, 2019
  1. FIX: unable to remove required tag group from a category

    nlalonde committed Nov 18, 2019
  2. FIX: errors when using tags with colons in their name

    nlalonde committed Nov 18, 2019
Commits on Nov 12, 2019
  1. REFACTOR: redo DiscourseTagging.filter_allowed_tags (#8328)

    nlalonde committed Nov 12, 2019
    This method had grown into a monster. Its query had bugs
    that I couldn't fix, and new features would be hard to add.
    Also I don't understand how it all works anymore...
    Replace it with common table expressions that can be queried
    to generate the results we need, instead of subtracting
    results using lots of "NOT IN" clauses.
    Fixed are bugs with tag schemas that use combinations of
    tag groups, parent tags, and one-tag-per-topic restrictions.
    For example:
Commits on Nov 6, 2019
  1. Version bump to v2.4.0.beta7

    nlalonde committed Nov 6, 2019
  2. Update translations

    nlalonde committed Nov 6, 2019
Commits on Nov 4, 2019
  1. UX: tag input suggests required tags if none have been selected

    nlalonde committed Nov 4, 2019
    This is a follow-up to the new feature that allows a category to
    require a certain number of tags from a tag group. The tag input will
    shows results from the required group if none have been chosen yet.
    Once a require tag is selected, the tag input will include other
    results as usual. Staff users can ignore this restriction, so the input
    behaviour is unchanged for them.
Commits on Oct 31, 2019
  1. FEATURE: categories can require topics have a tag from a tag group

    nlalonde committed Oct 30, 2019
    In a category's settings, the Tags tab has two new fields to
    specify the number of tags that must be added to a topic
    from a tag group. When creating a new topic, an error will be
    shown to the user if the requirement isn't met.
Commits on Oct 28, 2019
  1. FIX: close modals on ESC key and clicking outside

    nlalonde committed Oct 28, 2019
  2. DEV: replace inline RTL attributes with classes in digest.html.erb

    nlalonde committed Oct 28, 2019
Commits on Oct 25, 2019
  1. PERF: cache new users counts in summary emails

    nlalonde committed Oct 25, 2019
    The query to count how many new users there are since a given date
    is expensive. It's the least personalized stat and the one we fallback
    to last when no better number can be found for the target user.
    Give up accuracy so we can aggressively cache the user counts
    that appear in this email.
Commits on Oct 23, 2019
  1. FIX: backwards compatibility for uncompiled email style css

    nlalonde committed Oct 23, 2019
  2. FEATURE: support SCSS in custom email style

    nlalonde committed Oct 23, 2019
    In the CSS tab of Admin > Customize > Email Style, SCSS can now be used.
Commits on Oct 17, 2019
  1. UX: dashboard links to git commits list instead of git comparison

    nlalonde committed Oct 17, 2019
    Previously the link went to a comparison of the installed commit with
    the tests-passed branch. This change will show the list of installed
Commits on Oct 16, 2019
  1. FIX: tag cannot be used if it belongs to two tag groups with parent tag

    nlalonde committed Oct 16, 2019
    If two tag groups exist with a mandatory parent tag, and one tag is
    added to both tag groups, then the tag couldn't be used on any topics.
You can’t perform that action at this time.