From 52a34745d6f70da31776b507ac84669f601ad870 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Tue, 12 Dec 2023 23:17:11 +0100 Subject: [PATCH 001/101] [#158] Disable Vue Devtools in release builds by setting NODE_ENV to production - which should the case for all published builds anyways Signed-off-by: Knut Ahlers --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 63f86f8..bd5d45b 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,7 @@ generate-inner: npm ci --include=dev node ./ci/build.mjs +publish: export NODE_ENV=production publish: download_libs generate-inner generate-apidocs bash ./ci/build.sh From 47a7a686ef6d7a40c93c13ccdc2382ad8bf33a55 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Tue, 12 Dec 2023 23:23:24 +0100 Subject: [PATCH 002/101] Release: OTS v1.11.1 --- History.md | 5 +++++ docker-compose.yml | 2 +- docs/k8s_example.yml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/History.md b/History.md index 2817156..46b9956 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,8 @@ +# 1.11.1 / 2023-12-12 + + * Bugfixes + * [#158] Disable Vue Devtools in release builds + # 1.11.0 / 2023-12-10 * Improvements diff --git a/docker-compose.yml b/docker-compose.yml index 55e09ef..048dca3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: "3.8" services: app: build: - context: https://github.com/Luzifer/ots.git#v1.11.0 + context: https://github.com/Luzifer/ots.git#v1.11.1 restart: always environment: # Optional, see "Customization" in README diff --git a/docs/k8s_example.yml b/docs/k8s_example.yml index cc95c49..78905ad 100644 --- a/docs/k8s_example.yml +++ b/docs/k8s_example.yml @@ -107,7 +107,7 @@ spec: name: ots-cutomize containers: - name: ots - image: luzifer/ots:v1.11.0 + image: luzifer/ots:v1.11.1 args: - --storage-type - redis From f2a7af30b2305f55ad22b36fd7886c3a75058a2f Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Wed, 13 Dec 2023 16:26:33 +0100 Subject: [PATCH 003/101] [#159] Add version-command for ots-cli Signed-off-by: Knut Ahlers --- cmd/ots-cli/cmd_version.go | 19 +++++++++++++++++++ cmd/ots-cli/main.go | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 cmd/ots-cli/cmd_version.go diff --git a/cmd/ots-cli/cmd_version.go b/cmd/ots-cli/cmd_version.go new file mode 100644 index 0000000..313423f --- /dev/null +++ b/cmd/ots-cli/cmd_version.go @@ -0,0 +1,19 @@ +package main + +import ( + "fmt" + + "github.com/spf13/cobra" +) + +var versionCmd = &cobra.Command{ + Use: "version", + Short: "Displays the tool version", + Run: func(cmd *cobra.Command, args []string) { + fmt.Printf("ots-cli %s\n", version) //nolint:forbidigo + }, +} + +func init() { + rootCmd.AddCommand(versionCmd) +} diff --git a/cmd/ots-cli/main.go b/cmd/ots-cli/main.go index 068527e..c7801ea 100644 --- a/cmd/ots-cli/main.go +++ b/cmd/ots-cli/main.go @@ -4,6 +4,8 @@ import ( "os" ) +var version = "dev" + func main() { if err := rootCmd.Execute(); err != nil { os.Exit(1) From 98268f145710a06c094c063405b100d21453da73 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 15 Dec 2023 17:13:58 +0100 Subject: [PATCH 004/101] [#160] Add auto-resizing textareas in order to prevent users from having to scroll in secrets Signed-off-by: Knut Ahlers --- src/components/create.vue | 7 ++- src/components/growarea.vue | 71 +++++++++++++++++++++++++++++++ src/components/secret-display.vue | 7 +-- 3 files changed, 80 insertions(+), 5 deletions(-) create mode 100644 src/components/growarea.vue diff --git a/src/components/create.vue b/src/components/create.vue index 1ed40c6..0f393fc 100644 --- a/src/components/create.vue +++ b/src/components/create.vue @@ -31,11 +31,11 @@ >
-