Commit graph

400 commits

Author SHA1 Message Date
Alex Cabal
2ef5ce6551 Add poll system for Patrons Circle 2022-06-29 17:17:20 -05:00
Alex Cabal
3d32bd03b9 Remove unused var declaration 2022-06-26 11:46:17 -05:00
Alex Cabal
70fbce410c Use the se:is-a-collection metadata element to decide if we search the ToC 2022-06-25 20:09:09 -05:00
Alex Cabal
c109c565cb Move feeds under new /feeds root 2022-06-24 12:54:57 -05:00
Alex Cabal
ee545502af Add index pages for RSS/Atom roots 2022-06-24 11:00:42 -05:00
Alex Cabal
dcb20692aa Add --force option to generate-feeds 2022-06-24 10:48:12 -05:00
Alex Cabal
372bdadd37 Send new patron emails 2022-06-24 10:25:16 -05:00
Alex Cabal
f9fd6c8a02 Further refinment to OPDS/RSS generation and also add Atom feeds 2022-06-23 21:27:25 -05:00
Alex Cabal
f6df03cfca Flesh out OPDS generation backend to be more robust and to support generic Atom feeds 2022-06-22 15:09:05 -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
305a9d298b Add XSLT stylesheet for OPDS feeds 2022-06-20 13:52:39 -05:00
Alex Cabal
30a3dd053f Add mailing address to email footers 2022-06-19 10:46:21 -05:00
Alex Cabal
6c267497cc Adjust how tags URLs are calculated to support tags with non-ASCII characters like 'children’s' 2022-06-18 21:17:33 -05:00
Alex Cabal
c5b686636b Convert rsquo when making strings URL safe 2022-06-18 20:50:57 -05:00
Alex Cabal
934545c191 Replace Logger static class with Log class 2022-06-17 20:40:51 -05:00
Alex Cabal
f7558eab3a Check actual error code for duplicate row inserted in newsletter subscriptions 2022-06-17 11:14:55 -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
5985939cd5 Make 'more ebooks' carousel in ebook detail page show ebooks from a random tag of the current ebook 2022-04-30 13:19:02 -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
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