Esempio n. 1
0
 public TelegramNotification(ITelegramApi api, ISettingsService <TelegramSettings> sn, ILogger <TelegramNotification> log,
                             INotificationTemplatesRepository r, IMovieRequestRepository m,
                             ITvRequestRepository t, ISettingsService <CustomizationSettings> s) : base(sn, r, m, t, s, log)
 {
     Api    = api;
     Logger = log;
 }
Esempio n. 2
0
 public IdentityController(OmbiUserManager user, IMapper mapper, RoleManager <IdentityRole> rm, IEmailProvider prov,
                           ISettingsService <EmailNotificationSettings> s,
                           ISettingsService <CustomizationSettings> c,
                           ISettingsService <OmbiSettings> ombiSettings,
                           IWelcomeEmail welcome,
                           IMovieRequestRepository m,
                           ITvRequestRepository t,
                           ILogger <IdentityController> l,
                           IPlexApi plexApi,
                           ISettingsService <PlexSettings> settings,
                           IRepository <RequestLog> requestLog,
                           IRepository <Issues> issues,
                           IRepository <IssueComments> issueComments)
 {
     UserManager           = user;
     Mapper                = mapper;
     RoleManager           = rm;
     EmailProvider         = prov;
     EmailSettings         = s;
     CustomizationSettings = c;
     WelcomeEmail          = welcome;
     MovieRepo             = m;
     TvRepo                = t;
     _log                     = l;
     _plexApi                 = plexApi;
     _plexSettings            = settings;
     _issuesRepository        = issues;
     _requestLogRepository    = requestLog;
     _issueCommentsRepository = issueComments;
     OmbiSettings             = ombiSettings;
 }
Esempio n. 3
0
 public UserDeletionEngine(IMovieRequestRepository movieRepository,
                           OmbiUserManager userManager,
                           ITvRequestRepository tvRepository,
                           IMusicRequestRepository musicRepository,
                           IRepository <Issues> issueRepo,
                           IRepository <IssueComments> issueCommentsRepo,
                           IRepository <RequestLog> requestLogRepo,
                           IRepository <NotificationUserId> notificationidsRepo,
                           IRepository <RequestSubscription> requestSubRepository,
                           IRepository <UserNotificationPreferences> notificationPreferencesRepo,
                           IRepository <UserQualityProfiles> qualityProfilesRepo,
                           IRepository <Votes> voteRepository,
                           IRepository <MobileDevices> mobileDevicesRepository
                           )
 {
     _movieRepository               = movieRepository;
     _userManager                   = userManager;
     _tvRepository                  = tvRepository;
     _musicRepository               = musicRepository;
     _issuesRepository              = issueRepo;
     _issueCommentsRepository       = issueCommentsRepo;
     _notificationRepository        = notificationidsRepo;
     _requestLogRepository          = requestLogRepo;
     _requestSubscriptionRepository = requestSubRepository;
     _notificationRepository        = notificationidsRepo;
     _userNotificationPreferences   = notificationPreferencesRepo;
     _userQualityProfiles           = qualityProfilesRepo;
     _voteRepository                = voteRepository;
     _mobileDevicesRepository       = mobileDevicesRepository;
 }
Esempio n. 4
0
 public RequestRetryController(IRepository <RequestQueue> requestQueue, IMovieRequestRepository movieRepo,
                               ITvRequestRepository tvRepo, IMusicRequestRepository musicRepo)
 {
     _requestQueueRepository = requestQueue;
     _movieRequestRepository = movieRepo;
     _tvRequestRepository    = tvRepo;
     _musicRequestRepository = musicRepo;
 }
 public TvRequestService(
     ITvRequestRepository requestRepository,
     IRequestHelper requestHelper
     )
 {
     _requestRepository = requestRepository;
     _requestHelper     = requestHelper;
 }
Esempio n. 6
0
 public DiscordNotification(IDiscordApi api, ISettingsService <DiscordNotificationSettings> sn,
                            ILogger <DiscordNotification> log, INotificationTemplatesRepository r,
                            IMovieRequestRepository m, ITvRequestRepository t, ISettingsService <CustomizationSettings> s, IRepository <RequestSubscription> sub)
     : base(sn, r, m, t, s, log, sub)
 {
     Api    = api;
     Logger = log;
 }
Esempio n. 7
0
 public AutoDeleteRequests(ISettingsService <OmbiSettings> ombiSettings, IMovieRequestRepository movieRequest,
                           ILogger <AutoDeleteRequests> logger, ITvRequestRepository tvRequestRepository)
 {
     _ombiSettings        = ombiSettings;
     _movieRequests       = movieRequest;
     _tvRequestRepository = tvRequestRepository;
     _logger = logger;
 }
Esempio n. 8
0
 public MobileNotification(IOneSignalApi api, ISettingsService <MobileNotificationSettings> sn, ILogger <MobileNotification> log, INotificationTemplatesRepository r,
                           IMovieRequestRepository m, ITvRequestRepository t, ISettingsService <CustomizationSettings> s, IRepository <NotificationUserId> notification,
                           UserManager <OmbiUser> um) : base(sn, r, m, t, s, log)
 {
     _api           = api;
     _logger        = log;
     _notifications = notification;
     _userManager   = um;
 }
Esempio n. 9
0
 public PlexAvailabilityChecker(IPlexContentRepository repo, ITvRequestRepository tvRequest, IMovieRequestRepository movies,
                                INotificationService notification, IBackgroundJobClient background)
 {
     _tvRepo              = tvRequest;
     _repo                = repo;
     _movieRepo           = movies;
     _notificationService = notification;
     _backgroundJobClient = background;
 }
Esempio n. 10
0
 public PlexAvailabilityChecker(IPlexContentRepository repo, ITvRequestRepository tvRequest, IMovieRequestRepository movies,
                                INotificationHelper notification, ILogger <PlexAvailabilityChecker> log)
 {
     _tvRepo              = tvRequest;
     _repo                = repo;
     _movieRepo           = movies;
     _notificationService = notification;
     _log = log;
 }
Esempio n. 11
0
 public EmbyAvaliabilityChecker(IEmbyContentRepository repo, ITvRequestRepository t, IMovieRequestRepository m,
                                INotificationService n, ILogger <EmbyAvaliabilityChecker> log)
 {
     _repo                = repo;
     _tvRepo              = t;
     _movieRepo           = m;
     _notificationService = n;
     _log = log;
 }
Esempio n. 12
0
 public DiscordNotification(IDiscordApi api, ISettingsService <DiscordNotificationSettings> sn,
                            ILogger <DiscordNotification> log, INotificationTemplatesRepository r,
                            IMovieRequestRepository m, ITvRequestRepository t, ISettingsService <CustomizationSettings> s, IRepository <RequestSubscription> sub, IMusicRequestRepository music,
                            IRepository <UserNotificationPreferences> userPref, UserManager <OmbiUser> um)
     : base(sn, r, m, t, s, log, sub, music, userPref, um)
 {
     Api    = api;
     Logger = log;
 }
Esempio n. 13
0
 public WhatsAppNotification(IWhatsAppApi api, ISettingsService <TwilioSettings> sn, ILogger <WhatsAppNotification> log,
                             INotificationTemplatesRepository r, IMovieRequestRepository m,
                             ITvRequestRepository t, ISettingsService <CustomizationSettings> s
                             , IRepository <RequestSubscription> sub, IMusicRequestRepository music,
                             IRepository <UserNotificationPreferences> userPref) : base(sn, r, m, t, s, log, sub, music, userPref)
 {
     Api    = api;
     Logger = log;
 }
Esempio n. 14
0
 public JellyfinAvaliabilityChecker(IJellyfinContentRepository repo, ITvRequestRepository t, IMovieRequestRepository m,
                                    INotificationHelper n, ILogger <JellyfinAvaliabilityChecker> log, IHubContext <NotificationHub> notification)
 {
     _repo                = repo;
     _tvRepo              = t;
     _movieRepo           = m;
     _notificationService = n;
     _log          = log;
     _notification = notification;
 }
Esempio n. 15
0
 public MobileNotification(IOneSignalApi api, ISettingsService <MobileNotificationSettings> sn, ILogger <MobileNotification> log, INotificationTemplatesRepository r,
                           IMovieRequestRepository m, ITvRequestRepository t, ISettingsService <CustomizationSettings> s, IRepository <NotificationUserId> notification,
                           UserManager <OmbiUser> um, IRepository <RequestSubscription> sub, IMusicRequestRepository music,
                           IRepository <UserNotificationPreferences> userPref) : base(sn, r, m, t, s, log, sub, music, userPref)
 {
     _api           = api;
     _logger        = log;
     _notifications = notification;
     _userManager   = um;
 }
Esempio n. 16
0
 public IdentityController(OmbiUserManager user, IMapper mapper, RoleManager <IdentityRole> rm, IEmailProvider prov,
                           ISettingsService <EmailNotificationSettings> s,
                           ISettingsService <CustomizationSettings> c,
                           ISettingsService <OmbiSettings> ombiSettings,
                           IWelcomeEmail welcome,
                           IMovieRequestRepository m,
                           ITvRequestRepository t,
                           ILogger <IdentityController> l,
                           IPlexApi plexApi,
                           ISettingsService <PlexSettings> settings,
                           IRepository <RequestLog> requestLog,
                           IRepository <Issues> issues,
                           IRepository <IssueComments> issueComments,
                           IRepository <NotificationUserId> notificationRepository,
                           IRepository <RequestSubscription> subscriptionRepository,
                           ISettingsService <UserManagementSettings> umSettings,
                           IRepository <UserNotificationPreferences> notificationPreferences,
                           IRepository <UserQualityProfiles> userProfiles,
                           IMusicRequestRepository musicRepo,
                           IMovieRequestEngine movieRequestEngine,
                           ITvRequestEngine tvRequestEngine,
                           IMusicRequestEngine musicEngine,
                           IUserDeletionEngine deletionEngine,
                           IRequestLimitService requestLimitService,
                           ICacheService cacheService)
 {
     UserManager           = user;
     Mapper                = mapper;
     RoleManager           = rm;
     EmailProvider         = prov;
     EmailSettings         = s;
     CustomizationSettings = c;
     WelcomeEmail          = welcome;
     MovieRepo             = m;
     MusicRepo             = musicRepo;
     TvRepo                = t;
     _log                           = l;
     _plexApi                       = plexApi;
     _plexSettings                  = settings;
     _issuesRepository              = issues;
     _requestLogRepository          = requestLog;
     _issueCommentsRepository       = issueComments;
     OmbiSettings                   = ombiSettings;
     _requestSubscriptionRepository = subscriptionRepository;
     _notificationRepository        = notificationRepository;
     _userManagementSettings        = umSettings;
     TvRequestEngine                = tvRequestEngine;
     MovieRequestEngine             = movieRequestEngine;
     _userNotificationPreferences   = notificationPreferences;
     _userQualityProfiles           = userProfiles;
     MusicRequestEngine             = musicEngine;
     _deletionEngine                = deletionEngine;
     _requestLimitService           = requestLimitService;
     _cacheService                  = cacheService;
 }
Esempio n. 17
0
 public ResendFailedRequests(IRepository <RequestQueue> queue, IMovieSender movieSender, ITvSender tvSender, IMusicSender musicSender,
                             IMovieRequestRepository movieRepo, ITvRequestRepository tvRepo, IMusicRequestRepository music)
 {
     _requestQueue           = queue;
     _movieSender            = movieSender;
     _tvSender               = tvSender;
     _musicSender            = musicSender;
     _movieRequestRepository = movieRepo;
     _tvRequestRepository    = tvRepo;
     _musicRequestRepository = music;
 }
Esempio n. 18
0
 public PlexAvailabilityChecker(IPlexContentRepository repo, ITvRequestRepository tvRequest, IMovieRequestRepository movies,
                                INotificationHelper notification, ILogger <PlexAvailabilityChecker> log, IHubContext <NotificationHub> hub, IFeatureService featureService)
 {
     _tvRepo              = tvRequest;
     _repo                = repo;
     _movieRepo           = movies;
     _notificationService = notification;
     _log            = log;
     _notification   = hub;
     _featureService = featureService;
 }
Esempio n. 19
0
 protected BaseNotification(ISettingsService <T> settings, INotificationTemplatesRepository templateRepo, IMovieRequestRepository movie, ITvRequestRepository tv,
                            ISettingsService <CustomizationSettings> customization, ILogger <BaseNotification <T> > log)
 {
     Settings              = settings;
     TemplateRepository    = templateRepo;
     MovieRepository       = movie;
     TvRepository          = tv;
     CustomizationSettings = customization;
     Settings.ClearCache();
     CustomizationSettings.ClearCache();
     _log = log;
 }
Esempio n. 20
0
 protected BaseNotification(ISettingsService <T> settings, INotificationTemplatesRepository templateRepo, IMovieRequestRepository movie, ITvRequestRepository tv,
                            ISettingsService <CustomizationSettings> customization, ILogger <BaseNotification <T> > log, IRepository <RequestSubscription> sub, IMusicRequestRepository album,
                            IRepository <UserNotificationPreferences> notificationUserPreferences)
 {
     Settings              = settings;
     TemplateRepository    = templateRepo;
     MovieRepository       = movie;
     TvRepository          = tv;
     CustomizationSettings = customization;
     RequestSubscription   = sub;
     _log                        = log;
     AlbumRepository             = album;
     UserNotificationPreferences = notificationUserPreferences;
 }
Esempio n. 21
0
 public ArrAvailabilityChecker(
     IExternalRepository <RadarrCache> radarrRepo,
     IExternalRepository <SonarrCache> sonarrRepo,
     IExternalRepository <SonarrEpisodeCache> sonarrEpisodeRepo,
     INotificationHelper notification, IHubContext <NotificationHub> hub,
     ITvRequestRepository tvRequest, IMovieRequestRepository movies,
     ILogger <ArrAvailabilityChecker> log,
     ISettingsService <RadarrSettings> radarrSettings,
     ISettingsService <SonarrSettings> sonarrSettings)
 {
     _radarrRepo        = radarrRepo;
     _sonarrRepo        = sonarrRepo;
     _sonarrEpisodeRepo = sonarrEpisodeRepo;
     _notification      = notification;
     _hub            = hub;
     _tvRequest      = tvRequest;
     _movies         = movies;
     _logger         = log;
     _radarrSettings = radarrSettings;
     _sonarrSettings = sonarrSettings;
 }
Esempio n. 22
0
 public RequestService(ITvRequestRepository tv, IMovieRequestRepository movie)
 {
     TvRequestService    = tv;
     MovieRequestService = movie;
 }
Esempio n. 23
0
 public EmailNotification(ISettingsService <EmailNotificationSettings> settings, INotificationTemplatesRepository r, IMovieRequestRepository m, ITvRequestRepository t, IEmailProvider prov, ISettingsService <CustomizationSettings> c,
                          ILogger <EmailNotification> log, UserManager <OmbiUser> um, IRepository <RequestSubscription> sub, IMusicRequestRepository music,
                          IRepository <UserNotificationPreferences> userPref) : base(settings, r, m, t, c, log, sub, music, userPref)
 {
     EmailProvider = prov;
     Logger        = log;
     _userManager  = um;
 }
Esempio n. 24
0
 public UserStatsEngine(IMovieRequestRepository movieRequest, ITvRequestRepository tvRequest)
 {
     _movieRequest = movieRequest;
     _tvRequest    = tvRequest;
 }
Esempio n. 25
0
 public ExistingRule(IMovieRequestRepository movie, ITvRequestRepository tv)
 {
     Movie = movie;
     Tv    = tv;
 }
Esempio n. 26
0
 public ExistingTvRequestRule(ITvRequestRepository rv)
 {
     Tv = rv;
 }
Esempio n. 27
0
 public PushoverNotification(IPushoverApi api, ISettingsService <PushoverSettings> sn, ILogger <PushoverNotification> log, INotificationTemplatesRepository r, IMovieRequestRepository m, ITvRequestRepository t,
                             ISettingsService <CustomizationSettings> s) : base(sn, r, m, t, s, log)
 {
     Api    = api;
     Logger = log;
 }
Esempio n. 28
0
 public MattermostNotification(IMattermostApi api, ISettingsService <MattermostNotificationSettings> sn, ILogger <MattermostNotification> log, INotificationTemplatesRepository r, IMovieRequestRepository m, ITvRequestRepository t,
                               ISettingsService <CustomizationSettings> s) : base(sn, r, m, t, s, log)
 {
     Api    = api;
     Logger = log;
 }
Esempio n. 29
0
 public RequestService(ITvRequestRepository tv, IMovieRequestRepository movie, IMusicRequestRepository music)
 {
     TvRequestService       = tv;
     MovieRequestService    = movie;
     MusicRequestRepository = music;
 }
Esempio n. 30
0
 public ExistingRule(IMovieRequestRepository movie, ITvRequestRepository tv, IMusicRequestRepository music)
 {
     Movie = movie;
     Tv    = tv;
     Music = music;
 }