diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-04-17 00:49:04 +0200 |
---|---|---|
committer | Rigel <sendmemail@rigelk.eu> | 2018-04-17 01:09:06 +0200 |
commit | 244e76a552ef05a5067134b1065d26dd89246d8c (patch) | |
tree | a15fcd52bce99797fc9366572fea62a7a44aaabe /client/src/app/shared/shared.module.ts | |
parent | c36d5a6b98056ef7fec3db43fbee880ee7332dcf (diff) | |
download | PeerTube-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.ts | 9 |
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 | ||
11 | import { BsDropdownModule } from 'ngx-bootstrap/dropdown' | 11 | import { BsDropdownModule } from 'ngx-bootstrap/dropdown' |
12 | import { ModalModule } from 'ngx-bootstrap/modal' | 12 | import { ModalModule } from 'ngx-bootstrap/modal' |
13 | import { PopoverModule } from 'ngx-bootstrap/popover' | ||
13 | import { TabsModule } from 'ngx-bootstrap/tabs' | 14 | import { TabsModule } from 'ngx-bootstrap/tabs' |
14 | import { TooltipModule } from 'ngx-bootstrap/tooltip' | 15 | import { TooltipModule } from 'ngx-bootstrap/tooltip' |
15 | import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' | 16 | import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' |
@@ -21,11 +22,13 @@ import { EditButtonComponent } from './misc/edit-button.component' | |||
21 | import { FromNowPipe } from './misc/from-now.pipe' | 22 | import { FromNowPipe } from './misc/from-now.pipe' |
22 | import { LoaderComponent } from './misc/loader.component' | 23 | import { LoaderComponent } from './misc/loader.component' |
23 | import { NumberFormatterPipe } from './misc/number-formatter.pipe' | 24 | import { NumberFormatterPipe } from './misc/number-formatter.pipe' |
25 | import { ObjectLengthPipe } from './misc/object-length.pipe' | ||
24 | import { RestExtractor, RestService } from './rest' | 26 | import { RestExtractor, RestService } from './rest' |
25 | import { UserService } from './users' | 27 | import { UserService } from './users' |
26 | import { VideoAbuseService } from './video-abuse' | 28 | import { VideoAbuseService } from './video-abuse' |
27 | import { VideoBlacklistService } from './video-blacklist' | 29 | import { VideoBlacklistService } from './video-blacklist' |
28 | import { VideoMiniatureComponent } from './video/video-miniature.component' | 30 | import { VideoMiniatureComponent } from './video/video-miniature.component' |
31 | import { VideoFeedComponent } from './video/video-feed.component' | ||
29 | import { VideoThumbnailComponent } from './video/video-thumbnail.component' | 32 | import { VideoThumbnailComponent } from './video/video-thumbnail.component' |
30 | import { VideoService } from './video/video.service' | 33 | import { 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 | ||