datatracker/ietf/review
Tero Kivinen d5bae45799
fix: Do not add user to the top of queue after reject (fixes #4505) (#5427)
* fix: Do not add user to the top of queue after reject (fixes #4505)
Added a checkbox in the reject review dialog to ask whether user
wants to be added to the top of the queue or not. Default is off.

* Do not change request_assignment_next if wants_to_be_next is not True.
Set the request_assignment_next also in LeastRecentlyUsedReviewerQueuePolicy
so it can be used to override the assignment policy rules (i.e., if
someone has once per month, but he rejects review with wants_to_be_next set
to true, he will get new assignment immediately, not after one month).

* Added wants_to_be_next to test cases too.

* Fixed test function prototypes, they can't have any parameters, only
self. Added test cases for test_return_reviewer_to_rotation_top both
for RotateAlphabeticallyReviewerQueuePolicyTest and
LeastRecentlyUsedReviewerQueuePolicyTest.
2023-03-30 08:34:08 +09:00
..
migrations refactor: Purge old migrations and update ci to build on a clean schema (#5431) 2023-03-28 18:06:07 +09:00
__init__.py Add review tracking models, add a request review page (with test), show 2016-05-19 15:35:30 +00:00
admin.py Merged in changes from trunk up to r17584. 2020-04-07 16:02:52 +00:00
factories.py refactor: replace datetime.now and datetime.today with timezone.now (#4211) 2022-08-25 13:45:16 -03:00
mailarch.py fix: timezone fixes from last few comparisons with tzaware-obe 2022-09-28 13:21:50 -03:00
models.py fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
policies.py fix: Do not add user to the top of queue after reject (fixes #4505) (#5427) 2023-03-30 08:34:08 +09:00
resources.py Merged in [17069] from sasha@dashcare.nl: 2019-11-26 16:09:43 +00:00
tests.py fix: Fix transient test failures due to i18n names (#4695) 2022-11-06 12:29:49 +00:00
tests_policies.py fix: Do not add user to the top of queue after reject (fixes #4505) (#5427) 2023-03-30 08:34:08 +09:00
utils.py fix: do not create ReviewRequestDocEvent when assigning a review req (#4913) 2022-12-16 15:17:10 -06:00