Commit graph

208 commits

Author SHA1 Message Date
Alex Cabal
79ec73946e Close all void HTML tags and remove HTML entities 2020-09-04 12:42:27 -05:00
Alex Cabal
dd43efd450 Add --no-epubcheck option to deploy-ebook-to-www script 2020-08-29 14:43:10 -05:00
Alex Cabal
73297adbf7 Add --last-push-hash option to deploy-ebook-to-www script to decide whether to rebuild the cover images/actual ebook 2020-08-27 11:15:19 -05:00
Alex Cabal
557feded5e Update deploy script to remove librsvg dependency, better organize code, and add the --no-images option 2020-08-09 15:51:22 -05:00
Alex Cabal
80f22cb463 Correct size of ebook cover thumbnails and hero images 2020-08-07 15:07:06 -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
vr8ce
dab3c4e0f7 Also skip non-git directories 2020-08-01 11:51:06 -05:00
vr8ce
85593d5858 Only look for directories in the update section 2020-08-01 11:51:06 -05:00
vr8ce
8243756f77 Add check to prevent script dying if repository does not have metadata file, improve documentation 2020-08-01 11:51:06 -05:00
vr8ce
a0e56d9731 Skip Sublime Text plugin repository 2020-07-29 10:59:58 -05:00
vr8ce
24e8d1cec5 Add --bare option, default to working directory clones 2020-07-29 10:59:58 -05:00
Alex Cabal
75e7cce726 Change OPDS feed to show number of ebooks in each subject category, and a 'related' link back to the ebook's SE homepage 2020-07-09 13:15:52 -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
cb399a4657 Update permissions set in deploy-ebook-to-www 2020-06-25 20:11:19 -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
1f6170d23a Fix OPDS/RSS scripts" 2020-06-24 20:26:02 -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
7a043c3e85 Update generate-opds script to use the web library and templates to generate feeds 2020-06-24 18:33:50 -05:00
Alex Cabal
86f3adca36 Add search ability to OPDS feed 2020-06-19 16:20:40 -05:00
Alex Cabal
8a1d31be2a Fix OPDS feed wrong links 2020-06-05 23:46:44 -05:00
Alex Cabal
b160fc0e1d Update the OPDS feed to be a correct 'complete acquisition feed' 2020-06-01 21:12:30 -05:00
Alex Cabal
6b2a9ed655 Use temp filename when creating 'all' OPDS feed 2020-06-01 20:27:03 -05:00
Alex Cabal
374465de55 When updating the 'all' OPDS feed, update the master index updated timestamp as well 2020-06-01 14:44:23 -05:00
Alex Cabal
fcfc1ce55e Update wanted ebooks list 2020-06-01 13:53:11 -05:00
Alex Cabal
56852e548a OPDS feed: Remove SVG links as they are not standards-compliant 2020-05-09 11:35:18 -05:00
Alex Cabal
6a176a8c48 OPDS feed: Add titles to download links to help differentiate them 2020-05-09 11:35:06 -05:00
Alex Cabal
986183a83f Remove trailing slashes from URLs 2020-05-02 21:03:22 -05:00
Alex Cabal
b52284b4c0 Change links to toolset 2020-04-18 10:37:22 -05:00
Alex Cabal
80c95ec971 When deploying an ebook, make adjustments for quirks in Ubuntu's SVG renderer 2020-03-18 16:17:04 -05:00
Alex Cabal
a8bef9ad93 Update deploy-ebook-to-www so that it changes the modified date in teh deployed content.opf file, so that generate-opds can use it 2020-03-01 17:20:59 -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
Danny Bautista
55706b8b46 Add --update-only option back to sync-ebooks. 2019-06-21 17:38:52 -05:00
Danny Bautista
58f751f3ea Add new-releases.xml rewrite. 2019-06-20 16:26:45 -05:00
Danny Bautista
b85c6a870b Add firefox dependency for se-tools. 2019-06-20 16:26:45 -05:00
Danny Bautista
8651a1f268 Add cover image hash redirect. 2019-06-20 16:26:45 -05:00
Danny Bautista
67f5fe8b27 Handle repositories with names bigger than 100 chars correctly. 2019-06-20 16:21:26 -05:00
Danny Bautista
46fe654fac Add --weburl parameter. 2019-06-20 16:21:26 -05:00
Danny Bautista
8349f9268b Add --webroot parameter. 2019-06-20 16:21:26 -05:00
Danny Bautista
c8cb8f788a Add --group parameter. 2019-06-20 16:21:26 -05:00
Danny Bautista
0a24d0924a Improve argument parsing in deploy-ebook-to-www. 2019-06-20 16:21:26 -05:00
Danny Bautista
3290638671 Call scripts relative to called deploy-ebook-to-www. 2019-06-20 16:21:26 -05:00
Danny Bautista
e5b611c315 Ensure that www/images/covers exists and belongs to the correct group. 2019-06-20 16:21:26 -05:00
Danny Bautista
b1c863ed93 Fix directory entry and exit in deploy-ebook-to-www. 2019-06-20 16:21:26 -05:00
Danny Bautista
683e5b1a32 Require se binary, git, and php in deploy-ebook-to-www. 2019-06-20 16:21:26 -05:00
Danny Bautista
4e8f0b4a6d Use -n instead of ! -z 2019-06-20 16:21:26 -05:00
Danny Bautista
d41dd0665f Add check_arg to sync-ebooks. 2019-06-20 16:21:26 -05:00