diff options
author | Chocobozzz <me@florianbigard.com> | 2022-08-10 10:34:39 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-08-10 10:34:39 +0200 |
commit | 0567049a9819d67070aa6d548a75a7e632a4aaa4 (patch) | |
tree | ec4e5b3613b4e6ab8c066595a10f45658ecf2c67 | |
parent | f228e9f064f27301e59533aac48fd6c2e533890d (diff) | |
download | PeerTube-0567049a9819d67070aa6d548a75a7e632a4aaa4.tar.gz PeerTube-0567049a9819d67070aa6d548a75a7e632a4aaa4.tar.zst PeerTube-0567049a9819d67070aa6d548a75a7e632a4aaa4.zip |
Add missing job types to admin panel
-rw-r--r-- | client/src/app/+admin/system/jobs/jobs.component.ts | 15 | ||||
-rw-r--r-- | shared/models/server/job.model.ts | 30 |
2 files changed, 25 insertions, 20 deletions
diff --git a/client/src/app/+admin/system/jobs/jobs.component.ts b/client/src/app/+admin/system/jobs/jobs.component.ts index 4cda63272..d5da1b743 100644 --- a/client/src/app/+admin/system/jobs/jobs.component.ts +++ b/client/src/app/+admin/system/jobs/jobs.component.ts | |||
@@ -23,23 +23,28 @@ export class JobsComponent extends RestTable implements OnInit { | |||
23 | jobTypes: JobTypeClient[] = [ | 23 | jobTypes: JobTypeClient[] = [ |
24 | 'all', | 24 | 'all', |
25 | 25 | ||
26 | 'activitypub-cleaner', | ||
26 | 'activitypub-follow', | 27 | 'activitypub-follow', |
27 | 'activitypub-http-broadcast', | ||
28 | 'activitypub-http-broadcast-parallel', | 28 | 'activitypub-http-broadcast-parallel', |
29 | 'activitypub-http-broadcast', | ||
29 | 'activitypub-http-fetcher', | 30 | 'activitypub-http-fetcher', |
30 | 'activitypub-http-unicast', | 31 | 'activitypub-http-unicast', |
31 | 'activitypub-refresher', | 32 | 'activitypub-refresher', |
32 | 'activitypub-cleaner', | ||
33 | 'actor-keys', | 33 | 'actor-keys', |
34 | 'after-video-channel-import', | ||
34 | 'email', | 35 | 'email', |
36 | 'federate-video', | ||
37 | 'manage-video-torrent', | ||
38 | 'move-to-object-storage', | ||
39 | 'notify', | ||
40 | 'video-channel-import', | ||
35 | 'video-file-import', | 41 | 'video-file-import', |
36 | 'video-import', | 42 | 'video-import', |
37 | 'video-live-ending', | 43 | 'video-live-ending', |
38 | 'video-redundancy', | 44 | 'video-redundancy', |
45 | 'video-studio-edition', | ||
39 | 'video-transcoding', | 46 | 'video-transcoding', |
40 | 'videos-views-stats', | 47 | 'videos-views-stats' |
41 | 'move-to-object-storage', | ||
42 | 'video-channel-import' | ||
43 | ] | 48 | ] |
44 | 49 | ||
45 | jobs: Job[] = [] | 50 | jobs: Job[] = [] |
diff --git a/shared/models/server/job.model.ts b/shared/models/server/job.model.ts index 137da367c..ba1f83684 100644 --- a/shared/models/server/job.model.ts +++ b/shared/models/server/job.model.ts | |||
@@ -7,28 +7,28 @@ import { SendEmailOptions } from './emailer.model' | |||
7 | export type JobState = 'active' | 'completed' | 'failed' | 'waiting' | 'delayed' | 'paused' | 'waiting-children' | 7 | export type JobState = 'active' | 'completed' | 'failed' | 'waiting' | 'delayed' | 'paused' | 'waiting-children' |
8 | 8 | ||
9 | export type JobType = | 9 | export type JobType = |
10 | | 'activitypub-http-unicast' | ||
11 | | 'activitypub-http-broadcast' | ||
12 | | 'activitypub-http-broadcast-parallel' | ||
13 | | 'activitypub-http-fetcher' | ||
14 | | 'activitypub-cleaner' | 10 | | 'activitypub-cleaner' |
15 | | 'activitypub-follow' | 11 | | 'activitypub-follow' |
16 | | 'video-file-import' | 12 | | 'activitypub-http-broadcast-parallel' |
17 | | 'video-transcoding' | 13 | | 'activitypub-http-broadcast' |
18 | | 'email' | 14 | | 'activitypub-http-fetcher' |
19 | | 'video-import' | 15 | | 'activitypub-http-unicast' |
20 | | 'videos-views-stats' | ||
21 | | 'activitypub-refresher' | 16 | | 'activitypub-refresher' |
22 | | 'video-redundancy' | ||
23 | | 'video-live-ending' | ||
24 | | 'actor-keys' | 17 | | 'actor-keys' |
18 | | 'after-video-channel-import' | ||
19 | | 'email' | ||
20 | | 'federate-video' | ||
25 | | 'manage-video-torrent' | 21 | | 'manage-video-torrent' |
26 | | 'move-to-object-storage' | 22 | | 'move-to-object-storage' |
27 | | 'video-studio-edition' | ||
28 | | 'video-channel-import' | ||
29 | | 'after-video-channel-import' | ||
30 | | 'notify' | 23 | | 'notify' |
31 | | 'federate-video' | 24 | | 'video-channel-import' |
25 | | 'video-file-import' | ||
26 | | 'video-import' | ||
27 | | 'video-live-ending' | ||
28 | | 'video-redundancy' | ||
29 | | 'video-studio-edition' | ||
30 | | 'video-transcoding' | ||
31 | | 'videos-views-stats' | ||
32 | 32 | ||
33 | export interface Job { | 33 | export interface Job { |
34 | id: number | string | 34 | id: number | string |