Skip to content

Commit

Permalink
Update to 0.2.187
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and [email protected] committed Jan 25, 2017
1 parent 6228bbd commit c1cd547
Show file tree
Hide file tree
Showing 16 changed files with 279 additions and 185 deletions.
9 changes: 9 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# NZB Hydra changelog

----------
### 0.2.187
Added: You can access and repeat the latest 20 manual searches from a button on the search screen. See [#515](https://github.com/theotherp/nzbhydra/issues/515).

Changed: Changed start view of "History & Stats" to "Search history" because stats took a long time to be loaded before you could switch to one of the other subareas

Fixed: Restored button to repeat searches and display of metaquery for searches without query. See [#515](https://github.com/theotherp/nzbhydra/issues/515).

Fixed: Various other small bugs related to the search history and its presentation.

### 0.2.186
Fixed: Adding an indexer without using a preset was impossible. See [#514](https://github.com/theotherp/nzbhydra/issues/514).

Expand Down
Binary file modified nzbhydra.exe
Binary file not shown.
5 changes: 5 additions & 0 deletions static/css/bright.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion static/css/bright.css.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions static/css/dark.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion static/css/dark.css.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions static/css/grey.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion static/css/grey.css.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions static/html/search-searchhistory-dropdown.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<ul class="uib-dropdown-menu" role="menu" aria-labelledby="button-template-url">

<li role="menuitem" ng-repeat="request in searchHistory"><a href="#" ng-click="repeatSearch(request)" ng-bind-html="formatRequest(request)"></a></li>

</ul>
2 changes: 1 addition & 1 deletion static/html/states/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li ui-sref-active="active"><a ui-sref="root.search" ui-sref-opts="{inherit: false, reload: true}">Search</a></li>
<li ui-sref-active="active" ng-if="showStats"><a ui-sref="root.stats.main">History & Stats</a></li>
<li ui-sref-active="active" ng-if="showStats"><a ui-sref="root.stats.searches">History & Stats</a></li>
<li ui-sref-active="active" ng-if="showAdmin"><a ui-sref="root.config">Config</a></li>
<li ui-sref-active="active" ng-if="showAdmin"><a ui-sref="root.system">System</a></li>
</ul>
Expand Down
53 changes: 1 addition & 52 deletions static/html/states/search-history.html
Original file line number Diff line number Diff line change
@@ -1,54 +1,3 @@
<div class="row">
<div ag-grid="gridOptions" class="ag-bootstrap" style="height: 600px; width: 100%; text-align: left; margin-top: 30px"></div>
</div>
<!--
<div class="row">
<div class="col-md-5"></div>
<div class="col-md-10" style="text-align: center">
<dir-pagination-controls on-page-change="pageChanged(newPageNumber)" pagination-id="searches"></dir-pagination-controls>
</div>
<div class="col-md-5" style="text-align: right">
<div class="btn-group" style="margin-bottom: 5px">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Show... <span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a href="#" ng-click="changeType('All')">All</a></li>
<li><a href="#" ng-click="changeType('Internal')">Internal only</a></li>
<li><a href="#" ng-click="changeType('API')">API only</a></li>
</ul>
</div>
</div>
</div>
<table class="table">
<thead>
<tr>
<th>Date</th>
<th>Query</th>
<th>Category</th>
<th>Additional parameters</th>
<th>Access</th>
<th>Username</th>
</tr>
</thead>
<tbody>
<tr dir-paginate="request in searchRequests | itemsPerPage: limit" total-items="totalRequests" current-page="pagination.current" pagination-id="searches">
<td>{{ request.time | reformatDate }}</td>
<td>
<a href="" ng-click="openSearch(request)"><span class="glyphicon glyphicon-search"></span></a>
<span ng-class="{'history-title': request.movietitle != null || request.tvtitle != null || (request.query == null && request.identifier_key == null && request.season ==null && request.episode ==null)}">
{{ formatQuery(request) }}
</span>
</td>
<td>{{ request.category }}</td>
<td ng-bind-html="formatAdditional(request)"></td>
<td>{{ request.internal ? "Internal" : "API"}}</td>
<td>{{ request.username }}</td>
</tr>
</tbody>
</table>
<dir-pagination-controls on-page-change="pageChanged(newPageNumber)" pagination-id="searches"></dir-pagination-controls>
-->
</div>
19 changes: 16 additions & 3 deletions static/html/states/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<input type="checkbox" name="by-id" id="by-id" ng-model="isById.value" style="margin-top:0;">
</span>


<script type="text/ng-template" id="movieAutocompleteEntry">
<a>{{ match.label }}</a>
</script>
Expand All @@ -62,8 +62,21 @@
tooltip-trigger="mouseenter"
ng-change="searchInputChanged()"
>
<span class="input-group-btn input-group-btn1">
<div class="btn-group" uib-dropdown is-open="status.isopen">
<button id="single-button" type="button" class="btn btn-default" uib-dropdown-toggle ng-disabled="disabled"
uib-tooltip="Search history"
tooltip-placement="top"
tooltip-trigger="mouseenter"
>
<span class="glyphicon glyphicon-time" style="margin-right: 3px"></span><span class="caret"></span>
</button>
<ul class="uib-dropdown-menu" template-url="static/html/search-searchhistory-dropdown.html" aria-labelledby="button-template-url">
</ul>
</div>
</span>

<span class="input-group-btn input-group-btn2">
<span class="input-group-btn input-group-btn2" style="width:51px;">
<button class="btn btn-default" type="button" ng-click="goToSearchUrl()">Go!</button>
</span>
</div>
Expand All @@ -80,7 +93,7 @@
<div class="col-md-10">
<div class="input-group" style="padding-top: 10px;">
<button ng-click="toggleAllIndexers()" class="btn btn-default"> Invert selection</button>
<span style="margin-right: 10px;"></span>
<span style="margin-right: 10px;"></span>
<label ng-repeat="indexer in availableIndexers">
<input type="checkbox" ng-class="{'indexer-checkbox': $index > 0}" ng-model="indexer.activated" ng-click="availableIndexers[indexer.name].activated=!availableIndexers[indexer.name].activated"> {{ indexer.name }}
</label>
Expand Down
4 changes: 2 additions & 2 deletions static/html/states/stats.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" ui-sref-active="active"><a ui-sref="root.stats.main" role="tab">Stats</a></li>
<li role="presentation" ui-sref-active="active"><a ui-sref="root.stats.indexers" role="tab">Indexer statuses</a></li>
<li role="presentation" ui-sref-active="active"><a ui-sref="root.stats.searches" role="tab">Search history</a></li>
<li role="presentation" ui-sref-active="active"><a ui-sref="root.stats.downloads" role="tab">Download history</a></li>
<li role="presentation" ui-sref-active="active"><a ui-sref="root.stats.indexers" role="tab">Indexer statuses</a></li>
<li role="presentation" ui-sref-active="active"><a ui-sref="root.stats.main" role="tab">Stats</a></li>
</ul>

<div ui-view="stats"></div>
Loading

0 comments on commit c1cd547

Please sign in to comment.