diff --git a/client/src/app/+about/about-instance/instance-statistics.component.ts b/client/src/app/+about/about-instance/instance-statistics.component.ts index cc918f856..bc257803f 100644 --- a/client/src/app/+about/about-instance/instance-statistics.component.ts +++ b/client/src/app/+about/about-instance/instance-statistics.component.ts @@ -1,6 +1,6 @@ import { Component, Input } from '@angular/core' import { ServerStats } from '@peertube/peertube-models' -import { BytesPipe } from '../../shared/shared-main/angular/bytes.pipe' +import { BytesPipe } from '../../shared/shared-main/common/bytes.pipe' import { GlobalIconComponent } from '../../shared/shared-icons/global-icon.component' import { NgIf, DecimalPipe } from '@angular/common' diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts b/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts index 34e03d6fd..f31382ff9 100644 --- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts +++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts @@ -8,12 +8,12 @@ import { MiniatureDisplayOptions, VideoMiniatureComponent } from '../../shared/s import { SubscribeButtonComponent } from '../../shared/shared-user-subscription/subscribe-button.component' import { RouterLink } from '@angular/router' import { ActorAvatarComponent } from '../../shared/shared-actor-image/actor-avatar.component' -import { InfiniteScrollerDirective } from '../../shared/shared-main/angular/infinite-scroller.directive' +import { InfiniteScrollerDirective } from '../../shared/shared-main/common/infinite-scroller.directive' import { NgIf, NgFor } from '@angular/common' import { AccountService } from '@app/shared/shared-main/account/account.service' -import { VideoChannelService } from '@app/shared/shared-main/video-channel/video-channel.service' +import { VideoChannelService } from '@app/shared/shared-main/channel/video-channel.service' import { VideoService } from '@app/shared/shared-main/video/video.service' -import { VideoChannel } from '@app/shared/shared-main/video-channel/video-channel.model' +import { VideoChannel } from '@app/shared/shared-main/channel/video-channel.model' import { Account } from '@app/shared/shared-main/account/account.model' import { Video } from '@app/shared/shared-main/video/video.model' diff --git a/client/src/app/+accounts/accounts.component.ts b/client/src/app/+accounts/accounts.component.ts index add04037b..9a0ed81ff 100644 --- a/client/src/app/+accounts/accounts.component.ts +++ b/client/src/app/+accounts/accounts.component.ts @@ -5,8 +5,8 @@ import { AuthService, MarkdownService, MetaService, Notifier, RedirectService, R import { Account } from '@app/shared/shared-main/account/account.model' import { AccountService } from '@app/shared/shared-main/account/account.service' import { DropdownAction } from '@app/shared/shared-main/buttons/action-dropdown.component' -import { VideoChannel } from '@app/shared/shared-main/video-channel/video-channel.model' -import { VideoChannelService } from '@app/shared/shared-main/video-channel/video-channel.service' +import { VideoChannel } from '@app/shared/shared-main/channel/video-channel.model' +import { VideoChannelService } from '@app/shared/shared-main/channel/video-channel.service' import { VideoService } from '@app/shared/shared-main/video/video.service' import { BlocklistService } from '@app/shared/shared-moderation/blocklist.service' import { AccountReportComponent } from '@app/shared/shared-moderation/report-modals' @@ -16,8 +16,8 @@ import { Subscription } from 'rxjs' import { catchError, distinctUntilChanged, map, switchMap, tap } from 'rxjs/operators' import { ActorAvatarComponent } from '../shared/shared-actor-image/actor-avatar.component' import { CopyButtonComponent } from '../shared/shared-main/buttons/copy-button.component' -import { ListOverflowComponent, ListOverflowItem } from '../shared/shared-main/misc/list-overflow.component' -import { SimpleSearchInputComponent } from '../shared/shared-main/misc/simple-search-input.component' +import { ListOverflowComponent, ListOverflowItem } from '../shared/shared-main/menu/list-overflow.component' +import { SimpleSearchInputComponent } from '../shared/shared-main/search/simple-search-input.component' import { AccountBlockBadgesComponent } from '../shared/shared-moderation/account-block-badges.component' import { UserModerationDropdownComponent } from '../shared/shared-moderation/user-moderation-dropdown.component' import { SubscribeButtonComponent } from '../shared/shared-user-subscription/subscribe-button.component' diff --git a/client/src/app/+admin/admin.component.ts b/client/src/app/+admin/admin.component.ts index 6ee2c02c2..d021ce52f 100644 --- a/client/src/app/+admin/admin.component.ts +++ b/client/src/app/+admin/admin.component.ts @@ -2,10 +2,10 @@ import { NgClass } from '@angular/common' import { Component, OnInit } from '@angular/core' import { RouterOutlet } from '@angular/router' import { AuthService, ScreenService, ServerService } from '@app/core' -import { ListOverflowItem } from '@app/shared/shared-main/misc/list-overflow.component' -import { TopMenuDropdownParam } from '@app/shared/shared-main/misc/top-menu-dropdown.component' +import { ListOverflowItem } from '@app/shared/shared-main/menu/list-overflow.component' +import { TopMenuDropdownParam } from '@app/shared/shared-main/menu/top-menu-dropdown.component' import { UserRight, UserRightType } from '@peertube/peertube-models' -import { TopMenuDropdownComponent } from '../shared/shared-main/misc/top-menu-dropdown.component' +import { TopMenuDropdownComponent } from '../shared/shared-main/menu/top-menu-dropdown.component' @Component({ templateUrl: './admin.component.html', diff --git a/client/src/app/+admin/config/edit-custom-config/edit-advanced-configuration.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-advanced-configuration.component.ts index fd5f915e2..870c647fd 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-advanced-configuration.component.ts +++ b/client/src/app/+admin/config/edit-custom-config/edit-advanced-configuration.component.ts @@ -1,7 +1,7 @@ import { Component, Input } from '@angular/core' import { FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms' -import { PeerTubeTemplateDirective } from '../../../shared/shared-main/angular/peertube-template.directive' -import { HelpComponent } from '../../../shared/shared-main/misc/help.component' +import { PeerTubeTemplateDirective } from '../../../shared/shared-main/common/peertube-template.directive' +import { HelpComponent } from '../../../shared/shared-main/buttons/help.component' import { NgClass, NgIf } from '@angular/common' @Component({ diff --git a/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.ts index 98510c7c3..b264d53e2 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.ts +++ b/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.ts @@ -5,11 +5,11 @@ import { FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms' import { MenuService, ThemeService } from '@app/core' import { HTMLServerConfig } from '@peertube/peertube-models' import { ConfigService } from '../shared/config.service' -import { PeerTubeTemplateDirective } from '../../../shared/shared-main/angular/peertube-template.directive' +import { PeerTubeTemplateDirective } from '../../../shared/shared-main/common/peertube-template.directive' import { SelectOptionsComponent } from '../../../shared/shared-forms/select/select-options.component' import { UserRealQuotaInfoComponent } from '../../shared/user-real-quota-info.component' import { MarkdownTextareaComponent } from '../../../shared/shared-forms/markdown-textarea.component' -import { HelpComponent } from '../../../shared/shared-main/misc/help.component' +import { HelpComponent } from '../../../shared/shared-main/buttons/help.component' import { PeertubeCheckboxComponent } from '../../../shared/shared-forms/peertube-checkbox.component' import { SelectCustomValueComponent } from '../../../shared/shared-forms/select/select-custom-value.component' import { NgFor, NgIf, NgClass } from '@angular/common' diff --git a/client/src/app/+admin/config/edit-custom-config/edit-instance-information.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-instance-information.component.ts index 4a5360316..d7a8bc8a5 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-instance-information.component.ts +++ b/client/src/app/+admin/config/edit-custom-config/edit-instance-information.component.ts @@ -16,8 +16,8 @@ import { CustomMarkupHelpComponent } from '../../../shared/shared-custom-markup/ import { MarkdownTextareaComponent } from '../../../shared/shared-forms/markdown-textarea.component' import { PeertubeCheckboxComponent } from '../../../shared/shared-forms/peertube-checkbox.component' import { SelectCheckboxComponent } from '../../../shared/shared-forms/select/select-checkbox.component' -import { PeerTubeTemplateDirective } from '../../../shared/shared-main/angular/peertube-template.directive' -import { HelpComponent } from '../../../shared/shared-main/misc/help.component' +import { PeerTubeTemplateDirective } from '../../../shared/shared-main/common/peertube-template.directive' +import { HelpComponent } from '../../../shared/shared-main/buttons/help.component' @Component({ selector: 'my-edit-instance-information', diff --git a/client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.ts index 8e5e21323..99de24193 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.ts +++ b/client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.ts @@ -8,7 +8,7 @@ import { SelectCustomValueComponent } from '../../../shared/shared-forms/select/ import { RouterLink } from '@angular/router' import { SelectOptionsComponent } from '../../../shared/shared-forms/select/select-options.component' import { NgClass, NgIf, NgFor } from '@angular/common' -import { PeerTubeTemplateDirective } from '../../../shared/shared-main/angular/peertube-template.directive' +import { PeerTubeTemplateDirective } from '../../../shared/shared-main/common/peertube-template.directive' import { PeertubeCheckboxComponent } from '../../../shared/shared-forms/peertube-checkbox.component' @Component({ diff --git a/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.ts index 89493f9c5..d554a6fca 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.ts +++ b/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.ts @@ -8,7 +8,7 @@ import { SelectOptionsItem } from 'src/types/select-options-item.model' import { PeertubeCheckboxComponent } from '../../../shared/shared-forms/peertube-checkbox.component' import { SelectCustomValueComponent } from '../../../shared/shared-forms/select/select-custom-value.component' import { SelectOptionsComponent } from '../../../shared/shared-forms/select/select-options.component' -import { PeerTubeTemplateDirective } from '../../../shared/shared-main/angular/peertube-template.directive' +import { PeerTubeTemplateDirective } from '../../../shared/shared-main/common/peertube-template.directive' import { ConfigService } from '../shared/config.service' import { EditConfigurationService, ResolutionOption } from './edit-configuration.service' diff --git a/client/src/app/+admin/follows/followers-list/followers-list.component.ts b/client/src/app/+admin/follows/followers-list/followers-list.component.ts index 09425ff94..de638f1b0 100644 --- a/client/src/app/+admin/follows/followers-list/followers-list.component.ts +++ b/client/src/app/+admin/follows/followers-list/followers-list.component.ts @@ -3,7 +3,7 @@ import { Component, OnInit } from '@angular/core' import { ConfirmService, Notifier, RestPagination, RestTable } from '@app/core' import { formatICU } from '@app/helpers' import { ActorFollow } from '@peertube/peertube-models' -import { AutoColspanDirective } from '../../../shared/shared-main/angular/auto-colspan.directive' +import { AutoColspanDirective } from '../../../shared/shared-main/common/auto-colspan.directive' import { DeleteButtonComponent } from '../../../shared/shared-main/buttons/delete-button.component' import { ButtonComponent } from '../../../shared/shared-main/buttons/button.component' import { NgbTooltip } from '@ng-bootstrap/ng-bootstrap' diff --git a/client/src/app/+admin/follows/following-list/following-list.component.ts b/client/src/app/+admin/follows/following-list/following-list.component.ts index 61aaf1865..b056c2f90 100644 --- a/client/src/app/+admin/follows/following-list/following-list.component.ts +++ b/client/src/app/+admin/follows/following-list/following-list.component.ts @@ -4,7 +4,7 @@ import { ConfirmService, Notifier, RestPagination, RestTable } from '@app/core' import { ActorFollow } from '@peertube/peertube-models' import { FollowModalComponent } from './follow-modal.component' import { formatICU } from '@app/helpers' -import { AutoColspanDirective } from '../../../shared/shared-main/angular/auto-colspan.directive' +import { AutoColspanDirective } from '../../../shared/shared-main/common/auto-colspan.directive' import { RedundancyCheckboxComponent } from '../shared/redundancy-checkbox.component' import { DeleteButtonComponent } from '../../../shared/shared-main/buttons/delete-button.component' import { AdvancedInputFilter, AdvancedInputFilterComponent } from '../../../shared/shared-forms/advanced-input-filter.component' diff --git a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts index 1761b6000..fb478a260 100644 --- a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts +++ b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts @@ -6,7 +6,7 @@ import { VideoRedundanciesTarget, VideoRedundancy, VideosRedundancyStats } from import { peertubeLocalStorage } from '@root-helpers/peertube-web-storage' import { ChartModule } from 'primeng/chart' import { VideoRedundancyInformationComponent } from './video-redundancy-information.component' -import { AutoColspanDirective } from '../../../shared/shared-main/angular/auto-colspan.directive' +import { AutoColspanDirective } from '../../../shared/shared-main/common/auto-colspan.directive' import { DeleteButtonComponent } from '../../../shared/shared-main/buttons/delete-button.component' import { TableExpanderIconComponent } from '../../../shared/shared-tables/table-expander-icon.component' import { NgbTooltip } from '@ng-bootstrap/ng-bootstrap' @@ -14,7 +14,7 @@ import { NgIf, NgFor } from '@angular/common' import { TableModule } from 'primeng/table' import { FormsModule } from '@angular/forms' import { GlobalIconComponent } from '../../../shared/shared-icons/global-icon.component' -import { BytesPipe } from '@app/shared/shared-main/angular/bytes.pipe' +import { BytesPipe } from '@app/shared/shared-main/common/bytes.pipe' import { RedundancyService } from '@app/shared/shared-main/video/redundancy.service' @Component({ diff --git a/client/src/app/+admin/follows/video-redundancies-list/video-redundancy-information.component.ts b/client/src/app/+admin/follows/video-redundancies-list/video-redundancy-information.component.ts index 169cdbdf7..7142cab44 100644 --- a/client/src/app/+admin/follows/video-redundancies-list/video-redundancy-information.component.ts +++ b/client/src/app/+admin/follows/video-redundancies-list/video-redundancy-information.component.ts @@ -1,6 +1,6 @@ import { Component, Input } from '@angular/core' import { FileRedundancyInformation, StreamingPlaylistRedundancyInformation } from '@peertube/peertube-models' -import { BytesPipe } from '../../../shared/shared-main/angular/bytes.pipe' +import { BytesPipe } from '../../../shared/shared-main/common/bytes.pipe' import { DatePipe } from '@angular/common' @Component({ diff --git a/client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.ts b/client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.ts index cb74aad76..219308a70 100644 --- a/client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.ts +++ b/client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core' import { NgIf, DatePipe } from '@angular/common' -import { AutoColspanDirective } from '../../../shared/shared-main/angular/auto-colspan.directive' +import { AutoColspanDirective } from '../../../shared/shared-main/common/auto-colspan.directive' import { ActorAvatarComponent } from '../../../shared/shared-actor-image/actor-avatar.component' import { NgbTooltip } from '@ng-bootstrap/ng-bootstrap' import { AdvancedInputFilterComponent } from '../../../shared/shared-forms/advanced-input-filter.component' diff --git a/client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.ts b/client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.ts index 7a5cdf5b7..7b4343c7d 100644 --- a/client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.ts +++ b/client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.ts @@ -1,7 +1,7 @@ import { Component } from '@angular/core' import { BatchDomainsModalComponent } from '../../../shared/shared-moderation/batch-domains-modal.component' import { NgIf, DatePipe } from '@angular/common' -import { AutoColspanDirective } from '../../../shared/shared-main/angular/auto-colspan.directive' +import { AutoColspanDirective } from '../../../shared/shared-main/common/auto-colspan.directive' import { NgbTooltip } from '@ng-bootstrap/ng-bootstrap' import { AdvancedInputFilterComponent } from '../../../shared/shared-forms/advanced-input-filter.component' import { SharedModule } from 'primeng/api' diff --git a/client/src/app/+admin/moderation/registration-list/registration-list.component.ts b/client/src/app/+admin/moderation/registration-list/registration-list.component.ts index 62c6c9d66..4069c9b49 100644 --- a/client/src/app/+admin/moderation/registration-list/registration-list.component.ts +++ b/client/src/app/+admin/moderation/registration-list/registration-list.component.ts @@ -6,7 +6,7 @@ import { formatICU } from '@app/helpers' import { UserRegistration, UserRegistrationState } from '@peertube/peertube-models' import { AdminRegistrationService } from './admin-registration.service' import { ProcessRegistrationModalComponent } from './process-registration-modal.component' -import { AutoColspanDirective } from '../../../shared/shared-main/angular/auto-colspan.directive' +import { AutoColspanDirective } from '../../../shared/shared-main/common/auto-colspan.directive' import { UserEmailInfoComponent } from '../../shared/user-email-info.component' import { TableExpanderIconComponent } from '../../../shared/shared-tables/table-expander-icon.component' import { NgbTooltip } from '@ng-bootstrap/ng-bootstrap' diff --git a/client/src/app/+admin/moderation/video-block-list/video-block-list.component.ts b/client/src/app/+admin/moderation/video-block-list/video-block-list.component.ts index 33627395d..f04ac769b 100644 --- a/client/src/app/+admin/moderation/video-block-list/video-block-list.component.ts +++ b/client/src/app/+admin/moderation/video-block-list/video-block-list.component.ts @@ -8,7 +8,7 @@ import { buildVideoEmbedLink, decorateVideoLink } from '@peertube/peertube-core- import { VideoBlacklist, VideoBlacklistType, VideoBlacklistType_Type } from '@peertube/peertube-models' import { buildVideoOrPlaylistEmbed } from '@root-helpers/video' import { EmbedComponent } from '../../../shared/shared-main/video/embed.component' -import { AutoColspanDirective } from '../../../shared/shared-main/angular/auto-colspan.directive' +import { AutoColspanDirective } from '../../../shared/shared-main/common/auto-colspan.directive' import { VideoCellComponent } from '../../../shared/shared-tables/video-cell.component' import { ActionDropdownComponent, DropdownAction } from '../../../shared/shared-main/buttons/action-dropdown.component' import { TableExpanderIconComponent } from '../../../shared/shared-tables/table-expander-icon.component' diff --git a/client/src/app/+admin/overview/users/user-edit/user-create.component.ts b/client/src/app/+admin/overview/users/user-edit/user-create.component.ts index f67358415..d70721370 100644 --- a/client/src/app/+admin/overview/users/user-edit/user-create.component.ts +++ b/client/src/app/+admin/overview/users/user-edit/user-create.component.ts @@ -15,14 +15,14 @@ import { import { FormReactiveService } from '@app/shared/shared-forms/form-reactive.service' import { UserCreate, UserRole } from '@peertube/peertube-models' import { UserEdit } from './user-edit' -import { BytesPipe } from '../../../../shared/shared-main/angular/bytes.pipe' +import { BytesPipe } from '../../../../shared/shared-main/common/bytes.pipe' import { UserPasswordComponent } from './user-password.component' import { PeertubeCheckboxComponent } from '../../../../shared/shared-forms/peertube-checkbox.component' import { UserRealQuotaInfoComponent } from '../../../shared/user-real-quota-info.component' import { SelectCustomValueComponent } from '../../../../shared/shared-forms/select/select-custom-value.component' import { InputTextComponent } from '../../../../shared/shared-forms/input-text.component' -import { PeerTubeTemplateDirective } from '../../../../shared/shared-main/angular/peertube-template.directive' -import { HelpComponent } from '../../../../shared/shared-main/misc/help.component' +import { PeerTubeTemplateDirective } from '../../../../shared/shared-main/common/peertube-template.directive' +import { HelpComponent } from '../../../../shared/shared-main/buttons/help.component' import { FormsModule, ReactiveFormsModule } from '@angular/forms' import { ActorAvatarEditComponent } from '../../../../shared/shared-actor-image-edit/actor-avatar-edit.component' import { NgIf, NgTemplateOutlet, NgClass, NgFor } from '@angular/common' diff --git a/client/src/app/+admin/overview/users/user-edit/user-update.component.ts b/client/src/app/+admin/overview/users/user-edit/user-update.component.ts index b91169c44..41348b3d8 100644 --- a/client/src/app/+admin/overview/users/user-edit/user-update.component.ts +++ b/client/src/app/+admin/overview/users/user-edit/user-update.component.ts @@ -12,14 +12,14 @@ import { import { FormReactiveService } from '@app/shared/shared-forms/form-reactive.service' import { User as UserType, UserAdminFlag, UserRole, UserUpdate } from '@peertube/peertube-models' import { UserEdit } from './user-edit' -import { BytesPipe } from '../../../../shared/shared-main/angular/bytes.pipe' +import { BytesPipe } from '../../../../shared/shared-main/common/bytes.pipe' import { UserPasswordComponent } from './user-password.component' import { PeertubeCheckboxComponent } from '../../../../shared/shared-forms/peertube-checkbox.component' import { UserRealQuotaInfoComponent } from '../../../shared/user-real-quota-info.component' import { SelectCustomValueComponent } from '../../../../shared/shared-forms/select/select-custom-value.component' import { InputTextComponent } from '../../../../shared/shared-forms/input-text.component' -import { PeerTubeTemplateDirective } from '../../../../shared/shared-main/angular/peertube-template.directive' -import { HelpComponent } from '../../../../shared/shared-main/misc/help.component' +import { PeerTubeTemplateDirective } from '../../../../shared/shared-main/common/peertube-template.directive' +import { HelpComponent } from '../../../../shared/shared-main/buttons/help.component' import { FormsModule, ReactiveFormsModule } from '@angular/forms' import { ActorAvatarEditComponent } from '../../../../shared/shared-actor-image-edit/actor-avatar-edit.component' import { NgIf, NgTemplateOutlet, NgClass, NgFor } from '@angular/common' diff --git a/client/src/app/+admin/overview/users/user-list/user-list.component.ts b/client/src/app/+admin/overview/users/user-list/user-list.component.ts index 026fcfd47..3122fc00e 100644 --- a/client/src/app/+admin/overview/users/user-list/user-list.component.ts +++ b/client/src/app/+admin/overview/users/user-list/user-list.component.ts @@ -18,8 +18,8 @@ import { AdvancedInputFilter, AdvancedInputFilterComponent } from '../../../../s import { PeertubeCheckboxComponent } from '../../../../shared/shared-forms/peertube-checkbox.component' import { SelectCheckboxComponent } from '../../../../shared/shared-forms/select/select-checkbox.component' import { GlobalIconComponent } from '../../../../shared/shared-icons/global-icon.component' -import { AutoColspanDirective } from '../../../../shared/shared-main/angular/auto-colspan.directive' -import { BytesPipe } from '../../../../shared/shared-main/angular/bytes.pipe' +import { AutoColspanDirective } from '../../../../shared/shared-main/common/auto-colspan.directive' +import { BytesPipe } from '../../../../shared/shared-main/common/bytes.pipe' import { ActionDropdownComponent, DropdownAction } from '../../../../shared/shared-main/buttons/action-dropdown.component' import { AccountMutedStatus, @@ -28,7 +28,7 @@ import { } from '../../../../shared/shared-moderation/user-moderation-dropdown.component' import { TableExpanderIconComponent } from '../../../../shared/shared-tables/table-expander-icon.component' import { UserEmailInfoComponent } from '../../../shared/user-email-info.component' -import { ProgressBarComponent } from '@app/shared/shared-main/misc/progress-bar.component' +import { ProgressBarComponent } from '@app/shared/shared-main/common/progress-bar.component' type UserForList = User & { rawVideoQuota: number diff --git a/client/src/app/+admin/overview/videos/video-list.component.ts b/client/src/app/+admin/overview/videos/video-list.component.ts index eca0f43ca..63b314155 100644 --- a/client/src/app/+admin/overview/videos/video-list.component.ts +++ b/client/src/app/+admin/overview/videos/video-list.component.ts @@ -19,8 +19,8 @@ import { TableModule, TableRowExpandEvent } from 'primeng/table' import { finalize } from 'rxjs/operators' import { AdvancedInputFilter, AdvancedInputFilterComponent } from '../../../shared/shared-forms/advanced-input-filter.component' import { GlobalIconComponent } from '../../../shared/shared-icons/global-icon.component' -import { AutoColspanDirective } from '../../../shared/shared-main/angular/auto-colspan.directive' -import { BytesPipe } from '../../../shared/shared-main/angular/bytes.pipe' +import { AutoColspanDirective } from '../../../shared/shared-main/common/auto-colspan.directive' +import { BytesPipe } from '../../../shared/shared-main/common/bytes.pipe' import { ActionDropdownComponent, DropdownAction } from '../../../shared/shared-main/buttons/action-dropdown.component' import { ButtonComponent } from '../../../shared/shared-main/buttons/button.component' import { EmbedComponent } from '../../../shared/shared-main/video/embed.component' diff --git a/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.ts b/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.ts index 61407a7b3..6bea42fce 100644 --- a/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.ts +++ b/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.ts @@ -10,7 +10,7 @@ import { DeleteButtonComponent } from '../../../shared/shared-main/buttons/delet import { ButtonComponent } from '../../../shared/shared-main/buttons/button.component' import { EditButtonComponent } from '../../../shared/shared-main/buttons/edit-button.component' import { PluginCardComponent } from '../shared/plugin-card.component' -import { InfiniteScrollerDirective } from '../../../shared/shared-main/angular/infinite-scroller.directive' +import { InfiniteScrollerDirective } from '../../../shared/shared-main/common/infinite-scroller.directive' import { NgIf, NgFor } from '@angular/common' import { PluginNavigationComponent } from '../shared/plugin-navigation.component' diff --git a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.ts b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.ts index fbb59628b..42c2c7766 100644 --- a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.ts +++ b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.ts @@ -9,8 +9,8 @@ import { logger } from '@root-helpers/logger' import { ButtonComponent } from '../../../shared/shared-main/buttons/button.component' import { EditButtonComponent } from '../../../shared/shared-main/buttons/edit-button.component' import { PluginCardComponent } from '../shared/plugin-card.component' -import { InfiniteScrollerDirective } from '../../../shared/shared-main/angular/infinite-scroller.directive' -import { AutofocusDirective } from '../../../shared/shared-main/angular/autofocus.directive' +import { InfiniteScrollerDirective } from '../../../shared/shared-main/common/infinite-scroller.directive' +import { AutofocusDirective } from '../../../shared/shared-main/common/autofocus.directive' import { GlobalIconComponent } from '../../../shared/shared-icons/global-icon.component' import { NgIf, NgFor } from '@angular/common' import { PluginNavigationComponent } from '../shared/plugin-navigation.component' diff --git a/client/src/app/+admin/shared/user-real-quota-info.component.ts b/client/src/app/+admin/shared/user-real-quota-info.component.ts index ae2bc5052..36860593b 100644 --- a/client/src/app/+admin/shared/user-real-quota-info.component.ts +++ b/client/src/app/+admin/shared/user-real-quota-info.component.ts @@ -1,7 +1,7 @@ import { Component, Input, OnInit } from '@angular/core' import { ServerService } from '@app/core' import { HTMLServerConfig, VideoResolution } from '@peertube/peertube-models' -import { BytesPipe } from '../../shared/shared-main/angular/bytes.pipe' +import { BytesPipe } from '../../shared/shared-main/common/bytes.pipe' import { NgIf } from '@angular/common' @Component({ diff --git a/client/src/app/+admin/system/runners/runner-job-list/runner-job-list.component.ts b/client/src/app/+admin/system/runners/runner-job-list/runner-job-list.component.ts index b7655f451..fa5f67e03 100644 --- a/client/src/app/+admin/system/runners/runner-job-list/runner-job-list.component.ts +++ b/client/src/app/+admin/system/runners/runner-job-list/runner-job-list.component.ts @@ -9,7 +9,7 @@ import { SharedModule, SortMeta } from 'primeng/api' import { TableModule } from 'primeng/table' import { AdvancedInputFilter, AdvancedInputFilterComponent } from '../../../../shared/shared-forms/advanced-input-filter.component' import { GlobalIconComponent } from '../../../../shared/shared-icons/global-icon.component' -import { AutoColspanDirective } from '../../../../shared/shared-main/angular/auto-colspan.directive' +import { AutoColspanDirective } from '../../../../shared/shared-main/common/auto-colspan.directive' import { ActionDropdownComponent, DropdownAction } from '../../../../shared/shared-main/buttons/action-dropdown.component' import { ButtonComponent } from '../../../../shared/shared-main/buttons/button.component' import { TableExpanderIconComponent } from '../../../../shared/shared-tables/table-expander-icon.component' diff --git a/client/src/app/+admin/system/runners/runner-list/runner-list.component.ts b/client/src/app/+admin/system/runners/runner-list/runner-list.component.ts index f3ed8804f..2e8736a2d 100644 --- a/client/src/app/+admin/system/runners/runner-list/runner-list.component.ts +++ b/client/src/app/+admin/system/runners/runner-list/runner-list.component.ts @@ -4,7 +4,7 @@ import { ConfirmService, Notifier, RestPagination, RestTable } from '@app/core' import { Runner } from '@peertube/peertube-models' import { RunnerService } from '../runner.service' import { DatePipe } from '@angular/common' -import { AutoColspanDirective } from '../../../../shared/shared-main/angular/auto-colspan.directive' +import { AutoColspanDirective } from '../../../../shared/shared-main/common/auto-colspan.directive' import { ActionDropdownComponent, DropdownAction } from '../../../../shared/shared-main/buttons/action-dropdown.component' import { NgbTooltip } from '@ng-bootstrap/ng-bootstrap' import { TableModule } from 'primeng/table' diff --git a/client/src/app/+admin/system/runners/runner-registration-token-list/runner-registration-token-list.component.ts b/client/src/app/+admin/system/runners/runner-registration-token-list/runner-registration-token-list.component.ts index 59ee374ed..69f2ab1d5 100644 --- a/client/src/app/+admin/system/runners/runner-registration-token-list/runner-registration-token-list.component.ts +++ b/client/src/app/+admin/system/runners/runner-registration-token-list/runner-registration-token-list.component.ts @@ -4,7 +4,7 @@ import { ConfirmService, Notifier, RestPagination, RestTable } from '@app/core' import { RunnerRegistrationToken } from '@peertube/peertube-models' import { RunnerService } from '../runner.service' import { DatePipe } from '@angular/common' -import { AutoColspanDirective } from '../../../../shared/shared-main/angular/auto-colspan.directive' +import { AutoColspanDirective } from '../../../../shared/shared-main/common/auto-colspan.directive' import { CopyButtonComponent } from '../../../../shared/shared-main/buttons/copy-button.component' import { ActionDropdownComponent, DropdownAction } from '../../../../shared/shared-main/buttons/action-dropdown.component' import { ButtonComponent } from '../../../../shared/shared-main/buttons/button.component' diff --git a/client/src/app/+error-page/error-page.component.ts b/client/src/app/+error-page/error-page.component.ts index 8b37d14da..ea6ef2f35 100644 --- a/client/src/app/+error-page/error-page.component.ts +++ b/client/src/app/+error-page/error-page.component.ts @@ -1,9 +1,9 @@ +import { NgIf } from '@angular/common' import { Component, OnInit } from '@angular/core' import { Title } from '@angular/platform-browser' import { Router } from '@angular/router' +import { LoginLinkComponent } from '@app/shared/shared-main/users/login-link.component' import { HttpStatusCode, HttpStatusCodeType } from '@peertube/peertube-models' -import { LoginLinkComponent } from '../shared/shared-main/angular/login-link.component' -import { NgIf } from '@angular/common' @Component({ selector: 'my-error-page', diff --git a/client/src/app/+login/login.component.html b/client/src/app/+login/login.component.html index f31c785f0..34bf175a4 100644 --- a/client/src/app/+login/login.component.html +++ b/client/src/app/+login/login.component.html @@ -37,7 +37,7 @@ Sorry but there was an issue with the external login process. Please contact an administrator. -
+