import { InfiniteScrollerDirective } from '@app/shared/video/infinite-scroller.directive'
import { MarkdownService } from '@app/videos/shared'
-import { BsDropdownModule } from 'ngx-bootstrap/dropdown'
-import { ModalModule } from 'ngx-bootstrap/modal'
-import { PopoverModule } from 'ngx-bootstrap/popover'
-import { TabsModule } from 'ngx-bootstrap/tabs'
-import { TooltipModule } from 'ngx-bootstrap/tooltip'
import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes'
import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared'
import { AUTH_INTERCEPTOR_PROVIDER } from './auth'
-import { DeleteButtonComponent } from './misc/delete-button.component'
-import { EditButtonComponent } from './misc/edit-button.component'
+import { ButtonComponent } from './buttons/button.component'
+import { DeleteButtonComponent } from './buttons/delete-button.component'
+import { EditButtonComponent } from './buttons/edit-button.component'
import { FromNowPipe } from './misc/from-now.pipe'
import { LoaderComponent } from './misc/loader.component'
import { NumberFormatterPipe } from './misc/number-formatter.pipe'
import { UserService } from './users'
import { VideoAbuseService } from './video-abuse'
import { VideoBlacklistService } from './video-blacklist'
+import { VideoOwnershipService } from './video-ownership'
import { VideoMiniatureComponent } from './video/video-miniature.component'
-import { VideoFeedComponent } from './video/video-feed.component'
+import { FeedComponent } from './video/feed.component'
import { VideoThumbnailComponent } from './video/video-thumbnail.component'
import { VideoService } from './video/video.service'
import { AccountService } from '@app/shared/account/account.service'
LoginValidatorsService,
ReactiveFileComponent,
ResetPasswordValidatorsService,
+ TextareaAutoResizeDirective,
UserValidatorsService,
VideoAbuseValidatorsService,
+ VideoAcceptOwnershipValidatorsService,
+ VideoBlacklistValidatorsService,
+ VideoChangeOwnershipValidatorsService,
VideoChannelValidatorsService,
VideoCommentValidatorsService,
VideoValidatorsService
import { VideoCaptionService } from '@app/shared/video-caption'
import { PeertubeCheckboxComponent } from '@app/shared/forms/peertube-checkbox.component'
import { VideoImportService } from '@app/shared/video-import/video-import.service'
+import { ActionDropdownComponent } from '@app/shared/buttons/action-dropdown.component'
+import { NgbDropdownModule, NgbModalModule, NgbPopoverModule, NgbTabsetModule, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap'
+import { RemoteSubscribeComponent, SubscribeButtonComponent, UserSubscriptionService } from '@app/shared/user-subscription'
+import { InstanceFeaturesTableComponent } from '@app/shared/instance/instance-features-table.component'
+import { OverviewService } from '@app/shared/overview'
+import { UserBanModalComponent } from '@app/shared/moderation'
+import { UserModerationDropdownComponent } from '@app/shared/moderation/user-moderation-dropdown.component'
+import { BlocklistService } from '@app/shared/blocklist'
@NgModule({
imports: [
RouterModule,
HttpClientModule,
- BsDropdownModule.forRoot(),
- ModalModule.forRoot(),
- PopoverModule.forRoot(),
- TabsModule.forRoot(),
- TooltipModule.forRoot(),
+ NgbDropdownModule,
+ NgbModalModule,
+ NgbPopoverModule,
+ NgbTabsetModule,
+ NgbTooltipModule,
PrimeSharedModule,
NgPipesModule
LoaderComponent,
VideoThumbnailComponent,
VideoMiniatureComponent,
- VideoFeedComponent,
+ FeedComponent,
+ ButtonComponent,
DeleteButtonComponent,
EditButtonComponent,
+ ActionDropdownComponent,
NumberFormatterPipe,
ObjectLengthPipe,
FromNowPipe,
MarkdownTextareaComponent,
InfiniteScrollerDirective,
+ TextareaAutoResizeDirective,
HelpComponent,
ReactiveFileComponent,
- PeertubeCheckboxComponent
+ PeertubeCheckboxComponent,
+ SubscribeButtonComponent,
+ RemoteSubscribeComponent,
+ InstanceFeaturesTableComponent,
+ UserBanModalComponent,
+ UserModerationDropdownComponent
],
exports: [
RouterModule,
HttpClientModule,
- BsDropdownModule,
- ModalModule,
- PopoverModule,
- TabsModule,
- TooltipModule,
+ NgbDropdownModule,
+ NgbModalModule,
+ NgbPopoverModule,
+ NgbTabsetModule,
+ NgbTooltipModule,
+
PrimeSharedModule,
BytesPipe,
KeysPipe,
LoaderComponent,
VideoThumbnailComponent,
VideoMiniatureComponent,
- VideoFeedComponent,
+ FeedComponent,
+ ButtonComponent,
DeleteButtonComponent,
EditButtonComponent,
+ ActionDropdownComponent,
MarkdownTextareaComponent,
InfiniteScrollerDirective,
+ TextareaAutoResizeDirective,
HelpComponent,
ReactiveFileComponent,
PeertubeCheckboxComponent,
+ SubscribeButtonComponent,
+ RemoteSubscribeComponent,
+ InstanceFeaturesTableComponent,
+ UserBanModalComponent,
+ UserModerationDropdownComponent,
NumberFormatterPipe,
ObjectLengthPipe,
RestService,
VideoAbuseService,
VideoBlacklistService,
+ VideoOwnershipService,
UserService,
VideoService,
AccountService,
MarkdownService,
VideoChannelService,
VideoCaptionService,
+ VideoImportService,
+ UserSubscriptionService,
FormValidatorService,
CustomConfigValidatorsService,
VideoCommentValidatorsService,
VideoValidatorsService,
VideoCaptionsValidatorsService,
- VideoImportService,
+ VideoBlacklistValidatorsService,
+ OverviewService,
+ VideoChangeOwnershipValidatorsService,
+ VideoAcceptOwnershipValidatorsService,
+ BlocklistService,
I18nPrimengCalendarService,
ScreenService,