Skip to content

Commit

Permalink
Merge pull request #2534 from tidusjar/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
tidusjar committed Sep 23, 2018
2 parents 938547f + 03ca0ea commit d4841b9
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 6 deletions.
101 changes: 101 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,107 @@

### **Fixes**

- Fixed the issue with notifications not sending. [Jamie]

- Removes Legacy command result variables. [Qstick]


## v3.0.3786 (2018-09-22)

### **New Features**

- Update CHANGELOG.md. [Jamie]

### **Fixes**

- New translations en.json (Swedish) [Jamie]

- New translations en.json (Spanish) [Jamie]

- New translations en.json (Portuguese, Brazilian) [Jamie]

- New translations en.json (Polish) [Jamie]

- New translations en.json (Norwegian) [Jamie]

- New translations en.json (Italian) [Jamie]

- New translations en.json (German) [Jamie]

- New translations en.json (French) [Jamie]

- New translations en.json (Dutch) [Jamie]

- New translations en.json (Danish) [Jamie]

- New translations en.json (Swedish) [Jamie]

- New translations en.json (Spanish) [Jamie]

- New translations en.json (Portuguese, Brazilian) [Jamie]

- New translations en.json (Polish) [Jamie]

- New translations en.json (Norwegian) [Jamie]

- New translations en.json (Italian) [Jamie]

- New translations en.json (German) [Jamie]

- New translations en.json (French) [Jamie]

- New translations en.json (Dutch) [Jamie]

- New translations en.json (Danish) [Jamie]

- New translations en.json (Swedish) [Jamie]

- New translations en.json (Spanish) [Jamie]

- New translations en.json (Portuguese, Brazilian) [Jamie]

- New translations en.json (Polish) [Jamie]

- New translations en.json (Norwegian) [Jamie]

- New translations en.json (Italian) [Jamie]

- New translations en.json (German) [Jamie]

- New translations en.json (French) [Jamie]

- New translations en.json (Dutch) [Jamie]

- New translations en.json (Danish) [Jamie]

- New translations en.json (Swedish) [Jamie]

- New translations en.json (German) [Jamie]

- New translations en.json (German) [Jamie]

- New translations en.json (Swedish) [Jamie]

- New translations en.json (Spanish) [Jamie]

- New translations en.json (Portuguese, Brazilian) [Jamie]

- New translations en.json (Polish) [Jamie]

- New translations en.json (Norwegian) [Jamie]

- New translations en.json (Italian) [Jamie]

- New translations en.json (German) [Jamie]

- New translations en.json (French) [Jamie]

- New translations en.json (Dutch) [Jamie]

- New translations en.json (Danish) [Jamie]

- New translations en.json (Portuguese, Brazilian) [Jamie]

- Fix #2529 - Change data type to long. [Anojh]

- Fix #2527 - Music request not triggering search and failing. [Anojh]
Expand Down
6 changes: 3 additions & 3 deletions src/Ombi.Api.Lidarr/Models/CommandResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ namespace Ombi.Api.Lidarr.Models
public class CommandResult
{
public string name { get; set; }
public DateTime startedOn { get; set; }
public DateTime queued { get; set; }
public DateTime stateChangeTime { get; set; }
public bool sendUpdatesToClient { get; set; }
public string state { get; set; }
public string status { get; set; }
public int id { get; set; }
}
}
}
16 changes: 13 additions & 3 deletions src/Ombi.Notifications/NotificationMessageCurlys.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ public class NotificationMessageCurlys
public void Setup(NotificationOptions opts, FullBaseRequest req, CustomizationSettings s, UserNotificationPreferences pref)
{
LoadIssues(opts);
UserPreference = pref.Enabled ? pref.Value : string.Empty;
if (pref != null)
{
UserPreference = pref.Enabled ? pref.Value : string.Empty;
}

string title;
if (req == null)
{
Expand Down Expand Up @@ -62,7 +66,10 @@ public void Setup(NotificationOptions opts, FullBaseRequest req, CustomizationSe
public void Setup(NotificationOptions opts, AlbumRequest req, CustomizationSettings s, UserNotificationPreferences pref)
{
LoadIssues(opts);
UserPreference = pref.Enabled ? pref.Value : string.Empty;
if (pref != null)
{
UserPreference = pref.Enabled ? pref.Value : string.Empty;
}
string title;
if (req == null)
{
Expand Down Expand Up @@ -106,7 +113,10 @@ public void SetupNewsletter(CustomizationSettings s, OmbiUser username)
public void Setup(NotificationOptions opts, ChildRequests req, CustomizationSettings s, UserNotificationPreferences pref)
{
LoadIssues(opts);
UserPreference = pref.Enabled ? pref.Value : string.Empty;
if (pref != null)
{
UserPreference = pref.Enabled ? pref.Value : string.Empty;
}
string title;
if (req == null)
{
Expand Down

0 comments on commit d4841b9

Please sign in to comment.