Commit graph

1611 commits

Author SHA1 Message Date
Alex Cabal
93b8008c7e Add missing MultiTableSelect code 2024-12-19 14:25:48 -06:00
Mike Colagrosso
d0d79d637c Add form to delete placeholders 2024-12-19 14:21:25 -06:00
Alex Cabal
98e09f414e Allow creating new ebook placeholders when creating a new project 2024-12-18 22:23:57 -06:00
Alex Cabal
4596aeb007 Allow projects to auto-assign managers and reviewers 2024-12-18 20:57:21 -06:00
Alex Cabal
e51cc4395e Tweak some styling 2024-12-18 15:58:50 -06:00
Alex Cabal
378555d131 Show improved project details on placeholder page 2024-12-18 15:54:06 -06:00
Alex Cabal
7a6a743295 Some type check fixes 2024-12-18 15:03:44 -06:00
Alex Cabal
a46ff8e137 Fix Github URL validation in projects 2024-12-18 14:58:04 -06:00
Alex Cabal
b2191d1219 Allow editing of projects 2024-12-18 14:20:28 -06:00
Alex Cabal
e21f411191 Emit HTTP 405 instead of HTTP 404 when posting to Ebooks 2024-12-18 13:14:48 -06:00
Alex Cabal
806939ca49 Replace Template::Emit...() functions with more generic function 2024-12-18 13:14:16 -06:00
Mike Colagrosso
f449c024ea Add /edit endpoint to update placeholders 2024-12-18 12:58:18 -06:00
Neil Pankey
b125758138 Remove name.vessel.airplane from se vocab
Duplicate with name.vehicle.airplane, and only the vehicle is allowed via `se lint`
2024-12-17 13:11:24 -06:00
Alex Cabal
97021ce26d Add blog post 2024-12-16 23:47:02 -06:00
Alex Cabal
7a3c7ad503 Allow VCS URLs to be null in projects 2024-12-16 21:48:01 -06:00
Alex Cabal
d902074285 Add new project form, and allow projects to be created when attempting to create a placeholder that already exists. 2024-12-16 21:27:45 -06:00
Alex Cabal
8e6b05a150 Fix typos 2024-12-16 15:49:18 -06:00
Alex Cabal
657ecc68d4 Tweak styling of placeholder form 2024-12-16 10:55:06 -06:00
David
3ad818099e Update wanted-ebooks.php: remove Gray, Poetry (done); update Parrish, Perennia Bachelor with transcription source, move to intermediate" 2024-12-16 10:32:58 -06:00
Mike Colagrosso
6dd8d50148 Add a dropdown to specify collection type 2024-12-16 10:32:23 -06:00
Alex Cabal
93a1b40b89 Link to discussion if project producer has no email 2024-12-16 00:14:56 -06:00
Alex Cabal
5782d6ca7d Further refine projects system 2024-12-15 23:39:23 -06:00
Mike Colagrosso
7d6d04f7ca Allow author paths that don't point to www files
Authors with placeholders only, e.g. (at the time of writing):

https://standardebooks.org/ebooks/dashiell-hammet

were returning 404s because there was no directory at

/standardebooks.org/web/www/ebooks/dashiell-hammet

Now we allow calls to `Ebook::GetAllByAuthor()` for such URLs because it might
find placeholders for the author.
2024-12-15 20:17:15 -06:00
Mike Colagrosso
27a83da463 Make placeholder outlines responsive 2024-12-15 20:15:18 -06:00
Lukas Bystricky
323b8030b9
Update wanted ebooks 2024-12-15 08:46:08 +01:00
Alex Cabal
9b9d93bc52 Automatically update in progress projects to stalled 2024-12-14 23:54:11 -06:00
Alex Cabal
c7a4e34e31 Add projects index page, and more detail on placeholder pages 2024-12-14 21:12:00 -06:00
Alex Cabal
fe5bb8ed48 Add more data to ebook metadata detail 2024-12-14 19:42:30 -06:00
Alex Cabal
59a2d30d23 Remove @required attributes from hidden forms 2024-12-14 19:28:30 -06:00
Alex Cabal
dbda2ad583 Update wanted ebooks list 2024-12-14 19:16:11 -06:00
Alex Cabal
adfe07aad9 Add beginning of a project management system to placeholders 2024-12-14 19:13:03 -06:00
Alex Cabal
e56de4b19d Switch from EbookPlaceholder.Status to EbookPlaceholder.IsInProgress, and some type tweaks 2024-12-14 13:39:28 -06:00
Alex Cabal
1a742baa51 Add CanEditEbooks benefit and clean up some PHPStan errors 2024-12-14 11:50:16 -06:00
Alex Cabal
23b5c8ef31 Allow admin to view collection metadata 2024-12-14 11:32:02 -06:00
Alex Cabal
79fdc8c20f Some type check fixes 2024-12-13 23:21:04 -06:00
Alex Cabal
1979b27432 Fix typo 2024-12-13 22:51:24 -06:00
Alex Cabal
e76f691724 Prefill ebook placeholder form with same collection data when adding to a collection 2024-12-13 14:57:49 -06:00
Alex Cabal
a17aad76c2 Add in-progress and not-pd ribbons for ebook placeholders 2024-12-13 14:33:21 -06:00
Alex Cabal
77ce4cc6b4 Make titlecasing in <h1> and page titles consistent 2024-12-13 14:16:39 -06:00
Alex Cabal
e8f958558a Tweak wording on ebook placeholder page 2024-12-13 14:09:46 -06:00
Alex Cabal
31cadd0617 Don't include placeholders in PD Day blog post 2024-12-13 13:09:05 -06:00
Alex Cabal
bbb25488e1 Add more detail to ebook placeholder page 2024-12-13 13:02:41 -06:00
Alex Cabal
77056dd267 Tweak success message for consistency 2024-12-13 12:43:51 -06:00
Mike Colagrosso
1ab95df084 Add placeholders for ebooks 2024-12-13 11:46:36 -06:00
Alex Cabal
cf5f488cae Improve error message for people trying to log in to the Patrons Circle 2024-12-13 10:10:52 -06:00
Alex Cabal
95d1b9e02e Code formatting 2024-12-13 09:07:27 -06:00
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