Commit graph

85 commits

Author SHA1 Message Date
Alex Cabal
8ad3291a35 Add admin form to view and edit users 2024-11-23 14:30:11 -06:00
Alex Cabal
11d9d0f44a Tweak a session variable name and update comments 2024-11-20 16:42:24 -06:00
Alex Cabal
3050ab7219 Use HTTP code enums instead of ints 2024-11-20 14:52:05 -06:00
Alex Cabal
05ac7884e9 Convert artwork filters to enums 2024-11-15 23:11:01 -06:00
Alex Cabal
8546039b97 Comment formatting 2024-11-15 21:40:56 -06:00
Alex Cabal
b7b63a4be5 Refactor functions out of Library 2024-11-10 23:05:31 -06:00
Alex Cabal
1449148989 Switch logged in user to static typed variable instead of in $GLOBALS 2024-11-10 23:05:31 -06:00
Alex Cabal
acb30b897c Add PropertyFromHttp trait and update codebase to use new pattern 2024-11-10 22:23:43 -06:00
Alex Cabal
be5574eaec Move enums into their own namespace 2024-11-08 16:34:21 -06:00
Alex Cabal
f97539f399 Redirect an artwork if it's found under an artist's alternate name. 2024-11-03 15:15:07 -06:00
Alex Cabal
545f82a672 Tweak wording on artwork submission page 2024-09-12 21:58:44 -05:00
Alex Cabal
09a91a998e Update framework standards 2024-09-12 21:45:28 -05:00
Alex Cabal
487bf7b1df Improve artwork DB form 2024-07-25 12:44:12 -05:00
Alex Cabal
0be1df204e Tweak artwork header for logged in users 2024-07-25 12:39:32 -05:00
Alex Cabal
135e4ac70c Move @autocomplete attributes to <form> parent 2024-07-19 11:20:37 -05:00
Mike Colagrosso
ad9bdde32d Use array shapes in PHPDoc for FilterArtwork 2024-07-06 15:02:47 -05:00
Alex Cabal
c51fe594bf Fix artwork validation logic 2024-06-03 13:14:37 -05:00
Alex Cabal
b2e6499865 Tweak some variable names for consistency 2024-05-25 22:17:09 -05:00
Alex Cabal
4574b55cac Fix some exception logic 2024-05-24 22:57:58 -05:00
Alex Cabal
fcca4fc417 Make session variable names follow boolean patterns 2024-05-24 20:51:30 -05:00
Alex Cabal
98f45ea4e0 Add the HttpInput::File() and HttpInput::Date() method 2024-05-24 20:48:28 -05:00
Alex Cabal
dfb43e0fa4 Add more type hints 2024-05-16 12:47:01 -05:00
Alex Cabal
a9eab552ab Flesh out some PHPDocs, and consistently name enums 2024-05-14 15:40:56 -05:00
Alex Cabal
acb6b2949f Use static class names instead of strings when getting objects from the DB 2024-05-13 14:49:28 -05:00
Alex Cabal
110c091a7b Define some constants to make HTTP input code less wordy 2024-05-12 12:29:30 -05:00
Alex Cabal
ee7c8343dd Convert some constants to enums 2024-05-11 21:51:06 -05:00
Alex Cabal
8cc661015c Add enum for view type and fix some type hints 2024-05-08 11:22:28 -05:00
Alex Cabal
7c8463d297 Add <link rel="canonical"> to some pages 2024-05-08 11:01:18 -05:00
Alex Cabal
00619080a8 Add icons to form elements across site, and remove some CSS classes in favor of :has() 2024-04-15 20:36:56 -05:00
Alex Cabal
3561cc1e3b Remove obsolete info message in artwork edit form 2024-04-14 22:34:15 -05:00
Alex Cabal
8e63a6c06b Don't overwrite artwork status when editing an artwork 2024-02-11 14:05:51 -06:00
Mike Colagrosso
94dce1009a Refactor Library::FilterArtwork and artworks/index.php to accept ArtworkSort 2024-01-30 11:10:05 -06:00
Mike Colagrosso
004a4a27c3 Convert SORT_COVER_ constants to an enum 2024-01-30 11:10:05 -06:00
Alex Cabal
6ff60d8d96 Allow PATCHing of artwork ebook URL to empty string 2024-01-29 18:27:56 -06:00
Alex Cabal
a9dcdcde94 Limit artwork results at the DB level 2024-01-28 14:04:29 -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
fc42f1579a Some tweaks to artwork form 2024-01-24 00:06:38 -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
Mike Colagrosso
959b79a439 Add "select" class to match the ::after selector 2024-01-23 14:53:10 -06:00
Alex Cabal
e3ea224256 Tweak style 2024-01-23 13:51:34 -06:00
Mike Colagrosso
93adef171f s/GetArtworkByArtist/GetArtworksByArtist/ 2024-01-23 13:46:12 -06:00
Mike Colagrosso
cad2f5f730 List artwork by artist via /artworks/<artist-name> 2024-01-23 13:46:12 -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
f3aa4f35fc Clarify edit link on artworks page 2024-01-18 20:58:59 -06:00
Alex Cabal
652cbba535 Fix permissions problem 2024-01-18 19:58:49 -06:00
Alex Cabal
3287dd3b30 Show artwork IDs to admins 2024-01-18 16:36:55 -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