IMP: Cleaned up interface for StoryArcs / Story Arc Details, IMP: Cleaned up interface for Reading list Management, IMP: Added better reading list management - new status (added, downloaded, read), IMP: Added sync option for use with another device for reading list transfer (ie. tablet) Android only, IMP: Autopopulate new weekly pull releases to reading list, IMP: 'Watch' option in weekly pull list now fully functional. Will watch CV for series' that do not have any series data yet as they are new starting series. Will auto-add once available, IMP: Auto-watch check is run after every refresh/recreate of the weeklypull list, IMP: Improved the Add a Series option where it will now look for issues that are 'new' or 'wanted' during add sequence, IMP: Main page interface now has coloured have/total bars to denote series completion, IMP: New scheduler / threading locks in place in an attempt to avoid database locks, FIX: Removed some erroneous locking that was going on when importing a directory was being run, IMP: Stat counter now present when post-processing multiple issues in sequence, FIX: for issue number error when post-processing and issue number was a non-alphanumeric, FIX: for metatagging: when original file was .cbz, would try to convert and fail, FIX: for issues that were negative and were preceeded by a # in the filename (filechecker), FIX: for publisher having non-alphanumeric character in name when attempting to determine publisher, FIX: if annuals enabled, would incorrectly show as being 'already in library' when viewing search results if results constained annuals, FIX:(#944) for incorrect nzbname being used when post-processing was being performed from an nzb client (experimental mainly), IMP: Turned off logging for ComicVine API counter, FIX: Added retry attempts when connecting to ComicVine in order to avoid errors when adding a series, IMP:(#963) Added ability to add snatched to filter when viewing Wanted issues on Wanted tab, FIX: When importing and then selecting a series to import via the select screen, will now flip back to the importresults and add the selected series in the background, IMP:(#952) Main page is now sorted in ascending order by Continuing/Ended status (and subbed by whether is Active/Paused).Custom sorting is still available, FIX: Dupecheck will now automatically assume existing 0-byte files are to be overwritten when performing post-processing, FIX: If publication date for series contained a '?' (usually with brand new series) will force to 'Present' to allow for pull-list comparisons to take place, FIX: Mylar will now disallow search results which have 'covers only' or 'variant' in the filename, IMP: Better nzbname generation/retrieval (will check inside nzb for possible names) to be used when post-processing, IMP: DB Update will now perform update to all active comics in descending order by Latest Date (instead of random order), FIX: Enforce the 5hr limit rule when running DB update (will only update series that haven't been updated in >5 hours), FIX: Annuals will now have/retain the proper status upon doing DB Update, FIX: Have totals will now be updated when doing a recheck files (sometimes wouldn't get updated depending on various states of status'), FIX:(#966) Added urllib2.URLError exeception trap when attempting to check Git for updates, IMP: Removed the individual sqlite calls for weeklypull, and brought them into line with using the db module (which will minimize concurrent access, which seemed to be causing db locks), IMP: Cleaned up some code and shuffled some functions so they are in more appropriate locations
2015-03-27 17:27:59 +00:00
< %inherit file="base.html"/>
< %!
import os
import mylar
from mylar import db
from mylar.helpers import checked
%>
< %def name="headerIncludes()">
< div id = "subhead_container" >
< div id = "subhead_menu" >
< a id = "menu_link_refresh" href = "readlist" > Reading List Management< / a >
< / div >
< / div >
< /%def>
< %def name="body()">
< div id = "paddingheader" >
< h1 class = "clearfix" > < img src = "interfaces/default/images/ReadingList-icon.png" height = "26" width = "26" alt = "Reading List" / > Story Arc Management< / h1 >
< / div >
< div id = "tabs" >
< ul >
< li > < a href = "#tabs-1" > Options< / a > < / li >
< / ul >
< div id = "tabs-1" >
< table class = "configtable" >
< tr >
< td >
< form action = "searchit" method = "get" >
< fieldset >
< legend > Add StoryArc< / legend >
< input type = "hidden" name = "type" value = "story_arc" >
< input type = "text" value = "" placeholder = "Search for Story Arc" onfocus = "if(this.value==this.defaultValue) this.value='';" name = "name" / >
< span class = "mini-icon" > < / span >
< input type = "submit" value = "Search" / >
< / fieldset >
< / form >
< form action = "importReadlist" method = "get" >
< fieldset >
< input type = "text" value = "" runat = "server" placeholder = "Enter full path to .cbl file to import" onfocus = "if
(this.value==this.defaultValue) this.value='';" name="filename" size="40" />
< input type = "submit" value = "Import" >
< / fieldset >
< / form >
< / td >
< td >
< form action = "readOptions" id = "chkoptions" method = "GET" >
< fieldset >
< legend > Options< / legend >
< div class = "row checkbox left clearfix" >
< input type = "checkbox" style = "vertical-align: middle; margin: 3px; margin-top: -1px;" / > < label > Arcs in Grabbag Directory?< / label >
< input type = "checkbox" style = "vertical-align: middle; margin: 3px; margin-top: -1px;" name = "storyarcdir" id = "storyarcdir" value = "1" $ { checked ( mylar . STORYARCDIR ) } / > < label > Arcs in StoryArc Directory (off of ComicLocationRoot)?< / label >
< input type = "checkbox" style = "vertical-align: middle; margin: 3px; margin-top: -1px;" / > < label > Show Downloaded Story Arc Issues on ReadingList tab< / label >
< input type = "checkbox" style = "vertical-align: middle; margin: 3px; margin-top: -1px;" name = "read2filename" id = "read2filename" value = "1" $ { checked ( mylar . READ2FILENAME ) } / > < label > Append Reading # to filename< / label >
< / div >
< / fieldset >
< div >
< input type = "submit" value = "Update" / >
< / div >
< / form >
< / td >
< / tr >
< / table >
< / div >
< / div >
< div class = "table_wrapper" >
< table class = "display" id = "storyarcs" >
< thead >
< tr >
< th id = "storyarc" > Story Arc< / th >
< th id = "years" > Span Years< / th >
< th id = "have" > Have< / th >
< th id = "options" > Options< / th >
< / tr >
< / thead >
< tbody >
%for item in arclist:
< %
if item['percent'] == 101:
css = '< div class = \"progress-container warning \ " > '
if item['percent'] == 100:
css = '< div class = \"progress-container complete \ " > '
if item['percent'] < 100:
css = '< div class = \"progress-container missing \ " > '
grade = 'A'
%>
< tr class = "grade${grade}" >
< td id = "storyarc" > < a href = "detailStoryArc?StoryArcID=${item['StoryArcID']}&StoryArcName=${item['StoryArc']}" > ${item['StoryArc']}< / a > < / td >
< td id = "years" > ${item['SpanYears']}< / td >
< td id = "have" > < span title = "${item['percent']}" > < / span > ${css}< div style = "width:${item['percent']}%" > < span class = "progressbar-front-text" > ${item['Have']}/${item['Total']}< / span > < / div > < / td >
< td id = "options" >
FIX: included version of comictagger should now work with both Windows and *nix based OS' again, IMP: Global Copy/Move option available when performing post-processing, IMP: Added a verbose file-checking option (FOLDER_SCAN_LOG_VERBOSE) - when enabled will log as it currently does during manual post-processing/file-checking runs, when disabled it will not spam the log nearly as much resulting in more readable log files, IMP: Added Verbose debug logging both via startup option(-v), as well as toggle button in Log GUI (from headphones), as well as per-page loading of log file(s) in GUI, FIX: When doing manual post-processing on issues that were in story arcs, will now indicate X story-arc issues were post-processed for better visibility, FIX: Fixed an issue with deleting from the nzblog table when story arc issues were post-processed, IMP: Added WEEKFOLDER_LOC to the config.ini to allow for specification of where the weekly download directories will default to (as opposed to off of ComicLocation root), IMP: Better handling of some special character references in series titles when looking for series on the auto-wanted list, IMP: 32P will now auto-disable provider if logon returns invalid credentials, FIX: When using alt_pull on weekly pull list, xA0 unicode character caused error, FIX: If title had invalid character in filename that was replaced with a character that already existed in the title, would not scan in during file-checking, FIX: When searching for a series (weeklypull-list/add a series), if the title contained 'and' or '&' would return really mixed up results, FIX: When Post-Processing, if filename being processed had special characters (ie. comma) and was different than nzbname, in some cases would fail to find/move issues, IMP: Utilize internal comictagger to convert from cbr/cbz, IMP: Added more checks when post-processing to ensure files are handled correctly, IMP: Added meta-tag reading when importing series/issues - if previously tagged with CT, will reverse look-up the provided IssueID to reference the correct ComicID, IMP: If scanned directory during import contins cvinfo file, use that and force the ComicID to entire directory when importing a series, IMP: Manual meta-tagging issues will no longer create temporary directories and/or create files in the Comic Location root causing problems for some users, FIX: Annuals weren't properly sorted upon loading of comic details page for some series, IMP: Added some extra checks when validating/creating directories, FIX: Fixed a problem when displaying some covers of .cbz files on the comic details page
2016-01-26 07:49:56 +00:00
< a title = "Remove from Story Arc Watchlist" onclick = "doAjaxCall('removefromreadlist?StoryArcID=${item['StoryArcID']}&ArcName=${item['StoryArc']}',$(this),'table')" data-success = "Sucessfully removed ${item['StoryArc']} from list." > < img src = "interfaces/default/images/skipped_icon.png" height = "25" width = "25" / > < / a >
2015-05-27 05:40:38 +00:00
%if item['CV_ArcID']:
< a title = "Refresh Series" onclick = "doAjaxCall('addStoryArc_thread?arcid=${item['StoryArcID']}&cvarcid=${item['CV_ArcID']}&storyarcname=${item['StoryArc']}&arcrefresh=True',$(this),'table')" data-success = "Now refreshing ${item['StoryArc']}." > < img src = "interfaces/default/images/refresh.png" height = "25" width = "25" / > < / a >
%endif
IMP: Cleaned up interface for StoryArcs / Story Arc Details, IMP: Cleaned up interface for Reading list Management, IMP: Added better reading list management - new status (added, downloaded, read), IMP: Added sync option for use with another device for reading list transfer (ie. tablet) Android only, IMP: Autopopulate new weekly pull releases to reading list, IMP: 'Watch' option in weekly pull list now fully functional. Will watch CV for series' that do not have any series data yet as they are new starting series. Will auto-add once available, IMP: Auto-watch check is run after every refresh/recreate of the weeklypull list, IMP: Improved the Add a Series option where it will now look for issues that are 'new' or 'wanted' during add sequence, IMP: Main page interface now has coloured have/total bars to denote series completion, IMP: New scheduler / threading locks in place in an attempt to avoid database locks, FIX: Removed some erroneous locking that was going on when importing a directory was being run, IMP: Stat counter now present when post-processing multiple issues in sequence, FIX: for issue number error when post-processing and issue number was a non-alphanumeric, FIX: for metatagging: when original file was .cbz, would try to convert and fail, FIX: for issues that were negative and were preceeded by a # in the filename (filechecker), FIX: for publisher having non-alphanumeric character in name when attempting to determine publisher, FIX: if annuals enabled, would incorrectly show as being 'already in library' when viewing search results if results constained annuals, FIX:(#944) for incorrect nzbname being used when post-processing was being performed from an nzb client (experimental mainly), IMP: Turned off logging for ComicVine API counter, FIX: Added retry attempts when connecting to ComicVine in order to avoid errors when adding a series, IMP:(#963) Added ability to add snatched to filter when viewing Wanted issues on Wanted tab, FIX: When importing and then selecting a series to import via the select screen, will now flip back to the importresults and add the selected series in the background, IMP:(#952) Main page is now sorted in ascending order by Continuing/Ended status (and subbed by whether is Active/Paused).Custom sorting is still available, FIX: Dupecheck will now automatically assume existing 0-byte files are to be overwritten when performing post-processing, FIX: If publication date for series contained a '?' (usually with brand new series) will force to 'Present' to allow for pull-list comparisons to take place, FIX: Mylar will now disallow search results which have 'covers only' or 'variant' in the filename, IMP: Better nzbname generation/retrieval (will check inside nzb for possible names) to be used when post-processing, IMP: DB Update will now perform update to all active comics in descending order by Latest Date (instead of random order), FIX: Enforce the 5hr limit rule when running DB update (will only update series that haven't been updated in >5 hours), FIX: Annuals will now have/retain the proper status upon doing DB Update, FIX: Have totals will now be updated when doing a recheck files (sometimes wouldn't get updated depending on various states of status'), FIX:(#966) Added urllib2.URLError exeception trap when attempting to check Git for updates, IMP: Removed the individual sqlite calls for weeklypull, and brought them into line with using the db module (which will minimize concurrent access, which seemed to be causing db locks), IMP: Cleaned up some code and shuffled some functions so they are in more appropriate locations
2015-03-27 17:27:59 +00:00
< / td >
< / tr >
%endfor
< / tbody >
< / table >
< / div >
< /%def>
< %def name="headIncludes()">
< link rel = "stylesheet" href = "interfaces/default/css/data_table.css" >
< /%def>
< %def name="javascriptIncludes()">
< script src = "js/libs/jquery.dataTables.min.js" > < / script >
< script type = "text/javascript" >
$("#menu_link_scan").click(function() {
$('#chkoptions').submit();
return true;
});
< / script >
< script >
function initThisPage() {
$(function() {
$( "#tabs" ).tabs();
});
initActions();
$('#storyarcs').dataTable({
"bDestroy": true,
"oLanguage": {
"sLengthMenu":"Show _MENU_ items per page",
"sEmptyTable": "< em > No History to Display< / em > ",
"sInfo":"Showing _START_ to _END_ of _TOTAL_ items",
"sInfoEmpty":"Showing 0 to 0 of 0 items",
"sInfoFiltered":"(filtered from _MAX_ total items)"},
"iDisplayLength": 25,
"sPaginationType": "full_numbers",
"aaSorting": []
});
resetFilters("arclist");
}
$(document).ready(function() {
initThisPage();
initActions();
});
< / script >
< /%def>