Commit Graph

469 Commits

Author SHA1 Message Date
Timmy Welch
f90f373d20 Merge branch 'mizaki-rate_limit_cv' into develop 2023-07-01 18:04:24 -07:00
Timmy Welch
053afaa75e Merge branch 'mizaki-phash' into develop 2023-07-01 18:01:26 -07:00
Timmy Welch
3848aaeda3 Merge branch 'mizaki-issue_count_sort' into develop 2023-07-01 17:56:55 -07:00
Mizaki
16b13a6fe0 Format year and count of issues to 4 digits and do a None check 2023-06-28 01:08:04 +01:00
Mizaki
3f180612d3 Return int instead of hex and revert hamming_distance etc. 2023-06-27 22:44:08 +01:00
Mizaki
81b15a5877 Fixes sorting by year and issue count. Removed superfluous if for publisher. Fixes #475 2023-06-27 00:21:28 +01:00
Mizaki
14a4055040 Add Perceptual Hash computation to imagehasher mirroring https://github.com/JohannesBuchner/imagehash but in pure python 2023-06-26 01:54:26 +01:00
Timmy Welch
2e01672e68 Fix #485
As mentioned in the comment in comictaggerlib/main.py:186
The default value should be None not the empty string.
We also check if the given value is the default or the empty string and
 the setting is unset so the default value is not saved in the settings
 file.
The default_api_url is shown in the GUI Settings Window it is not
 currently show in the cli help.
2023-06-23 17:48:18 -07:00
Mizaki
fba5518d06 Create two module limiters and assign class limiter var depending. Add to welcome message limits of default CV API key. 2023-06-23 21:25:02 +01:00
Timmy Welch
31cf687e2f Reduce startup time 2023-06-22 20:11:40 -07:00
Timmy Welch
526069dabf Use _guess_type from settngs for more robust type checking 2023-06-22 18:28:43 -07:00
Mizaki
af5a0e50e0 Remove wait on CV rate limit in autotag 2023-06-21 22:32:06 +01:00
Timmy Welch
3a287504ae Fix setting issue and alternate_number on GenericMetadata
IssueString.as_string always returns a string this is a problem for
  GenericMetadata. When the overlay function is used it checks
  specifically for the value None this allows the -m option to unset
  attributes however the issue attribute would get set to the empty
  string when loading ComicRack tags regardless of if there was a value
  stored in the file. Fixes #465 and #480
2023-06-15 20:26:38 -07:00
Timmy Welch
82a22d25ea Merge branch 'mizaki-auto_ident_message' into develop 2023-06-11 21:44:05 -07:00
Timmy Welch
783e10a9a1 Generate a namespace object for typing settngs 2023-06-09 16:20:00 -07:00
Mizaki
e8f13b1f9e fix quoting 2023-06-09 02:08:38 +01:00
Mizaki
122bdf7eb1 Change auto-identfy message to point users to the auto-tag assume 1 option 2023-06-08 01:18:46 +01:00
Mizaki
c3892082f5 Change data to metadata 2023-06-02 00:37:58 +01:00
Mizaki
92e2cb42e8 Replace instances of Comic Vine to use the talker's name 2023-06-01 22:05:14 +01:00
Timmy Welch
b8065e0f10 Fix #470 re-add notes when using --clear-metadata 2023-05-30 21:36:33 -07:00
Timmy Welch
364d870fe0
Merge branch 'mizaki-hide_api_token' into develop 2023-05-16 17:30:46 -07:00
Mizaki
2da64fd52d Remove password class from function 2023-05-16 15:20:45 +01:00
Mizaki
057725c5da Create generate_password_textbox 2023-05-16 00:25:12 +01:00
Mizaki
5996bd3588 Add show/hide icon to key field 2023-05-15 23:46:16 +01:00
Mizaki
70d544b7bd Add attrib at the end of the CLI file run 2023-05-15 16:46:31 +01:00
Mizaki
c583f63c8c Attribution for metadata provider on command line 2023-05-14 23:39:23 +01:00
Mizaki
60f47546c2 Hide the API key field as a password and add a show/show button 2023-05-13 23:12:29 +01:00
Timmy Welch
d3ff40c249
Only update the image in CoverImageWidget if the url matches the current url
This fixes an issue causing the first issue cover to show when using the auto-identify feature
Fixes #455
2023-04-25 16:00:08 -07:00
Timmy Welch
c07e1c4168
Add additional typing 2023-04-25 16:00:06 -07:00
Timmy Welch
1dc93c351d
Update settngs to typed version fixes #453 2023-04-25 16:00:04 -07:00
Timmy Welch
14fa70e608
Separate xlate into separate functions based on return type fixes #454 2023-04-25 15:55:27 -07:00
Timmy Welch
c4b7411261
Use tox for building 2023-04-23 01:31:44 -07:00
Timmy Welch
e70c47d12a
Make PyICU optional
Update README.md
2023-04-23 00:48:11 -07:00
Timmy Welch
c1aba269a9
Revert "Make PyICU optional"
This reverts commit bf55037690.
2023-04-22 21:28:14 -07:00
Timmy Welch
bf55037690
Make PyICU optional
Fix more locale issues
Update README.md
2023-04-18 21:03:50 -07:00
Timmy Welch
33796aa475
Fix #447 2023-04-06 10:48:40 -07:00
Mizaki
f0b9bc6c77 Missed name changes from options move 2023-02-28 15:37:52 +00:00
Mizaki
6133b886fb String widget fix-fix 2023-02-28 15:06:59 +00:00
Mizaki
dacd767162 String widget fix 2023-02-28 14:59:58 +00:00
Timmy Welch
5b2a06870a
Fix talker settings validation 2023-02-27 22:21:56 -08:00
Mizaki
b4a3e8c2ee Add missing tool tips to labels
Change metadata select label
Use named tuple for talker tabs
Retrun a string and bool for api check
2023-02-24 00:06:48 +00:00
Mizaki
118429f84c Change source term to metadata
Generate API text field in their own function
API tests return string message of result
Add help to text field lables
2023-02-23 00:42:48 +00:00
Mizaki
5b5a483e25 Fix api key test button generation 2023-02-21 00:58:13 +00:00
Mizaki
33ea8da5bc Merge branch 'develop' into talker_settings_generator
# Conflicts:
#	comictaggerlib/settingswindow.py
#	comictalker/talkers/comicvine.py
2023-02-21 00:50:06 +00:00
Mizaki
316bd52f21 Use currentData for combo box 2023-02-21 00:42:11 +00:00
Mizaki
59893b1d1c Fix optoin.type ifs 2023-02-21 00:38:13 +00:00
Timmy Welch
fb83863654
Update plugin settings
Make "runtime" a persistent group, allows normalizing without losing validation
Simplify archiver setting generation
Generate options for setting a url and key for all talkers
Return validated talker settings
Require that the talker id must match the entry point name
Add api_url and api_key as default attributes on talkers
Add default handling of api_url and api_key to register_settings
Update settngs to 0.6.2 to be able to add settings to a group and
  use the display_name attribute
Error if no talkers are loaded
Update talker entry point to comictagger.talker
2023-02-20 16:02:15 -08:00
Mizaki
f439797b03 Use new display_name from settngs. Add source combobox getting and setting and add to sources dict of widgets. 2023-02-20 18:45:39 +00:00
Mizaki
fefb3ce6cd Remove general tab from talker tab and use base tab from settings window. Additional clean up. 2023-02-19 23:33:22 +00:00
Mizaki
a24bd1c719 Generate talker general tab programatically. Move search options to search tab. 2023-02-18 17:16:56 +00:00