From db276aa1eea0ad99f09ca864240dfb2c155e5904 Mon Sep 17 00:00:00 2001 From: predictiple Date: Sat, 23 Nov 2024 13:06:51 +0200 Subject: [PATCH 1/3] Fix YAML highlighting --- gui/velociraptor/src/components/core/mode-yaml.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/velociraptor/src/components/core/mode-yaml.jsx b/gui/velociraptor/src/components/core/mode-yaml.jsx index c2d7e4066f4..cbb12d756ab 100644 --- a/gui/velociraptor/src/components/core/mode-yaml.jsx +++ b/gui/velociraptor/src/components/core/mode-yaml.jsx @@ -6,7 +6,7 @@ export class YamlHighlightRules extends window.ace.acequire("ace/mode/yaml_highl this.$rules["start"] = [{ token : "keyword", - regex : /\s*-?\s*(name|type|description|choices|sources|parameters|author|reference|required_permissions|resources|tools|parameters|url|default|serve_locally|github_asset_regex|github_project|column_types|imports|notebook|template|timeout|ops_per_second|max_rows|max_upload_bytes|artifact_type|version|expected_hash):/, + regex : /\s*-?\s*(name|type|description|choices|validating_regex|friendly_name|sources|parameters|author|reference|required_permissions|resources|tools|parameters|url|default|serve_locally|github_asset_regex|github_project|column_types|imports|notebook|template|output|timeout|ops_per_second|max_rows|max_upload_bytes|artifact_type|version|expected_hash):/, }, { token: "keyword", regex: /.*(export|precondition|query):\s*[|]?/, From 06a9622c178095cab70508d04b5abf907a94dab7 Mon Sep 17 00:00:00 2001 From: predictiple Date: Sat, 23 Nov 2024 13:51:31 +0200 Subject: [PATCH 2/3] Fix YAML highlighting --- gui/velociraptor/src/components/core/mode-yaml.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/velociraptor/src/components/core/mode-yaml.jsx b/gui/velociraptor/src/components/core/mode-yaml.jsx index cbb12d756ab..b325d5a22df 100644 --- a/gui/velociraptor/src/components/core/mode-yaml.jsx +++ b/gui/velociraptor/src/components/core/mode-yaml.jsx @@ -6,7 +6,7 @@ export class YamlHighlightRules extends window.ace.acequire("ace/mode/yaml_highl this.$rules["start"] = [{ token : "keyword", - regex : /\s*-?\s*(name|type|description|choices|validating_regex|friendly_name|sources|parameters|author|reference|required_permissions|resources|tools|parameters|url|default|serve_locally|github_asset_regex|github_project|column_types|imports|notebook|template|output|timeout|ops_per_second|max_rows|max_upload_bytes|artifact_type|version|expected_hash):/, + regex : /\s*-?\s*(name|aliases|type|description|choices|validating_regex|friendly_name|sources|parameters|author|reference|required_permissions|resources|tools|parameters|url|default|serve_locally|github_asset_regex|github_project|column_types|imports|notebook|template|output|timeout|ops_per_second|max_rows|max_upload_bytes|artifact_type|version|expected_hash):/, }, { token: "keyword", regex: /.*(export|precondition|query):\s*[|]?/, From 9540676903888bcf7fe0c6c1083877dca84ffc7f Mon Sep 17 00:00:00 2001 From: predictiple Date: Sat, 23 Nov 2024 13:55:37 +0200 Subject: [PATCH 3/3] Fix YAML highlighting --- gui/velociraptor/src/components/core/mode-yaml.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/velociraptor/src/components/core/mode-yaml.jsx b/gui/velociraptor/src/components/core/mode-yaml.jsx index b325d5a22df..2b88e5369cd 100644 --- a/gui/velociraptor/src/components/core/mode-yaml.jsx +++ b/gui/velociraptor/src/components/core/mode-yaml.jsx @@ -6,7 +6,7 @@ export class YamlHighlightRules extends window.ace.acequire("ace/mode/yaml_highl this.$rules["start"] = [{ token : "keyword", - regex : /\s*-?\s*(name|aliases|type|description|choices|validating_regex|friendly_name|sources|parameters|author|reference|required_permissions|resources|tools|parameters|url|default|serve_locally|github_asset_regex|github_project|column_types|imports|notebook|template|output|timeout|ops_per_second|max_rows|max_upload_bytes|artifact_type|version|expected_hash):/, + regex : /\s*-?\s*(name|aliases|type|description|choices|validating_regex|friendly_name|sources|parameters|author|reference|references|reports|required_permissions|resources|tools|parameters|url|default|serve_locally|github_asset_regex|github_project|column_types|imports|notebook|template|output|timeout|ops_per_second|max_rows|max_upload_bytes|artifact_type|version|expected_hash):/, }, { token: "keyword", regex: /.*(export|precondition|query):\s*[|]?/,