Commit graph

63 commits

Author SHA1 Message Date
Alex Cabal
a8e381b2a5 Add more PD day 2025 books 2024-11-07 19:13:59 -06:00
brendan
5966657b1b Fix typo 2024-11-05 15:59:55 -06:00
Alex Cabal
163ada3b09 Add placeholders for public domain day ebooks 2024-11-04 21:17:09 -06:00
Mike Colagrosso
19032b0bc2 Clarify EBOOK_SINGLE_PAGE_SIZE_WARNING 2024-11-04 13:16:56 -06:00
Mike Colagrosso
6bec232d37 Remove checks against EBOOK_EARLIEST_CREATION_DATE 2024-11-04 13:16:56 -06:00
Mike Colagrosso
1fd3688621 Use Ebook::GetByIdentifier() to read ebooks 2024-11-04 13:16:56 -06:00
Mike Colagrosso
032032b920 Additional Ebook validation 2024-11-04 13:16:56 -06:00
Mike Colagrosso
63d411a2e6 Initial code changes to insert/update Ebook records 2024-11-04 13:16:56 -06:00
Alex Cabal
19cf14c1aa Add automatic donation drives 2024-10-17 11:58:25 -05:00
Alex Cabal
eec79712fc Use a NOW constant instead of new DateTimeImmutable objects, and tweak how some donation drive dates work 2024-10-15 22:21:12 -05:00
Alex Cabal
09a91a998e Update framework standards 2024-09-12 21:45:28 -05:00
Alex Cabal
c4bff3f613 Schedule new patron drive 2024-05-16 16:30:32 -05:00
Alex Cabal
3c54255775 Rename internal PHP config variable 2024-05-14 15:47:29 -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
a634e4e970 Remove unused constant 2024-05-08 11:24:01 -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
e55fecaaa2 Switch from DateTime to DateTimeImmutable across codebase 2024-04-13 14:05:14 -05:00
Alex Cabal
1d36ece705 Hide emails in constants 2024-01-30 11:17:59 -06:00
Mike Colagrosso
980ed8cea9 Convert ebook SORT_ constants to an enum 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
Mike Colagrosso
09b4385100 Convert SOURCE_ constants to an enum 2024-01-30 11:10:05 -06:00
Alex Cabal
d3bde7d195 Use @inputmode="number" instead of <input type="number"> 2024-01-16 00:19:43 -06:00
Alex Cabal
531e3600ea Convert some constants to enums 2024-01-14 22:32:47 -06:00
Alex Cabal
a3210031f4 Change default per page in artworks list 2024-01-12 11:42:36 -06:00
Alex Cabal
03821d6ad1 Tweak max artwork string length and max tags 2024-01-12 11:04:01 -06:00
Alex Cabal
1237a65bc8 Convert use of gmdate() to DateTime 2024-01-10 11:25:56 -06:00
Alex Cabal
5b6a334dd0 Add minimum artwork dimensions 2024-01-08 13:48:56 -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
a82130ea91 Minor restructure of donation progress bar 2023-12-26 11:05:30 -06:00
Alex Cabal
0bc3dc3830 Create cookie-based login and authentication system 2022-07-10 20:53:20 -05:00
Alex Cabal
3fa9592e6d Send an email to lapsed patrons 2022-07-02 16:45:23 -05:00
Alex Cabal
0875e697b4 Change secrets from being stored in flat files to being stored in PHP INI configuration 2022-07-02 13:36:46 -05:00
Alex Cabal
2ef5ce6551 Add poll system for Patrons Circle 2022-06-29 17:17:20 -05:00
Alex Cabal
ee545502af Add index pages for RSS/Atom roots 2022-06-24 11:00:42 -05:00
Alex Cabal
70a80d0e02 Add system to retrieve and manage donations in a local database 2022-06-20 14:05:27 -05:00
Alex Cabal
34d00a582d Add PD_STRING constant 2022-05-10 11:23:25 -05:00
Alex Cabal
e5c2e0d5fc Add grant giveaway donation dialog 2022-05-09 15:45:31 -05:00
Alex Cabal
395d4d9f9b Move SITE_STATUS definition into INI file so that CLI can read it too 2022-03-24 09:41:14 -05:00
Alex Cabal
beda605f32 Pull out apcu code into a function to improve error handling 2022-03-23 13:49:00 -05:00
Alex Cabal
0bf50873ac Move reading secret constants into files that need them to prevent crashes when scripts are run by users without permissions to read secrets 2022-03-23 13:06:28 -05:00
Alex Cabal
b0197d189a Add newsletter management functionality 2022-03-20 17:46:47 -05:00
Alex Cabal
bbe89b0baf Add donation drive scaffolding 2022-02-15 20:43:19 -06:00
Alex Cabal
9d923605d8 Add database and ORM scaffolding 2021-12-09 13:13:16 -06:00
Alex Cabal
f8904c8979 Tweak donation pages 2021-11-23 16:50:17 -06:00
Alex Cabal
79e17c9b94 Remove OLS from pre-formatted page scan links 2021-09-23 14:19:16 -05:00
Alex Cabal
faad55ed1f Show donation alert 25% of the time on ebook detail pages 2021-01-13 16:13:58 -06:00
Alex Cabal
2bfcb41ec3 Add Faded Page as a source with an icon 2021-01-04 12:55:41 -06:00
Alex Cabal
f300fc25ed Correct donation header end date calculation 2021-01-02 22:18:26 -06:00
Alex Cabal
99f1c1537a Switch from JSON-LD to RDFa for internal metadata 2020-12-26 14:55:13 -06:00