Example #1
0
 public AdminController(
     IWebHostEnvironment environment,
     ILogger <AdminController> logger,
     SignInManager <UserProfileModel> signInManager,
     UserManager <UserProfileModel> userManager,
     IPostService posts,
     IUserProfileService localProfiles,
     IPublicProfileService publicProfiles,
     IDebugService debugService,
     RoleManager <UserGroupModel> roleManager,
     IReactionService reactions,
     ITagService tags,
     INotificationService notifications,
     IPeerService peers,
     IAuthService auth,
     ISettingsService settings,
     IInvitationService invitationService,
     IActivityStreamRepository activityStreams
     ) :
     base(environment, signInManager, userManager, posts, localProfiles, publicProfiles, reactions, tags, notifications, peers, auth, settings, activityStreams)
 {
     _logger            = logger;
     _debugService      = debugService;
     _roleManager       = roleManager;
     _invitationService = invitationService;
 }
 public ShopService(SimpleDbContext dbContext, IPublicProfileService users, ITagService tags, IActivityStreamRepository activityStreams, IReactionService reactions, IObjectReferenceService handles)
 {
     _dbContext       = dbContext;
     _users           = users;
     _tags            = tags;
     _activityStreams = activityStreams;
     _handles         = handles;
 }
 public PostService(StringRepository strings, IPublicProfileService users, ITagService tags, INotificationService notifications, IActivityStreamRepository activityStreams)
 {
     _strings         = strings;
     _users           = users;
     _tags            = tags;
     _notifications   = notifications;
     _activityStreams = activityStreams;
 }
 public DocController(
     SignInManager <UserProfileModel> signInManager,
     UserManager <UserProfileModel> userManager,
     IUserProfileService localProfiles,
     IPublicProfileService publicProfiles,
     IAuthService auth,
     ISettingsService settings) :
     base(signInManager, userManager, localProfiles, publicProfiles, auth, settings)
 {
 }
 public SqlSearchProfilesService(UserManager <UserProfileModel> userManager,
                                 IUserProfileService profiles,
                                 IPublicProfileService publicProfiles,
                                 SimpleDbContext dbContext)
 {
     _userManager    = userManager;
     _profiles       = profiles;
     _publicProfiles = publicProfiles;
     _dbContext      = dbContext;
 }
Example #6
0
 public HandleController(
     SignInManager <UserProfileModel> signInManager,
     UserManager <UserProfileModel> userManager,
     IUserProfileService localProfiles,
     IPublicProfileService publicProfiles,
     IAuthService auth,
     ISettingsService settings,
     IObjectReferenceService handles) :
     base(signInManager, userManager, localProfiles, publicProfiles, auth, settings)
 {
     _handles = handles;
 }
 public TagController(
     ILogger <TagController> logger,
     SignInManager <UserProfileModel> signInManager,
     UserManager <UserProfileModel> userManager,
     IUserProfileService localProfiles,
     IPublicProfileService publicProfiles,
     ITagService tags,
     IAuthService auth,
     ISettingsService settings) :
     base(signInManager, userManager, localProfiles, publicProfiles, auth, settings)
 {
     _logger = logger;
     _tags   = tags;
 }
 public NotificationController(
     ILogger <NotificationController> logger,
     SignInManager <UserProfileModel> signInManager,
     UserManager <UserProfileModel> userManager,
     IUserProfileService localProfiles,
     IPublicProfileService publicProfiles,
     INotificationService notifications,
     IAuthService auth,
     ISettingsService settings) :
     base(signInManager, userManager, localProfiles, publicProfiles, auth, settings)
 {
     _logger        = logger;
     _notifications = notifications;
 }
Example #9
0
 public ReactionController(
     ILogger <ReactionController> logger,
     SignInManager <UserProfileModel> signInManager,
     UserManager <UserProfileModel> userManager,
     IUserProfileService localProfiles,
     IPublicProfileService publicProfiles,
     IReactionService reactions,
     IAuthService auth,
     ISettingsService settings,
     IActivityStreamRepository activityStream) :
     base(signInManager, userManager, localProfiles, publicProfiles, auth, settings)
 {
     _logger         = logger;
     _reactions      = reactions;
     _activityStream = activityStream;
 }
 public BaseController(
     SignInManager <UserProfileModel> signInManager,
     UserManager <UserProfileModel> userManager,
     IUserProfileService localProfiles,
     IPublicProfileService publicProfiles,
     IAuthService auth,
     ISettingsService settings
     )
 {
     _signInManager  = signInManager;
     _userManager    = userManager;
     _localProfiles  = localProfiles;
     _publicProfiles = publicProfiles;
     _auth           = auth;
     _settings       = settings;
     _featureManager = settings.FeatureManager;
 }
Example #11
0
 public PersonController(
     IWebHostEnvironment environment,
     ILogger <PersonController> logger,
     SignInManager <UserProfileModel> signInManager,
     UserManager <UserProfileModel> userManager,
     IPostService posts,
     IUserProfileService localProfiles,
     IPublicProfileService publicProfiles,
     IReactionService reactions,
     ITagService tags,
     INotificationService notifications,
     IPeerService peers,
     IAuthService auth,
     ISettingsService settings,
     IActivityStreamRepository activityStreams) :
     base(environment, signInManager, userManager, posts, localProfiles, publicProfiles, reactions, tags, notifications, peers, auth, settings, activityStreams)
 {
     _logger = logger;
 }
Example #12
0
 public AccountController(
     ILogger <AccountController> logger,
     IWebHostEnvironment environment,
     UserManager <UserProfileModel> userManager,
     SignInManager <UserProfileModel> signInManager,
     IPostService posts, IUserProfileService localProfiles, IPublicProfileService publicProfiles,
     IReactionService reactions, ITagService tags,
     INotificationService notifications,
     IPeerService peers,
     IAuthService auth,
     ISettingsService settings,
     IFido2 fido2,
     IInvitationService invitationService,
     IActivityStreamRepository activityStreams,
     IRateLimitService rateLimitService
     ) :
     base(environment, signInManager, userManager, posts, localProfiles, publicProfiles, reactions, tags, notifications, peers, auth, settings, activityStreams)
 {
     _logger            = logger;
     _fido2             = fido2;
     _invitationService = invitationService;
     _rateLimitService  = rateLimitService;
 }
Example #13
0
 public ActivityStreamController(
     IWebHostEnvironment environment,
     SignInManager <UserProfileModel> signInManager,
     UserManager <UserProfileModel> userManager,
     IPostService posts,
     IUserProfileService localProfiles,
     IPublicProfileService publicProfiles,
     IReactionService reactions,
     ITagService tags,
     INotificationService notifications,
     IPeerService peers,
     IAuthService auth,
     ISettingsService settings,
     IActivityStreamRepository activityStreams
     ) : base(signInManager, userManager, localProfiles, publicProfiles, auth, settings)
 {
     _environment     = environment;
     _posts           = posts;
     _reactions       = reactions;
     _tags            = tags;
     _notifications   = notifications;
     _peers           = peers;
     _activityStreams = activityStreams;
 }
 public BindMentionsToActivityStreamWhenReading(IPublicProfileService users, StringRepository strings)
 {
     _users   = users;
     _strings = strings;
 }
 public ElasticSearchPeopleService(IPublicProfileService profiles, IHazActivityStreamPipe pipe) : base(pipe)
 {
     _profiles = profiles;
 }