Commit Graph

567 Commits

Author SHA1 Message Date
Mizaki
a6b60a4317 Simplify enabled widget check and reset cache before loading, break on failed metadata writing 2024-02-11 00:53:40 +00:00
pre-commit-ci[bot]
3dfdae4033 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-10 01:55:15 +00:00
Mizaki
23021ba632 Add support for saving multiple metadata styles in the GUI
Unwind credit color comprehension

Convert save style from a string setting to a list

Use lordwelch version of Checkable combobox

Improve readbility, fix label alignment in taggerwindow.ui, better report removal of tags and clearer number meanings.

Unwind list comprehension for easier readability
2024-02-10 01:55:15 +00:00
Timmy Welch
bc335f1686 Forbid nested comprehensions 2024-02-06 18:01:26 -08:00
Timmy Welch
999d3eb497 Merge branch 'pre-commit-ci-update-config' into develop 2024-02-06 17:08:43 -08:00
pre-commit-ci[bot]
df762746ec [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-01-29 17:14:26 +00:00
Timmy Welch
2becec0fb6 Update help for --overwrite 2024-01-22 17:01:40 -08:00
Timmy Welch
fbe56f4db9 Remove unnecessary dest arguments in settings 2024-01-22 17:00:59 -08:00
Timmy Welch
085543321a cbxClearFormBeforePopulating not working 2024-01-22 16:50:15 -08:00
Timmy Welch
f8c0ca195a Add cbxDisableCR, update cbxSplitWords and cbxClearFormBeforePopulating 2024-01-22 16:49:57 -08:00
Timmy Welch
bb1a83b4ba Fix the rename command 2024-01-21 14:01:11 -08:00
Timmy Welch
1ca585a65c Fix #584 2023-12-31 14:33:27 -08:00
Timmy Welch
db00736f58 Fix filename parsing not respecting user settings 2023-12-25 21:57:31 -08:00
Timmy Welch
230a4b6558 Update namespace 2023-12-24 18:32:52 -08:00
Timmy Welch
addddaf44e List metadata styles when listing plugins 2023-12-18 02:37:40 -08:00
Timmy Welch
4660b14453 Fixup metadata handling 2023-12-18 02:37:40 -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
989470772f Make widget disabling more consistent 2023-12-18 01:24:30 -08:00
Timmy Welch
8b7443945b Use ids for metadata type in file selection list
Removed unnecessary FileInfo class
2023-12-17 22:01:47 -08:00
Timmy Welch
da373764e0 Let the original ComicRack metadata be disabled
Ensure metadata styles can be overridden by other plugins
2023-12-17 21:47:44 -08:00
Timmy Welch
fd868d9596 Add supports_credit_role to metadata plugins 2023-12-17 21:47:44 -08:00
Timmy Welch
ae5e246180 Add plugin support for metadata 2023-12-17 21:47:43 -08:00
Timmy Welch
3b2e763d7d Merge branch 'json-output' into develop 2023-12-17 18:28:53 -08:00
Timmy Welch
50859d07c4 Set the return code to 3 if any results are not successful 2023-12-17 18:17:19 -08:00
Timmy Welch
04bf7f484e Ensure IssueIdentifier output goes to the right place 2023-12-17 18:10:18 -08:00
Timmy Welch
4c1247f49c Print the summary even if quiet mode is enabled 2023-12-17 18:03:25 -08:00
Timmy Welch
17a8513efc Disable json output in interactive mode 2023-12-17 17:56:12 -08:00
Timmy Welch
7ada13bcc3 Remove unnecessary print statements 2023-12-17 17:35:21 -08:00
Timmy Welch
5b1c92e7b8 Fix a crash when fetching images during auto-tag in the gui 2023-12-17 16:25:21 -08:00
Timmy Welch
45643cc594 Add integration tests 2023-12-17 16:24:32 -08:00
Timmy Welch
ab6b970063 Create an Action tuple for determining the current command 2023-12-17 16:16:21 -08:00
Timmy Welch
bb67ab009e Ensure that all output goes through a logger before output to the user
Adds an option to output json for CLI options
2023-12-17 15:51:43 -08:00
Timmy Welch
0de95777b4 Handle multiple options sharing a dest 2023-12-16 17:06:27 -08:00
Sven Hesse
df24ad0008 Fix crash when using shortcut to set page type
QListWidget has no rowCount() method, it has count() instead.
2023-12-16 17:16:31 +01:00
Timmy Welch
c5cfd3ebdc Add a link to the log folder from the log window 2023-12-01 19:48:16 -08:00
Timmy Welch
cead69f8e3 Merge branch 'mizaki/settings_encoder' into develop 2023-12-01 19:43:18 -08:00
Mizaki
70541cc9ee Encode pathlib.Path for the settings file. Validate types from the JSON settings file after loaded. JSON.decoder not used due to its limitation with context. 2023-11-28 23:21:04 +00:00
Timmy Welch
1ff6f1768b Use importlib.resources instead of __file__ 2023-11-25 12:32:50 -08:00
Timmy Welch
65948cd9cd Merge branch 'bump-settngs' into develop 2023-11-23 16:06:01 -08:00
Timmy Welch
305eb1dec5 Enable stricter mypy configuration 2023-11-23 16:05:16 -08:00
Timmy Welch
a478a35f66 Simplify setting values on Qt widgets
Add explanatory comments
2023-11-23 15:18:59 -08:00
Timmy Welch
9dc6f8914f Upgrade settings to 0.8.0 2023-11-19 23:14:40 -08:00
Timmy Welch
57873136b6 Use isinstance for type check 2023-11-14 15:18:48 -08:00
Timmy Welch
10776dbb07 Fix flake8 issues 2023-11-09 18:23:57 -08:00
Timmy Welch
2d3f68167c Merge branch 'progress-dialog' into develop 2023-11-09 16:57:02 -08:00
Timmy Welch
770f64b746 Merge branch 'mizaki-talker_file_picker' into develop 2023-11-09 16:53:15 -08:00
Timmy Welch
235c12bd53 Convert types back to their declared types in talkeruigenerator 2023-11-09 16:52:41 -08:00
Mizaki
2258d70d7b Add file picker to talkers options. Requires type of pathlib.Path 2023-11-01 02:01:54 +00:00
Timmy Welch
4a29040c74 Add format to the filename parser result 2023-10-27 23:13:12 -07:00
Timmy Welch
29ddc3779a Ensure FilenameInfo is always filled out fixes #556 2023-10-23 21:08:55 -07:00