Commit graph

24 commits

Author SHA1 Message Date
Alex Cabal
8cc661015c Add enum for view type and fix some type hints 2024-05-08 11:22:28 -05:00
Alex Cabal
8e63a6c06b Don't overwrite artwork status when editing an artwork 2024-02-11 14:05:51 -06:00
Alex Cabal
6ff60d8d96 Allow PATCHing of artwork ebook URL to empty string 2024-01-29 18:27:56 -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
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
6e63bd2bdb Remove unused variables 2024-01-18 00:51:28 -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
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
Alex Cabal
6c647f7371 Fix default artwork status for new submissions 2024-01-15 11:30:06 -06:00
Alex Cabal
531e3600ea Convert some constants to enums 2024-01-14 22:32:47 -06:00
Alex Cabal
f992da84ae Don't allow submitters to review their own artwork 2024-01-13 16:38:22 -06:00
Alex Cabal
6d3d8dc9f9 Fix broken array reference 2024-01-12 11:52:22 -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
60eb118524 Add Special Notes field to artwork 2024-01-10 13:41:15 -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
8e37543fa3 Add type hints to Artwork class members 2024-01-08 14:06:25 -06:00
Alex Cabal
b99d2aac1a Merge admin pages with regular pages for art system 2024-01-07 15:47:40 -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
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