Commit Graph

1203 Commits

Author SHA1 Message Date
timmy 96c5c4aa28 Fix pyinstaller build
Fix exception when PyQt is not installed
1.6.0-alpha.8
2023-10-07 11:49:30 -07:00
timmy 4b93262d5f Merge branch 'mizaki-window_sorting' into develop 2023-10-06 20:14:35 -07:00
timmy 78a890f900 Fix parsing a month name in the series fixes #542 2023-10-06 20:06:39 -07:00
Mizaki 5bdbe7d181 Always update rows even if None 2023-10-05 22:14:45 +01:00
timmy f250d2c5c3 Merge branch 'mizaki-gmd_list_set' into develop 1.6.0-alpha.7 2023-10-04 20:16:33 -07:00
timmy b6d5fe7013 Improve rar error messages 2023-10-04 19:08:17 -07:00
Mizaki 80f3dd7ce4 Restore issue number sorting 2023-09-30 23:19:10 +01:00
Mizaki 0c63f77e53 Restore issue count and year sorting 2023-09-30 23:05:06 +01:00
timmy 5688cdea89 Merge branch 'mizaki-gentalker_password' into develop 2023-09-26 17:05:20 -07:00
timmy 2949626f6d Merge branch 'mizaki-remove_series_genres' into develop 2023-09-26 17:04:45 -07:00
Mizaki 319aa582e5 Remove ignoring default for setting generation combobox 2023-09-25 00:55:50 +01:00
Mizaki 058651cc29 Change metadata lists to sets. Changed CV talker to reflect and tidied 2023-09-24 14:33:57 +01:00
Mizaki 5874f3bcaf Remove genres from ComicSeries as it is no longer required with the new cache system 2023-09-22 23:15:04 +01:00
Mizaki c6522865ab Use casefold 2023-09-21 16:05:13 +01:00
Mizaki 5684694055 Generate password box for any settings dest name that end in password 2023-09-21 01:47:08 +01:00
timmy 360a9e6308 Merge branch 'mizaki-talker_gen_combo' into develop 2023-09-17 16:39:33 -07:00
timmy 015959bd97 Merge branch 'mizaki-talker_setting_logo_blurb' into develop 2023-09-17 16:35:13 -07:00
Mizaki 8feade923a Don't capitalise and therefore no need to use data on the combobox 2023-09-17 20:54:20 +01:00
Mizaki df3e7912b3 Add talker information in setting window 2023-09-17 18:26:06 +01:00
timmy 919561099e Finish removing the script option 2023-09-17 08:36:00 -07:00
timmy e7cc05679f Bump metron-talker version 1.6.0-alpha.6 2023-09-17 08:09:43 -07:00
timmy 99461c54f1 Fix a crash when setting the page type with no comic selected 2023-09-15 21:03:41 -07:00
Mizaki 56f172e7b5 Add combo box support to talker settings generator 2023-09-15 23:46:13 +01:00
timmy ddd98ee86d Add metron-talker as an optional dependency 2023-09-15 15:13:14 -07:00
timmy 1d25179171 Allow unsetting metadata fields on the commandline fixes #528 2023-09-14 11:30:05 -07:00
timmy 7efef0bb44 Merge branch 'mizaki-on_change_windows' into develop 2023-09-14 11:20:01 -07:00
Mizaki 366e9cf6e8 Move update into own function. Add title missing to trigger issue update. 2023-09-13 21:35:52 +01:00
timmy 57abe22515 Merge branch 'mizaki-fix_auto_id' into develop 2023-09-12 15:16:16 -07:00
Mizaki c7a49b3643 Fix crash with series and issue window if the year is None. Closes #523 2023-09-10 13:42:17 +01:00
Mizaki 1125788bb7 Update series and issue rows after calling for more information. Closes #512 2023-09-10 13:31:20 +01:00
Mizaki 034a25a813 Fix auto-identify crash 2023-09-07 14:44:30 +01:00
timmy f72c0c8224 Fix call to check_api 2023-09-06 04:56:30 -04:00
timmy 0a2340b6dc Remove the --script commandline option 2023-09-06 03:00:27 -04:00
timmy bf2b4ab268 Rename check_api_key to check_status
Parameter is changed to a settings dict so that a Talker can retrieve any info it needs
Change issue_id type annotation to str
2023-09-06 02:59:59 -04:00
timmy 40bd3d5bb8 Fix generation and saving of talker settings fixes #515 #514 2023-09-05 14:43:17 -04:00
timmy 61d2a8b833 Fix issue padding validation fixes #513 2023-09-05 14:42:03 -04:00
timmy b04dad8015 Stop deleting self.progialog in the series selection window 2023-09-05 14:41:07 -04:00
timmy 3ade47a7e0 Convert bytes to str when printing raw tags. Fixes #510 1.6.0-alpha.5 2023-09-05 04:05:20 -04:00
timmy 5bc44650d6 Change --only-set-cv-key to --only-save-config 2023-09-05 03:56:56 -04:00
timmy 8b1bcd93e6 Add a combobox to select a metadata source in the main window Fixes #508 2023-09-05 03:55:18 -04:00
timmy d70a98ed29 Fix --darkmode 2023-09-05 03:55:18 -04:00
timmy 05e6eaf88e Update setting group names
Make group names presentable to users and add builtin plugins during namespace generation.
Revamp talkeruigenerator.py to use generated group and setting names and remove as much hard-coded strings as possible
Add a --list-plugins commandline option
2023-09-05 03:55:12 -04:00
timmy 90eb1c3980 Fix date display in the issue selection window 2023-09-05 03:14:55 -04:00
timmy 7a63474769 Fix cbr tests and update pre-commit 2023-09-04 19:56:18 -05:00
timmy 0f07fc3153 Use a dictionary instead of a list in the issue/series selection windows
List lookups were done by row number which became inaccurate if any sorting was done

Fixes #507
2023-09-03 15:18:56 -07:00
timmy e832b19f2f Fix attribute names 2023-09-03 15:12:06 -07:00
Mizaki 9499aeae10 PyrateLimter version 2 only for now. 2023-08-30 23:23:19 +01:00
timmy f72ebdb149 Simplify ComicCacher to store a single binary data field and ID(s)
If the ComicCacher is to be a generic cache for talkers it must assume
 very little. Current assumptions:
 - There are issues that can be queried individually by an "Issue ID" and they have a relation to a single series
 - There are series that can be queried individually by an "Series ID" and they have a relation to zero or more issues
 - There are Searches that can be queried by the search term and they have a relation to zero or more series

Each series and issue have a boolean `complete` attribute which is up to the talker to decide what it means.
Data is returned as a tuple ([series, complete] or [issue, complete]) or a list of tuples
An issue consists of an ID, an series ID and a binary data attribute which is up to the talker to determine what it means.
An series consists of in ID and a binary data attribute which is up to the talker to determine what it means.

The data attribute is binary to allow for compression and efficient storage of binary data (e.g. pickle) it is suggested to store it as json or similar text format encoded with utf-8. If the talker is using a website API it is suggested to store the raw response from the server.

All caches automatically expire 7 days after insertion.
2023-08-05 03:02:12 -07:00
timmy ea84031b87 Add more 4-digit issue number tests 2023-08-04 21:04:21 -07:00
timmy 611c40fe0b Add test for split 2023-08-03 01:06:10 -07:00