Commit graph

146 commits

Author SHA1 Message Date
Jim Miller
d237ac849c Plugin: Only run one BG download at time. 2021-01-28 20:23:37 -06:00
Jim Miller
eb63b8bae5 Refactor cookiejar into Fetcher. 2021-01-28 17:41:33 -06:00
Jim Miller
10993a4fe2 Remove unused imports calibre-plugin 2021-01-25 21:09:24 -06:00
Jim Miller
8b1da6f6ec adapter_fanfictionnet: Start keeping story title part of storyUrl. 2021-01-20 12:27:42 -06:00
Jim Miller
03c19c10a3 Add better chapter error reporting, refactor proceed_question code. 2021-01-18 11:42:33 -06:00
Jim Miller
eeedfdee87 Add plugin options to mark success/failed/chapter error individually. 2021-01-18 11:05:30 -06:00
Jim Miller
c84f9f2895 Report chapter_error in custom error column and marked (when configured). 2021-01-16 11:18:16 -06:00
Jim Miller
6e68624f2a First rough version of reporting continue_on_chapter_error chapters. 2021-01-16 10:22:50 -06:00
Jim Miller
fd8a7ce69b Use refresh_screen=False when calling Reading List add/remove, refresh
book_ids.
2020-12-14 15:55:54 -06:00
Jim Miller
b72ce6ecf3 Fix http/https matching in identifiers:url search. 2020-11-23 14:31:48 -06:00
Jim Miller
ee63036c6d Remove outdated comment 2020-11-18 10:22:37 -06:00
Jim Miller
a5a1322f28 Add 2nd dup-story URL check after fetching metadata for when story URL changes. 2020-11-18 10:19:14 -06:00
Jim Miller
34a12c48c1 Don't use polyglot, not included until Calibre3. Remove some debug output. 2020-11-13 09:55:42 -06:00
Jim Miller
338b288b38 Don't error out on non-editable custom columns ValueError. 2020-11-06 11:02:12 -06:00
Jim Miller
2fb09e6a2b Add Yes/No to All question dialoig boxes. 2020-11-02 15:06:25 -06:00
Jim Miller
723489c230 Fix drag-n-drop of calibre rows onto FFF. 2020-10-27 13:22:48 -05:00
Jim Miller
0bf11d6ea3 Fix drag-n-drop of emls(Thunderbird). 2020-10-27 13:07:01 -05:00
Jim Miller
bda69750a3 Remove some debugs. 2020-10-26 14:33:52 -05:00
Jim Miller
3699991d6d Add checks for CALIBREONLYSAVECOL when not config'ed and update w/o epub. 2020-10-22 12:46:36 -05:00
Jim Miller
7b2aaee4ea Remove some commented out dev code. 2020-10-22 12:10:05 -05:00
Jim Miller
2bd6435e72 Do 'not an anthology' dialog outside busy_cursor 2020-10-22 12:02:07 -05:00
Jim Miller
9dbe543dc9 Fix regression in collision translation with email immediate 2020-10-21 10:38:25 -05:00
Jim Miller
e260b32014 Add icons to actions-by-mode menus. 2020-10-21 10:38:25 -05:00
Jim Miller
c9297dd0c4 Working on many-mode-menu feature--also fixing collision translation. 2020-10-21 10:38:25 -05:00
Jim Miller
5264a15e68 Working on many-mode-menu feature--also fixing collision translation. 2020-10-21 10:38:25 -05:00
Jim Miller
7b4a3333e7 Working on many-mode-menu feature--also fixing 'checked' parameter from menu actions. 2020-10-21 10:38:25 -05:00
Pk11
c9d7092f3a Add mappings formats of a few strings
So translations can change the order of the variables
2020-10-20 10:08:40 -05:00
Jim Miller
31c5696cd1 Improve menus setVisible(False)--also disables. 2020-10-18 17:05:13 -05:00
Jim Miller
7c2fac6b7a Change from menus disable to setVisible(False). 2020-10-18 16:29:32 -05:00
Jim Miller
08cadaea10 Changes to always have all FFF shortcut/menu items present plus submenus. 2020-10-17 16:37:56 -05:00
Jim Miller
b2bb03921c Add status to AO3 series collection. 2020-10-01 13:28:20 -05:00
Jim Miller
a9c87f4ecf Add get_urls_from_page() and get_series_from_page() to adapters, add
support.
2020-09-24 13:43:02 -05:00
Jim Miller
12ac620d71 Fix anthology comments for changes in how Calibre handles them. 2020-09-04 20:55:37 -05:00
Jim Miller
d4d3226803 Fix for Anthology bug when no story has a series. 2020-08-30 17:04:45 -05:00
Jim Miller
f4b9431603 Add a 'shouldn't happen' error check for anthology merge. 2020-08-24 13:43:24 -05:00
Jim Miller
e5bd062c26 Show busy cursor during anthology merge & update. 2020-08-20 16:16:11 -05:00
Jim Miller
e1d087733f For anthologies, look for common val in numbered series00 if not all share 'series'. 2020-07-15 13:46:51 -05:00
Jim Miller
fe6e0263b8 Add 'Series [0]' option for new anthologies. 2020-07-15 12:12:51 -05:00
Jim Miller
3a23924721 Check for epub before polishing cover into it. 2020-06-17 17:15:33 -05:00
Jim Miller
54409dd083 Fix for collision issue with translations and email direct d/l. 2020-06-04 17:26:41 -05:00
Jim Miller
f59f1d0b37 Make sure all timestamps are using Calibre's local_tz. 2020-03-24 20:18:06 -05: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
bfc9c8b45c Make sure storyUrl has &->& 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
Eli Schwartz
18804a52cf py3: add various python-six fixes 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
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
dc77754c1a python3: use modern exception syntax 2019-12-17 10:44:06 -06:00
Jim Miller
816237116d Add to debug output to plugin. 2019-12-02 13:52:28 -06:00