aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared.module.ts
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-04-17 00:49:04 +0200
committerRigel <sendmemail@rigelk.eu>2018-04-17 01:09:06 +0200
commit244e76a552ef05a5067134b1065d26dd89246d8c (patch)
treea15fcd52bce99797fc9366572fea62a7a44aaabe /client/src/app/shared/shared.module.ts
parentc36d5a6b98056ef7fec3db43fbee880ee7332dcf (diff)
downloadPeerTube-244e76a552ef05a5067134b1065d26dd89246d8c.tar.gz
PeerTube-244e76a552ef05a5067134b1065d26dd89246d8c.tar.zst
PeerTube-244e76a552ef05a5067134b1065d26dd89246d8c.zip
feature: initial syndication feeds support
Provides rss 2.0, atom 1.0 and json 1.0 feeds for videos (instance and account-wide) on listings and video-watch views. * still lacks redis caching * still lacks lastBuildDate support * still lacks channel-wide support * still lacks semantic annotation (for licenses, NSFW warnings, etc.) * still lacks love ( ˘ ³˘) * RSS: has MRSS support for torrent lists! * RSS: includes the first torrent in an enclosure * JSON: lists all torrents in the 'attachments' object * ATOM: lacking torrent listing support Advances #23 Partial implementation for the accountId generation in the client, which will need a hotfix to add a way to get the proper account id.
Diffstat (limited to 'client/src/app/shared/shared.module.ts')
-rw-r--r--client/src/app/shared/shared.module.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts
index eb50d45a9..74730e2aa 100644
--- a/client/src/app/shared/shared.module.ts
+++ b/client/src/app/shared/shared.module.ts
@@ -10,6 +10,7 @@ import { MarkdownService } from '@app/videos/shared'
10 10
11import { BsDropdownModule } from 'ngx-bootstrap/dropdown' 11import { BsDropdownModule } from 'ngx-bootstrap/dropdown'
12import { ModalModule } from 'ngx-bootstrap/modal' 12import { ModalModule } from 'ngx-bootstrap/modal'
13import { PopoverModule } from 'ngx-bootstrap/popover'
13import { TabsModule } from 'ngx-bootstrap/tabs' 14import { TabsModule } from 'ngx-bootstrap/tabs'
14import { TooltipModule } from 'ngx-bootstrap/tooltip' 15import { TooltipModule } from 'ngx-bootstrap/tooltip'
15import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' 16import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes'
@@ -21,11 +22,13 @@ import { EditButtonComponent } from './misc/edit-button.component'
21import { FromNowPipe } from './misc/from-now.pipe' 22import { FromNowPipe } from './misc/from-now.pipe'
22import { LoaderComponent } from './misc/loader.component' 23import { LoaderComponent } from './misc/loader.component'
23import { NumberFormatterPipe } from './misc/number-formatter.pipe' 24import { NumberFormatterPipe } from './misc/number-formatter.pipe'
25import { ObjectLengthPipe } from './misc/object-length.pipe'
24import { RestExtractor, RestService } from './rest' 26import { RestExtractor, RestService } from './rest'
25import { UserService } from './users' 27import { UserService } from './users'
26import { VideoAbuseService } from './video-abuse' 28import { VideoAbuseService } from './video-abuse'
27import { VideoBlacklistService } from './video-blacklist' 29import { VideoBlacklistService } from './video-blacklist'
28import { VideoMiniatureComponent } from './video/video-miniature.component' 30import { VideoMiniatureComponent } from './video/video-miniature.component'
31import { VideoFeedComponent } from './video/video-feed.component'
29import { VideoThumbnailComponent } from './video/video-thumbnail.component' 32import { VideoThumbnailComponent } from './video/video-thumbnail.component'
30import { VideoService } from './video/video.service' 33import { VideoService } from './video/video.service'
31 34
@@ -39,6 +42,7 @@ import { VideoService } from './video/video.service'
39 42
40 BsDropdownModule.forRoot(), 43 BsDropdownModule.forRoot(),
41 ModalModule.forRoot(), 44 ModalModule.forRoot(),
45 PopoverModule.forRoot(),
42 TabsModule.forRoot(), 46 TabsModule.forRoot(),
43 TooltipModule.forRoot(), 47 TooltipModule.forRoot(),
44 48
@@ -50,9 +54,11 @@ import { VideoService } from './video/video.service'
50 LoaderComponent, 54 LoaderComponent,
51 VideoThumbnailComponent, 55 VideoThumbnailComponent,
52 VideoMiniatureComponent, 56 VideoMiniatureComponent,
57 VideoFeedComponent,
53 DeleteButtonComponent, 58 DeleteButtonComponent,
54 EditButtonComponent, 59 EditButtonComponent,
55 NumberFormatterPipe, 60 NumberFormatterPipe,
61 ObjectLengthPipe,
56 FromNowPipe, 62 FromNowPipe,
57 MarkdownTextareaComponent, 63 MarkdownTextareaComponent,
58 InfiniteScrollerDirective, 64 InfiniteScrollerDirective,
@@ -68,6 +74,7 @@ import { VideoService } from './video/video.service'
68 74
69 BsDropdownModule, 75 BsDropdownModule,
70 ModalModule, 76 ModalModule,
77 PopoverModule,
71 TabsModule, 78 TabsModule,
72 TooltipModule, 79 TooltipModule,
73 PrimeSharedModule, 80 PrimeSharedModule,
@@ -77,6 +84,7 @@ import { VideoService } from './video/video.service'
77 LoaderComponent, 84 LoaderComponent,
78 VideoThumbnailComponent, 85 VideoThumbnailComponent,
79 VideoMiniatureComponent, 86 VideoMiniatureComponent,
87 VideoFeedComponent,
80 DeleteButtonComponent, 88 DeleteButtonComponent,
81 EditButtonComponent, 89 EditButtonComponent,
82 MarkdownTextareaComponent, 90 MarkdownTextareaComponent,
@@ -84,6 +92,7 @@ import { VideoService } from './video/video.service'
84 HelpComponent, 92 HelpComponent,
85 93
86 NumberFormatterPipe, 94 NumberFormatterPipe,
95 ObjectLengthPipe,
87 FromNowPipe 96 FromNowPipe
88 ], 97 ],
89 98