Compare commits

..

4 Commits

Author SHA1 Message Date
Qstick
a0d18c546e Bump version to 0.4.9 2022-11-12 20:03:35 -06:00
Qstick
d935b0df82 Fix regression in release analytics service after debounce added
Fixes #1193
2022-11-10 17:39:14 -06:00
Qstick
9e37f69224 Fixed: (RetroFlix) Urls built with double slash
Fixes #1188
Closes #1192
2022-11-10 06:54:20 -06:00
Servarr
2805c4f18b Automated API Docs update 2022-11-07 20:22:57 -06:00
5 changed files with 41 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ variables:
testsFolder: './_tests'
yarnCacheFolder: $(Pipeline.Workspace)/.yarn
nugetCacheFolder: $(Pipeline.Workspace)/.nuget/packages
majorVersion: '0.4.8'
majorVersion: '0.4.9'
minorVersion: $[counter('minorVersion', 1)]
prowlarrVersion: '$(majorVersion).$(minorVersion)'
buildName: '$(Build.SourceBranchName).$(prowlarrVersion)'

View File

@@ -37,7 +37,7 @@ namespace NzbDrone.Core.IndexerSearch
public void HandleAsync(IndexerQueryEvent message)
{
if (message.QueryResult?.Releases != null)
if (_analyticsService.IsEnabled && message.QueryResult?.Releases != null)
{
lock (_pendingUpdates)
{

View File

@@ -9,7 +9,7 @@ namespace NzbDrone.Core.Indexers.Definitions
{
public override string Name => "SpeedApp.io";
public override string[] IndexerUrls => new string[] { "https://speedapp.io" };
public override string[] IndexerUrls => new string[] { "https://speedapp.io/" };
public override string Description => "SpeedApp is a ROMANIAN Private Torrent Tracker for MOVIES / TV / GENERAL";

View File

@@ -28,9 +28,7 @@ namespace NzbDrone.Core.Indexers.Definitions
{
public abstract class SpeedAppBase : TorrentIndexerBase<SpeedAppSettings>
{
private string ApiUrl => $"{Settings.BaseUrl}/api";
private string LoginUrl => $"{ApiUrl}/login";
private string LoginUrl => Settings.BaseUrl + "api/login";
public override Encoding Encoding => Encoding.UTF8;
@@ -262,7 +260,7 @@ namespace NzbDrone.Core.Indexers.Definitions
}
}
var searchUrl = Settings.BaseUrl + "/api/torrent?" + qc.GetQueryString(duplicateKeysIfMulti: true);
var searchUrl = Settings.BaseUrl + "api/torrent?" + qc.GetQueryString(duplicateKeysIfMulti: true);
var request = new IndexerRequest(searchUrl, HttpAccept.Json);

View File

@@ -27,6 +27,25 @@
}
],
"paths": {
"/api": {
"get": {
"tags": [
"ApiInfo"
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiInfoResource"
}
}
}
}
}
}
},
"/api/v1/applications/{id}": {
"get": {
"tags": [
@@ -4406,6 +4425,23 @@
},
"components": {
"schemas": {
"ApiInfoResource": {
"type": "object",
"properties": {
"current": {
"type": "string",
"nullable": true
},
"deprecated": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"AppProfileResource": {
"type": "object",
"properties": {