Commit graph

52 commits

Author SHA1 Message Date
Alex Cabal
e4514e7882 Normalize non-.com Google TLDs in artwork page scans 2024-03-10 14:52:07 -05:00
Alex Cabal
350f65532f Rename PropertiesBase to more accurate Accessor 2024-02-24 13:58:24 -06:00
Alex Cabal
90dcef216f Force single-page view in Hathi Trust URLs 2024-02-12 13:58:48 -06:00
Mike Colagrosso
d6006528f2 Update the ebook URL validation error message 2024-02-11 13:48:54 -06:00
Alex Cabal
1bc946f7b5 Number format image dimensions in artwork listing 2024-02-09 12:17:44 -06:00
Alex Cabal
6da7f948b7 Add temporary support for the 'fixup' tag for cleaning up legacy artwork entries 2024-02-05 10:20:45 -06:00
Mike Colagrosso
f50fab37d3 Minor comment fixes
Fix one typo, remove a docstring meant for an old function
2024-01-30 11:10:05 -06:00
Alex Cabal
801b5f524a Add special 'query-ebook-url' parameter to /artworks to get covers matching exactly the ebook URL 2024-01-26 12:05:34 -06:00
Alex Cabal
cbf87487eb Use ebook URL and not filesystem slug to identify ebooks in artworks 2024-01-23 23:11:30 -06:00
Alex Cabal
770c010025 Add todo comment 2024-01-23 14:53:27 -06:00
Mike Colagrosso
d8360b28ca
Replace PHP filtering with pure SQL (#323)
* Replace PHP filtering with pure SQL
2024-01-21 14:08:46 -06:00
Alex Cabal
b96f7684ec Fix artwork file upload logic 2024-01-19 11:55:43 -06:00
Alex Cabal
fe03f01393 Some more minor fixes, and checks for the temporary 'todo' tag 2024-01-18 21:31:36 -06:00
Alex Cabal
ca3fc6dbfd Refactor HttpInput::Str and rename some exceptions for consistency 2024-01-18 11:21:05 -06:00
Alex Cabal
2b5f4f55a2 Style tweaks to artworks DB 2024-01-18 10:50:14 -06:00
Alex Cabal
c92ebb43c7 Make URL normalization method static to match museum method 2024-01-17 16:33:24 -06:00
Alex Cabal
f0bdd5596f Rename ArtistAlternateSpellings to ArtistAlternateNames 2024-01-17 16:32:57 -06:00
Alex Cabal
5ef6d3aef8 Artwork db code tweaks, also remove 'in use' as a status 2024-01-17 16:04:11 -06:00
Mike Colagrosso
986411e684 Add comment about handling uploaded file 2024-01-17 12:12:25 -06:00
Mike Colagrosso
31d927ce2b Don't set the Updated field in the Artists table
The DB does it automatically
2024-01-17 12:12:25 -06:00
Mike Colagrosso
60c6142688 Delete unreferenced artists after updating artwork
Also clean up ArtistAlternateSpellings at the same time we delete an artist
2024-01-17 12:12:25 -06:00
Mike Colagrosso
8b62a9130c Add ?ts=<updated-timestamp> to ImageUrl and ThumbUrl
Also add new ImageFsPath and ThumbFsPath properties for filesystem operations since they can't build on the Url properties.
2024-01-17 12:12:25 -06:00
Mike Colagrosso
87ce048a0e Handle HTTP PUT methods and update Artwork::Save() to match how Artwork::Create() handles images and thumbnails 2024-01-17 12:12:25 -06:00
Mike Colagrosso
987de26b73 Artwork: Add EditUrl property on the artwork page 2024-01-17 12:12:25 -06:00
Alex Cabal
d3bde7d195 Use @inputmode="number" instead of <input type="number"> 2024-01-16 00:19:43 -06:00
Alex Cabal
aab9ca8107 Pass enums directly to DB queries 2024-01-15 00:08:33 -06:00
Alex Cabal
531e3600ea Convert some constants to enums 2024-01-14 22:32:47 -06:00
Alex Cabal
16df5b29fe Validate and normalize museum URLs when submitting artwork 2024-01-12 14:20:54 -06:00
Alex Cabal
a2de3c3ecb Some type safety checks and rearrange file upload and mime type check code 2024-01-11 13:08:02 -06:00
Alex Cabal
57ed9c5c1e Parse URL when checking for approved museums 2024-01-10 14:02:15 -06:00
Alex Cabal
60eb118524 Add Special Notes field to artwork 2024-01-10 13:41:15 -06:00
Mike Colagrosso
1adb90def1 Correct -overwrite_original exiftool flag 2024-01-09 23:20:01 -06:00
Alex Cabal
2eebf33254 Don't allow unapproved museums when uploading artwork 2024-01-09 14:53:21 -06:00
Alex Cabal
d4a2c598cc Improve Google Books artwork normalization 2024-01-09 14:21:31 -06:00
Alex Cabal
e17a4bcc65 Normalize URLs when submitting artwork to database 2024-01-09 13:59:00 -06:00
Alex Cabal
f9c873003e Type hinting fixes 2024-01-09 12:06:28 -06:00
Alex Cabal
716fc8bea9 Use setter function when setting artwork tags 2024-01-09 11:28:38 -06:00
Alex Cabal
17abf45850 Fix links to existing books in in-use artwork 2024-01-08 20:54:03 -06:00
Alex Cabal
1c3640fab6 More type hinting 2024-01-08 20:21:42 -06:00
Alex Cabal
e98a650f59 Clarify requirement of rights statement page in artwork form 2024-01-08 16:21:47 -06:00
Alex Cabal
dd8134db6f Update wanted ebooks list 2024-01-08 16:18:09 -06:00
Alex Cabal
d7718218ad Add type hints to Artist class members 2024-01-08 14:08:26 -06:00
Alex Cabal
8e37543fa3 Add type hints to Artwork class members 2024-01-08 14:06:25 -06:00
Alex Cabal
5b6a334dd0 Add minimum artwork dimensions 2024-01-08 13:48:56 -06:00
Alex Cabal
b99d2aac1a Merge admin pages with regular pages for art system 2024-01-07 15:47:40 -06:00
Alex Cabal
52033320e1 Add submitter info to admin view of artworks 2024-01-07 14:23:34 -06:00
Alex Cabal
017baef7d3 Artwork system: More options for reviewers submitting new artwork 2024-01-07 14:03:55 -06:00
Alex Cabal
8e955bf357 Add submitted by column to artworks 2024-01-07 13:15:27 -06:00
Alex Cabal
5a1c05d8c5 Add password login option for some users, and further refinements to artwork management system 2024-01-06 22:27:38 -06:00
Mike Colagrosso
6a5c05511a Add cover art database
Co-authored-by: Job Curtis <job.curtis@gmail.com>
Co-authored-by: Alex Cabal <alex@standardebooks.org>
2024-01-03 19:14:04 -06:00