feat(actions): add token customization flow and extend functionally with modules (#4337)

* fix: potential memory leak

* feat(actions): possibility to parse json
feat(actions): possibility to perform http calls

* add query call

* feat(api): list flow and trigger types
fix(api): switch flow and trigger types to dynamic objects

* fix(translations): add action translations

* use `domain.FlowType`

* localizers

* localization

* trigger types

* options on `query.Action`

* add functions for actions

* feat: management api: add list flow and trigger  (#4352)

* console changes

* cleanup

* fix: wrong localization

Co-authored-by: Max Peintner <max@caos.ch>

* id token works

* check if claims not nil

* feat(actions): metadata api

* refactor(actions): modules

* fix: allow prerelease

* fix: test

* feat(actions): deny list for http hosts

* feat(actions): deny list for http hosts

* refactor: actions

* fix: different error ids

* fix: rename statusCode to status

* Actions objects as options (#4418)

* fix: rename statusCode to status

* fix(actions): objects as options

* fix(actions): objects as options

* fix(actions): set fields

* add http client to old actions

* fix(actions): add log module

* fix(actions): add user to context where possible

* fix(actions): add user to ctx in external authorization/pre creation

* fix(actions): query correct flow in claims

* test: actions

* fix(id-generator): panic if no machine id

* tests

* maybe this?

* fix linting

* refactor: improve code

* fix: metadata and usergrant usage in actions

* fix: appendUserGrant

* fix: allowedToFail and timeout in action execution

* fix: allowed to fail in token complement flow

* docs: add action log claim

* Update defaults.yaml

* fix log claim

* remove prerelease build

Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
Silvan
2022-10-06 14:23:59 +02:00
committed by GitHub
parent bffb10a4b4
commit 43fb3fd1a6
62 changed files with 2806 additions and 636 deletions

View File

@@ -654,15 +654,6 @@
"1": "inaktiv",
"2": "aktiv"
},
"TYPES": {
"0": "Unspezifisch",
"1": "Externe Authentifizierung"
},
"TRIGGERTYPES": {
"1": "Post Authentication",
"2": "Pre Creation",
"3": "Post Creation"
},
"ADDTRIGGER": "Trigger hinzufügen",
"FLOWCHANGED": "Der Ablauf wurde geändert",
"FLOWCLEARED": "Der Ablauf wurde zurückgesetzt",
@@ -689,6 +680,10 @@
"CLEAR": {
"TITLE": "Flow zurücksetzen?",
"DESCRIPTION": "Sie sind im Begriff den Flow mitsamt seinen Triggern und Aktionen zurückzusetzen. Diese Änderung kann nicht wiederhergestellt werden."
},
"REMOVEACTIONSLIST": {
"TITLE": "Ausgewählte Aktionen löschen?",
"DESCRIPTION": "Wollen Sie die gewählten Aktionen wirklich löschen?"
}
},
"TOAST": {

View File

@@ -654,15 +654,6 @@
"1": "inactive",
"2": "active"
},
"TYPES": {
"0": "Unspecified Type",
"1": "External Authentication"
},
"TRIGGERTYPES": {
"1": "Post Authentication",
"2": "Pre Creation",
"3": "Post Creation"
},
"ADDTRIGGER": "Add trigger",
"FLOWCHANGED": "The flow was changed successfully",
"FLOWCLEARED": "The flow was reset successfully",
@@ -689,6 +680,10 @@
"CLEAR": {
"TITLE": "Clear flow?",
"DESCRIPTION": "You are about to reset the flow along with its triggers and actions. This change cannot be restored. Are you sure?"
},
"REMOVEACTIONSLIST": {
"TITLE": "Delete selected Actions?",
"DESCRIPTION": "Are you sure you want to delete the selected actions from the flow?"
}
},
"TOAST": {

View File

@@ -654,15 +654,6 @@
"1": "inactif",
"2": "actif"
},
"TYPES": {
"0": "Type non spécifié",
"1": "Authentification externe"
},
"TRIGGERTYPES": {
"1": "Post Authentification",
"2": "Pré création",
"3": "Post création"
},
"ADDTRIGGER": "Ajouter un déclencheur",
"FLOWCHANGED": "Le processus a été modifié",
"FLOWCLEARED": "Le processus a été supprimé avec succès",
@@ -689,6 +680,10 @@
"CLEAR": {
"TITLE": "Effacer le flux ?",
"DESCRIPTION": "Vous êtes sur le point de réinitialiser le flux ainsi que ses déclencheurs et actions. Ce changement ne peut pas être restauré. Etes-vous sûr ?"
},
"REMOVEACTIONSLIST": {
"TITLE": "Supprimer les actions sélectionnées ?",
"DESCRIPTION": "Voulez-vous vraiment supprimer les actions sélectionnées du flux ?"
}
},
"TOAST": {

View File

@@ -654,15 +654,6 @@
"1": "inattivo",
"2": "attivo"
},
"TYPES": {
"0": "Non specifico",
"1": "Autenticazione esterna"
},
"TRIGGERTYPES": {
"1": "Post autenticazione",
"2": "Pre creazione",
"3": "Post creazione"
},
"ADDTRIGGER": "Aggiungi trigger",
"FLOWCHANGED": "Il processo è stato modificato con successo.",
"FLOWCLEARED": "Il processo è stato eliminato con successo.",
@@ -689,6 +680,10 @@
"CLEAR": {
"TITLE": "Elimina processo",
"DESCRIPTION": "Stai per eliminare un processo. Questa azione non può essere annullata. Vuoi continuare?"
},
"REMOVEACTIONSLIST": {
"TITLE": "Elimina le azioni selezionate?",
"DESCRIPTION": "Sei sicuro di voler eliminare le azioni selezionate dal processo?"
}
},
"TOAST": {

View File

@@ -654,15 +654,6 @@
"1": "停用",
"2": "激活"
},
"TYPES": {
"0": "未指定类型",
"1": "外部认证"
},
"TRIGGERTYPES": {
"1": "身份验证后",
"2": "创建之前",
"3": "创建时"
},
"ADDTRIGGER": "添加触发器",
"FLOWCHANGED": "流量已成功更改",
"FLOWCLEARED": "流已成功删除",
@@ -689,6 +680,10 @@
"CLEAR": {
"TITLE": "清理流程?",
"DESCRIPTION": "您即将重置流程及其触发器和动作。此更改无法恢复。你确定吗?"
},
"REMOVEACTIONSLIST": {
"TITLE": "删除选定的操作?",
"DESCRIPTION": "您确定要从流中删除选定的操作吗?"
}
},
"TOAST": {