X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Badmin%2Fadmin.module.ts;h=9c56b575031319a8bf20a2d90891a804e50e2e4d;hb=88a7f93f8e5666f44121a2e3cf9d33d74c472aa7;hp=1d9120490e6dd4314cc666df8b90addd7cf994a0;hpb=fd206f0b2d7e5c8e00e2817266d90ec54f79e1da;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+admin/admin.module.ts b/client/src/app/+admin/admin.module.ts index 1d9120490..9c56b5750 100644 --- a/client/src/app/+admin/admin.module.ts +++ b/client/src/app/+admin/admin.module.ts @@ -1,25 +1,38 @@ import { NgModule } from '@angular/core' import { ConfigComponent, EditCustomConfigComponent } from '@app/+admin/config' import { ConfigService } from '@app/+admin/config/shared/config.service' -import { TabsModule } from 'ngx-bootstrap/tabs' -import { DataTableModule } from 'primeng/components/datatable/datatable' +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 } 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 { UserAddComponent, UserListComponent, UsersComponent, UserService, UserUpdateComponent } from './users' -import { VideoAbuseListComponent, VideoAbusesComponent } from './video-abuses' -import { VideoBlacklistComponent, VideoBlacklistListComponent } from './video-blacklist' +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 { RedundancyService } from '@app/+admin/follows/shared/redundancy.service' +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' @NgModule({ imports: [ AdminRoutingModule, - TabsModule.forRoot(), - DataTableModule, + TableModule, + SelectButtonModule, SharedModule ], @@ -30,20 +43,31 @@ import { VideoBlacklistComponent, VideoBlacklistListComponent } from './video-bl FollowingAddComponent, FollowersListComponent, FollowingListComponent, + RedundancyCheckboxComponent, UsersComponent, - UserAddComponent, + UserCreateComponent, UserUpdateComponent, + UserPasswordComponent, UserListComponent, - VideoBlacklistComponent, + ModerationComponent, VideoBlacklistListComponent, - - VideoAbusesComponent, VideoAbuseListComponent, + VideoAutoBlacklistListComponent, + ModerationCommentModalComponent, + InstanceServerBlocklistComponent, + InstanceAccountBlocklistComponent, + + PluginsComponent, + PluginListInstalledComponent, + PluginSearchComponent, + PluginShowInstalledComponent, + SystemComponent, JobsComponent, - JobsListComponent, + LogsComponent, + DebugComponent, ConfigComponent, EditCustomConfigComponent @@ -54,10 +78,12 @@ import { VideoBlacklistComponent, VideoBlacklistListComponent } from './video-bl ], providers: [ - FollowService, - UserService, + RedundancyService, JobService, - ConfigService + LogsService, + DebugService, + ConfigService, + PluginApiService ] }) export class AdminModule { }