Commit graph

2340 commits

Author SHA1 Message Date
Mike Colagrosso
4b0c38ae97 Nudge the placeholder ribbon left 2px, past the border 2024-12-27 13:50:02 -06:00
Alex Cabal
7df973bea2 Fix wrong catch block in artwork upload 2024-12-26 17:09:38 -06:00
Alex Cabal
2948f96518 Add blog post 2024-12-26 17:07:03 -06:00
Alex Cabal
c936a68696 Update wanted ebooks list 2024-12-26 12:53:26 -06:00
Mike Colagrosso
d6dd10be9c Clean up unused Tags, LocSubjects, and Collections
On `Ebook::Save()` and `Ebook::Delete()`, remove any unreferenced `Tag`,
`LocSubject`, and `Collection` records. These are analogous to these lines in
`Ebook::Create()`:

```
$this->CreateTags();
$this->CreateLocSubjects();
$this->CreateCollections();
```

`EbookPlaceholder`s can't have `Tags` or `LocSubjects` at the moment, but other
mistakes in production that are later corrected could leave unused `Tags` and
`LocSubjects`.

Context: https://github.com/standardebooks/web/pull/447#issuecomment-2555734692
2024-12-26 12:10:13 -06:00
Alex Cabal
88ed9639f5 Add dark mode support to emails 2024-12-23 15:07:06 -06:00
Alex Cabal
ca8a11f663 Improve responsive view of some forms 2024-12-23 14:07:22 -06:00
Alex Cabal
d94c057e20 Don't send a new project email if the manager, reviewer, and producer are all the same 2024-12-23 12:10:49 -06:00
Alex Cabal
b7776503cd Turn off autocomplete for new project form 2024-12-23 12:09:47 -06:00
Alex Cabal
ac56d2d896 Don't allow the manager or reviewer to be the same as the ebook producer 2024-12-22 19:52:31 -06:00
Alex Cabal
133c968fc0 Fix type error 2024-12-21 21:20:31 -06:00
Alex Cabal
ad4b5423db Don't send admin email for returning Patrons 2024-12-21 21:19:07 -06:00
Alex Cabal
242f99f3b5 Tweak table CSS 2024-12-21 21:18:03 -06:00
Alex Cabal
43e5de1cc2 Improve number input pattern matching 2024-12-21 17:39:17 -06:00
Alex Cabal
b4003b30e2 Improve project sorting by title 2024-12-19 22:55:55 -06:00
Alex Cabal
b6da6c83a4 Mark placeholders as in progress when a new project is added 2024-12-19 16:33:42 -06:00
Alex Cabal
8e8cbb0c5e Move delete form and more multi select fixes 2024-12-19 14:40:38 -06:00
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
18bcde3bf6 Don't show placeholder difficulty if it's not set 2024-12-18 22:26:34 -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
a1da50fc1a Sort projects by ebook title 2024-12-18 14:28:07 -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
28b7384769 Set ebook placeholders to not be in progress when a project is marked as abandoned 2024-12-16 23:54:40 -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
051e286a6d Continue fleshing out project management system 2024-12-16 15:01:22 -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
10d2265513 Fix logic error in placeholder form 2024-12-16 00:21:56 -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
Alex Cabal
2449de6f6c Also check discussion threads for freshness when marking projects as stalled 2024-12-15 21:59:01 -06:00
Mike Colagrosso
cc9cc5f3f8 Remove <fieldset> tags with only one child 2024-12-15 20:21:31 -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
Alex Cabal
3b9ea27391 Refactor projects fetching commits from Github 2024-12-15 14:51:53 -06:00
Lukas Bystricky
323b8030b9
Update wanted ebooks 2024-12-15 08:46:08 +01:00