Commit graph

138 commits

Author SHA1 Message Date
Mike Colagrosso
4abf6e29d2 Add an index for EbookCreated
This is the default sort on /ebooks, so it should have an index
2024-11-04 13:16:56 -06:00
Mike Colagrosso
402dae95ff Add a Type enum to Tags for artwork/ebook 2024-11-04 13:16:56 -06:00
Mike Colagrosso
a25660bc8b Split Collections into two tables 2024-11-04 13:16:56 -06:00
Mike Colagrosso
ac7db8d375 Add primary keys to LocSubjects and Tags tables
Missed these before, and in addition to being a good practice, they are needed to maintain insertion order of LocSubjects and Tags.
2024-11-04 13:16:56 -06:00
Mike Colagrosso
79daa82bf4 Add primary keys to multiple tables
I missed these keys when creating the initial schema, and it's a useful practice.
2024-11-04 13:16:56 -06:00
Mike Colagrosso
7350891cd5 Spell out EbookSourceType values 2024-11-04 13:16:56 -06:00
Mike Colagrosso
88b3ffd9ed Store EbookSourceType as a string/enum, not int 2024-11-04 13:16:56 -06:00
Mike Colagrosso
073f138c47 Initial Ebook DB schema 2024-11-04 13:16:56 -06:00
Alex Cabal
88c3049d7a Change some datetime columns to timestamp 2024-10-24 16:37:09 -05:00
Alex Cabal
82e43cb520 Add DB setup to readme 2024-10-23 11:09:16 -05:00
Alex Cabal
b6fbcaba26 Remove irrelevant user from SQL config 2024-10-22 22:47:56 -05:00
Alex Cabal
19cf14c1aa Add automatic donation drives 2024-10-17 11:58:25 -05:00
Alex Cabal
c40c60d606 Style tweak in PHPStan config file 2024-05-26 13:15:54 -05:00
Alex Cabal
f28378de37 Update SQL table definitions 2024-05-24 11:50:04 -05:00
Alex Cabal
3c54255775 Rename internal PHP config variable 2024-05-14 15:47:29 -05:00
Alex Cabal
70ae877dd8 Bump PHPStan check level to max and add final round of type hints 2024-05-13 10:48:05 -05:00
Alex Cabal
ee7c8343dd Convert some constants to enums 2024-05-11 21:51:06 -05:00
Alex Cabal
703e1a7a03 Continue improving type hints 2024-05-10 23:38:57 -05:00
Alex Cabal
c4c8e7353f Enable strict exception type hint checking in PHPStan and add exception type hints 2024-05-10 20:47:36 -05:00
Alex Cabal
113cc4a541 Add se-vcs-bot user to database permissions 2024-05-02 13:43:42 -05:00
Alex Cabal
5b3f8f7b77 Add support for filling backed enum types in the DB ORM layer, and cleanup some formatting issues 2024-04-25 11:57:02 -05:00
Alex Cabal
219247e16d Increase max file upload size in artwork DB 2024-04-19 13:31:28 -05:00
Alex Cabal
d7e3e648ef Fix MariaDB user config SQL 2024-03-16 12:20:06 -05:00
Alex Cabal
14d6719960 Update DB permissions for SE user 2024-03-07 11:04:05 -06:00
Alex Cabal
307125d71c Add hotlink protection for some naughty hotlinkers 2024-02-28 09:00:30 -06:00
Alex Cabal
9437beaee9 Add thank-you page to ebook downloads 2024-02-26 13:34:44 -06:00
Alex Cabal
8519938e27 Fix SQL in Polls table 2024-02-06 15:53:52 -06:00
Alex Cabal
7cb1b59a93 Add redirect for Clarissa 2024-02-06 11:29:39 -06:00
Mike Colagrosso
0ed064c8f0 Move single collection view to collections/get.php 2024-02-05 13:51:51 -06:00
Alex Cabal
e267911305 Change column in Polls table 2024-02-04 21:51:35 -06:00
Mike Colagrosso
3ebe6fe457 Set artist name length to 255
The length should be long enough to store COVER_ARTWORK_MAX_STRING_LENGTH
2024-01-26 10:17:36 -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
e3ea224256 Tweak style 2024-01-23 13:51:34 -06:00
Mike Colagrosso
cad2f5f730 List artwork by artist via /artworks/<artist-name> 2024-01-23 13:46:12 -06:00
Alex Cabal
f0bdd5596f Rename ArtistAlternateSpellings to ArtistAlternateNames 2024-01-17 16:32:57 -06:00
Mike Colagrosso
813d4f601c Artwork: Rewrite rules for artwork editing 2024-01-17 12:12:25 -06:00
Alex Cabal
51672e7177 Add support for alternate spellings in new artwork form 2024-01-15 11:42: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
Mike Colagrosso
854fb2c816 Add SubmitterUserId field to Artworks table 2024-01-09 23:20:08 -06:00
Alex Cabal
f9c873003e Type hinting fixes 2024-01-09 12:06:28 -06:00
Mike Colagrosso
86af259f0b Change CanUploadArtwork field name to match code 2024-01-09 10:17:14 -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
Alex Cabal
042816cf45 Use auto_prepend_file INI directive to prepend Core.php to all web requests automatically 2023-07-15 15:17:20 -05:00
Alex Cabal
76cf0d296a Use content negotation to serve acceptable content types for web browsers viewing OPDS/RSS/Atom feeds 2023-06-20 15:26:28 -05:00
Mike Colagrosso
1f3b66144d Add IsMatchingDonation to Payments 2023-06-18 10:06:09 -05:00
Alex Cabal
d8f85fa4b3 Add text/javascript to apache cache policy 2023-05-25 23:21:29 -05:00
Alex Cabal
67007049a0 Update Apache config in advance of 22.04 2023-04-03 16:25:21 -05:00