diff options
author | Chocobozzz <me@florianbigard.com> | 2019-01-14 16:48:38 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-01-14 16:48:38 +0100 |
commit | 1506307f2f903ce0f80155072a33345c702b7c76 (patch) | |
tree | 2bd9620c9ac49c1fc167bb09114f6a5fab049704 /client/src/app/shared/shared.module.ts | |
parent | 9a39392a7e6b3f180104856a4ea893e5baf86a02 (diff) | |
download | PeerTube-1506307f2f903ce0f80155072a33345c702b7c76.tar.gz PeerTube-1506307f2f903ce0f80155072a33345c702b7c76.tar.zst PeerTube-1506307f2f903ce0f80155072a33345c702b7c76.zip |
Increase abuse length to 3000
And correctly handle new lines
Diffstat (limited to 'client/src/app/shared/shared.module.ts')
-rw-r--r-- | client/src/app/shared/shared.module.ts | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts index d1320aeec..384f5d722 100644 --- a/client/src/app/shared/shared.module.ts +++ b/client/src/app/shared/shared.module.ts | |||
@@ -6,7 +6,6 @@ import { RouterModule } from '@angular/router' | |||
6 | import { MarkdownTextareaComponent } from '@app/shared/forms/markdown-textarea.component' | 6 | import { MarkdownTextareaComponent } from '@app/shared/forms/markdown-textarea.component' |
7 | import { HelpComponent } from '@app/shared/misc/help.component' | 7 | import { HelpComponent } from '@app/shared/misc/help.component' |
8 | import { InfiniteScrollerDirective } from '@app/shared/video/infinite-scroller.directive' | 8 | import { InfiniteScrollerDirective } from '@app/shared/video/infinite-scroller.directive' |
9 | import { MarkdownService } from '@app/videos/shared' | ||
10 | 9 | ||
11 | import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' | 10 | import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' |
12 | import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared' | 11 | import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared' |
@@ -34,10 +33,10 @@ import { I18n } from '@ngx-translate/i18n-polyfill' | |||
34 | import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service' | 33 | import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service' |
35 | import { | 34 | import { |
36 | CustomConfigValidatorsService, | 35 | CustomConfigValidatorsService, |
36 | InstanceValidatorsService, | ||
37 | LoginValidatorsService, | 37 | LoginValidatorsService, |
38 | ReactiveFileComponent, | 38 | ReactiveFileComponent, |
39 | ResetPasswordValidatorsService, | 39 | ResetPasswordValidatorsService, |
40 | InstanceValidatorsService, | ||
41 | TextareaAutoResizeDirective, | 40 | TextareaAutoResizeDirective, |
42 | UserValidatorsService, | 41 | UserValidatorsService, |
43 | VideoAbuseValidatorsService, | 42 | VideoAbuseValidatorsService, |
@@ -67,6 +66,7 @@ import { UserHistoryService } from '@app/shared/users/user-history.service' | |||
67 | import { UserNotificationService } from '@app/shared/users/user-notification.service' | 66 | import { UserNotificationService } from '@app/shared/users/user-notification.service' |
68 | import { UserNotificationsComponent } from '@app/shared/users/user-notifications.component' | 67 | import { UserNotificationsComponent } from '@app/shared/users/user-notifications.component' |
69 | import { InstanceService } from '@app/shared/instance/instance.service' | 68 | import { InstanceService } from '@app/shared/instance/instance.service' |
69 | import { HtmlRendererService, LinkifierService, MarkdownService } from '@app/shared/renderer' | ||
70 | 70 | ||
71 | @NgModule({ | 71 | @NgModule({ |
72 | imports: [ | 72 | imports: [ |
@@ -167,7 +167,6 @@ import { InstanceService } from '@app/shared/instance/instance.service' | |||
167 | UserService, | 167 | UserService, |
168 | VideoService, | 168 | VideoService, |
169 | AccountService, | 169 | AccountService, |
170 | MarkdownService, | ||
171 | VideoChannelService, | 170 | VideoChannelService, |
172 | VideoCaptionService, | 171 | VideoCaptionService, |
173 | VideoImportService, | 172 | VideoImportService, |
@@ -192,6 +191,10 @@ import { InstanceService } from '@app/shared/instance/instance.service' | |||
192 | UserHistoryService, | 191 | UserHistoryService, |
193 | InstanceService, | 192 | InstanceService, |
194 | 193 | ||
194 | MarkdownService, | ||
195 | LinkifierService, | ||
196 | HtmlRendererService, | ||
197 | |||
195 | I18nPrimengCalendarService, | 198 | I18nPrimengCalendarService, |
196 | ScreenService, | 199 | ScreenService, |
197 | 200 | ||