Commit Graph

276 Commits

Author SHA1 Message Date
Timmy Welch
b8dff44e54 Update comicapi docstrings 2025-09-01 18:33:10 -07:00
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
8261e98ae1 Fix Archive and Tag plugin definitions for exception handling 2025-09-01 18:33:10 -07:00
Timmy Welch
2758c97e0a Update isocodes 2025-09-01 17:13:21 -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
4ec2e2d11b Fix log formatting
Some checks failed
CI / lint (ubuntu-latest, 3.9) (push) Has been cancelled
CI / build-and-test (macos-13, 3.13) (push) Has been cancelled
CI / build-and-test (macos-13, 3.9) (push) Has been cancelled
CI / build-and-test (macos-14, 3.13) (push) Has been cancelled
CI / build-and-test (macos-14, 3.9) (push) Has been cancelled
CI / build-and-test (ubuntu-22.04, 3.13) (push) Has been cancelled
CI / build-and-test (ubuntu-22.04, 3.9) (push) Has been cancelled
CI / build-and-test (ubuntu-22.04-arm, 3.13) (push) Has been cancelled
CI / build-and-test (ubuntu-22.04-arm, 3.9) (push) Has been cancelled
CI / build-and-test (windows-latest, 3.13) (push) Has been cancelled
CI / build-and-test (windows-latest, 3.9) (push) Has been cancelled
Contributions / A job to automate contrib in readme (push) Has been cancelled
2025-07-17 22:14:58 -07:00
Timmy Welch
bfa9b07016 Use efficient list checks 2025-06-29 17:37:11 -07:00
Timmy Welch
c9d0420102 Fix sanitize_title for ComicVine search
Fixes #767
2025-06-29 17:37:11 -07:00
Timmy Welch
1aadf2c52a Merge branch 'Kijaru/add_gtin_identifier-762' into develop 2025-06-19 09:06:10 -07:00
Timmy Welch
0950f032c3 Use zipremove 2025-06-19 00:13:59 -07:00
Timmy Welch
653e792bfd Switch to PyQt6 2025-06-18 17:24:37 -07:00
Kijaru
66d1c5761e Removed GTIN from ComicRack 2025-05-27 00:50:01 +02:00
Kijaru
38e7789c7b Add support for GTIN identifier 2025-05-17 11:54:59 +02:00
Timmy Welch
12f1d11ee8 Merge branch 'mizaki/issue_hash_cover' into develop 2025-05-05 00:20:57 -07:00
Timmy Welch
0f1239f603 Remove probably unnecessary waits in rar code for macOS 2025-05-04 17:28:03 -07:00
Timmy Welch
f1b729129e Fix mypy types 2025-05-04 15:32:26 -07:00
Timmy Welch
77ddbf5baa pre-sort filenames fixes #705
Provides consistent ordering for numbers in names
2025-05-02 20:02:24 -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
fb629891ba Sort files before processing 2025-04-30 17:27:25 -07:00
Timmy Welch
5ee31f45a8 Fix performance when removing tags from cbz files 2025-04-30 17:26:36 -07:00
Timmy Welch
75bba1814c Remove rapidfuzz and use stdlib difflib
Results are on-par (90% the same) and this removes a dependency
2025-04-23 18:57:28 -07:00
Timmy Welch
d4bdefa9c1 Simplify zip 2025-04-22 21:04:02 -07:00
Mizaki
506fac03c7 Use ImageHash solely 2025-04-17 23:48:53 +01:00
Timmy Welch
161f2ae985 Add all pillow extensions to recognized image extensions Fixes #752 2025-04-12 14:05:07 -07:00
Timmy Welch
a87368bd09 Fix #741 2025-03-22 20:21:07 -07:00
Timmy Welch
3b5e9d8f95 Log a warning the first time we can't find rar for writing 2025-03-18 21:25:04 -07:00
Timmy Welch
3dad7c18f8 Fix removing disabled tags 2025-03-18 21:24:08 -07:00
Timmy Welch
575d36b67f Update typing 2025-03-18 19:55:28 -07:00
Timmy Welch
400092dd84 Notify user when no tags are enabled 2025-03-02 13:34:23 -08:00
Timmy Welch
c8888cdbad Mark the checksum with the "sum:" prefix in the ScanInforamtion field 2025-03-02 12:44:02 -08:00
Timmy Welch
803768b33a Allow recording the original hash 2025-03-02 12:32:40 -08:00
Mizaki
a0be90bbf5 Add URL to ImageHash and use in issue window 2025-02-28 16:55:56 +00:00
Mizaki
d2499f6bae Add ImageHash support for alternate_urls 2025-02-23 18:11:40 -08:00
Mizaki
c3f5badc7d Use source hashes for cover matching 2025-02-11 01:03:12 +00:00
Timmy Welch
8de35bdfa1 Fix default dict creating unnecessary keys 2025-01-10 16:25:10 -08:00
Timmy Welch
8fbb40bb76 Fix language and countries getting modified 2024-12-16 19:13:56 -08:00
Timmy Welch
bf0a46055a Fix parsing ' in filenames
Fixes #672
2024-12-06 23:18:45 -08:00
Timmy Welch
0fa329ca75 Add language to Credit in ComicAPI 2024-12-06 23:09:25 -08:00
Timmy Welch
7448e9828b Sort pages in archive order before writing CR metadata 2024-10-14 16:54:13 -07:00
Timmy Welch
dcb532d7c9 Add Image Comics to publishers.json 2024-09-27 14:45:33 -07:00
Timmy Welch
4c9096a11b Implement the most basic local plugin isolation possible
Remove modules belonging to local plugins after loading
Remove sys.path entry after loading

This means that multiple local plugins can be installed with the same import path and should work correctly
This does not allow loading a local plugin that has the same import path as an installed plugin
2024-09-15 17:09:33 -07:00
Timmy Welch
006f3cbd1f Remove comet and cbl tags 2024-09-12 12:09:07 -07:00
Timmy Welch
fab30f3f29 Add experimental quick-tag 2024-08-18 19:16:55 -07:00
Timmy Welch
ffdf7d71e1 Fix tests 2024-08-16 12:50:14 -07:00