web/www
Mike Colagrosso cae8271ecb Set ReviewerUserId only if Status changed
For non-admin reviewers (i.e., without `CanReviewOwnArtwork`), the `PATCH` form
has a hidden element with the artwork's current `Status`. If the reviewer
updates the `EbookUrl` and not `Status`, then don't record the reviewer's
`ReviewerUserId` because they didn't review or change the `Status`.

Side note: Sending the `PATCH` form an invalid `Status` will result in a
validation error, but that validation error was hard to read because it was the
wrong exception type. This commit adds a new `InvalidArtworkStatusException` to
fix that.

Fixes #433
2024-12-13 09:06:57 -06:00
..
about Comment formatting 2024-11-15 21:40:56 -06:00
artists Add admin form to view and edit users 2024-11-23 14:30:11 -06:00
artworks Set ReviewerUserId only if Status changed 2024-12-13 09:06:57 -06:00
authors Comment formatting 2024-11-15 21:40:56 -06:00
blog Clarify monthly cancellation steps and add index to /help 2024-12-12 17:27:17 -06:00
bulk-downloads Adjust nofollow attribute 2024-11-26 13:41:00 -06:00
collections Comment formatting 2024-11-15 21:40:56 -06:00
contribute Update wanted ebooks list 2024-12-12 13:35:24 -06:00
css Add more information to user info page 2024-12-05 21:00:39 -06:00
donate Allow adjustment of Patrons Circle cost 2024-12-05 14:32:46 -06:00
ebooks Add public domain day banner 2024-11-27 12:52:37 -06:00
feeds Use HTTP code enums instead of ints 2024-11-20 14:52:05 -06:00
fonts Add icons to form elements across site, and remove some CSS classes in favor of :has() 2024-04-15 20:36:56 -05:00
help Clarify monthly cancellation steps and add index to /help 2024-12-12 17:27:17 -06:00
images Update PD day banner and tweak blog post wording 2024-11-27 15:17:10 -06:00
manual Use HTTP code enums instead of ints 2024-11-20 14:52:05 -06:00
newsletter/subscriptions Add public domain day banner 2024-11-27 12:52:37 -06:00
polls Add admin form to view and edit users 2024-11-23 14:30:11 -06:00
sessions Add admin form to view and edit users 2024-11-23 14:30:11 -06:00
settings Add public domain day banner 2024-11-27 12:52:37 -06:00
users Add more information to user info page 2024-12-05 21:00:39 -06:00
vocab Added 'airplane' to se vocab 2022-11-04 11:57:04 -05:00
webhooks Style tweaks 2024-11-26 11:12:19 -06:00
403.php Fix typos in error pages 2024-09-12 21:45:40 -05:00
404.php Fix typos in error pages 2024-09-12 21:45:40 -05:00
451.php Fix typos in error pages 2024-09-12 21:45:40 -05:00
index.php Add <link rel="canonical"> to some pages 2024-05-08 11:01:18 -05:00
robots.txt Add site map 2024-11-26 13:28:44 -06:00
sitemap.php Add public domain day banner 2024-11-27 12:52:37 -06:00