Alex Cabal
7da87bf9e2
Use enums for HTTP methods in search forms
2025-03-31 12:05:32 -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
124e8343fc
Completely type hint template functions and switch to named arguments
2025-03-04 20:32:20 -06:00
Alex Cabal
9d1b66d19e
Update PHPStan and Safe PHP, and review codebase for further type correctness
2025-02-25 22:41:18 -06:00
Alex Cabal
806939ca49
Replace Template::Emit...() functions with more generic function
2024-12-18 13:14:16 -06:00
Alex Cabal
8ad3291a35
Add admin form to view and edit users
2024-11-23 14:30:11 -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
be5574eaec
Move enums into their own namespace
2024-11-08 16:34:21 -06:00
Alex Cabal
0be1df204e
Tweak artwork header for logged in users
2024-07-25 12:39:32 -05:00
Mike Colagrosso
ad9bdde32d
Use array shapes in PHPDoc for FilterArtwork
2024-07-06 15:02:47 -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
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
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
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
Mike Colagrosso
959b79a439
Add "select" class to match the ::after selector
2024-01-23 14:53:10 -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
6e63bd2bdb
Remove unused variables
2024-01-18 00:51:28 -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
73bcae0c84
Add classes to artwork forms for easier targeting
2024-01-17 12:12:25 -06:00
Mike Colagrosso
9d5daac1cd
Allow submitters to filter for their unverified artwork
2024-01-17 12:12:25 -06:00
Alex Cabal
531e3600ea
Convert some constants to enums
2024-01-14 22:32:47 -06:00
Job Curtis
9c27d80dd9
Add grid layouts for smaller screens to /artwork filter form
2024-01-12 13:16:08 -06:00
Alex Cabal
a3210031f4
Change default per page in artworks list
2024-01-12 11:42:36 -06:00
Alex Cabal
8a82524de7
Change artwork list to grid view
2024-01-09 11:19:36 -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
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