Commit Graph

173 Commits

Author SHA1 Message Date
Timmy Welch
71fa3a57e0 Fix Tag test 2025-09-01 18:33:10 -07:00
Timmy Welch
88908691d1 Update most things to use a Tag directly 2025-09-01 18:33:10 -07:00
Timmy Welch
19495b6e36 Tests 2025-09-01 18:33:10 -07:00
Timmy Welch
91b5d3ce5d Redesign comic files 2025-09-01 18:33:10 -07:00
Timmy Welch
371c457d5b Fix tests 2025-09-01 18:33:10 -07:00
Timmy Welch
acb1d2951f Update comictaggerlib and comicapi for exception handling 2025-09-01 18:33:10 -07:00
Timmy Welch
9137cee3cd Fix edgecases with filerenaming
Add warnings in gui for sub-optimal rename templates
Fix using lists when renaming
Explicitly disallow fields starting with `_`
Mark credit roles with prefix `credit_` so that values will properly
  return None for unkown roles
Add `credit_item_` prefix to allow direct usage of the credit class

Make filename tests more readable
2025-08-10 19:42:40 -07:00
Timmy Welch
98c3ea23ff Parse a new weird filename
Lexer now matches month/day names ran together (eg Aug23)
Parser:
  Now strips off an apostrophe ' in front of a 4 digit number
  Now automatically activates skip if it's found c2c
    or there are >= 3 bracket groups
  Skips a < 3 digit number after a month/day name assuming it is the
    day of the month
2025-08-10 15:47:52 -07:00
Timmy Welch
e540ebe3a4 Fix tests 2025-08-10 15:36:04 -07:00
Timmy Welch
e816232e59 Filerenamer enhancements
Allow None replacements to reference other fields
Only do standard replacements and duplicate space removal on field values
Remove filename sanitation of field values
    Filename sanitation is performed when doing the actual move
2025-07-01 19:21:19 -07:00
Timmy Welch
c9d0420102 Fix sanitize_title for ComicVine search
Fixes #767
2025-06-29 17:37:11 -07:00
Timmy Welch
12f1d11ee8 Merge branch 'mizaki/issue_hash_cover' into develop 2025-05-05 00:20:57 -07:00
Timmy Welch
c9e368bf3f Speedup ComicArchive access fixes #728
Fix invalid zip test
Removing the check on each file inside of the zip, invalid zip files may still be opened but don't really matter in this case
Cache reading the filename list
Add a list of supported extensions to check first for an archiver
Remove unnecessary calls to rar executable
Fix limiter on integration test
Remove excess processEvents calls
Fix unnecessary calls when inserting into the FileSelectionList
2025-05-02 13:42:01 -07:00
Timmy Welch
b5eba8d715 Fix difference_hash 2025-04-22 21:08:10 -07:00
Mizaki
506fac03c7 Use ImageHash solely 2025-04-17 23:48:53 +01:00
Mizaki
085b599bc4 Parametrise cover match test and add ImageHash data 2025-02-23 18:11:40 -08:00
Timmy Welch
39a4a37d7c Add tests 2024-09-19 19:03:30 -07:00
Timmy Welch
234d9e49fe Fix test 2024-09-17 15:32:01 -07:00
Timmy Welch
58f71cf6d9 Remove archived tags from tests 2024-09-12 13:17:06 -07:00
Timmy Welch
fab30f3f29 Add experimental quick-tag 2024-08-18 19:16:55 -07:00
Timmy Welch
2cb6caea8d Ignore update with incomplete data when complete data is already cached 2024-08-16 17:05:28 -07:00
Timmy Welch
ffdf7d71e1 Fix tests 2024-08-16 12:50:14 -07:00
Timmy Welch
8709ef301d Fix failing test 2024-08-03 23:11:31 -07:00
Timmy Welch
a7a9d38428 Make ImageMetadata a dataclass 2024-07-27 19:23:37 -07:00
Timmy Welch
76a92c8431 Fix test 2024-06-23 00:04:33 -07:00
Timmy Welch
3389c72a63 Merge branch 'help-messages' into develop 2024-06-21 19:53:30 -07:00
Timmy Welch
69a9566f42 Update all references of saved 'matadata' to 'tags' 2024-06-20 16:47:10 -07:00
Timmy Welch
6132af3bb5 Support niquests 2024-06-09 13:09:26 -07:00
Timmy Welch
e864e2db48 Re-arrange settings 2024-05-21 19:57:47 -07:00
Mizaki
a40438d38c Separate list merge into a separate option (lordwelch) 2024-05-11 16:42:24 +01:00
Mizaki
3d443e0908 lordwelch rewrite 2024-05-11 02:04:43 +01:00
Mizaki
71b79bdc91 Move some overlay test data to testing/comicdata.py 2024-05-11 02:02:01 +01:00
Mizaki
8b0683f67c Add OverlayMode options for read style and data source 2024-05-11 01:56:06 +01:00
Mizaki
0bbdaa96cf Split command line `--type arg into --type-modify for modify styles and --type-read for read styles 2024-04-29 00:51:40 +01:00
Timmy Welch
d63123b77b Add tests for prepare_metadata 2024-04-28 13:53:41 -07:00
Timmy Welch
8b4bf8d51f Allow preserving the original filename when moving 2024-04-27 19:25:33 -07:00
Timmy Welch
064795fac9 Fix prepare_metadata 2024-04-27 16:43:51 -07:00
Timmy Welch
8bcd51f49b Improve commandline metadata override
Change parse_metadata_from_string to yaml syntax
Add a special value to remove existing values when metadata is overlayed
2024-04-06 12:03:01 -07:00
Timmy Welch
de084ffff9 Fix string value of GenericMetadata 2024-04-06 12:02:21 -07:00
Timmy Welch
bad8b85874 Fix tests 2024-02-24 18:30:41 -08:00
Timmy Welch
f382c2f814 Update Tests 2024-02-23 20:47:22 -08:00
Timmy Welch
2eca743f20 Fix #602
Tests were not made correctly to catch the change in 2c3a2566cc
This has now been corrected
2024-02-18 17:31:00 -08:00
Timmy Welch
8ec16528ab Implement local plugins 2024-02-10 21:00:24 -08:00
Timmy Welch
69615c6c07 Fix hash and test 2024-02-10 15:02:24 -08:00
Timmy Welch
bb1a83b4ba Fix the rename command 2024-01-21 14:01:11 -08:00
Timmy Welch
539aac1307 Fix clearing lists via the '-m' option Fixes #587 2024-01-14 13:38:11 -08:00
Timmy Welch
c3a8221d99 Return an empty object if an archive does not have the requested style 2023-12-18 16:59:31 -08:00
Timmy Welch
9c231d7e11 Add better page info handling
Rename set_default_page_list to apply_default_page_list and apply
 during read_metadata
Add a filename attribute to the ImageMetadata class
Mark image_index as required
Always sort the page name list, a comic application will never need the
 unsorted list of names
Assign the first result from get_cover_page_index_list to coverImage in
 CoMet tags
Allow an Archiver to be passed to the ComicArchive constructor
2023-12-18 02:37:34 -08:00
Timmy Welch
ae5e246180 Add plugin support for metadata 2023-12-17 21:47:43 -08:00
Timmy Welch
45643cc594 Add integration tests 2023-12-17 16:24:32 -08:00