Commit graph

53 commits

Author SHA1 Message Date
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
Alex Cabal
8efec57abd Sort collections by their sequence number 2020-05-21 15:49:48 -05:00
Alex Cabal
b634e6ba7a Switch from se:collection to epub belongs-to-collection metadata property 2020-05-16 15:20:35 -05:00
Alex Cabal
986183a83f Remove trailing slashes from URLs 2020-05-02 21:03:22 -05:00
Alex Cabal
56aaab7152 Add new WEB_ROOT constant 2020-03-20 11:37:42 -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
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
Alex Cabal
628d467d3f Hide contributors with display-seq == 0 2019-08-21 16:39:42 -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
Alex Cabal
876234ef9c Fix double encoded ampersands in title strings 2019-08-16 15:57:42 -05:00
Alex Cabal
c278c13cfd Don't add a period after contributors if the last character is a period 2019-08-16 15:22:14 -05:00
Evan Hall
52a5e6056f Add 'reading ease' and 'length' sorting methods 2019-06-13 15:29:29 -05:00
Alex Cabal
530cad6cc8 Switch from eval() to include() in template class. APC caches includes nowadays so caching is not necessary any more. 2019-04-05 18:40:48 -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
6f86a1899b Improve tag and collection browsing and pagination 2019-02-26 18:36:26 -06:00
Alex Cabal
cfa54122d6 Add support for tag browsing and collection browsing 2019-02-26 17:05:23 -06:00
Alex Cabal
f5d7d4e02a Add Composer autoloading functions and PHPStan for testing 2019-02-26 13:03:45 -06:00
Alex Cabal
f0575be98f Add DP OLS to known sources 2019-01-23 17:46:35 -06:00
Alex Cabal
b812485d8a Remove flaky iconv and replace with PHP-intl 2019-01-18 20:51:22 -06:00
Alex Cabal
ba53958596 More refactoring for static analysis 2019-01-18 17:49:13 -06:00
Alex Cabal
5939195955 Fix iconv bug with apostrophes 2019-01-18 13:40:02 -06:00
Alex Cabal
c879dcab34 Updates to more strict type checking after some static analysis 2019-01-17 21:26:48 -06:00