Skip to content

Commit 7f9638f

Browse files
committed
Merge branch 'master' of github.com:midgetspy/Sick-Beard into windows_binaries
2 parents 6ecb707 + 0e81fe9 commit 7f9638f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+2224
-1696
lines changed

data/css/style.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,9 @@ thead.tablesorter-stickyHeader {
206206
background-color: #dfdacf;
207207
}
208208
/* filter widget */
209+
.tablesorter .filtered {
210+
display: none;
211+
}
209212
.tablesorter input.tablesorter-filter {
210213
width: 98%;
211214
height: auto;
@@ -981,7 +984,6 @@ td.tvShow a {
981984
text-decoration: none;
982985
display: block;
983986
width: 100%;
984-
height: 100%;
985987
}
986988
td.tvShow:hover a {
987989
color:#000;

data/interfaces/default/config.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
<tr class="infoTableSeperator"><td class="infoTableHeader"><i class="icon16-sb"></i> Homepage </td><td><a href="http://www.sickbeard.com/" rel="noreferrer" onclick="window.open('${sickbeard.ANON_REDIRECT}' + this.href, '_blank'); return false;">http://www.sickbeard.com/</a></td></tr>
3232
<tr><td class="infoTableHeader"><i class="icon16-web"></i> Forums </td><td><a href="http://sickbeard.com/forums/" rel="noreferrer" onclick="window.open('${sickbeard.ANON_REDIRECT}' + this.href, '_blank'); return false;">http://sickbeard.com/forums/</a></td></tr>
3333
<tr><td class="infoTableHeader"><i class="icon16-github"></i> Source </td><td><a href="https://github.com/midgetspy/Sick-Beard/" rel="noreferrer" onclick="window.open('${sickbeard.ANON_REDIRECT}' + this.href, '_blank'); return false;">https://github.com/midgetspy/Sick-Beard/</a></td></tr>
34-
<tr><td class="infoTableHeader"><i class="icon16-win"></i> Bug Tracker &amp;<br/> Windows Builds </td><td><a href="http://code.google.com/p/sickbeard/" rel="noreferrer" onclick="window.open('${sickbeard.ANON_REDIRECT}' + this.href, '_blank'); return false;">http://code.google.com/p/sickbeard/</a></td></tr>
34+
<tr><td class="infoTableHeader"><i class="icon16-win"></i> Windows Builds </td><td><a href="https://github.com/midgetspy/Sick-Beard/releases/" rel="noreferrer" onclick="window.open('${sickbeard.ANON_REDIRECT}' + this.href, '_blank'); return false;">https://github.com/midgetspy/Sick-Beard/releases/</a></td></tr>
35+
<tr><td class="infoTableHeader"><i class="icon16-web"></i> Bug Tracker </td><td><a href="http://code.google.com/p/sickbeard/issues/" rel="noreferrer" onclick="window.open('${sickbeard.ANON_REDIRECT}' + this.href, '_blank'); return false;">http://code.google.com/p/sickbeard/issues/</a></td></tr>
3536
<tr><td class="infoTableHeader"><i class="icon16-mirc"></i> Internet Relay Chat </td><td><a href="irc://irc.freenode.net/#sickbeard" rel="noreferrer" onclick="window.open('${sickbeard.ANON_REDIRECT}' + this.href, '_blank'); return false;"><i>#sickbeard</i> on <i>irc.freenode.net</i></a></td></tr>
3637
</table>
3738
</div>

data/interfaces/default/config_notifications.tmpl

Lines changed: 56 additions & 23 deletions
Large diffs are not rendered by default.

data/interfaces/default/config_postProcessing.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<div id="config-content">
2222
<h5>All non-absolute folder locations are relative to <span class="path">$sickbeard.DATA_DIR</span></h5>
2323

24-
<form id="configForms" action="savePostProcessing" method="post">
24+
<form id="configForm" action="savePostProcessing" method="post">
2525

2626
<div id="config-components">
2727

data/interfaces/default/displayShow.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,15 @@ Change selected episodes to
130130
#for $epResult in $sqlResults:
131131

132132
#if int($epResult["season"]) != $curSeason:
133-
<tr><td colspan="9"><a name="season-$epResult["season"]"></a></td></tr>
133+
<tr class="seasonheader"><td colspan="9"><a name="season-$epResult["season"]"></a></td></tr>
134134
<tr class="seasonheader" id="season-$epResult["season"]">
135135
<td colspan="9">
136136
<h2>#if int($epResult["season"]) == 0 then "Specials" else "Season "+str($epResult["season"])#</h2>
137137
</td>
138138
</tr>
139139
<tr id="season-$epResult["season"]-cols"><th width="1%"><input type="checkbox" class="seasonCheck" id="$epResult["season"]" /></th><th>NFO</th><th>TBN</th><th>Episode</th><th>Name</th><th class="nowrap">Airdate</th><th>Filename</th><th>Status</th><th>Search</th></tr>
140140
#set $curSeason = int($epResult["season"])
141-
#end if
141+
#end if
142142

143143
#set $epStr = str($epResult["season"]) + "x" + str($epResult["episode"])
144144
#set $epLoc = $epResult["location"]

data/interfaces/default/editShow.tmpl

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -51,39 +51,42 @@
5151

5252
<form action="editShow" method="post">
5353
<input type="hidden" name="show" value="$show.tvdbid" />
54-
Location: <input type="text" name="location" id="location" value="$show._location" size="50" /><br />
54+
<span class="showLegend">Location:</span><input type="text" name="location" id="location" value="$show._location" size="50" /><br />
5555
<br />
56-
Quality:
56+
<span class="showLegend">Quality:</span>
5757
#set $qualities = $common.Quality.splitQuality(int($show.quality))
5858
#set global $anyQualities = $qualities[0]
5959
#set global $bestQualities = $qualities[1]
6060
#include $os.path.join($sickbeard.PROG_DIR, "data/interfaces/default/inc_qualityChooser.tmpl")
6161
<br />
62-
<br />
63-
Language: <select name="tvdbLang" id="tvdbLangSelect"></select><br />
62+
<span class="showLegend">Language:</span><select name="tvdbLang" id="tvdbLangSelect"></select><br />
6463
Note: This will only affect the language of the retrieved metadata file contents and episode filenames.<br />
6564
This <b>DOES NOT</b> allow Sick Beard to download non-english TV episodes!<br />
6665
<br />
66+
67+
<span class="showLegend">Flatten files (no folders):</span><input type="checkbox" name="flatten_folders" #if $show.flatten_folders == 1 and not $sickbeard.NAMING_FORCE_FOLDERS then "checked=\"checked\"" else ""# #if $sickbeard.NAMING_FORCE_FOLDERS then "disabled=\"disabled\"" else ""#/><br />
68+
<br />
69+
70+
<span class="showLegend">Paused:</span><input type="checkbox" name="paused" #if $show.paused == 1 then "checked=\"checked\"" else ""# /><br />
6771
<br />
68-
Flatten files (no folders): <input type="checkbox" name="flatten_folders" #if $show.flatten_folders == 1 and not $sickbeard.NAMING_FORCE_FOLDERS then "checked=\"checked\"" else ""# #if $sickbeard.NAMING_FORCE_FOLDERS then "disabled=\"disabled\"" else ""#/><br /><br />
69-
Paused: <input type="checkbox" name="paused" #if $show.paused == 1 then "checked=\"checked\"" else ""# /><br /><br />
7072

71-
Air by date:
72-
<input type="checkbox" name="air_by_date" #if $show.air_by_date == 1 then "checked=\"checked\"" else ""# /><br />
73-
(check this if the show is released as Show.03.02.2010 rather than Show.S02E03)
74-
<br /><br />
73+
<span class="showLegend">Air by date:</span><input type="checkbox" name="air_by_date" #if $show.air_by_date == 1 then "checked=\"checked\"" else ""# /><br />
74+
(check this if the show is released as Show.03.02.2010 rather than Show.S02E03)<br />
75+
<br />
7576

76-
Ignored Words (all shows): $sickbeard.IGNORE_WORDS<br /><br />
77+
<span class="showLegend">Ignored Words (all shows):</span>$sickbeard.IGNORE_WORDS<br />
78+
<br />
7779

78-
Separate words with a comma, e.g. "word1,word2,word3"<br/><br/>
80+
<span class="showLegend">Ignored Words (this show):</span><input type="text" name="rls_ignore_words" id="rls_ignore_words" value="$show.rls_ignore_words" size="50" /><br />
81+
Results <b>with any</b> of these words in the title will be filtered out<br />
82+
Separate words with a comma, e.g. "word1,word2,word3"<br />
83+
<br />
7984

80-
Ignored Words (this show): <input type="text" name="rls_ignore_words" id="rls_ignore_words" value="$show.rls_ignore_words" size="50" /><br />
81-
Results with any of these words in the title will be filtered out
82-
<br /><br />
85+
<span class="showLegend">Required Words (this show):</span><input type="text" name="rls_require_words" id="rls_require_words" value="$show.rls_require_words" size="50" /><br />
86+
Results <b>without one</b> of these words in the title will be filtered out<br />
87+
Separate words with a comma, e.g. "word1,word2,word3"<br />
88+
<br />
8389

84-
Required Words (this show): <input type="text" name="rls_require_words" id="rls_require_words" value="$show.rls_require_words" size="50" /><br />
85-
Results without one of these words in the title will be filtered out
86-
<br /><br />
8790
<input class="btn" type="submit" value="Submit" />
8891
</form>
8992

data/interfaces/default/inc_top.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@
6969
<script type="text/javascript" src="$sbRoot/js/lib/jquery-ui-1.10.4.custom.min.js?$sbPID"></script>
7070
<script type="text/javascript" src="$sbRoot/js/lib/jquery.cookie.js?$sbPID"></script>
7171
<script type="text/javascript" src="$sbRoot/js/lib/jquery.selectboxes.min.js?$sbPID"></script>
72-
<script type="text/javascript" src="$sbRoot/js/lib/jquery.tablesorter-2.14.min.js?$sbPID"></script>
73-
<script type="text/javascript" src="$sbRoot/js/lib/jquery.tablesorter.widgets-2.14.min.js?$sbPID"></script>
72+
<script type="text/javascript" src="$sbRoot/js/lib/jquery.tablesorter-2.16.3.min.js?$sbPID"></script>
73+
<script type="text/javascript" src="$sbRoot/js/lib/jquery.tablesorter.widgets-2.16.3.min.js?$sbPID"></script>
7474
<script type="text/javascript" src="$sbRoot/js/lib/jquery.qtip-2012-04-26.min.js?$sbPID"></script>
7575
<script type="text/javascript" src="$sbRoot/js/lib/jquery.pnotify-1.2.2.min.js?$sbPID"></script>
76-
<script type="text/javascript" src="$sbRoot/js/lib/jquery.form-3.35.js?$sbPID"></script>
76+
<script type="text/javascript" src="$sbRoot/js/lib/jquery.form-3.50.js?$sbPID"></script>
7777

7878
<script type="text/javascript" charset="utf-8">
7979
<!--

data/js/addExistingShow.js

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
$(document).ready(function() {
22

3-
$('#checkAll').live('click', function(){
3+
$('#tableDiv').on('click', '#checkAll', function() {
44

55
var seasCheck = this;
66

7-
$('.dirCheck').each(function(){
7+
$('.dirCheck').each(function() {
88
this.checked = seasCheck.checked;
99
});
1010
});
1111

12-
$('#submitShowDirs').click(function(){
12+
$('#submitShowDirs').click(function() {
1313

1414
var dirArr = new Array();
1515

@@ -35,7 +35,7 @@ $(document).ready(function() {
3535

3636
function loadContent() {
3737
var url = '';
38-
$('.dir_check').each(function(i,w){
38+
$('.dir_check').each(function(i,w) {
3939
if ($(w).is(':checked')) {
4040
if (url.length) {
4141
url += '&';
@@ -72,10 +72,12 @@ $(document).ready(function() {
7272
loadContent();
7373
});
7474

75-
$('.dir_check').live('click', loadContent);
75+
$('#rootDirStaticList').on('click', '.dir_check', loadContent);
7676

77-
$('.showManage').live('click', function() {
78-
$("#tabs").tabs( 'select', 0);
77+
$('#tableDiv').on('click', '.showManage', function(event) {
78+
event.preventDefault();
79+
$("#tabs").tabs('option', 'active', 0);
80+
$('html,body').animate({scrollTop:0}, 1000);
7981
});
8082

8183
});

data/js/browser.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
return i++ != 0;
3535
});
3636
$('<h2>').text(first_val.current_path).appendTo(fileBrowserDialog);
37+
// set current path to what we path we actually did load (in case the previous dir is no longer there)
38+
currentBrowserPath = first_val.current_path;
3739
list = $('<ul>').appendTo(fileBrowserDialog);
3840
$.each(data, function (i, entry) {
3941
link = $("<a href='javascript:void(0)' />").click(function () { browse(entry.path, endpoint); }).text(entry.name);
@@ -93,6 +95,10 @@
9395
if (options.initialDir) {
9496
initialDir = options.initialDir;
9597
}
98+
// HACK to allow users to specify \\server\path to override use of stored values
99+
if (options.field && options.field.val().indexOf('\\') == 0) {
100+
initialDir = options.field.val()
101+
}
96102
browse(initialDir, options.url);
97103
fileBrowserDialog.dialog('open');
98104

0 commit comments

Comments
 (0)