Commit graph

143 commits

Author SHA1 Message Date
xenofem 0d1bff74c2 small fixes to alphabetic_numbering detection 2024-03-03 01:08:57 -05:00
xenofem 7535cb6162 also check whether PDFs have text alongside images 2024-03-02 18:27:15 -05:00
xenofem c042163e85 properly handle edge case when we point collate or manual-collate directly at an extraction directory 2024-03-02 18:10:22 -05:00
xenofem 9fea03c270 add option to convert PDF pages to pixmaps as needed 2024-03-02 18:09:46 -05:00
xenofem 2db4553570 search bar 2024-03-02 00:50:28 -05:00
xenofem be99dc5578 misc code cleanup 2024-03-02 00:15:18 -05:00
xenofem 65017abe00 filter by language preference when collating 2024-03-02 00:13:30 -05:00
xenofem 0be720599d refactor collation code 2024-03-01 23:43:38 -05:00
xenofem 3ed462972a more regexes, shorten regex flags 2024-02-22 19:24:01 -05:00
xenofem 15410ca8ba cleaner handling of better/worse image quality versions 2024-02-20 17:23:33 -05:00
xenofem 1457168951 prefer versions without moire-inducing tone effects 2024-02-17 02:54:04 -05:00
xenofem fd6e1f0eb4 give more opportunities to compare images/pdf between each stage of splitting 2024-02-16 16:29:55 -05:00
xenofem 25f44473c4 apply unicode normalization while finding prefix orderings, because the world is bad 2024-02-16 16:08:56 -05:00
xenofem 33c6b9fa1f detect when a PDF has images at the same resolution, just chopped up 2024-02-15 19:32:50 -05:00
xenofem 7a96bc5655 expand bonus regex, refactor regex splitting code 2024-02-13 10:45:21 -05:00
xenofem 1adabbe5e6 handle concept art type bonus stuff 2024-02-13 10:29:50 -05:00
xenofem c25e539a0f smoother progress bar with requestAnimationFrame 2024-02-11 17:55:00 -05:00
xenofem 89093ac490 smarter image preloading 2024-02-11 17:13:10 -05:00
xenofem 6bc8332f47 make sure to create site/images if it doesn't exist 2024-02-11 14:38:50 -05:00
xenofem 437cbcd73f add omake to epilogue regex 2024-02-08 05:29:44 -05:00
xenofem 83c5e128d6 recognize back covers as well as front covers 2024-02-08 05:11:17 -05:00
xenofem f5f338f386 add short aliases for subcommands 2024-02-08 05:03:40 -05:00
xenofem d06ea132af include full-width numerals in number regex 2024-02-08 04:54:36 -05:00
xenofem b7f9099fc0 more textless regex 2024-02-08 04:32:05 -05:00
xenofem 0955ec1c90 tweak flexbox stuff so work preview and work info don't get huge gap between them 2024-02-08 03:39:00 -05:00
xenofem 6a82009dd0 add .bmp to recognized image formats 2024-02-08 00:14:24 -05:00
xenofem 2ee0c49b3d add more cover regex, make all the regexes case-insensitive 2024-02-08 00:06:30 -05:00
xenofem 33a65e3a2b more cover regex 2024-02-08 00:03:05 -05:00
xenofem 62bd4891f6 be more forgiving about checking index deltas 2024-02-07 23:59:35 -05:00
xenofem de01acabe5 more textless regex 2024-02-07 23:11:37 -05:00
xenofem bfee8affe1 go back to deducing work_id automatically in manual-collate 2024-02-07 22:52:17 -05:00
xenofem bee5f7c58a completely refactor manual collation to be more ergonomic 2024-02-07 22:32:31 -05:00
xenofem 9353357dc9 for alphabet ordering, blank is 0, a is 1 2024-02-07 20:45:46 -05:00
xenofem 2d1add4f3e need to actually return values, whould've thought 2024-02-07 19:51:46 -05:00
xenofem 9c6328659f refactor checking file extensions 2024-02-07 19:18:19 -05:00
xenofem c24c811115 handle when the pdf is in a folder called PDF instead of being right there in the directory 2024-02-07 19:11:37 -05:00
xenofem 9ff18f933b detect cover images and hi-res editions 2024-02-07 17:42:18 -05:00
xenofem 51243aca6e add more textless regex, fix bug in alphabetized uniqueness checker 2024-02-07 17:12:02 -05:00
xenofem 7ab32041c8 import readline so hopefully input prompts will suck less 2024-02-07 00:24:30 -05:00
xenofem 885b4884fd don't write description of 'None' if the field is empty 2024-02-07 00:14:22 -05:00
xenofem cf66c7db0a make author relations and tag relations unique in db schema 2024-02-07 00:09:42 -05:00
xenofem c2f516a281 add subcommand to show page counts and image sizes of an extracted work's files 2024-02-06 23:52:59 -05:00
xenofem cdf06d9aa0 ignore the mp4 files that fanza throws in sometimes 2024-02-06 23:02:59 -05:00
xenofem 7e429f3160 detect if there are equivalent PDF and image-file versions, and choose whichever is higher-resolution 2024-02-06 23:01:59 -05:00
xenofem 9cc51ace4a adjust css for cards 2024-02-06 14:14:00 -05:00
xenofem 7a63c27702 more alt versions 2024-02-06 13:59:49 -05:00
xenofem 2a70e363cd more alt versions 2024-02-06 13:29:38 -05:00
xenofem 26af5286dc handle combinations of versions, and cases where things have versions but not numbers 2024-02-06 13:20:56 -05:00
xenofem 85ac6bc35c handle cases where the first item isn't numbered 2024-02-06 13:00:44 -05:00
xenofem 61a7eb07f9 detect epilogues in auto collation 2024-02-06 12:48:00 -05:00
xenofem ef0c115f0f add more alt versions 2024-02-06 12:30:13 -05:00
xenofem 657ec65e4a handle alphabetic suffixes 2024-02-06 12:19:11 -05:00
xenofem 330b10c85b more flexible splitting out of textless pages 2024-02-06 11:59:20 -05:00
xenofem aefaf824a8 handle hierarchical numbering schemes in auto-collation 2024-02-06 11:02:08 -05:00
xenofem d66b467c5c stop automatic collation if the sequence of numbers doesn't seem to be indices in an ordering 2024-02-06 10:22:48 -05:00
xenofem cb1a1488e2 smarter automatic collation when there are multiple versions of pages 2024-02-06 10:22:11 -05:00
xenofem aa039e60f5 ignore photoshop documents 2024-02-06 09:34:21 -05:00
xenofem 83d99f4585 smarter automatic collation of textless versions 2024-02-06 09:26:39 -05:00
xenofem 25374a5ba3 default to using first page as thumbnail 2024-02-06 08:29:52 -05:00
xenofem 9ebab7d5bb center work preview image when needed 2024-02-04 01:02:00 -05:00
xenofem d351da79c1 give more progress info during extract 2024-02-04 00:49:26 -05:00
xenofem 3efee8fe05 support Fakku works using first page as thumbnail for now 2024-01-29 21:25:21 -05:00
xenofem a76e3eec83 support fanza works with manual metadata input 2024-01-29 04:11:55 -05:00
xenofem 309f19574d don't try to fetch dlsite metadata for non-dlsite works 2024-01-29 03:01:35 -05:00
xenofem 3ca4dcc807 use thicker strikethrough on paused duration 2024-01-26 16:29:24 -05:00
xenofem 17dc404ba3 make info boxes in viewer more compact 2024-01-26 13:40:16 -05:00
xenofem 3d0d2686f5 use circular icons and mark as maskable and stuff 2024-01-25 17:21:50 -05:00
xenofem bb8ae8e055 apparently web manifests need crossorigin credentials even when they're same origin??? 2024-01-25 16:10:15 -05:00
xenofem e5b2e1e7a2 add link that actually says 'Start Reading' on the works page 2024-01-25 14:17:24 -05:00
xenofem b295ee2ad8 smoother progress bar, prevent browser from interfering with escape key 2024-01-25 14:11:28 -05:00
xenofem 6461b05bb2 only restart a work if we exit on the last page or hit/tap the restart input 2024-01-25 13:57:39 -05:00
xenofem d852896c61 add basic web app manifest, maybe this is enough to 'install' as standalone? 2024-01-25 12:57:05 -05:00
xenofem cf23ca6bbe fix case with no authors 2024-01-25 04:16:26 -05:00
xenofem 61049f0d11 forgot empty arrays are truthy 2024-01-25 04:15:11 -05:00
xenofem b75bad995a rework front page to have shuffle and lazy infinite scroll 2024-01-25 04:10:17 -05:00
xenofem 9729f45842 simplify links from categorizations to categories 2024-01-24 04:05:41 -05:00
xenofem 9f30341b56 allow breaking long words 2024-01-24 03:58:58 -05:00
xenofem 678d0f782d add configurable locale for metadata 2024-01-24 02:33:14 -05:00
xenofem a825162dee use links ending in index.html for easier file:// viewing 2024-01-23 21:01:02 -05:00
xenofem 79b946889d make tap zones vaguely discoverable 2024-01-23 17:35:33 -05:00
xenofem 323ce158f9 fancier recursive copy function we didn't end up needing 2024-01-23 17:35:01 -05:00
xenofem 528ad4e6f2 make viewer RTL-agnostic 2024-01-23 16:42:10 -05:00
xenofem ecb63ced83 include work description in work overview 2024-01-23 15:56:25 -05:00
xenofem 1f15abed9a add more detailed help and allow configuring destdir with environment variable 2024-01-23 15:54:17 -05:00
xenofem fb7d275ebb add tap zones for mobile viewing 2024-01-23 15:32:55 -05:00
xenofem e3eeded952 mess around with css to make the work page not suck on phones 2024-01-23 01:34:08 -05:00
xenofem b5412d5d33 tweak back card styling for series list 2024-01-23 00:55:06 -05:00
xenofem 3ef82c8024 add work overview pages 2024-01-23 00:49:58 -05:00
xenofem fba8cbdcc7 add little nav menu for categorizations 2024-01-23 00:06:41 -05:00
xenofem 666c6d3acf create author-list, tag-list, etc pages 2024-01-23 00:00:15 -05:00
xenofem c1c1813c88 create listing pages per author/tag/etc 2024-01-22 23:20:42 -05:00
xenofem a290c2c4e7 require a subcommand 2024-01-22 22:09:26 -05:00
xenofem 5b2f99516f do fancy python packaging stuff 2024-01-22 22:06:04 -05:00