Fixed the issue of it showing as not requested when we find it in Radarr.

Made the tv shows match a bit more to the movie requests
Added the ability for plex and emby users to login
Improved the welcome email, will only show for users that have not logged in
Fixed discord notifications
the about screen now checks if there is an update ready
#1513
This commit is contained in:
tidusjar 2017-09-28 19:53:30 +01:00
parent 9556ed1b34
commit 057683d97a
32 changed files with 1039 additions and 108 deletions

View file

@ -9,12 +9,13 @@ using Ombi.Store.Entities;
using Microsoft.AspNetCore.Identity;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Ombi.Core.Authentication;
namespace Ombi.Core.Engine.Interfaces
{
public abstract class BaseEngine
{
protected BaseEngine(IPrincipal user, UserManager<OmbiUser> um, IRuleEvaluator rules)
protected BaseEngine(IPrincipal user, OmbiUserManager um, IRuleEvaluator rules)
{
UserPrinciple = user;
Rules = rules;
@ -23,7 +24,7 @@ namespace Ombi.Core.Engine.Interfaces
protected IPrincipal UserPrinciple { get; }
protected IRuleEvaluator Rules { get; }
protected UserManager<OmbiUser> UserManager { get; }
protected OmbiUserManager UserManager { get; }
protected string Username => UserPrinciple.Identity.Name;
private OmbiUser _user;