From 0567049a9819d67070aa6d548a75a7e632a4aaa4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 10 Aug 2022 10:34:39 +0200 Subject: [PATCH] Add missing job types to admin panel --- .../app/+admin/system/jobs/jobs.component.ts | 15 ++++++---- 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 { 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 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' 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