Major terminology unification (user scripts -> checks)

This commit is contained in:
Simone Mainardi 2021-06-17 12:39:43 +02:00
parent cf363eaa10
commit 2e8a6de0fc
31 changed files with 94 additions and 90 deletions

View file

@ -94,7 +94,7 @@ if((ts_schema == "top:flow_check:duration")
or (ts_schema == "top:elem_check:duration")
or (ts_schema == "custom:flow_check:total_stats")
or (ts_schema == "custom:elem_check:total_stats")) then
-- NOTE: Temporary fix for top user scripts page
-- NOTE: Temporary fix for top checks page
tags.check = nil
end

View file

@ -13,7 +13,7 @@ local rest_utils = require "rest_utils"
local import_export_rest_utils = require "import_export_rest_utils"
--
-- Export user scripts configuration
-- Export checks configuration
-- Example: curl -u admin:admin http://localhost:3000/lua/rest/v1/export/scripts/config.lua
--
-- NOTE: in case of invalid login, no error is returned but redirected to login

View file

@ -17,7 +17,7 @@ local os_utils = require "os_utils"
local rest_utils = require("rest_utils")
--
-- Read user scripts configuration
-- Read checks configuration
-- Example: curl -u admin:admin -H "Content-Type: application/json" http://localhost:3000/lua/rest/v1/get/scripts/config.lua
--
-- NOTE: in case of invalid login, no error is returned but redirected to login

View file

@ -95,7 +95,7 @@ if((ts_schema == "top:flow_check:duration")
or (ts_schema == "top:elem_check:duration")
or (ts_schema == "custom:flow_check:total_stats")
or (ts_schema == "custom:elem_check:total_stats")) then
-- NOTE: Temporary fix for top user scripts page
-- NOTE: Temporary fix for top checks page
tags.check = nil
end

View file

@ -14,7 +14,7 @@ local import_export_rest_utils = require "import_export_rest_utils"
local auth = require "auth"
--
-- Reset User Scripts configuration
-- Reset Checks configuration
-- Example: curl -u admin:admin http://localhost:3000/lua/rest/v1/reset/scripts/config.lua
--
-- NOTE: in case of invalid login, no error is returned but redirected to login