X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Badmin%2Fadmin.module.ts;h=fdbe70314e0ded871110195eedd92ce696977ace;hb=134cf2bce96a8c5aefd55154e884964975d8cf23;hp=04b7ec5c1c724c776128fced562cdf712318f5c0;hpb=141b177db088891e84040f68aa95008fb52f1d44;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+admin/admin.module.ts b/client/src/app/+admin/admin.module.ts index 04b7ec5c1..fdbe70314 100644 --- a/client/src/app/+admin/admin.module.ts +++ b/client/src/app/+admin/admin.module.ts @@ -5,21 +5,39 @@ import { TableModule } from 'primeng/table' import { SharedModule } from '../shared' import { AdminRoutingModule } from './admin-routing.module' import { AdminComponent } from './admin.component' -import { FollowersListComponent, FollowingAddComponent, FollowsComponent, FollowService } from './follows' +import { FollowersListComponent, FollowingAddComponent, FollowsComponent, VideoRedundanciesListComponent } from './follows' import { FollowingListComponent } from './follows/following-list/following-list.component' -import { JobsComponent } from './jobs/job.component' -import { JobsListComponent } from './jobs/jobs-list/jobs-list.component' -import { JobService } from './jobs/shared/job.service' -import { UserCreateComponent, UserListComponent, UsersComponent, UserService, UserUpdateComponent } from './users' -import { VideoAbuseListComponent, VideoAbusesComponent } from './video-abuses' -import { VideoBlacklistComponent, VideoBlacklistListComponent } from './video-blacklist' -import { UserBanModalComponent } from '@app/+admin/users/user-list/user-ban-modal.component' +import { UserCreateComponent, UserListComponent, UserPasswordComponent, UsersComponent, UserUpdateComponent } from './users' +import { + ModerationCommentModalComponent, + VideoAbuseListComponent, + VideoAutoBlacklistListComponent, + VideoBlacklistListComponent +} from './moderation' +import { ModerationComponent } from '@app/+admin/moderation/moderation.component' +import { RedundancyCheckboxComponent } from '@app/+admin/follows/shared/redundancy-checkbox.component' +import { InstanceAccountBlocklistComponent, InstanceServerBlocklistComponent } from '@app/+admin/moderation/instance-blocklist' +import { JobsComponent } from '@app/+admin/system/jobs/jobs.component' +import { JobService, LogsComponent, LogsService, SystemComponent } from '@app/+admin/system' +import { DebugComponent, DebugService } from '@app/+admin/system/debug' +import { PluginsComponent } from '@app/+admin/plugins/plugins.component' +import { PluginListInstalledComponent } from '@app/+admin/plugins/plugin-list-installed/plugin-list-installed.component' +import { PluginSearchComponent } from '@app/+admin/plugins/plugin-search/plugin-search.component' +import { PluginShowInstalledComponent } from '@app/+admin/plugins/plugin-show-installed/plugin-show-installed.component' +import { SelectButtonModule } from 'primeng/selectbutton' +import { PluginApiService } from '@app/+admin/plugins/shared/plugin-api.service' +import { VideoRedundancyInformationComponent } from '@app/+admin/follows/video-redundancies-list/video-redundancy-information.component' +import { ChartModule } from 'primeng/chart' @NgModule({ imports: [ AdminRoutingModule, + + SharedModule, + TableModule, - SharedModule + SelectButtonModule, + ChartModule ], declarations: [ @@ -29,21 +47,33 @@ import { UserBanModalComponent } from '@app/+admin/users/user-list/user-ban-moda FollowingAddComponent, FollowersListComponent, FollowingListComponent, + RedundancyCheckboxComponent, + VideoRedundanciesListComponent, + VideoRedundancyInformationComponent, UsersComponent, UserCreateComponent, UserUpdateComponent, + UserPasswordComponent, UserListComponent, - UserBanModalComponent, - VideoBlacklistComponent, + ModerationComponent, VideoBlacklistListComponent, - - VideoAbusesComponent, VideoAbuseListComponent, + VideoAutoBlacklistListComponent, + ModerationCommentModalComponent, + InstanceServerBlocklistComponent, + InstanceAccountBlocklistComponent, + + PluginsComponent, + PluginListInstalledComponent, + PluginSearchComponent, + PluginShowInstalledComponent, + SystemComponent, JobsComponent, - JobsListComponent, + LogsComponent, + DebugComponent, ConfigComponent, EditCustomConfigComponent @@ -54,10 +84,11 @@ import { UserBanModalComponent } from '@app/+admin/users/user-list/user-ban-moda ], providers: [ - FollowService, - UserService, JobService, - ConfigService + LogsService, + DebugService, + ConfigService, + PluginApiService ] }) export class AdminModule { }