discourse-assign/lib
Andrei Prigorshnev 51920a99c0
FIX: Assignments limit shouldn't prevent from reassigning a post (#556)
At the moment, it's possible to have maximum 5 assignments per topic 
(that includes topic and post assignments). When trying to assign more, 
a message "Limit of 5 assignments per topic has been reached" appears.

One possible edge case here is _reassigning_ a topic or a post. Reassignment 
doesn't lead to exceeding the limit, and therefore it should be possible. But 
at the moment we handle correctly only _topic_  reassignments, while when 
reassigning a _post_, we show the error message "the limit has been reached".

This commit makes post reassignments work correctly too.
2024-03-29 15:50:02 +04:00
..
discourse_assign DEV: Fix new Rubocop offenses (#548) 2024-02-29 18:23:48 +01:00
validators FEATURE: Assign Status (#363) 2022-08-04 14:50:18 -03:00
assigner.rb FIX: Assignments limit shouldn't prevent from reassigning a post (#556) 2024-03-29 15:50:02 +04:00
pending_assigns_reminder.rb DEV: Fix a core deprecation (#504) 2023-08-28 10:02:29 +02:00
random_assign_utils.rb FEATURE: Allow to reassign to same user 2023-11-27 16:17:25 +01:00
topic_assigner.rb DEV: Apply syntax_tree formatting 2022-07-27 13:48:51 -03:00