Commit graph

3543 commits

Author SHA1 Message Date
Jim Miller
0027730789 Bump Test Version 3.15.3 2020-01-20 13:00:45 -06:00
Jim Miller
cdb589966f Include <blockquote> as well as <p> in adapter_phoenixsongnet chapters. 2020-01-20 12:59:19 -06:00
Jim Miller
029e70aa0b Bump Test Version 3.15.2 2020-01-17 19:47:13 -06:00
Jim Miller
4b9bc818d7 Use storyUrl from metadata for checking library, for those sites that make canonical storyUrl difficult, like adapter_literotica. Closes #461 2020-01-17 19:46:49 -06:00
Jim Miller
54a35ca562 Bump Test Version 3.15.1 2020-01-15 13:26:48 -06:00
Jim Miller
933072df5c Add epub_version to defaults.ini 2020-01-15 13:26:48 -06:00
Jim Miller
11811226b4 Write epub 2.0 or epub 3.0 depending on epub_version setting. 2020-01-15 13:16:07 -06:00
Jim Miller
ca41ce4123 Make Unnew work on epub3 *and* epub2. 2020-01-15 13:16:07 -06:00
Jim Miller
311e4ad417 Fix version fo epub3 support -- 3 only, not 2. 2020-01-15 10:21:38 -06:00
Jim Miller
0c479fa579 Bump Release Version 3.15.0 2020-01-15 09:24:33 -06:00
Jim Miller
62fff21f59 Update github project home page. 2020-01-14 18:11:34 -06:00
Jim Miller
b53a3741bd Fix adapter_test1 for multi-author test. 2020-01-14 10:50:53 -06:00
Jim Miller
f579ef6e08 trekfanfiction.net uses utf8 now 2020-01-13 12:43:23 -06:00
Jim Miller
9f557cc10a Bump Test Version 3.14.8 2020-01-13 12:38:58 -06:00
Jim Miller
a83563961c Kludge fix for incorrect HTTP response 500 code from trekfanfiction.net. 2020-01-13 12:38:38 -06:00
Jim Miller
10b9050e57 Remove site fannation.shades-of-moonlight.com, parked domain, last worked Dec2018. 2020-01-13 12:11:40 -06:00
Jim Miller
da4a09b3d5 Remove site nfacommunity.com, parked domain, last worked Dec2018. 2020-01-13 12:09:51 -06:00
Jim Miller
de9a79ede8 Bump Test Version 3.14.7 2020-01-09 13:48:24 -06:00
Jim Miller
bfc9c8b45c Make sure storyUrl has &->&amp; and then change it back for Calibre. Matches how authorUrl is handled(in all_metadata). Closes #460 2020-01-09 13:46:44 -06:00
Jim Miller
24abb202a7 adapter_sugarquillnet change chapter text td to div. Issue #460 2020-01-09 13:07:35 -06:00
Jim Miller
4c3c624cc2 Bump Test Version 3.14.6 2020-01-09 12:21:55 -06:00
Jim Miller
eba9f75c91 Order ini files in help message to reflect priority order. 2020-01-09 12:10:02 -06:00
hseg
fbfcb9a5f6
Support XDG Base Directory spec
Basically boils down to giving `$XDG_CONFIG_HOME/fanficfare` top priority among
search locations, defaulting to `~/.config/fanficfare` if `$XDG_CONFIG_HOME` is
unset.

This shouldn't change anything for anyone who doesn't want XDG support.
2020-01-08 22:56:48 +02:00
Jim Miller
836c02de53 Update translations. 2020-01-08 11:28:59 -06:00
Jim Miller
7a2ff524d7 Bump Test Version 3.14.5 2020-01-07 12:51:31 -06:00
Jim Miller
49a5536c51 Update adapter_alternatehistorycom for XenForo2. Issue #457 2020-01-07 12:51:10 -06:00
Jim Miller
1b543780a8 Order custom columns in config page. 2020-01-06 17:42:10 -06:00
Jim Miller
3405e0bda1 Bump Test Version 3.14.4 2020-01-02 13:01:49 -06:00
Jim Miller
10029b41b1 Add -U/--update-epub-always option to CLI. 2020-01-02 12:58:47 -06:00
Jim Miller
ac16bfaeb3 Don't do URL quoting on file: URLs. Fix for spaces->+ breaking default cover. 2020-01-02 12:40:31 -06:00
Jim Miller
b192fd0ad1 Catch ',' in front of 'Thread' in forum titles. 2019-12-22 17:43:58 -06:00
Jim Miller
561fa5e319 Bump Test Version 3.14.3 2019-12-20 15:06:50 -06:00
Jim Miller
e9fbb19d67 Reduce minimum_calibre_version to v2.85.1, last of 2 series. 2019-12-18 18:21:47 -06:00
Jim Miller
45a25394f5 More fixes for python3. 2019-12-18 18:07:35 -06:00
Jim Miller
cdce62f2aa Bump Test Version 3.14.2 2019-12-18 12:05:41 -06:00
Jim Miller
45bc88d9bf Remove web service code. Refer back to tag v3.13.0 if ever needed again. 2019-12-18 12:05:26 -06:00
Jim Miller
a0e2db3925 With Calibre min version v3.85, included_dependencies are not needed. 2019-12-18 11:16:06 -06:00
Jim Miller
4718a2c2de Bump minimum_calibre_version to v3.48, last of 3 series. 2019-12-17 13:06:32 -06:00
Jim Miller
7c7946cc51 Bump Test Version 3.14.1 2019-12-17 12:38:52 -06:00
Eli Schwartz
18804a52cf py3: add various python-six fixes 2019-12-17 10:44:06 -06:00
Eli Schwartz
31ac92a06d py3: read config as unicode all the time 2019-12-17 10:44:06 -06:00
Eli Schwartz
c054449328 py3: get rid of basestring 2019-12-17 10:44:06 -06:00
Eli Schwartz
93e93dee92 py3: fix unicode type 2019-12-17 10:44:06 -06:00
Eli Schwartz
b4feb0153d python3: get configparser bits from six.moves 2019-12-17 10:44:06 -06:00
Eli Schwartz
4d1be812e8 python3: use the io module everywhere
Make the calibre plugin usage work on python3. Since FanFicFare does not
support python 2.5, make it work by using the modern idiom.

Essentially, six.StringIO and six.BytesIO makes no sense to use
anywhere, since any code that works on python3 at all will also work
with the io module in python >= 2.6. The only caveat is that the
unadorned str type in python2 works with neither, but it is always best
to be explicit and use either unicode or bytes.
2019-12-17 10:44:06 -06:00
Eli Schwartz
15a79ee0ca python3: decode the bytes received from get_resources()
We're combining it with a str type.
2019-12-17 10:44:06 -06:00
Eli Schwartz
a2c558d864 python3: fix incorrect use of merging two dictionaries
In python2, this was inefficient, because it allocated *three* lists of
tuples, before finally generating a dict based on them. In python3, it
fails because you cannot combine the dict_items() type.

Moreover, retval was always a function-local dictionary used purely for
returning the value, so dict1.update(dict2) will always yield the
correct result, and we don't even need to create a copy to avoid
mutating the original dictionary.
2019-12-17 10:44:06 -06:00
Eli Schwartz
dc77754c1a python3: use modern exception syntax 2019-12-17 10:44:06 -06:00
Eli Schwartz
4a3640cc33 python3: enforce use of absolute imports
Where relative imports are currently being relied upon, do this
explicitly.
2019-12-17 10:44:06 -06:00
Jim Miller
517082f4d1 Bump Release Version 3.14.0 2019-12-16 13:38:44 -06:00