Commit graph

2115 commits

Author SHA1 Message Date
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
Alex Cabal
5e4636f249 Clarify monthly cancellation steps and add index to /help 2024-12-12 17:27:17 -06:00
Alex Cabal
957d5ae948 Work on PD Day post 2024-12-12 17:03:09 -06:00
Alex Cabal
207b66baf9 Update wanted ebooks list 2024-12-12 13:35:24 -06:00
Weijia Cheng
7a1084b235 Fix "Hammet" typos 2024-12-12 11:16:43 -06:00
Alex Cabal
9583eeb284 Update wanted ebooks list 2024-12-11 08:47:48 -06:00
Alex Cabal
83843033b9 Tweak PD Day 2025 blog post 2024-12-09 23:06:29 -06:00
Anthony J. Bentley
1322f867a5 Update wanted ebooks list: Barry Goldwater 2024-12-08 15:55:41 -06:00
Alex Cabal
3e11e43e2d Add AI warning to step by step guide 2024-12-06 14:48:39 -06:00
Alex Cabal
72615fe79a Fix logic errors 2024-12-06 11:36:11 -06:00
Alex Cabal
7ac427dad5 Add more information to user info page 2024-12-05 21:00:39 -06:00
Alex Cabal
228efdc780 Add new book to PD Day 2025 2024-12-05 15:43:49 -06:00
Alex Cabal
9a2b095b70 Allow adjustment of Patrons Circle cost 2024-12-05 14:32:46 -06:00
Alex Cabal
a4d1e9d724 Re-enable social media in footer 2024-12-05 11:23:13 -06:00
Alex Cabal
77540dacbb Clarify comments 2024-12-05 11:22:53 -06:00
Alex Cabal
ad980bd1d3 Fix link in PD Day 2025 post 2024-12-05 11:21:04 -06:00
Alex Cabal
c30d79138a Fix logic in payment process script 2024-12-05 10:46:24 -06:00
Alex Cabal
c28cfcda9f Tweak user edit form 2024-12-03 10:02:51 -06:00
Alex Cabal
dfec249dbd Fix typing error 2024-12-02 12:30:15 -06:00
Alex Cabal
ab17e6af5d Allow getting users by name 2024-12-02 10:20:36 -06:00
Alex Cabal
75ef304824 Add more books to PD Day 2025 2024-12-01 18:35:48 -06:00
Alex Cabal
69dec1397f Update wanted ebooks list 2024-12-01 17:08:16 -06:00
Alex Cabal
b81863224c Add link to list all FA payments on user detail page 2024-12-01 17:03:58 -06:00
Alex Cabal
8cba20fbf5 Fix Patron logic in user detail page 2024-12-01 17:01:18 -06:00
Alex Cabal
9835e5cee0 Show payments on user detail page 2024-12-01 16:16:04 -06:00
Alex Cabal
560b53c2a8 Tweak Patrons Circle signup box 2024-12-01 15:29:13 -06:00
Alex Cabal
7557a87a37 Add redirect for old book title 2024-11-30 11:51:43 -06:00
Alex Cabal
f9b3d09c7d Code formatting 2024-11-28 12:12:00 -06:00
Alex Cabal
347f166e8a Catch rare exception when searching ebooks 2024-11-28 12:10:53 -06:00
Alex Cabal
3a3795bbbd Add Coolidge to PD Day 2025 2024-11-28 11:30:19 -06:00
Alex Cabal
cc304c180a Tweak PD Day post and style 2024-11-27 20:12:43 -06:00
Alex Cabal
c1d917ed8d Tweak donation target 2024-11-27 15:48:44 -06:00
Alex Cabal
5270891eb4 Update PD day banner and tweak blog post wording 2024-11-27 15:17:10 -06:00
Alex Cabal
c65035630f Add public domain day banner 2024-11-27 12:52:37 -06:00
Alex Cabal
1b604ca97f Update wanted ebooks list 2024-11-27 11:08:41 -06:00
Alex Cabal
b536ebdaee Add blog post for Public Domain Day 2025 2024-11-26 23:14:26 -06:00
ACBSmith
8908c0a268 Update how-to-create-figures-for-music-scores.php
fix grammar, update SEMoS link
2024-11-26 20:57:32 -06:00
Alex Cabal
e11f2ad6b1 Adjust nofollow attribute 2024-11-26 13:41:00 -06:00
Alex Cabal
351713f58e Update composer settings 2024-11-26 13:29:17 -06:00
Alex Cabal
c9e6454f51 Add site map 2024-11-26 13:28:44 -06:00
Alex Cabal
99f49d7f51 Style tweaks 2024-11-26 11:12:19 -06:00
Alex Cabal
a7857cab1b Add note about illustrations to collections policy 2024-11-26 10:56:54 -06:00
Alex Cabal
30f2925046 Expand some scripted command arguments 2024-11-25 14:08:14 -06:00
Alex Cabal
e6d4ea1ab6 Tweak how User::$Benefits getter 2024-11-25 13:56:31 -06:00
Alex Cabal
84f4b2b0bf Add donation drive aside to download page 2024-11-25 12:03:26 -06:00
Alex Cabal
908b02e65b Update wanted ebooks list 2024-11-25 11:46:57 -06:00
Alex Cabal
d149798154 Another attempt at fixing a reference error 2024-11-25 11:08:30 -06:00
Alex Cabal
86f3ac74be Tweak donation page style 2024-11-25 10:40:52 -06:00
Alex Cabal
bd058eb74e Fix donation drive start date calculation 2024-11-25 10:40:30 -06:00
Alex Cabal
9bfa8915f3 Fix reference error 2024-11-25 09:55:13 -06:00