Commit graph

52 commits

Author SHA1 Message Date
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
Alex Cabal
0e7100cfe8 Add donation alerts during the holidays 2020-12-22 20:06:18 -06:00
Alex Cabal
3632463c13 Add PD_YEAR constant for use across the site 2020-12-18 18:08:24 -06:00
Alex Cabal
1010b287a6 Add new sorting and filtering options to ebook browse page 2020-12-07 19:45:07 -06:00
Alex Cabal
f4f700f4d1 Differentiate from PG from PG-CA and PG-AU when listing ebook sources 2020-10-28 17:46:51 -05:00
Alex Cabal
56aaab7152 Add new WEB_ROOT constant 2020-03-20 11:37:42 -05:00
Alex Cabal
6a3e715567 Remove Tractatus from ignored ebooks, now that we have pinned FF to an older version 2019-10-30 11:31:42 -05:00
Alex Cabal
aca6ba09e4 Add Tractatus to ignored repos temporarily until FF fixes a screenshot bug 2019-10-21 09:02:46 -05:00
Alex Cabal
8f33a1021c Rearrange filesystem layout, and add configuration files 2019-08-23 19:47:30 -05:00
Evan Hall
52a5e6056f Add 'reading ease' and 'length' sorting methods 2019-06-13 15:29:29 -05:00
Alex Cabal
def275ab3c Remove closing tags from pure PHP files 2019-04-03 16:25:00 -05:00
Alex Cabal
f5d7d4e02a Add Composer autoloading functions and PHPStan for testing 2019-02-26 13:03:45 -06:00