This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/app/models
Martin Brennan e3b1f5721b
FIX: Enforce tag group count validation before sending to review queue (#12728)
There is a category setting that enforces 1 or more tags must be added to a topic from a specific tag group before creating it. This validation was not being run before the topic was being sent to a review queue for categories that have that setting enabled.

There was an existing validation in `TopicCreator` but it was not correct; it was only validating when the tags did _not_ exist and also only happened on `create`. I now run the validation in `TopicCreator.valid?`

I also improved the error message shown to the user when they have not added the tags required (showing the tag names from the tag group), and changed the composer tag selector to not show "optional" if there are N tags required from a certain group.
2021-04-19 09:43:50 +10:00
..
action-summary.js FEATURE: Admins can flag posts so they can review them later. (#12311) 2021-03-11 08:21:24 -03:00
archetype.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
badge-grouping.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
badge.js UX: Add image uploader widget for uploading badge images (#12377) 2021-03-17 08:55:23 +03:00
bookmark.js FEATURE: Bookmark pinning (#12431) 2021-03-22 09:50:22 +10:00
category-list.js FIX: New Topic button regression in tag page (#12613) 2021-04-06 09:31:49 -04:00
category.js FEATURE: Category setting to allow unlimited first post edits by the owner of the topic (#12690) 2021-04-14 15:54:09 +10:00
composer.js FIX: Enforce tag group count validation before sending to review queue (#12728) 2021-04-19 09:43:50 +10:00
draft.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
group-history.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
group.js FEATURE: Improve group settings and members management (#11878) 2021-02-03 16:11:08 +02:00
invite.js UX: Show first unique letters in invite link (#12434) 2021-03-18 19:05:38 +02:00
live-post-counts.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
login-method.js DEV: Deprecate message parameter in auth provider plugin API (#12523) 2021-03-25 13:23:48 +00:00
nav-item.js DEV: prettier 2.2.1 (#11862) 2021-01-27 12:39:20 +01:00
permission-type.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
post-action-type.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
post-stream.js DEV: Clear filters when navigating to a post (#12557) 2021-03-30 13:55:15 -04:00
post.js FIX: post merging was failing silently (#12566) 2021-04-01 06:46:18 +05:30
published-page.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
rest.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
result-set.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
reviewable-history.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
reviewable.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
session.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
site.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
static-page.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
store.js DEV: prettier 2.2.1 (#11862) 2021-01-27 12:39:20 +01:00
tag-group.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
tag.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
topic-details.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
topic-list.js FIX: New Topic button regression in tag page (#12613) 2021-04-06 09:31:49 -04:00
topic-timer.js FEATURE: Allow durations < 1 hour and < 1 day for topic timers where duration is specified (auto delete replies, close based on last post) (#11961) 2021-02-05 10:12:56 +10:00
topic-tracking-state.js FIX: Dismiss new with better migration (#12062) 2021-02-15 08:50:33 +11:00
topic.js FIX: Flaky JS tests (#12331) 2021-03-10 08:27:42 -05:00
trust-level.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
user-action-group.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
user-action-stat.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
user-action.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
user-badge.js DEV: prettier 2.2.1 (#11862) 2021-01-27 12:39:20 +01:00
user-draft.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
user-drafts-stream.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
user-posts-stream.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
user-stream.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
user.js FEATURE: Check email availability in signup form (#12328) 2021-03-22 17:46:03 +02:00