Commit graph

45 commits

Author SHA1 Message Date
Alex Cabal
12cf83a843 Rename SeException class to AppException 2023-07-14 09:36:10 -05:00
Alex Cabal
8127f0c7e2 Remove unused exception variables, now that this is possible with PHP8 2023-06-06 21:00:12 -05:00
Alex Cabal
1e32a97c7d Some tweaks to collections 2023-02-16 18:45:20 -06:00
Mike Colagrosso
e2dd256edc Add a /collections endpoint 2023-02-16 18:26:34 -06:00
Alex Cabal
e857e4e9e6 Rebuild web caches immediately on ebook updates 2022-07-14 15:28:57 -05:00
Alex Cabal
05e0f77b45 Add collections and authors RSS/Atom/OPDS feeds 2022-07-11 18:49:11 -05:00
Alex Cabal
c95d8c4954 Fix collection sorting in bulk downloads 2022-07-11 11:01:15 -05:00
Alex Cabal
9a72b27233 Rearrange bulk download index pages 2022-07-10 23:25:31 -05:00
Alex Cabal
45221365b5 More work on bulk downloads 2022-07-10 14:48:58 -05:00
Alex Cabal
fc1db3a3d4 Break bulk downloads into sections, add authors bulk download, and refactor bulk download generation code 2022-07-10 12:56:28 -05:00
Alex Cabal
7f50f00b42 work 2022-07-10 00:55:24 -05:00
Alex Cabal
d086ea59bd Abbreviate months in bulk download page 2022-07-09 20:35:35 -05:00
Alex Cabal
270c612fc5 Move bulk-download page generation into the Library object 2022-07-09 20:09:40 -05:00
Alex Cabal
4300619383 Normalize contents of webroot variables 2022-07-09 20:09:39 -05:00
Alex Cabal
6c8414f844 Update PropertiesBase to new patterns and improve static analysis checks 2022-06-30 13:23:05 -05:00
Alex Cabal
dbefba6b94 Change 'timestamp' properties on objects to more descriptive names 2022-06-29 17:19:28 -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
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
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
beda605f32 Pull out apcu code into a function to improve error handling 2022-03-23 13:49:00 -05: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
c88dc363a2 Remove OPDS temp file if there are no changes to the feed 2021-06-03 21:42:30 -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
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
5c4617d759 Code style tweaks to satisfy PHPStan 2020-12-08 14:32:53 -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
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
905aef22fa Improve some type safety 2020-06-24 19:31:35 -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
8efec57abd Sort collections by their sequence number 2020-05-21 15:49:48 -05:00
Alex Cabal
bef5aea7ad Add type hints and some other tweaks to satisfy PHPStan 2020-03-01 11:36:20 -06:00
Alex Cabal
e3bf6115c8 Delete APCu keys as we process them, instead of clearing the whole cache at once; use an APCu lock var instead of a lockfile in /tmp/ when rebuilding the library cache 2020-03-01 10:20:26 -06:00
Alex Cabal
bd4dd7baa2 Change the way we deploy ebooks from destroying the entire apcu cache and rebuilding on the next web request, to rebuilding in the background 2020-02-29 22:29:19 -06:00
Alex Cabal
8f33a1021c Rearrange filesystem layout, and add configuration files 2019-08-23 19:47:30 -05:00
Alex Cabal
f8da23ab9d Don't crash the whole catalog if one book doesn't parse correctly 2019-08-16 15:57:54 -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
58cc098058 Add Safe PHP functions 2019-03-07 12:11:50 -06:00
Alex Cabal
cfa54122d6 Add support for tag browsing and collection browsing 2019-02-26 17:05:23 -06:00
Alex Cabal
ba53958596 More refactoring for static analysis 2019-01-18 17:49:13 -06:00
Alex Cabal
c879dcab34 Updates to more strict type checking after some static analysis 2019-01-17 21:26:48 -06:00
Alex Cabal
28c8a3f0ba Initial commit 2018-12-29 16:02:00 -06:00