From 5ad2c7a371bdec935f66ac4d2f59046f303a1126 Mon Sep 17 00:00:00 2001 From: la55u <30611343+la55u@users.noreply.github.com> Date: Sun, 3 Jun 2018 01:11:42 +0200 Subject: [PATCH 1/9] RevTT: Minor fixes (#3193) * fixed RevTT pc/iso category * added grabs count to RevTT --- src/Jackett.Common/Indexers/RevolutionTT.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Jackett.Common/Indexers/RevolutionTT.cs b/src/Jackett.Common/Indexers/RevolutionTT.cs index 4f49f4f15..c9e4f2eac 100644 --- a/src/Jackett.Common/Indexers/RevolutionTT.cs +++ b/src/Jackett.Common/Indexers/RevolutionTT.cs @@ -116,7 +116,7 @@ namespace Jackett.Common.Indexers //AddCategoryMapping("cat_id", TorznabCatType.AudioForeign); AddCategoryMapping("21", TorznabCatType.PC); AddCategoryMapping("22", TorznabCatType.PC0day); - AddCategoryMapping("4", TorznabCatType.PCISO); + AddCategoryMapping("1", TorznabCatType.PCISO); AddCategoryMapping("2", TorznabCatType.PCMac); //AddCategoryMapping("cat_id", TorznabCatType.PCPhoneOther); //Games/PC-ISO, Games/PC-Rips @@ -155,7 +155,7 @@ namespace Jackett.Common.Indexers // RSS Textual categories AddCategoryMapping("Anime", TorznabCatType.TVAnime); AddCategoryMapping("Appz/Misc", TorznabCatType.PC0day); - AddCategoryMapping("Appz/PC-ISO", TorznabCatType.Books); + AddCategoryMapping("Appz/PC-ISO", TorznabCatType.PCISO); AddCategoryMapping("E-Book", TorznabCatType.BooksEbook); AddCategoryMapping("Games/PC-ISO", TorznabCatType.PCGames); AddCategoryMapping("Games/PC-Rips", TorznabCatType.PCGames); @@ -349,6 +349,9 @@ namespace Jackett.Common.Indexers release.Seeders = ParseUtil.CoerceInt(qRow.Find("td:nth-child(9)").Text()); release.Peers = release.Seeders + ParseUtil.CoerceInt(qRow.Find("td:nth-child(10)").Text()); + var grabsStr = qRow.Find("td:nth-child(8)").Text(); + release.Grabs = ParseUtil.GetLongFromString(grabsStr); + var category = qRow.Find(".br_type > a").Attr("href").Replace("browse.php?cat=", string.Empty); release.Category = MapTrackerCatToNewznab(category); } @@ -364,4 +367,4 @@ namespace Jackett.Common.Indexers return releases; } } -} \ No newline at end of file +} From a60c1fca3670cde733cbb13e2f5749d3ec1c579f Mon Sep 17 00:00:00 2001 From: flightlevel Date: Sun, 3 Jun 2018 21:27:47 +1000 Subject: [PATCH 2/9] .NET 4.6.1 or Mono 5.4 is now the minimum supported runtime --- README.md | 4 ++-- src/Jackett/Services/ServerService.cs | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7ac6cd04d..0200916c8 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,8 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ #### Supported Systems -* Windows using .NET 4.5.2 [Download here](https://www.microsoft.com/net/framework/versions/net452). -* Linux and macOS using Mono 4.6.0 and above. [Download here](http://www.mono-project.com/download/). Earlier versions of mono may work but some trackers may fail to negotiate SSL correctly, and others may cause Jackett to crash when used. +* Windows using .NET 4.6.1 or above [Download here](https://www.microsoft.com/net/framework/versions/net461). +* Linux and macOS using Mono 5.4.0 and above. [Download here](http://www.mono-project.com/download/). Earlier versions of mono may work, but some trackers may fail to negotiate SSL correctly, and others may cause Jackett to crash when used. ### Supported Public Trackers * 1337x diff --git a/src/Jackett/Services/ServerService.cs b/src/Jackett/Services/ServerService.cs index 21a14fa05..e16de8415 100644 --- a/src/Jackett/Services/ServerService.cs +++ b/src/Jackett/Services/ServerService.cs @@ -153,6 +153,13 @@ namespace Jackett.Services logger.Error(notice); } + if (monoVersionO.Major < 5 || (monoVersionO.Major == 5 && monoVersionO.Minor < 4)) + { + string notice = "Mono version 5.4 is the minimum required. Please update to the latest version from http://www.mono-project.com/download/"; + _notices.Add(notice); + logger.Error(notice); + } + try { // Check for mono-devel From c860bca320cc4ee958e290e61d72e01910c13fd6 Mon Sep 17 00:00:00 2001 From: Travis Boss Date: Sun, 3 Jun 2018 21:59:16 -0500 Subject: [PATCH 3/9] changed log button from btn-danger to btn-success, less scary (#3196) --- src/Jackett.Common/Content/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jackett.Common/Content/index.html b/src/Jackett.Common/Content/index.html index 72d03febf..47518012a 100644 --- a/src/Jackett.Common/Content/index.html +++ b/src/Jackett.Common/Content/index.html @@ -98,7 +98,7 @@ -