Skip to content

Commit

Permalink
Jobs (#1062)
Browse files Browse the repository at this point in the history
* More progress with jobs

* Jobs V1

* Tests updated

* Fix jobs.

* Fix languages.

* Fix exception handling.

* Revert restore endpoint behavior.

* Fix endpoint.
  • Loading branch information
SebastianStehle authored Jan 9, 2024
1 parent e06ac12 commit 0852d21
Show file tree
Hide file tree
Showing 119 changed files with 3,125 additions and 2,707 deletions.
70 changes: 29 additions & 41 deletions backend/i18n/frontend_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,38 +136,7 @@
"assets.uploadHint": "Drop file on existing item to replace the asset with a newer version.",
"assets.viewReferences": "View all content items referencing this asset.",
"assetScripts.reloaded": "Asset Scripts reloaded.",
"backups.backupCountAssetsLabel": "Assets",
"backups.backupCountAssetsTooltip": "Archived assets",
"backups.backupCountEventsLabel": "Events",
"backups.backupCountEventsTooltip": "Archived events",
"backups.backupDownload": "Download",
"backups.backupDownloadLink": "Ready",
"backups.backupDuration": "Duration",
"backups.deleteConfirmText": "Do you really want to delete the backup?",
"backups.deleteConfirmTitle": "Delete backup",
"backups.deleted": "Backup is about to be deleted.",
"backups.deleteFailed": "Failed to delete backup.",
"backups.empty": "No backups created yet.",
"backups.loadFailed": "Failed to load backups.",
"backups.maximumReached": "Your have reached the maximum number of backups: 10.",
"backups.refreshTooltip": "Refresh backups",
"backups.reloaded": "Backups reloaded.",
"backups.restore": "Restore Backup",
"backups.restoreFailed": "Failed to start restore.",
"backups.restoreLastStatus": "Last Restore Operation",
"backups.restoreLastUrl": "Url to backup",
"backups.restoreNewAppName": "Optional app name",
"backups.restorePageTitle": "Restore Backup",
"backups.restoreStarted": "Restore started, it can take several minutes to complete.",
"backups.restoreStartedLabel": "Started",
"backups.restoreStoppedLabel": "Stopped",
"backups.restoreTitle": "Restore Backup",
"backups.start": "Start Backup",
"backups.started": "Backup started, it can take several minutes to complete.",
"backups.startedLabel": "Started",
"backups.startFailed": "Failed to start backup.",
"chat.answer": "Here is my answer:",
"chat.answers": "Answers",
"chat.answersEmpty": "The ChatBot does not provide an answer or has not been configured yet.",
"chat.ask": "Ask",
"chat.describeFormat": "Also add the desired format (for example Markdown or HTML) to your prompt, dependending on the editor that you use.",
Expand Down Expand Up @@ -196,12 +165,6 @@
"clients.connectWizard.cliStep3": "Add your app name the CLI config",
"clients.connectWizard.cliStep3Hint": "You can manage configuration to multiple apps in the CLI and switch to an app.",
"clients.connectWizard.cliStep4": "Switch to your app in the CLI",
"clients.connectWizard.javascriptSdk": "Use the JavaScript SDK",
"clients.connectWizard.javascriptSdkDocumentation": "Documentations for the JavaScript SDK is available: ",
"clients.connectWizard.javascriptSdkHint": "Install the SDK and establish a connection to this app.",
"clients.connectWizard.javascriptSdkStep1": "Install the Javascript SDK",
"clients.connectWizard.javascriptSdkStep1Download": "The SDK is available on [npm](https://www.npmjs.com/package/@squidex/squidex)",
"clients.connectWizard.javascriptSdkStep2": "Create a client",
"clients.connectWizard.manually": "Connect manually",
"clients.connectWizard.manuallyHint": "Get instructions how to establish a connection with Postman or curl.",
"clients.connectWizard.manuallyStep1": "Get a token using curl",
Expand All @@ -225,14 +188,10 @@
"clients.revokeFailed": "Failed to revoke client. Please reload.",
"clients.tokenFailed": "Failed to create token. Please retry.",
"comments.create": "Create a comment",
"comments.createFailed": "Failed to create comment.",
"comments.deleteConfirmText": "Do you really want to delete the comment?",
"comments.deleteConfirmTitle": "Delete comment",
"comments.deleteFailed": "Failed to delete comment.",
"comments.follow": "Follow",
"comments.loadFailed": "Failed to load comments.",
"comments.title": "Comments",
"comments.updateFailed": "Failed to update comment.",
"common.actions": "Actions",
"common.administration": "Administration",
"common.administrationPageTitle": "Administration",
Expand All @@ -259,6 +218,7 @@
"common.close": "Close",
"common.cluster": "Cluster",
"common.clusterPageTitle": "Cluster",
"common.collapse": "Collapse",
"common.comments": "Comments",
"common.components": "Components",
"common.condition": "Condition",
Expand Down Expand Up @@ -328,6 +288,8 @@
"common.httpLimit": "You have exceeded the maximum limit of API calls.",
"common.id": "Identity",
"common.in": "in",
"common.jobs": "Jobs",
"common.jobsBackups": "Jobs & Backups",
"common.label": "Label",
"common.language": "Language",
"common.languages": "Languages",
Expand Down Expand Up @@ -628,6 +590,32 @@
"features.loadFailed": "Failed to load features. Please reload.",
"history.loadFailed": "Failed to load history. Please reload.",
"history.title": "Activity",
"jobs.backupFailed": "Failed to start backup.",
"jobs.backupMaximumReached": "Your have reached the maximum number of backups: 10.",
"jobs.backupStart": "Start Backup",
"jobs.deleteConfirmText": "Do you really want to delete the job?",
"jobs.deleteConfirmTitle": "Delete Job",
"jobs.deleted": "Job is about to be deleted.",
"jobs.deleteFailed": "Failed to delete job.",
"jobs.empty": "No jobs created yet.",
"jobs.jobDownload": "Download",
"jobs.jobDownloadLink": "Ready",
"jobs.jobDuration": "Duration",
"jobs.loadFailed": "Failed to load jobs.",
"jobs.refreshTooltip": "Refresh jobs",
"jobs.reloaded": "Jobs reloaded.",
"jobs.restore": "Restore Backup",
"jobs.restoreFailed": "Failed to start restore.",
"jobs.restoreLastStatus": "Last Restore Operation",
"jobs.restoreLastUrl": "Url to backup",
"jobs.restoreNewAppName": "Optional app name",
"jobs.restorePageTitle": "Restore Backup",
"jobs.restoreStarted": "Restore started, it can take several minutes to complete.",
"jobs.restoreStartedLabel": "Started",
"jobs.restoreStoppedLabel": "Stopped",
"jobs.restoreTitle": "Restore Backup",
"jobs.started": "Job started, it can take several minutes to complete.",
"jobs.startedLabel": "Started",
"languages.add": "Add Language",
"languages.add.description": "Add a new language that you want to support for your content.",
"languages.add.title": "Add a new Language",
Expand Down
70 changes: 29 additions & 41 deletions backend/i18n/frontend_fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,38 +136,7 @@
"assets.uploadHint": "Déposez le fichier sur un élément existant pour remplacer l'actif par une version plus récente.",
"assets.viewReferences": "Afficher tous les éléments de contenu faisant référence à cet élément.",
"assetScripts.reloaded": "Scripts d'actif rechargés.",
"backups.backupCountAssetsLabel": "Actifs",
"backups.backupCountAssetsTooltip": "Actifs archivés",
"backups.backupCountEventsLabel": "Événements",
"backups.backupCountEventsTooltip": "Événements archivés",
"backups.backupDownload": "Télécharger",
"backups.backupDownloadLink": "Prêt",
"backups.backupDuration": "Durée",
"backups.deleteConfirmText": "Voulez-vous vraiment supprimer la sauvegarde\u00A0?",
"backups.deleteConfirmTitle": "Supprimer la sauvegarde",
"backups.deleted": "La sauvegarde est sur le point d'être supprimée.",
"backups.deleteFailed": "Échec de la suppression de la sauvegarde.",
"backups.empty": "Aucune sauvegarde n'a encore été créée.",
"backups.loadFailed": "Échec du chargement des sauvegardes.",
"backups.maximumReached": "Vous avez atteint le nombre maximum de sauvegardes\u00A0: 10.",
"backups.refreshTooltip": "Actualiser les sauvegardes",
"backups.reloaded": "Sauvegardes rechargées.",
"backups.restore": "Restaurer la sauvegarde",
"backups.restoreFailed": "Échec du démarrage de la restauration.",
"backups.restoreLastStatus": "Dernière opération de restauration",
"backups.restoreLastUrl": "Url à sauvegarder",
"backups.restoreNewAppName": "Nom d'application facultatif",
"backups.restorePageTitle": "Restaurer la sauvegarde",
"backups.restoreStarted": "La restauration a commencé, cela peut prendre plusieurs minutes.",
"backups.restoreStartedLabel": "Commencé",
"backups.restoreStoppedLabel": "Arrêté",
"backups.restoreTitle": "Restaurer la sauvegarde",
"backups.start": "Démarrer la sauvegarde",
"backups.started": "La sauvegarde a commencé, cela peut prendre plusieurs minutes.",
"backups.startedLabel": "Commencé",
"backups.startFailed": "Échec du démarrage de la sauvegarde.",
"chat.answer": "Here is my answer:",
"chat.answers": "Answers",
"chat.answersEmpty": "The ChatBot does not provide an answer or has not been configured yet.",
"chat.ask": "Ask",
"chat.describeFormat": "Also add the desired format (for example Markdown or HTML) to your prompt, dependending on the editor that you use.",
Expand Down Expand Up @@ -196,12 +165,6 @@
"clients.connectWizard.cliStep3": "Ajoutez le nom de votre application à la configuration CLI",
"clients.connectWizard.cliStep3Hint": "Vous pouvez gérer la configuration de plusieurs applications dans l'interface de ligne de commande et basculer vers une application.",
"clients.connectWizard.cliStep4": "Basculez vers votre application dans la CLI",
"clients.connectWizard.javascriptSdk": "Use the JavaScript SDK",
"clients.connectWizard.javascriptSdkDocumentation": "Documentations for the JavaScript SDK is available: ",
"clients.connectWizard.javascriptSdkHint": "Install the SDK and establish a connection to this app.",
"clients.connectWizard.javascriptSdkStep1": "Install the Javascript SDK",
"clients.connectWizard.javascriptSdkStep1Download": "The SDK is available on [npm](https://www.npmjs.com/package/@squidex/squidex)",
"clients.connectWizard.javascriptSdkStep2": "Create a client",
"clients.connectWizard.manually": "Connectez-vous manuellement",
"clients.connectWizard.manuallyHint": "Obtenez des instructions pour établir une connexion avec Postman ou curl.",
"clients.connectWizard.manuallyStep1": "Obtenir un jeton en utilisant curl",
Expand All @@ -225,14 +188,10 @@
"clients.revokeFailed": "Échec de la révocation du client. Veuillez recharger.",
"clients.tokenFailed": "Échec de la création du jeton. Veuillez réessayer.",
"comments.create": "Créer un commentaire",
"comments.createFailed": "Échec de la création du commentaire.",
"comments.deleteConfirmText": "Voulez-vous vraiment supprimer le commentaire\u00A0?",
"comments.deleteConfirmTitle": "Supprimer le commentaire",
"comments.deleteFailed": "Impossible de supprimer le commentaire.",
"comments.follow": "Suivre",
"comments.loadFailed": "Échec du chargement des commentaires.",
"comments.title": "commentaires",
"comments.updateFailed": "Échec de la mise à jour du commentaire.",
"common.actions": "Actions",
"common.administration": "Administration",
"common.administrationPageTitle": "Administration",
Expand All @@ -259,6 +218,7 @@
"common.close": "Close",
"common.cluster": "Grappe",
"common.clusterPageTitle": "Grappe",
"common.collapse": "Collapse",
"common.comments": "commentaires",
"common.components": "Composants",
"common.condition": "Condition",
Expand Down Expand Up @@ -328,6 +288,8 @@
"common.httpLimit": "Vous avez dépassé la limite maximale d'appels d'API.",
"common.id": "Identité",
"common.in": "dans",
"common.jobs": "Jobs",
"common.jobsBackups": "Jobs & Backups",
"common.label": "Étiqueter",
"common.language": "Langue",
"common.languages": "Langues",
Expand Down Expand Up @@ -628,6 +590,32 @@
"features.loadFailed": "Échec du chargement des fonctionnalités. Veuillez recharger.",
"history.loadFailed": "Échec du chargement de l'historique. Veuillez recharger.",
"history.title": "Activité",
"jobs.backupFailed": "Failed to start backup.",
"jobs.backupMaximumReached": "Your have reached the maximum number of backups: 10.",
"jobs.backupStart": "Start Backup",
"jobs.deleteConfirmText": "Do you really want to delete the job?",
"jobs.deleteConfirmTitle": "Delete Job",
"jobs.deleted": "Job is about to be deleted.",
"jobs.deleteFailed": "Failed to delete job.",
"jobs.empty": "No jobs created yet.",
"jobs.jobDownload": "Download",
"jobs.jobDownloadLink": "Ready",
"jobs.jobDuration": "Duration",
"jobs.loadFailed": "Failed to load jobs.",
"jobs.refreshTooltip": "Refresh jobs",
"jobs.reloaded": "Jobs reloaded.",
"jobs.restore": "Restore Backup",
"jobs.restoreFailed": "Failed to start restore.",
"jobs.restoreLastStatus": "Last Restore Operation",
"jobs.restoreLastUrl": "Url to backup",
"jobs.restoreNewAppName": "Optional app name",
"jobs.restorePageTitle": "Restore Backup",
"jobs.restoreStarted": "Restore started, it can take several minutes to complete.",
"jobs.restoreStartedLabel": "Started",
"jobs.restoreStoppedLabel": "Stopped",
"jobs.restoreTitle": "Restore Backup",
"jobs.started": "Job started, it can take several minutes to complete.",
"jobs.startedLabel": "Started",
"languages.add": "Ajouter une langue",
"languages.add.description": "Ajoutez une nouvelle langue que vous souhaitez prendre en charge pour votre contenu.",
"languages.add.title": "Ajouter une nouvelle langue",
Expand Down
70 changes: 29 additions & 41 deletions backend/i18n/frontend_it.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,38 +136,7 @@
"assets.uploadHint": "Trascina il file sull'elemento esistente per poterlo sostituire con una versione più recente.",
"assets.viewReferences": "View all content items referencing this asset.",
"assetScripts.reloaded": "Asset Scripts reloaded.",
"backups.backupCountAssetsLabel": "Risorse",
"backups.backupCountAssetsTooltip": "Risorse archiviate",
"backups.backupCountEventsLabel": "Eventi",
"backups.backupCountEventsTooltip": "Eventi archiviati",
"backups.backupDownload": "Scarica",
"backups.backupDownloadLink": "Pronto",
"backups.backupDuration": "Durata",
"backups.deleteConfirmText": "Sei sicuro di voler cancellare il backup?",
"backups.deleteConfirmTitle": "Cancella il backup",
"backups.deleted": "Il backup sta per essere cancellato.",
"backups.deleteFailed": "Non è stato possibile cancellare il backup.",
"backups.empty": "Nessun backup è stato ancora creato.",
"backups.loadFailed": "Non è stato possibile caricare i backup.",
"backups.maximumReached": "Hai raggiunto il numero massimo di backup: 10.",
"backups.refreshTooltip": "Aggiorna i backup",
"backups.reloaded": "Backup aggiornati.",
"backups.restore": "Backup ripristinato",
"backups.restoreFailed": "Non è stato possibile avviare il ripristino.",
"backups.restoreLastStatus": "Ultima operazione di ripristino",
"backups.restoreLastUrl": "Url per il backup",
"backups.restoreNewAppName": "Nome dell'app opzionale",
"backups.restorePageTitle": "Ripristinare il Backup",
"backups.restoreStarted": "Ripristino avviato, il suo completamento potrebbe richiedere alcuni minuti.",
"backups.restoreStartedLabel": "Avviato",
"backups.restoreStoppedLabel": "Fermato",
"backups.restoreTitle": "Ripristinare il Backup",
"backups.start": "Avvia Backup",
"backups.started": "Backup avviato, il suo completamento potrebbe richiedere alcuni minuti.",
"backups.startedLabel": "Avviato",
"backups.startFailed": "Non è stato possibile avviare il backup.",
"chat.answer": "Here is my answer:",
"chat.answers": "Answers",
"chat.answersEmpty": "The ChatBot does not provide an answer or has not been configured yet.",
"chat.ask": "Ask",
"chat.describeFormat": "Also add the desired format (for example Markdown or HTML) to your prompt, dependending on the editor that you use.",
Expand Down Expand Up @@ -196,12 +165,6 @@
"clients.connectWizard.cliStep3": "Inserisci il nome della tua app per la configurazione della CLI",
"clients.connectWizard.cliStep3Hint": "È possibile gestire le configurazione per le diverse appi all'interno della CLI e passare ad un'app.",
"clients.connectWizard.cliStep4": "Passa alla tua app usando CLI",
"clients.connectWizard.javascriptSdk": "Use the JavaScript SDK",
"clients.connectWizard.javascriptSdkDocumentation": "Documentations for the JavaScript SDK is available: ",
"clients.connectWizard.javascriptSdkHint": "Install the SDK and establish a connection to this app.",
"clients.connectWizard.javascriptSdkStep1": "Install the Javascript SDK",
"clients.connectWizard.javascriptSdkStep1Download": "The SDK is available on [npm](https://www.npmjs.com/package/@squidex/squidex)",
"clients.connectWizard.javascriptSdkStep2": "Create a client",
"clients.connectWizard.manually": "Connetti manualmente",
"clients.connectWizard.manuallyHint": "Leggi le istruzioni su come stabilire una connessione utilizzando Postman o curl.",
"clients.connectWizard.manuallyStep1": "Ottenere un token usando curl",
Expand All @@ -225,14 +188,10 @@
"clients.revokeFailed": "Non è stato possibile rimuovere il client. Per favore ricarica.",
"clients.tokenFailed": "Non è stato possibile creare il token. Per favore riprova.",
"comments.create": "Creare un commento",
"comments.createFailed": "Non è stato possibile creare un commento.",
"comments.deleteConfirmText": "Sei sicuro di voler cancellare il commento?",
"comments.deleteConfirmTitle": "Cancella il comment",
"comments.deleteFailed": "Non è stato possibile cancellare il commento.",
"comments.follow": "Segui",
"comments.loadFailed": "Non è stato possibile caricare i commenti.",
"comments.title": "Commenti",
"comments.updateFailed": "Non è stato possibile aggiornare il commento.",
"common.actions": "Azioni",
"common.administration": "Amministrazione",
"common.administrationPageTitle": "Amministrazione",
Expand All @@ -259,6 +218,7 @@
"common.close": "Close",
"common.cluster": "Cluster",
"common.clusterPageTitle": "Cluster",
"common.collapse": "Collapse",
"common.comments": "Commenti",
"common.components": "Components",
"common.condition": "Condition",
Expand Down Expand Up @@ -328,6 +288,8 @@
"common.httpLimit": "Hai superato il limite massimo di chiamate API.",
"common.id": "Identificativo",
"common.in": "in",
"common.jobs": "Jobs",
"common.jobsBackups": "Jobs & Backups",
"common.label": "Etichetta",
"common.language": "Lingua",
"common.languages": "Lingue",
Expand Down Expand Up @@ -628,6 +590,32 @@
"features.loadFailed": "Non è stato possibile caricare le funzionalità. Per favore ricarica.",
"history.loadFailed": "Non è stato possibile caricare la cronologia. Per favore ricarica.",
"history.title": "Attività",
"jobs.backupFailed": "Failed to start backup.",
"jobs.backupMaximumReached": "Your have reached the maximum number of backups: 10.",
"jobs.backupStart": "Start Backup",
"jobs.deleteConfirmText": "Do you really want to delete the job?",
"jobs.deleteConfirmTitle": "Delete Job",
"jobs.deleted": "Job is about to be deleted.",
"jobs.deleteFailed": "Failed to delete job.",
"jobs.empty": "No jobs created yet.",
"jobs.jobDownload": "Download",
"jobs.jobDownloadLink": "Ready",
"jobs.jobDuration": "Duration",
"jobs.loadFailed": "Failed to load jobs.",
"jobs.refreshTooltip": "Refresh jobs",
"jobs.reloaded": "Jobs reloaded.",
"jobs.restore": "Restore Backup",
"jobs.restoreFailed": "Failed to start restore.",
"jobs.restoreLastStatus": "Last Restore Operation",
"jobs.restoreLastUrl": "Url to backup",
"jobs.restoreNewAppName": "Optional app name",
"jobs.restorePageTitle": "Restore Backup",
"jobs.restoreStarted": "Restore started, it can take several minutes to complete.",
"jobs.restoreStartedLabel": "Started",
"jobs.restoreStoppedLabel": "Stopped",
"jobs.restoreTitle": "Restore Backup",
"jobs.started": "Job started, it can take several minutes to complete.",
"jobs.startedLabel": "Started",
"languages.add": "Aggiungi lingua",
"languages.add.description": "Add a new language that you want to support for your content.",
"languages.add.title": "Add a new Language",
Expand Down
Loading

0 comments on commit 0852d21

Please sign in to comment.