Alex Cabal
afab78af46
PHPStan corrections
2025-05-07 22:02:27 -05:00
Alex Cabal
dc84ff3fa9
Style tweaks
2025-03-10 14:38:54 -05:00
Mike Colagrosso
af956b2714
Replace EbookUrl
with EbookId
in Artworks
( #482 )
...
* Replace `EbookUrl` with `EbookId` in `Artworks`
* Add a `FullUrl` member to `Ebook`
Add documentation about when to use it versus Url.
The full URL is also being used as an ID in RSS feeds, so use `FullUrl` there.
* Store an `EbookId` in `Artworks`
2025-03-10 14:33:20 -05:00
Alex Cabal
34fd71e55a
Tweak wording on delete artist page and add some more breadcrumbs
2025-03-07 10:37:56 -06:00
Alex Cabal
124e8343fc
Completely type hint template functions and switch to named arguments
2025-03-04 20:32:20 -06:00
Mike Colagrosso
e25993b208
Add parameter to MarkdownToHtml for inline HTML
2024-12-28 14:18:08 -06:00
Alex Cabal
e51cc4395e
Tweak some styling
2024-12-18 15:58:50 -06:00
Alex Cabal
806939ca49
Replace Template::Emit...() functions with more generic function
2024-12-18 13:14:16 -06:00
Alex Cabal
59a2d30d23
Remove @required attributes from hidden forms
2024-12-14 19:28:30 -06:00
Mike Colagrosso
1ab95df084
Add placeholders for ebooks
2024-12-13 11:46:36 -06:00
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
8546039b97
Comment formatting
2024-11-15 21:40:56 -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
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
487bf7b1df
Improve artwork DB form
2024-07-25 12:44:12 -05:00
Alex Cabal
135e4ac70c
Move @autocomplete attributes to <form> parent
2024-07-19 11:20:37 -05:00
Alex Cabal
b2e6499865
Tweak some variable names for consistency
2024-05-25 22:17:09 -05:00
Alex Cabal
fcca4fc417
Make session variable names follow boolean patterns
2024-05-24 20:51:30 -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
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
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
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
cad2f5f730
List artwork by artist via /artworks/<artist-name>
2024-01-23 13:46:12 -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
f0bdd5596f
Rename ArtistAlternateSpellings to ArtistAlternateNames
2024-01-17 16:32:57 -06:00
Alex Cabal
f7ff76bf7d
Rename some Formatter functions for clarity
2024-01-17 16:04:30 -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
ce4a28c675
Add a common template for Artwork creation and editing to share
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
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
60eb118524
Add Special Notes field to artwork
2024-01-10 13:41:15 -06:00
Alex Cabal
8a82524de7
Change artwork list to grid view
2024-01-09 11:19:36 -06:00
Alex Cabal
1c3640fab6
More type hinting
2024-01-08 20:21:42 -06:00
Alex Cabal
6f0d1f7aa8
Show reviewer information to admins in artwork detail page
2024-01-08 16:47:02 -06:00
Alex Cabal
b99d2aac1a
Merge admin pages with regular pages for art system
2024-01-07 15:47:40 -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