Commit graph

178 commits

Author SHA1 Message Date
Daniel Jönsson
bda8d24ab6 Update sentence tokenizer 2018-03-20 11:49:49 +01:00
Daniel Jönsson
03c41b348f fix epubcheck errors 2018-03-16 11:43:12 +01:00
Daniel Jönsson
8b7bec116d hotfix for firefox 2018-03-16 11:09:30 +01:00
Daniel Jönsson
3bf10f021d Fix nbsp! It's invalid in epub ;) 2018-03-16 10:55:21 +01:00
Daniel Jönsson
1e1b6e9b8d Fix a bug when downloading remote resources, add checksum check for same files 2018-03-16 10:55:04 +01:00
Daniel Jönsson
cfffdc9998 tiny optimization 2018-03-16 09:32:45 +01:00
daniel-j
a0bd04a323 replace smartypants with typogr, disable typogrify by default 2018-03-16 08:57:23 +01:00
daniel-j
5ea5e8185e better chapter bars 2018-03-15 22:59:47 +01:00
daniel-j
82e80f8406 Merge branch 'master' of github.com:daniel-j/fimfic2epub 2018-03-15 22:56:45 +01:00
daniel-j
85316dbe8a Fix short_description when using cli 2018-03-15 17:44:15 +01:00
daniel-j
82d1f8ea31 Add smartypants option, enabled by default 2018-03-15 17:43:30 +01:00
daniel-j
d8d767cc21 Remember settings 2018-03-15 17:42:11 +01:00
Daniel Jönsson
4587620bbd Fix sans-serif 2018-03-15 16:35:58 +01:00
Daniel Jönsson
3d3f24bc79 Add reading progress using chapter bars, calculation for time to read using words per minute 2018-03-15 16:14:57 +01:00
Daniel Jönsson
29b72017b7 Tweak style, fix for iBooks 2018-03-15 11:37:18 +01:00
Daniel Jönsson
e82549f39d Drop iBooks note 2018-03-15 11:34:11 +01:00
Daniel Jönsson
da4ae1e053 Improved word counter 2018-03-15 11:33:52 +01:00
daniel-j
cc383723c1 fix crash for the node module 2018-03-14 22:16:29 +01:00
daniel-j
80512e657b fix font crash 2018-03-14 21:02:15 +01:00
daniel-j
0051da9862 fix font issue 2018-03-14 18:04:50 +01:00
Daniel Jönsson
12177f2ec2 Make binary a webpack target, add static/standalone build target 2018-03-14 15:26:36 +01:00
Daniel Jönsson
afce849ed9 dont go all the way to 100% 2018-03-14 10:28:36 +01:00
Daniel Jönsson
4d16e7500b hotfix 1.7.13 2018-03-14 10:28:20 +01:00
Daniel Jönsson
2763eda443 Flesch Reading Ease is now enabled by default! 2018-03-14 09:50:59 +01:00
daniel-j
37b8a6671c Better reading ease method, async with thread wakeups, to prevent thread blocking 2018-03-14 09:33:46 +01:00
daniel-j
860ea4e7ad cover page hotfix 2018-03-13 18:00:31 +01:00
Daniel Jönsson
f2fa71aeb9 🤦 2018-03-13 16:23:18 +01:00
Daniel Jönsson
825c9e5789 Tweak css 2018-03-13 14:01:27 +01:00
Daniel Jönsson
273b752cf4 tweak logging 2018-03-13 13:58:03 +01:00
Daniel Jönsson
aa55c36473 Clean up whitespace before calculating reading ease 2018-03-13 11:40:10 +01:00
Daniel Jönsson
fc91e34346 Prettier title page 2018-03-13 11:11:32 +01:00
Daniel Jönsson
318c3dd374 Change book id, to help with iBooks fix 2018-03-13 11:11:17 +01:00
Daniel Jönsson
78fa87851e Fix First Published 2018-03-13 11:10:54 +01:00
Daniel Jönsson
69dbb43dd3 Add reading ease calculation option 2018-03-13 11:10:29 +01:00
Daniel Jönsson
09f809f260 Fix nav issue 2018-03-13 11:08:41 +01:00
Daniel Jönsson
0afcdbe60e text-align is important 2018-03-13 11:07:58 +01:00
daniel-j
b9fde938e9 Fix for Chrome 2018-03-13 07:12:53 +01:00
daniel-j
944799d44e hotfix 1.7.2 2018-03-12 22:31:08 +01:00
daniel-j
bc36fb5fd7 did a lot ;) 2018-03-12 22:09:26 +01:00
daniel-j
a541a9f9d4 update templates 2018-03-12 22:09:08 +01:00
daniel-j
7a95d40c77 small fixes 2018-03-12 22:08:52 +01:00
daniel-j
00c6426f83 update gui code 2018-03-12 22:08:16 +01:00
daniel-j
5836ecb136 font subset function 2018-03-12 22:07:31 +01:00
daniel-j
dfd6e9897e update styles 2018-03-12 22:07:11 +01:00
daniel-j
105c1efd75 fetch headers fix 2018-03-12 22:06:35 +01:00
daniel-j
46084b0f7e Add WebP decoder 2018-03-12 22:05:57 +01:00
djazz
6e4ef46f7e Fix url decoding issue. Fixes #19 2017-10-18 15:22:55 +02:00
djazz
d3dbcc150b Upgrade mithril, bugfixes, UTF8 character support 2017-10-18 15:02:07 +02:00
djazz
8d8b634f8f Linting 2017-10-18 14:59:30 +02:00
Benny Jacobs
efcf5ee550 Add mature headers to fetch request 2017-08-16 00:57:09 +02:00
Benny Jacobs
b747a6364f Changed view_mature from a querystring to a header. querystring no longer worked 2017-08-15 01:11:50 +02:00
daniel-j
ff26fc6bb2 Find all download links for a story 2017-06-12 17:44:05 +02:00
daniel-j
fb0a1c35d2 Remove old code 2017-06-12 14:04:11 +02:00
daniel-j
dac3a01a1b Use HTML download instead of fetching chapters separately
Added twemoji
Fixed progress bar
2017-06-12 13:53:42 +02:00
daniel-j
d780668cfb Fix progress bar 2017-06-12 13:23:48 +02:00
daniel-j
56f7c9a9e0 Delete accidentally commited files 2017-06-08 10:31:51 +02:00
daniel-j
a5e61539e7 Firefox support 2017-06-07 16:17:40 +02:00
daniel-j
4092c6d350 Fix image embeds 2017-06-07 11:13:31 +02:00
daniel-j
5f5424c281 New <hr> 2017-06-07 10:48:59 +02:00
daniel-j
9af85b1ed1 Support for story embeds 2017-06-07 10:41:58 +02:00
daniel-j
45d422d9a1 Fix html scraping 2017-06-07 10:41:41 +02:00
daniel-j
8c61e1b478 Clean up SoundCloud embeds 2017-06-07 09:53:28 +02:00
daniel-j
72920b72b0 Fix tag parsing 2017-06-07 08:02:43 +02:00
daniel-j
6dace543ab Fix youtube embeds 2017-06-07 07:46:57 +02:00
daniel-j
bba11fcd7a Fixes for Fimfiction 4.0 update. Drop Tidy, add paragraph customiztion 2017-06-06 22:15:05 +02:00
daniel-j
07c1505f6d Don't prettify html content, it breaks whitespace. 2017-05-25 22:12:43 +02:00
daniel-j
d30b18fca6 Handle errors in word counter. Fixes #17 2017-04-11 22:01:25 +02:00
daniel-j
9c798d8af8 Fix for mature stories 2016-11-28 13:58:54 +01:00
daniel-j
c2234018d7 webpack upgrade 2016-11-21 13:57:05 +01:00
daniel-j
b2717c6ee3 Use new Fetch API instead of XHR. Fixes #12 2016-11-21 13:52:49 +01:00
daniel-j
ec8dd0cc2f Merge branch 'master' of github.com:daniel-j/fimfic2epub 2016-09-08 20:58:47 +02:00
daniel-j
b2b6cb010d Handle removed youtube videos. Fixes #14 2016-09-08 20:58:32 +02:00
daniel-j
7059fa2be5 edit description, put author notes in the end of the ebook 2016-08-29 16:20:20 +02:00
daniel-j
74ccaf1123 fix a broken dep 2016-08-29 12:12:04 +02:00
daniel-j
8f715c160a Fixes #7. Adds extra button next to title in synopsis and replaces the download function in the story cards that flip around 2016-08-27 19:04:22 +02:00
daniel-j
473f332cf9 How silly of me. My bad. Fixes #11 2016-08-24 20:25:19 +02:00
daniel-j
24a81960cd Fixes #2 2016-08-24 20:18:01 +02:00
daniel-j
af31ff9667 use short description by default in metadata 2016-08-24 20:14:07 +02:00
daniel-j
ee20ef8b7e fix remote resources bug 2016-08-24 15:57:05 +02:00
daniel-j
89c489511b refactoring, more options, various fixes 2016-08-24 14:47:48 +02:00
Daniel J
2cfa868570 fix textarea 2016-08-24 09:09:43 +02:00
Daniel J
5710b46593 more settings 2016-08-23 23:49:27 +02:00
daniel-j
4ae5731d14 tidying up! 2016-08-23 22:04:38 +02:00
daniel-j
3e4d08f646 accept only images 2016-08-23 16:39:35 +02:00
daniel-j
9d16fef12c almost ready... 2016-08-23 16:32:55 +02:00
Daniel J
1bbd6316a5 promisify! wip 2016-08-23 09:19:01 +02:00
daniel-j
d1d78bc777 more wip 2016-08-22 21:57:19 +02:00
daniel-j
8ba203b437 wip gui 2016-08-22 16:28:30 +02:00
daniel-j
1510d23797 made regex smaller, just in case.. 2016-08-22 12:00:42 +02:00
daniel-j
50b43156da Proper file mimetype detection. Don't trust mimetype from servers. 2016-08-22 11:50:11 +02:00
daniel-j
bfe6205851 Fix internal Fimfiction links 2016-08-22 11:42:33 +02:00
Daniel J
7421d4fc4b fix fs shim 2016-08-21 22:21:49 +02:00
daniel-j
caea25cd22 Add word count, fixes #3. New synopsis layout 2016-08-21 21:48:40 +02:00
daniel-j
9ad70f66b1 button to chapter comments, calculate word count (unused atm), clean up cleanup code 2016-08-19 16:51:40 +02:00
daniel-j
d20ab34370 fix spine sorting! 2016-08-19 12:35:58 +02:00
daniel-j
c32ea6156e quickfix! the sort broke the order :( 2016-08-19 12:22:41 +02:00
daniel-j
8801ee398a Add Fimfiction category/subject. Add version number to EPUB metadata. 2016-08-19 11:24:20 +02:00
daniel-j
e32517e9dc fixes #4 2016-08-19 10:58:48 +02:00
daniel-j
5111f5ec32 Move non-linear items to the end of the book. Not all eReaders hide them, so this is an easy workaround 2016-08-19 10:57:53 +02:00
daniel-j
e221235367 fix for iBooks 2016-08-19 10:40:08 +02:00