Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add missing job types to admin panel

Chocobozzz0567049a9819
diff --git a/client/src/app/+admin/system/jobs/jobs.component.ts b/client/src/app/+admin/system/jobs/jobs.component.ts
index 4cda632729..d5da1b743a 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 {
jobTypes: JobTypeClient[] = [
'all',
+ 'activitypub-cleaner',
'activitypub-follow',
- 'activitypub-http-broadcast',
'activitypub-http-broadcast-parallel',
+ 'activitypub-http-broadcast',
'activitypub-http-fetcher',
'activitypub-http-unicast',
'activitypub-refresher',
- 'activitypub-cleaner',
'actor-keys',
+ 'after-video-channel-import',
'email',
+ 'federate-video',
+ 'manage-video-torrent',
+ 'move-to-object-storage',
+ 'notify',
+ 'video-channel-import',
'video-file-import',
'video-import',
'video-live-ending',
'video-redundancy',
+ 'video-studio-edition',
'video-transcoding',
- 'videos-views-stats',
- 'move-to-object-storage',
- 'video-channel-import'
+ 'videos-views-stats'
]
jobs: Job[] = []
diff --git a/shared/models/server/job.model.ts b/shared/models/server/job.model.ts
index 137da367cd..ba1f836849 100644
--- a/shared/models/server/job.model.ts
+++ b/shared/models/server/job.model.ts
@@ -7,28 +7,28 @@ import { SendEmailOptions } from './emailer.model'
export type JobState = 'active' | 'completed' | 'failed' | 'waiting' | 'delayed' | 'paused' | 'waiting-children'
export type JobType =
- | 'activitypub-http-unicast'
- | 'activitypub-http-broadcast'
- | 'activitypub-http-broadcast-parallel'
- | 'activitypub-http-fetcher'
| 'activitypub-cleaner'
| 'activitypub-follow'
- | 'video-file-import'
- | 'video-transcoding'
- | 'email'
- | 'video-import'
- | 'videos-views-stats'
+ | 'activitypub-http-broadcast-parallel'
+ | 'activitypub-http-broadcast'
+ | 'activitypub-http-fetcher'
+ | 'activitypub-http-unicast'
| 'activitypub-refresher'
- | 'video-redundancy'
- | 'video-live-ending'
| 'actor-keys'
+ | 'after-video-channel-import'
+ | 'email'
+ | 'federate-video'
| 'manage-video-torrent'
| 'move-to-object-storage'
- | 'video-studio-edition'
- | 'video-channel-import'
- | 'after-video-channel-import'
| 'notify'
- | 'federate-video'
+ | 'video-channel-import'
+ | 'video-file-import'
+ | 'video-import'
+ | 'video-live-ending'
+ | 'video-redundancy'
+ | 'video-studio-edition'
+ | 'video-transcoding'
+ | 'videos-views-stats'
export interface Job {
id: number | string