Commit graph

329 commits

Author SHA1 Message Date
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
58c0d301dd Add auto-detected types from DB in ORM 2022-02-22 10:49:54 -06:00
Alex Cabal
bbe89b0baf Add donation drive scaffolding 2022-02-15 20:43:19 -06:00
Alex Cabal
9f3104025d Add type hints and quiet a few other PHPStan complaints 2022-02-09 12:56:09 -06:00
Alex Cabal
c9ebd71587 Add some safe functions and minor cleanup 2022-02-08 21:59:49 -06:00
Alex Cabal
74d3272c37 Better error handling if a user tries to get a book while the library cache is being rebuilt 2022-01-20 16:31:46 -06:00
Alex Cabal
05a125258e Disable DB access since there's no DB yet; add environmental site status variables 2021-12-11 13:53: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
7be2f18424 Switch to new array shorthand 2021-10-06 18:03:28 -05:00
Alex Cabal
79e17c9b94 Remove OLS from pre-formatted page scan links 2021-09-23 14:19:16 -05:00
Alex Cabal
d714971e06 Further improve RDFa metadata 2021-06-17 18:42:53 -05:00
Alex Cabal
da88967069 Improve array handling when getting query string vars 2021-06-06 21:54:03 -05:00
Alex Cabal
c88dc363a2 Remove OPDS temp file if there are no changes to the feed 2021-06-03 21:42:30 -05:00
Alex Cabal
9c76355972 If the illustrator and translator are the same, don't list them as both 2021-06-01 14:14:54 -05:00
Robin Whittleton
3b744c1a82 Revert accidental commit of collections test code
Originally added in 4143e482f5
2021-05-04 08:45:12 +02:00
Robin Whittleton
4143e482f5 Fix spelling mistake in kobo usage 2021-05-01 09:38:13 +02:00
Alex Cabal
94a6330576 Add ability to parse se:role epub property 2021-03-23 20:07:44 -05:00
Alex Cabal
1148ed74b0 Fix installation instructions in readme to actually work, and add missing PHP config file 2021-02-07 13:35:22 -06: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
f3f6eaaa0b Allow ebooks in a collection to share the same position, like Ford Madox Ford's Parade's End books in the Modern Library's 100 Best Novels list 2021-01-04 14:27:38 -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
5c4617d759 Code style tweaks to satisfy PHPStan 2020-12-08 14:32:53 -06:00
Alex Cabal
658db66c2b Include ToC entries in search results for short and poetry compilations 2020-12-08 14:27:01 -06:00
Alex Cabal
95ee5265bc When searching ebooks by keyword, also search collection names 2020-12-07 20:57:07 -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
8deafc7543 Add warnings pointing to latest manual version on all old manual pages 2020-11-24 12:47:05 -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
73ba658a05 Update ebooks to explode the ./src/epub folder into ebook endpoints, instead of just exploding the whole epub 2020-10-13 14:28:32 -05:00
Alex Cabal
262e86c625 Enable reading from the ToC and single-page reading 2020-10-11 13:39:32 -05:00
Alex Cabal
eed3355916 Rename .epub3 output to _advanced.epub 2020-09-09 22:22:00 -05:00
Alex Cabal
8cb6fd7315 Don't show AVIF images if they don't exist in the filesystem 2020-08-07 15:06:50 -05:00
Alex Cabal
1ab7c8c0fe Add support for AVIF covers, and multiple image source sets in covers 2020-08-06 17:03:39 -05:00
Alex Cabal
b451d521bd Add new Google Books URL scheme as a recognized ebook source 2020-07-16 09:46:58 -05:00
Alex Cabal
5b2557c858 Add more type checking to satisfy PHPStan and update some PHPStan exceptions 2020-06-26 13:00:07 -05:00
Alex Cabal
133f93cdce Add subjects OPDS feeds, and switch to a more object-oriented approach to generating the OPDS feeds 2020-06-25 13:07:00 -05:00
Alex Cabal
ffa3ab8a74 Fix permissions on OPDS feeds 2020-06-25 01:28:07 -05:00
Alex Cabal
6252cff1e5 Only write the OPDS feed and updated timestamp if the feeds actually changed 2020-06-24 21:28:15 -05:00
Alex Cabal
905aef22fa Improve some type safety 2020-06-24 19:31:35 -05:00
Alex Cabal
cae117951b Refactor generate-opds script and create a new 'newest 30' OPDS feed 2020-06-24 19:12:38 -05:00
Alex Cabal
86f3adca36 Add search ability to OPDS feed 2020-06-19 16:20:40 -05:00
Alex Cabal
25c40e3e67 Add link to Github for each commit in an ebooks short commit history 2020-06-03 12:01:09 -05:00
Alex Cabal
98ad906c11 Search se:alternate-title when searching ebooks 2020-05-29 12:42:14 -05:00
Alex Cabal
aed7db7fc1 Improve how collections are organized and internally and printed to HTML 2020-05-22 16:22:46 -05:00
Alex Cabal
c8cacc4ace Add series number to collection headline 2020-05-22 16:03:59 -05:00