Commit c3536f3e authored by echel0n's avatar echel0n

Update git ignores

parent e78d3241
# SR Travis-CI Files #
######################
.travis.yml
.travis
/.travis
# SR Markdown Files #
######################
......@@ -13,13 +13,13 @@ readme.md
*.db*
*.ini
autoProcessTV.cfg
server.crt
server.key
cache
Logs
data
restore
backup*
/server.crt
/server.key
/backup*
/cache
/Logs
/data
/restore
# SR Test Related #
######################
......@@ -40,27 +40,27 @@ backup*
*.tmproj
*.tmproject
*.sw?
Session.vim
.ropeproject/*
.idea
*.ipr
.settings/*
.pypirc
dist
build
Session.vim
sickrage.egg-info
/.idea
/.ropeproject/*
/.settings/*
/dist
/build
# OS generated files #
######################
.Spotlight-V100
.Trashes
.DS_Store
desktop.ini
ehthumbs.db
Thumbs.db
.directory
*.torrent
*~
.Spotlight-V100
/.Trashes
/.directory
/.DS_Store
# GruntJS Files #
######################
......@@ -69,10 +69,10 @@ Gruntfile.js
# NodeJS Files #
######################
package.json
node_modules
/node_modules
# Bower #
######################
bower_components
bower.json
_bower.js
bower.json
/bower_components
<%inherit file="../layouts/main.mako"/>
<%!
import datetime
import locale
import sickrage
from sickrage.core.common import SKIPPED, WANTED, UNAIRED, ARCHIVED, IGNORED, SNATCHED, SNATCHED_PROPER, SNATCHED_BEST, FAILED
from sickrage.core.common import Quality, qualityPresets, statusStrings, qualityPresetStrings, cpu_presets
from sickrage.core.helpers.srdatetime import srDateTime, date_presets, time_presets
from sickrage.metadata import GenericMetadata
%>
<%block name="content">
<h1 class="header">${header}</h1>
<% indexer = 0 %>
% if sickrage.srConfig.INDEXER_DEFAULT:
<% indexer = sickrage.srConfig.INDEXER_DEFAULT %>
% endif
<div id="config">
<div id="ui-content">
<form name="configForm" method="post" action="backuprestore">
<div id="ui-components">
<ul>
<li><a href="#core-component-group1">Backup</a></li>
<li><a href="#core-component-group2">Restore</a></li>
</ul>
<div id="core-component-group1" class="component-group clearfix">
<div class="component-group-desc">
<h3>Backup</h3>
<p><b>Backup your main database file and sickrage.srConfig.</b></p>
</div>
<fieldset class="component-group-list">
<div class="field-pair">
Select the folder you wish to save your backup file to:
<br><br>
<input type="text" name="backupDir" id="backupDir"
class="form-control input-sm input350" autocapitalize="off"/>
<input class="btn btn-inline" type="button" value="Backup" id="Backup"/>
<br>
</div>
<div class="Backup" id="Backup-result"></div>
</fieldset>
</div><!-- /component-group1 //-->
<div id="core-component-group2" class="component-group clearfix">
<div class="component-group-desc">
<h3>Restore</h3>
<p><b>Restore your main database file and sickrage.srConfig.</b></p>
</div>
<fieldset class="component-group-list">
<div class="field-pair">
Select the backup file you wish to restore:
<br><br>
<input type="text" name="backupFile" id="backupFile"
class="form-control input-sm input350" autocapitalize="off"/>
<input class="btn btn-inline" type="button" value="Restore" id="Restore"/>
<br>
</div>
<div class="Restore" id="Restore-result"></div>
</fieldset>
</div><!-- /component-group2 //-->
</div><!-- /ui-components -->
</form>
</div>
</div>
<div class="clearfix"></div>
</%block>
<%inherit file="../layouts/main.mako"/>
<%!
import sickrage
from sickrage.core.classes import ErrorViewer, WarningViewer
%>
<%block name="css">
<style>
pre {
overflow: auto;
word-wrap: normal;
white-space: pre;
}
</style>
</%block>
<%block name="content">
<%
if logLevel == sickrage.srLogger.logLevels['WARNING']:
errors = WarningViewer.errors
title = 'WARNING logs'
else:
errors = ErrorViewer.errors
title = 'ERROR logs'
%>
<h1 class="header">${title}</h1>
<div class="align-left"><pre>
% if errors:
% for curError in sorted(errors, key=lambda error: error.time, reverse=True)[:500]:
${curError.time} ${curError.message}
% endfor
% else:
There are no events to display.
% endif
</pre>
</div>
</%block>
<%inherit file="../layouts/main.mako"/>
<%!
import sickrage
%>
<%block name="content">
<h1 class="header">${header}</h1>
<div class="h2footer pull-right">Minimum logging level to display: <select name="minLevel" id="minLevel" class="form-control form-control-inline input-sm">
<% levels = [x for x in sickrage.srLogger.logLevels.keys() if any([sickrage.DEBUG and x in ['DEBUG','DB'], x not in ['DEBUG','DB']])]%>
<% levels.sort(lambda x,y: cmp(sickrage.srLogger.logLevels[x], sickrage.srLogger.logLevels[y])) %>
% for level in levels:
<option value="${sickrage.srLogger.logLevels[level]}" ${('', 'selected="selected"')[minLevel == sickrage.srLogger.logLevels[level]]}>${level.title()}</option>
% endfor
</select>
Filter log by: <select name="logFilter" id="logFilter" class="form-control form-control-inline input-sm">
% for logNameFilter in sorted(logNameFilters):
<option value="${logNameFilter}" ${('', 'selected="selected"')[logFilter == logNameFilter]}>${logNameFilters[logNameFilter]}</option>
% endfor
</select>
Search log by:
<input type="text" name="logSearch" placeholder="clear to reset" id="logSearch" value="${('', logSearch)[bool(logSearch)]}" class="form-control form-control-inline input-sm" />
</div>
<br>
<div class="align-left"><pre>
${logLines}
</pre>
</div>
<br>
</%block>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment