From 56400affbd9982444f4db86c7f2f6d2ee0cb6758 Mon Sep 17 00:00:00 2001 From: Ben Schumacher Date: Tue, 3 Dec 2024 09:35:13 +0100 Subject: [PATCH 1/3] Mark confidential settings as secrets --- plugin.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin.json b/plugin.json index f3c80ca..2aa9304 100644 --- a/plugin.json +++ b/plugin.json @@ -79,7 +79,8 @@ "key": "JitsiAppSecret", "display_name": "App Secret for JWT Authentication:", "type": "text", - "help_text": "(Optional) The app secret used for authentication by the Jitsi server and JWT token generator." + "help_text": "(Optional) The app secret used for authentication by the Jitsi server and JWT token generator.", + "secret": true }, { "key": "JitsiLinkValidTime", From 78275b5d693f94505320c938b6668daa7e4459e1 Mon Sep 17 00:00:00 2001 From: Ben Schumacher Date: Tue, 17 Dec 2024 09:53:20 +0100 Subject: [PATCH 2/3] Update github.com/mattermost/mattermost/server/public --- go.mod | 6 ++++-- go.sum | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 76e4981..12de17f 100644 --- a/go.mod +++ b/go.mod @@ -1,11 +1,13 @@ module github.com/mattermost/mattermost-plugin-jitsi -go 1.21 +go 1.22 + +toolchain go1.22.8 require ( github.com/cristalhq/jwt/v2 v2.0.0 github.com/google/uuid v1.6.0 - github.com/mattermost/mattermost/server/public v0.1.6 + github.com/mattermost/mattermost/server/public v0.1.9 github.com/nicksnyder/go-i18n/v2 v2.4.1 github.com/pkg/errors v0.9.1 github.com/stretchr/testify v1.10.0 diff --git a/go.sum b/go.sum index ea4a59e..eed9c16 100644 --- a/go.sum +++ b/go.sum @@ -108,6 +108,8 @@ github.com/mattermost/logr/v2 v2.0.21 h1:CMHsP+nrbRlEC4g7BwOk1GAnMtHkniFhlSQPXy5 github.com/mattermost/logr/v2 v2.0.21/go.mod h1:kZkB/zqKL9e+RY5gB3vGpsyenC+TpuiOenjMkvJJbzc= github.com/mattermost/mattermost/server/public v0.1.6 h1:k3upRnYfDY9CtVifQ+hQS6ZP4dGsU6I3oG1DCcBYy0c= github.com/mattermost/mattermost/server/public v0.1.6/go.mod h1:Dm5uf3z8ckDOKYD1cbnb1Uqm/G9WYIaouSP/HnH+Rbs= +github.com/mattermost/mattermost/server/public v0.1.9 h1:l/OKPRVuFeqL0yqRVC/JpveG5sLNKcT9llxqMkO9e+s= +github.com/mattermost/mattermost/server/public v0.1.9/go.mod h1:SkTKbMul91Rq0v2dIxe8mqzUOY+3KwlwwLmAlxDfGCk= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= From 7bce70d6ead3e63997febffd8e4e4eaa8735bfd6 Mon Sep 17 00:00:00 2001 From: Ben Schumacher Date: Tue, 17 Dec 2024 09:58:23 +0100 Subject: [PATCH 3/3] go mod tidy --- go.sum | 2 -- 1 file changed, 2 deletions(-) diff --git a/go.sum b/go.sum index eed9c16..cf94c14 100644 --- a/go.sum +++ b/go.sum @@ -106,8 +106,6 @@ github.com/mattermost/ldap v0.0.0-20231116144001-0f480c025956 h1:Y1Tu/swM31pVwwb github.com/mattermost/ldap v0.0.0-20231116144001-0f480c025956/go.mod h1:SRl30Lb7/QoYyohYeVBuqYvvmXSZJxZgiV3Zf6VbxjI= github.com/mattermost/logr/v2 v2.0.21 h1:CMHsP+nrbRlEC4g7BwOk1GAnMtHkniFhlSQPXy52be4= github.com/mattermost/logr/v2 v2.0.21/go.mod h1:kZkB/zqKL9e+RY5gB3vGpsyenC+TpuiOenjMkvJJbzc= -github.com/mattermost/mattermost/server/public v0.1.6 h1:k3upRnYfDY9CtVifQ+hQS6ZP4dGsU6I3oG1DCcBYy0c= -github.com/mattermost/mattermost/server/public v0.1.6/go.mod h1:Dm5uf3z8ckDOKYD1cbnb1Uqm/G9WYIaouSP/HnH+Rbs= github.com/mattermost/mattermost/server/public v0.1.9 h1:l/OKPRVuFeqL0yqRVC/JpveG5sLNKcT9llxqMkO9e+s= github.com/mattermost/mattermost/server/public v0.1.9/go.mod h1:SkTKbMul91Rq0v2dIxe8mqzUOY+3KwlwwLmAlxDfGCk= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=