Commit Graph

160 Commits

Author SHA1 Message Date
b1c164add0 Skip GUI tests on Windows and Linux 2024-12-22 20:27:23 -08:00
94ca1fd58b Add tests 2024-12-18 21:15:51 -08:00
63c836a327 Display message when a ratelimit is hit 2024-12-16 01:03:31 -08:00
39a4a37d7c Add tests 2024-09-19 19:03:30 -07:00
234d9e49fe Fix test 2024-09-17 15:32:01 -07:00
58f71cf6d9 Remove archived tags from tests 2024-09-12 13:17:06 -07:00
fab30f3f29 Add experimental quick-tag 2024-08-18 19:16:55 -07:00
2cb6caea8d Ignore update with incomplete data when complete data is already cached 2024-08-16 17:05:28 -07:00
ffdf7d71e1 Fix tests 2024-08-16 12:50:14 -07:00
8709ef301d Fix failing test 2024-08-03 23:11:31 -07:00
a7a9d38428 Make ImageMetadata a dataclass 2024-07-27 19:23:37 -07:00
76a92c8431 Fix test 2024-06-23 00:04:33 -07:00
3389c72a63 Merge branch 'help-messages' into develop 2024-06-21 19:53:30 -07:00
69a9566f42 Update all references of saved 'matadata' to 'tags' 2024-06-20 16:47:10 -07:00
6132af3bb5 Support niquests 2024-06-09 13:09:26 -07:00
e864e2db48 Re-arrange settings 2024-05-21 19:57:47 -07:00
a40438d38c Separate list merge into a separate option (lordwelch) 2024-05-11 16:42:24 +01:00
3d443e0908 lordwelch rewrite 2024-05-11 02:04:43 +01:00
71b79bdc91 Move some overlay test data to testing/comicdata.py 2024-05-11 02:02:01 +01:00
8b0683f67c Add OverlayMode options for read style and data source 2024-05-11 01:56:06 +01:00
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
d63123b77b Add tests for prepare_metadata 2024-04-28 13:53:41 -07:00
8b4bf8d51f Allow preserving the original filename when moving 2024-04-27 19:25:33 -07:00
064795fac9 Fix prepare_metadata 2024-04-27 16:43:51 -07:00
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
de084ffff9 Fix string value of GenericMetadata 2024-04-06 12:02:21 -07:00
bad8b85874 Fix tests 2024-02-24 18:30:41 -08:00
f382c2f814 Update Tests 2024-02-23 20:47:22 -08:00
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
8ec16528ab Implement local plugins 2024-02-10 21:00:24 -08:00
69615c6c07 Fix hash and test 2024-02-10 15:02:24 -08:00
bb1a83b4ba Fix the rename command 2024-01-21 14:01:11 -08:00
539aac1307 Fix clearing lists via the '-m' option Fixes #587 2024-01-14 13:38:11 -08:00
c3a8221d99 Return an empty object if an archive does not have the requested style 2023-12-18 16:59:31 -08:00
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
ae5e246180 Add plugin support for metadata 2023-12-17 21:47:43 -08:00
45643cc594 Add integration tests 2023-12-17 16:24:32 -08:00
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
1ff6f1768b Use importlib.resources instead of __file__ 2023-11-25 12:32:50 -08:00
65948cd9cd Merge branch 'bump-settngs' into develop 2023-11-23 16:06:01 -08:00
128cab077c Replace pycountry with isocodes
isocodes is updated more often and doesn't depend on deprecated packages
2023-11-23 14:21:21 -08:00
9dc6f8914f Upgrade settings to 0.8.0 2023-11-19 23:14:40 -08:00
29ddc3779a Ensure FilenameInfo is always filled out fixes #556 2023-10-23 21:08:55 -07:00
abfd97d915 Merge branch 'protofolius_issue_scheme' into develop 2023-10-11 17:05:27 -07:00
058651cc29 Change metadata lists to sets. Changed CV talker to reflect and tidied 2023-09-24 14:33:57 +01:00
f6be7919d7 Implement support for protofolius's permission scheme 2023-09-06 04:50:05 -04:00
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
7a63474769 Fix cbr tests and update pre-commit 2023-09-04 19:56:18 -05:00
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
611c40fe0b Add test for split 2023-08-03 01:06:10 -07:00