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
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
Allow None replacements to reference other fields
Only do standard replacements and duplicate space removal on field values
Remove filename sanitation of field values
Filename sanitation is performed when doing the actual move
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.