Jim Miller
68bb6f6fcf
Don't set marked in Calibre when book_id is None #833
2022-05-22 14:24:40 -05:00
Jim Miller
5fd455b981
Fix some indenting
2022-04-26 10:45:23 -05:00
Jim Miller
a086de264c
PI: Check for existing anthology ebook on new anthology from series URL.
2022-04-05 09:45:03 -05:00
Jim Miller
c97407ae56
Remove all Qt4 imports.
2022-01-11 16:07:00 -06:00
Jim Miller
1e46c97bbd
Adding plugin feature to Mark anthologies when individual story skipped. See #786
2022-01-04 13:05:44 -06:00
Jim Miller
97fe1bbcf6
Remove some debugs.
2021-09-22 21:57:02 -05:00
Jim Miller
66ed3478cd
Fix for FFF plugin not recognizing the same ffnet story URL when the title changes.
2021-09-16 19:09:10 -05:00
Jim Miller
e859aa23bf
More 'correct' fix for missing URL on anthology update. Reverses fcf8dc2cde
2021-08-09 13:29:23 -05:00
Jim Miller
fcf8dc2cde
Keep existing series/anthology URL during update for config purposes.
2021-08-09 12:54:12 -05:00
Jim Miller
1dbfed1be2
Also save error column on new books because chapter errors now making it meaningful.
2021-06-27 11:25:05 -05:00
Jim Miller
a020de9f99
PI: Only update author link (AKA authorUrl) in Calibre if changed. Only
...
really affects older versions of Calibre. Calibre does the same
starting around Sept 2020.
2021-06-01 10:33:00 -05:00
Jim Miller
4fb60c0a9c
import changes for arch linux system plugins - As submitted by eli-schwartz
2021-04-16 11:16:29 -05:00
Jim Miller
8e9a734299
PI: imports from calibre_plugins.fanficfare_plugin.fanficfare not .fanficfare.
2021-04-13 21:58:38 -05:00
Jim Miller
eba91eaf65
Fix for browser_cache with bgmeta.
2021-02-16 15:24:18 -06:00
Jim Miller
9562794e24
Allow tweak_fg_sleep etc with any site, add defaults settings for basexenforo, fictionalley and fictionpress.
2021-02-10 12:38:22 -06:00
Jim Miller
1bc524db2d
Fix notifications for BG proc per site, reinstate pool_size=Calibre cpus setting.
2021-02-08 14:29:40 -06:00
Jim Miller
14f3d71f70
Browser cache sharing in plugin too.
2021-02-03 12:54:40 -06:00
Jim Miller
eb04b3b7e4
Rename pagecache basic_cache.
2021-02-01 17:50:10 -06:00
Jim Miller
e1c27f8841
Merge branch 'fetch_refactor' into master
2021-01-31 10:47:06 -06:00
Jim Miller
03ebc65f6b
Refactor autosave cookie/cache in CLI, etc.
2021-01-31 10:32:42 -06:00
Jim Miller
3c20a4c247
BasicCache save/load working.
2021-01-31 09:53:42 -06:00
Jim Miller
6695b9a846
get_section_url for rejects
2021-01-30 15:01:46 -06:00
Jim Miller
0c0534ea74
Refactor set_sleep(_override) a bit better.
2021-01-29 18:06:09 -06:00
Jim Miller
d237ac849c
Plugin: Only run one BG download at time.
2021-01-28 20:23:37 -06:00
Jim Miller
20b5b8fb95
Plugin: Only run one BG download at time.
2021-01-28 20:03:42 -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
Jim Miller
45e336b61e
Add plugin option for toolbar button to pop menu.
2019-11-22 21:41:29 -06:00
Jim Miller
31182e18fc
Closes #466 - Remove feature to save cookiejar between downloads and BG jobs--causes some obscure problems with QQ at least.
2019-11-17 11:36:07 -06:00
Jim Miller
96aeab1ddf
Adding a little debug output.
2019-11-09 10:17:45 -06:00
Jim Miller
dff90a10df
Discard cookie cache on library change--might use different users/settings.
2019-11-03 16:49:07 -06:00
Jim Miller
e9d313f4ab
Save cookiejar between downloads during same calibre session, including BG jobs.
2019-10-26 11:16:46 -05:00
Jim Miller
defa942a29
Additional warnings about imaptags added to manually added story URLs. Plus confirm(show_cancel_button=False) where appropriate.
2019-10-01 20:10:28 -05:00
Jim Miller
fbf6a48020
Add feature to automatically add optional tags for stories downloaded from email URLs.
2019-09-12 10:37:12 -05:00
Jim Miller
cc6ccff2b4
Fix for reportorder results when not BG'ed.
2019-07-13 09:22:55 -05:00
Jim Miller
ac72c19676
Plugin: Group reported results better.
2019-07-12 21:54:05 -05:00
Jim Miller
46645c5b93
Change metadata separator to ' & ' when filling 'Contains names' custom columns.
2019-06-13 13:54:48 -05:00
Jim Miller
cbcfd32464
Fix for yet more arbitrary py3 changes breaking code. Fixes #400
2019-06-08 08:26:25 -05:00
Jim Miller
dffb4d3168
Add 'publisher' metadata as a copy of 'site' and use to fill Publisher in Calibre.
2019-05-16 14:54:33 -05:00
Jim Miller
7e80dacd92
Removing all filter()/map() calls--not consistent between Py2/Py3.
2019-05-14 13:12:54 -05:00
Eli Schwartz
c8362433e2
optimization: do not use filter just to get counts of a list
...
This breaks in python3, because filter returns an iterable filter
object, and it's anyways wrong on python2, because it does extra work to
create a list only to discard it. The best way to do this is to test
each member of the list and abort early as soon as we get the info we
need (that it is non-zero). Or alternatively use sum with a generator
expression.
2019-05-13 13:06:35 -05:00
Jim Miller
0bbe27b9e9
Fix for anthology titles (and generate cover settings) not needing encode() anymore.
2019-05-06 14:15:58 -05:00
Jim Miller
3e5de53984
More fixing for bool metadata values--convert to string when set.
2019-04-14 15:05:27 -05:00
Jim Miller
d423100e6b
Update copyright.
2019-01-15 10:38:53 -06:00
Jim Miller
d1849d807c
Ignore current Virtual Library when checking for existing story ID.
2019-01-09 12:21:15 -06:00
Jim Miller
e1adbcf128
Refactor busy_cursor, busy cursor around saving rejects & settings, bump copyright years.
2018-11-11 09:58:07 -06:00
Jim Miller
f86d7d39b8
Fix for problem with new collision code and rejected URL.
2018-10-18 13:27:27 -05:00
Jim Miller
8d39ad037e
Fix for Calibre Metadata update called with URLs not in library.
2018-10-15 15:05:59 -05:00
Jim Miller
a660b8e023
Add fix calibre title/author cases options, move force title/author sort values to Standard Columns config Tab.
2018-09-27 14:06:39 -05:00
Jim Miller
6717fbfd89
Restore cursor in finally: clauses in case of issues.
2018-08-30 12:56:17 -05:00
Jim Miller
3661966a9b
Calibre Plugin: Remove ebook formats before update, overwrite or unnew so that the previouis version ends up in trash instead of just copied over.
2018-06-22 18:02:35 -05:00
Jim Miller
4828a63e22
Clarify some tooltip text and add 'FFF Frozen URL' feature.
2018-05-24 12:31:51 -05:00
Jim Miller
d521cfdcf0
Consolidate URL chapter range code and apply to CLI for #302 .
2018-05-08 15:27:42 -05:00