Commit Graph

987 Commits

Author SHA1 Message Date
Mizaki
b72fcaa9a9 Add source field to cache DB.
Add source to cache db.

Rename comicvinecacher to comiccacher and update refs.

Fix comment spacing.

Move source_name to end to reduce changes.

Move source_name to end to reduce changes. Fixed.

Fix syntax.

Fix various issues with DB changes.

Move new source_name to bottom.

Remove source_name from CV_.

Revert id to volume_id
2022-07-05 11:29:10 -07:00
Timmy Welch
3ddfacd89e Fix #325
The aspect ratio mode was missed in b9af606
2022-07-04 18:03:18 -07:00
Timmy Welch
6eb5fa7ac7 Fix #324
Co-authored-by: Mizaki <jinxybob@hotmail.com>
2022-07-04 15:53:44 -07:00
Timmy Welch
68efcc74fb Updates
Use casefold in place of lower
Make lint job fail if errors are detected
Use join instead of utils.list_to_string
Simplify get_recursive_filelist with the glob library
Fix handling of un-parseable numbers in xlate
2022-07-01 16:22:01 -07:00
Timmy Welch
3d84af3746 Convert GenericMetadata to a dataclass
dataclasses allow for simple comparison and object creation

Add more tests
2022-07-01 16:15:43 -07:00
Timmy Welch
cb5b321539 Update filerenamer
Remove space separated right partition of previous literal text
2022-06-26 01:53:40 -07:00
Timmy Welch
20ec8c38c2 Fixes
Add importlib_metadata to requirements.txt
Add comments stating origin of new parser
2022-06-23 22:59:09 -07:00
Timmy Welch
8bdf91ab96 Merge branch 'rating' into develop 2022-06-23 18:13:34 -07:00
Timmy Welch
fbbd36ab4d make tests and testing proper modules 2022-06-23 13:27:36 -07:00
Timmy Welch
95643fdace Fix community rating
The user rating control is replaced with critical rating which is now
represented as a float.
utils.xlate has been updated to have an is_float parameter
Metadata is reloaded on save so that changes can be seen
e.g. for CBL tags the critical rating field only stores integers
2022-06-23 13:18:42 -07:00
Timmy Welch
6c65c2ad56 Make importlib usage compatible with python 3.9 2022-06-23 13:05:27 -07:00
Timmy Welch
292a69a204 Allow pushes to run CI again 2022-06-10 16:32:21 -07:00
Timmy Welch
5c6e7d6f3e Allow multiple types to be specified using -t fixes #24 2022-06-10 16:20:58 -07:00
Timmy Welch
7e033857ba Replace pkg_resources with importlib.metadata 2022-06-10 16:18:58 -07:00
Timmy Welch
d9c02b0115 Allow changing the ComicVine URL fixes #104 2022-06-10 15:23:58 -07:00
Timmy Welch
b9af606f87 Improve filename parsing and cover image scaling
Cover image scaling now uses the smooth transformation option in Qt
Filename parsing now identifies a single number as a filename
e.g. '52.cbz' gets parsed as issue: 52 and series: 52
2022-06-09 12:31:57 -07:00
Timmy Welch
d3c29ae40a Ignore tags on the CI workflow 2022-06-08 09:06:46 -07:00
Timmy Welch
ff73cbf2f9 Fix small issues
Fix spelling errors
Remove Redundant exception types
Remove dead code
Change the forum link to point to GitHub discussions
2022-06-07 20:22:33 -07:00
Timmy Welch
3369a24343 Update GitHub Actions
Separate release/packaging and CI
Add an ignore for flake8 on ctversion.py as it is generated
Cleanup unused portions of the makefile
Use 'build' to generate PyPi distribution
Python venv on windows uses the Scripts directory
2022-06-07 19:39:01 -07:00
Timmy Welch
ce693b55f1 Fix file write semantics for Windows 2022-06-07 12:53:27 -07:00
Timmy Welch
db37ec7204 Add a literal search option 2022-06-07 12:16:23 -07:00
Timmy Welch
470b5c0a17 Fix adding files to GUI via running ComicTagger with more filenames
Add flake8-print to ensure all logging uses the logging package
2022-06-06 20:04:51 -07:00
Timmy Welch
04409a55c7 Handle more exceptions
Handle exceptions during metadata save fixes #309
Handle exceptions during metadata read fixes #126 and #309
2022-06-06 20:04:51 -07:00
Timmy Welch
bb7fbb4e38 Add pre-commit.ci config 2022-06-06 20:04:34 -07:00
Timmy Welch
5bb48cf816 fix rar test 2022-06-06 20:04:34 -07:00
Timmy Welch
b5e6e41043 Add a log window to see the current log 2022-06-06 20:04:34 -07:00
Timmy Welch
62d927a104 Fix #308
Add null check when loading community_rating
Use iterators instead of while loops
2022-06-05 15:23:20 -07:00
Timmy Welch
4c9fa4f716 Update template help and default template 2022-06-02 18:32:41 -07:00
Timmy Welch
e8fa51ad45 Ensure comicapi is as consistent as possible 2022-06-02 18:32:33 -07:00
Timmy Welch
fd4c453854 Apply pre-commit configuration 2022-06-02 18:32:16 -07:00
Timmy Welch
c19ed49e05 Move to argparse for argument parsing 2022-06-02 18:28:54 -07:00
lordwelch
36adf91744 Merge branch 'MichaelFitzurka-feature/301-double-page-modified' into develop 2022-05-24 11:45:08 -07:00
lordwelch
8b73a87360 Merge branch 'cleanup' into develop 2022-05-24 11:44:54 -07:00
lordwelch
8c591a8a3b Remove unused imports 2022-05-24 11:44:26 -07:00
lordwelch
c5772c75e5 Cleanup setCheckState
Fix word splitting when auto-tagging
Remove commented code
2022-05-24 11:38:10 -07:00
lordwelch
ff02d25eea Merge branch 'tests' into develop 2022-05-24 11:30:38 -07:00
lordwelch
98a7ee35ee Add tests 2022-05-24 11:30:25 -07:00
lordwelch
59d48619b1 Merge branch 'volume' into develop 2022-05-24 11:30:15 -07:00
lordwelch
10056c4229 Improve volume handling
Include changes by @gramster from #120
During filename parsing set the issue to the volume if there is no issue
2022-05-24 11:27:24 -07:00
Michael Fitzurka
7e772abda7
Toggled to Clicked 2022-05-24 10:25:44 -04:00
Michael Fitzurka
09ea531a90
Fixing double page always flagging as modified 2022-05-23 09:46:46 -04:00
lordwelch
710d9bf6a5 Fix packaging issues
Add wordninja datafile to pyinstaller
Add publishers.json to the correct package
2022-05-20 00:19:33 -07:00
lordwelch
bb81f921ff Fix Qt typing references to strings 2022-05-19 22:29:46 -07:00
lordwelch
1468b1932f Fix crash on startup
Add publishers.json to pip package
Add exception handling to prevent crash
2022-05-19 20:13:59 -07:00
lordwelch
74d95b6a50 Add typing_extensions 2022-05-19 18:17:22 -07:00
lordwelch
d33fb6ef31 Fix build errors
Add wordninja to requirements.txt
Fix typing to allow unrar-cffi to be optional
2022-05-19 18:08:05 -07:00
lordwelch
4201558483 Merge branch 'wordSplit' into develop 2022-05-19 17:58:45 -07:00
lordwelch
983b3d08f6 Merge branch 'clearMetadata' into develop 2022-05-19 13:39:41 -07:00
lordwelch
eec715551a Allow overwriting existing metadata 2022-05-19 13:28:36 -07:00
lordwelch
d3f552173e Merge branch 'AutoImprint' into develop 2022-05-19 13:28:18 -07:00