Commit graph

4690 commits

Author SHA1 Message Date
Jim Miller
c1c18a5a87 Bump Release Version 4.10.0 2022-02-14 09:39:42 -06:00
Jim Miller
54e952748f Bump Test Version 4.9.10 2022-02-02 11:14:13 -06:00
Jim Miller
30470c8f6a adapter_fanfiktionde: Update where description comes from. 2022-02-02 11:14:07 -06:00
Jim Miller
4da7db4305 Bump Test Version 4.9.9 2022-02-01 12:36:58 -06:00
Jim Miller
23a00fb15a Correct use_flaresolverr_proxy error checking. 2022-02-01 12:36:52 -06:00
Jim Miller
951cc73e46 Merge branch 'fswithimages' 2022-02-01 09:12:32 -06:00
Nothorse
53452ca410
ReadOnlyMindAdapter: Add series_tags feature to populate series metadata (#803) 2022-02-01 09:11:47 -06:00
Jim Miller
01ba441a63 Bump Test Version 4.9.8 2022-02-01 09:10:35 -06:00
Jim Miller
582c1a6e7f Add use_flaresolverr_proxy:withimages option for FlareSolverr v1 users. 2022-02-01 09:10:35 -06:00
Jim Miller
77d1037a90 adapter_fanfictionnet: don't do skip_author_cover check without include_images:true 2022-02-01 09:10:35 -06:00
Jim Miller
52587ef69b Bump Test Version 4.9.7 2022-01-30 19:32:56 -06:00
Jim Miller
ea66ae350b Use logger.warning() not .warn() consistently. 2022-01-30 19:32:42 -06:00
Jim Miller
ad3a16f423 Force include_images:false when use_flaresolverr_proxy:true -- FlareSolverr v2.2.0 crashes on image request. 2022-01-30 19:31:52 -06:00
Jim Miller
4cf37d449e Stop passing download:true to FlareSolverr, they aren't putting it back. 2022-01-30 19:30:57 -06:00
Jim Miller
2c00752e23 Bump Test Version 4.9.6 2022-01-30 12:06:06 -06:00
Jim Miller
05e15487e4 adapter_royalroadcom: Add status 'Dropped' 2022-01-30 12:05:51 -06:00
Jim Miller
99236e82ad Bump Test Version 4.9.5 2022-01-30 09:59:16 -06:00
Nothorse
b9f5686a3c
readonlymind adapter (#801)
New Site: readonlymind.com, thanks Nothorse
2022-01-30 09:57:48 -06:00
Jim Miller
b99a7fe494 Bump Test Version 4.9.4 2022-01-29 10:19:16 -06:00
Jim Miller
f028bc9b6c adapter_royalroadcom: Add status 'Hiatus' Closes #800 2022-01-29 10:19:03 -06:00
Jim Miller
bd1bfbfaf9 base_efiction: Add 'Igen' as equiv to 'Yes, Completed' in Hungarian 2022-01-29 10:17:40 -06:00
Jim Miller
f61696fb3f Remove defunct site: hpfanficarchive.com 2022-01-24 11:15:27 -06:00
Jim Miller
f47f859de0 Bump Test Version 4.9.3 2022-01-23 10:13:45 -06:00
Jim Miller
6a18f3509b Remove fanfic.hu, moved to merengo.hu, but don't know if old storyIds are valid. 2022-01-23 10:13:11 -06:00
Jim Miller
02734791cd Add merengo.hu as eFiction with added consent click through. 2022-01-23 10:09:46 -06:00
Jim Miller
6194f3d9e7 Bump Test Version 4.9.2 2022-01-20 11:24:00 -06:00
Jim Miller
197c6dde81 Extend base_xenforoforum tagsfromtitle for ')(' '][' 2022-01-18 10:54:03 -06:00
Jim Miller
ea87916f4b Fix for py2 for base_xenforoforum tagsfromtitle. 2022-01-18 10:53:12 -06:00
Jim Miller
b710bdaafd Add flaresolverr_proxy settings to defaults.ini 2022-01-14 11:01:27 -06:00
Jim Miller
7b2d6a91fb Bump Test Version 4.9.1 2022-01-11 16:32:04 -06:00
Jim Miller
c7a542fd17 qt6 QFont.Normal/Bold & QTextEdit.NoWrap 2022-01-11 16:30:46 -06:00
Jim Miller
fa2b3c9511 Remove setTabStopWidth from raw prefs viewer--changed in qt6 and not needed. 2022-01-11 16:20:59 -06:00
Jim Miller
d6258ab74d Remove unneeded QTableWidgetItem.UserType 2022-01-11 16:07:00 -06:00
Jim Miller
f633ef8137 Remove dead convert_qvariant() code. 2022-01-11 16:07:00 -06:00
Jim Miller
a4c6fd9ff7 Replace QTextEdit.setTabStopWidth with setTabStopDistance 2022-01-11 16:07:00 -06:00
Jim Miller
0812d13003 Fix for QTableWidgetItem.UserType 2022-01-11 16:07:00 -06:00
Jim Miller
c97407ae56 Remove all Qt4 imports. 2022-01-11 16:07:00 -06:00
Jim Miller
b2b56e6366 Bump Release Version 4.9.0 2022-01-11 15:58:22 -06:00
Jim Miller
78e3689062 Remove removed fictionalley site from plugin-example.ini 2022-01-10 11:59:13 -06:00
Jim Miller
9f77f3a60d Bump Test Version 4.8.8 2022-01-10 09:09:18 -06:00
Jim Miller
db85c2c4b3 Update translations. 2022-01-10 09:09:06 -06:00
Jim Miller
dc26cef572 Update defaults.inis for Chrome's new Cache_Data dir. 2022-01-10 09:07:39 -06:00
Jim Miller
bc149a2deb Bump Test Version 4.8.7 2022-01-04 13:06:16 -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
790744c9e1 fictionhunt.com isn't requiring login anymore. Closes #784 2022-01-04 09:58:23 -06:00
Jim Miller
033c38fc91 Bump Test Version 4.8.6 2021-12-21 12:58:28 -06:00
Jim Miller
825a2070c5 Re-sync defaults.ini & plugin-defaults.ini 2021-12-21 12:58:28 -06:00
Jim Miller
5128dc6743 Strip base_xenforoforum tagsfromtitle with commas. Addresses final issue in #782 2021-12-21 12:58:28 -06:00
gesh
8828e1fc28 Fix nested []/()
Problem was regexes treated `[,(` and `],)` equally, considering eg
`[..)` balanced.

Considering `()` is also used within titles without signifying tags, it
might be worth investigating only matching that kind of bracketed tag at
the end of the title.

Closes: #783
2021-12-21 12:58:28 -06:00
hseg
a43949d123
Refactor main() in cli.py (#781)
* main: Replace return by explicit calls to exit()

In anticipation of breaking out these sections in their own functions

* Make doc-getting flags shortcut

This saves on pointless validation/setup work when only getting help
information. Moreover, these were the only actions that were in the
middle of the parse/validate/setup/run core logic of main(), moving them
out clears the way to cleanly breaking it up.

Removes -v alias for --version. If this is undesirable, a trick similar
to that for --sites-list can be used to shortcut it as well.

* Move up flag implication logic, var renaming

These are "virtual flags", should be set up asap after actual flags are
setup. Ideally, these would be set up in arg parsing, but this is
sometimes impossible/impractical.

Future improvement: use callbacks to say eg --updatealways sets
options.update, options.updatealways

* Move up validation

Fail fast if the arguments are invalid

* Internalize list_only into options

Helps keep related state together

* Pack up configs, printers for easier passing

* Break up main() into phases

* Remove unnecessary semicolon

* Unbundle configs, printers

This reverts commit 5dd44bbfc3.
Revertion reasons:
1) Initial commit was broken -- it reordered parameters in invocations
   to `get_config()`. This happened because python complained about
   invocations of the form `f(x,**d,z)` -- positional parameters may not
   appear after kwarg expansion. I mistakenly believed kwarg expansion
   would consume the slots of those parameters, and so this code would
   be equivalent to `f(x,z,**d)`. Instead, this passes `z` to the second
   positional parameter, which luckily enough had a key contained in `d`
   so it only caused a TypeError over the multiple values for that
   parameter.
2) To maintain the vision of the original commit would require multiple
   pessimizations *over* the previous state. Specifically:
   1) Using our running example of invocations of the form `f(x,**d,z)`,
      we'd need to turn `z` into a keyword argument. Since Python has no
      way of writing "`z` is a keyword argument whose value is taken
      from the current scope", that forces writing `f(x,**d,z=z)`.
      (Even if a proposal like <https://lwn.net/Articles/818129/> is
      accepted, we wouldn't be able to use it since we need to support
      Python 2)
   2) `dispatch()` uses `fail` internally. So we have one of two
      options:
      * Bundle `warn, fail` in `dispatch`'s arguments, and add a line
        `fail=printers['fail']` to the top of `dispatch`
      * Don't bundle `warn, fail` in `dispatch`'s arguments, and have
        `dispatch` bundle them instead
      Neither of these is palatable, especially over
      * Don't bundle `warn, fail` anywhere

* Restore -v alias for version

As 0847fc9 suggested might be desired
2021-12-21 12:21:02 -06:00