From b7347a80ef2b77301e09426be0f8081473b9d9c1 Mon Sep 17 00:00:00 2001 From: evilhero Date: Wed, 19 Mar 2014 15:07:25 -0400 Subject: [PATCH] IMP: Ability to now use the 'future pull-list' to mark series that have no data as of yet to be 'watched', IMP: Added extra tabs to Upcoming page (Upcoming no data=series on the future-pullist that are to be watched and then auto-added and downloaded when information is available - usually for number 1's, future upcoming=up to 3+ months in advance showing what's coming up for series in watchlist), IMP: Improved date comparisons for determing when issue reboots in a given year are the correct series --- data/interfaces/default/upcoming.html | 111 +++++++++++++++++++++----- mylar/importer.py | 54 ++++++++++++- mylar/solicit.py | 25 ++++-- mylar/updater.py | 12 ++- mylar/webserve.py | 82 ++++++++++++++++--- mylar/weeklypull.py | 110 ++++++++++++++++++++----- 6 files changed, 333 insertions(+), 61 deletions(-) diff --git a/data/interfaces/default/upcoming.html b/data/interfaces/default/upcoming.html index 5aa8a910..986ed396 100755 --- a/data/interfaces/default/upcoming.html +++ b/data/interfaces/default/upcoming.html @@ -59,28 +59,100 @@

Upcoming IssuesUpcoming Issues

+ +
+ + +
+ +
- - - - - - - - - - %for upcome in upcoming: - - - - - - - %endfor - + %if upcoming: + + + + + + + + + + %for upcome in upcoming: + + + + + + + %endfor + + %else: + + %endif
ComicIssueRelease DateStatus
${upcome['DisplayComicName']}${upcome['IssueNumber']}${upcome['IssueDate']}${upcome['Status']}
ComicIssueRelease DateStatus
${upcome['DisplayComicName']}${upcome['IssueNumber']}${upcome['IssueDate']}${upcome['Status']}
no upcoming data to display
+
+
+
+ + %if future_nodata_upcoming: + + + + + + + + + + %for f_nodata in future_nodata_upcoming: + + + + + + + %endfor + + %else: + + + + + %endfor + + %else: + + %endif +
ComicIssueRelease DateStatus
${f_nodata['ComicName']}${f_nodata['IssueNumber']}${f_nodata['IssueDate']}${f_nodata['Status']}
+ ${f_upcome['IssueNumber']}${f_upcome['IssueDate']}${f_upcome['Status']}
no upcoming future data to display
+
+
<%def name="headIncludes()"> @@ -92,6 +164,9 @@