Timmy Welch
103379e548
Split settings out into a separate package
2022-12-14 23:16:54 -08:00
Timmy Welch
18566a0592
Fix setting cmdline arguments
2022-12-13 08:50:08 -08:00
Timmy Welch
f3917c6e4d
Add comments to tests
2022-12-10 18:05:27 -08:00
Timmy Welch
e9cef87154
Move test cases to the testing package
...
Add comments to tests
2022-12-06 17:00:21 -08:00
Timmy Welch
53445759f7
Add tests
2022-12-06 00:22:51 -08:00
Timmy Welch
0302511f5f
Settings tests
2022-12-06 00:22:48 -08:00
Timmy Welch
19112ac79b
Update Settings
2022-12-06 00:20:01 -08:00
Timmy Welch
fc4eb4f002
Cleanup
...
Move most options passed in to ComicVineTalker to ComicTalker
Give ComicCacher and ComicTalker a version argument to remove all
references to comictaggerlib
Update default arguments to reflect what is required to use these classes
2022-11-25 19:22:01 -08:00
Timmy Welch
005d7b72f4
Fix tests
2022-11-25 19:21:54 -08:00
Timmy Welch
91b863fcb1
Merge branch 'mizaki-infosources' into dev
2022-11-25 19:21:25 -08:00
Timmy Welch
c5a5fc8bdb
Fix issue with combine_notes
2022-11-24 01:24:15 -08:00
Mizaki
093d20a52b
Remove all the cool settings changes.
2022-11-18 23:18:41 +00:00
Mizaki
c34902449f
Merge branch 'develop' into infosources
...
# Conflicts:
# comictaggerlib/cli.py
# comictaggerlib/comicvinetalker.py
# comictaggerlib/taggerwindow.py
# tests/comicvinetalker_test.py
# tests/conftest.py
2022-11-07 01:50:47 +00:00
Timmy Welch
c469fdb25e
Make 7zip support optional
2022-11-06 08:27:45 -08:00
Mizaki
67be086638
Move map comic data to utils along with remove html. Alter tests.
2022-11-05 16:49:59 +00:00
Mizaki
a724fd8430
Compensate for a split empty string returning ['']. I don't see a way around this?
2022-11-05 01:21:51 +00:00
Timmy Welch
685ce014b6
Fix tests for comicvinetalker
2022-11-04 16:27:30 -07:00
Timmy Welch
d55d75cd79
Append notes instead of overwriting them
...
Add issue_id to GenericMetadata
2022-11-04 15:39:40 -07:00
Mizaki
b4f6820f56
remove_fetch_alternate_cover_urls.patch
2022-11-03 23:32:35 +00:00
Mizaki
870dc5e9b6
Move issue_id to first position of fetch_comic_data as most used.
2022-10-30 17:52:55 +00:00
Mizaki
d7976cf9d2
Hack tests.
2022-10-30 11:16:03 +00:00
Mizaki
561dc28044
Don't proxy talker (really this time). Remove talker custom logging. Move static_options and settings_options to root of class object. Temp hack to keep talker menu genration working until settings revamp.
2022-10-27 23:36:57 +01:00
Mizaki
4514ae80d0
Switch to API data for alt images, remove unneeded functions and removed async as new approach needed. See comments about fetch_partial_volume_data
2022-10-26 00:29:30 +01:00
Mizaki
c5ad75370f
Work around having to scrape alt covers from CV. Use cache to get issue page url for scrape.
2022-10-24 16:30:58 +01:00
Mizaki
d23258f359
Change ComicVolume, ComicIssue to image_url and image_thumb_url. Add/change search/volume DB layout to remove duplication of data. Fixup some test.
2022-10-23 22:40:15 +01:00
Mizaki
e1ab72ec2a
Rename super_url to image_url in comiccacher. Merge fetch_issue_data_by_issue_id into fetch_comic_data. Fill comic volume info in comiccacher:get_volume_issues_info
2022-10-19 19:33:51 +01:00
Mizaki
43464724bd
Convert all start_year to int.
2022-10-15 23:20:50 +01:00
Mizaki
34163fe9d7
Update the comicvine_api fixture in conftest.py to actually return the comicvinetalker.
2022-10-15 02:02:10 +01:00
Mizaki
c1c8f4eb6e
black
2022-10-12 00:11:57 +01:00
Mizaki
a14c24a78a
Fix for issueidentifier_test
2022-10-11 16:52:41 +01:00
Mizaki
18d861a2be
More test fixes that may need to be looked at further.
2022-10-09 23:43:52 +01:00
Mizaki
ac15a4dd72
More test fixes.
2022-10-06 01:14:03 +01:00
Timmy Welch
4034123e6d
Fix rar tests again
2022-10-02 21:47:07 -07:00
Timmy Welch
5587bfac31
Fix rar tests
2022-10-02 21:13:26 -07:00
Timmy Welch
4b6d35fd3a
Fix CBL tagging
2022-10-02 19:33:12 -07:00
Timmy Welch
30dbe758d4
Fix windows tests
2022-09-19 22:52:45 -07:00
Timmy Welch
55384790f8
Forcefully raise an OSError on windows
2022-09-17 01:59:15 -07:00
Timmy Welch
acaf5ed510
Fix issues with renaming
...
Stop a crash when renaming
Properly handle replacements on linux/macos
2022-09-17 01:28:26 -07:00
Timmy Welch
bc25acde9f
Fix sorting
...
Switch natsort to use os_sorted
Remove directories when returning a list of files in a comic
Update tests to account for '!cover.jpg'
2022-09-10 19:48:50 -07:00
Timmy Welch
03677ce4b8
Fix renaming
...
Make ComicArchive.path always absolute
Fix unique_file not preserving the extension
Fix incorrect output when renaming in CLI mode
Fix handling of platform when renaming
2022-08-19 20:20:37 -07:00
Timmy Welch
be983c61bc
Fix #353
...
The two primary cases fixed are:
Ms. Marvel
spider-man/deadpool
The first issue removed 'Ms.' which is a problem as many comics have
series that the only difference in the title is the
designation/honorific.
The second issue is that the '/' was removed and not replaced with
anything causing a search for 'mandeadpool' which will not show useful
results.
Consequently all designations/honorifics are now untouched
All punctuation is replaced with a space
2022-08-12 07:10:36 -07:00
Timmy Welch
77a53a6834
Update dependencies
...
Includes changes from pyupgrade
2022-08-10 20:55:46 -07:00
Timmy Welch
f17f560705
Fix tests on windows
...
Make the speedup dependency to thefuzz optional it requires a C compiler
2022-08-08 19:03:25 -07:00
Timmy Welch
aadeb07c49
Fix issues
...
Refactor add_to_path with tests
Fix type hints for titles_match
Use casefold in get_language
Fix using the recursive flag in cli mode
Add http status code to ComicVine exceptions
Fix parenthesis getting removed when renaming
Add more tests
2022-08-08 18:05:06 -07:00
Timmy Welch
f2a68d6c8b
Fix rename and add test
2022-07-29 22:05:03 -07:00
Timmy Welch
94be266e17
Handle the 'primary' key missing in get_primary_credit
...
Fixes #342
Add better exception handling for the formatter
2022-07-27 23:24:34 -07:00
Timmy Welch
5a19eaf9a0
Fix serializing of sets
2022-07-25 11:22:44 -07:00
Timmy Welch
6e7660c3d9
Tests
...
Add tests for IssueIdentifier
Change tags to a set from a string
Add copy and replace convenience functions on GenericMetadata
Update deprecated resampling code for Pillow
Change comicvine test data to be the same as the test comic
Cleanup tests
2022-07-18 12:06:49 -07:00
Timmy Welch
c0880c9afe
Account for aliases field from CV
2022-07-13 23:11:14 -07:00
Timmy Welch
a00891f622
Add more tests
2022-07-13 22:27:31 -07:00