From 85f0a7b2b56b6ad2c967e1ba2ddea8a95f35f536 Mon Sep 17 00:00:00 2001 From: Felipe Martin Date: Fri, 13 Sep 2024 10:48:28 +0200 Subject: [PATCH 1/2] fix: old repository references --- .golangci.yml | 2 +- go.mod | 2 +- server/main.go | 2 +- server/plugin/flow.go | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index e8ac7e0..59322a9 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -6,7 +6,7 @@ linters-settings: gofmt: simplify: true goimports: - local-prefixes: github.com/darkLord19/mattermost-plugin-google-drive + local-prefixes: github.com/mattermost/mattermost-plugin-google-drive govet: check-shadowing: true enable-all: true diff --git a/go.mod b/go.mod index a7b7a34..b6c29c6 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/darkLord19/mattermost-plugin-google-drive +module github.com/mattermost/mattermost-plugin-google-drive go 1.21 diff --git a/server/main.go b/server/main.go index a778182..5ad5871 100644 --- a/server/main.go +++ b/server/main.go @@ -1,7 +1,7 @@ package main import ( - "github.com/darkLord19/mattermost-plugin-google-drive/server/plugin" + "github.com/mattermost/mattermost-plugin-google-drive/server/plugin" mmplugin "github.com/mattermost/mattermost/server/public/plugin" ) diff --git a/server/plugin/flow.go b/server/plugin/flow.go index fe19b33..db6c591 100644 --- a/server/plugin/flow.go +++ b/server/plugin/flow.go @@ -183,7 +183,7 @@ func (fm *FlowManager) trackCompleteOauthWizard(userID string) { } func (fm *FlowManager) stepWelcome() flow.Step { - welcomePretext := ":wave: Welcome to your Google Drive integration! [Learn more](https://github.com/darkLord19/mattermost-plugin-google-drive#readme)" + welcomePretext := ":wave: Welcome to your Google Drive integration! [Learn more](https://github.com/mattermost/mattermost-plugin-google-drive#readme)" welcomeText := ` Just a few configuration steps to go! @@ -337,7 +337,7 @@ func (fm *FlowManager) trackStartAnnouncementWizard(userID string) { func (fm *FlowManager) stepAnnouncementQuestion() flow.Step { defaultMessage := "Hi team,\n" + "\n" + - "We've set up the Mattermost Google Drive plugin to enable document creation, file uploads and file activity notifications in Mattermost. To get started, run the `/google-drive connect` slash command from any channel within Mattermost to connect your Google account. See the [documentation](https://github.com/darkLord19/mattermost-plugin-google-drive/) for details on using the Google Drive plugin." + "We've set up the Mattermost Google Drive plugin to enable document creation, file uploads and file activity notifications in Mattermost. To get started, run the `/google-drive connect` slash command from any channel within Mattermost to connect your Google account. See the [documentation](https://github.com/mattermost/mattermost-plugin-google-drive/) for details on using the Google Drive plugin." return flow.NewStep(stepAnnouncementQuestion). WithText("Want to let your team know?"). From 5c7fb0d9f25d9a774044bd83c1a9115dfd139c63 Mon Sep 17 00:00:00 2001 From: Felipe Martin Date: Wed, 16 Oct 2024 12:13:29 +0200 Subject: [PATCH 2/2] mattermost -> mattermost-community --- .golangci.yml | 2 +- README.md | 18 +++++++++--------- go.mod | 2 +- server/main.go | 2 +- server/plugin/flow.go | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 59322a9..b3ff536 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -6,7 +6,7 @@ linters-settings: gofmt: simplify: true goimports: - local-prefixes: github.com/mattermost/mattermost-plugin-google-drive + local-prefixes: github.com/mattermost-community/mattermost-plugin-google-drive govet: check-shadowing: true enable-all: true diff --git a/README.md b/README.md index 74df9cc..e2a3133 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ -# Mattermost Google Drive Plugin +# Mattermost Google Drive Plugin -[![CircleCI branch](https://img.shields.io/circleci/project/github/darkLord19/mattermost-plugin-google-drive/master.svg)](https://circleci.com/gh/darkLord19/mattermost-plugin-google-drive) -[![Release](https://img.shields.io/github/v/release/darkLord19/mattermost-plugin-google-drive)](https://github.com/darkLord19/mattermost-plugin-google-drive/releases/latest) -[![Go Report Card](https://goreportcard.com/badge/github.com/darkLord19/mattermost-plugin-google-drive)](https://goreportcard.com/report/github.com/darkLord19/mattermost-plugin-google-drive) -[![HW](https://img.shields.io/github/issues/darkLord19/mattermost-plugin-google-drive/Up%20For%20Grabs?color=dark%20green&label=Help%20Wanted)](https://github.com/darkLord19/mattermost-plugin-google-drive/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22Up+For+Grabs%22+label%3A%22Help+Wanted%22) +[![CircleCI branch](https://img.shields.io/circleci/project/github/mattermost/mattermost-plugin-google-drive/master.svg)](https://circleci.com/gh/mattermost/mattermost-plugin-google-drive) +[![Release](https://img.shields.io/github/v/release/mattermost/mattermost-plugin-google-drive)](https://github.com/mattermost-community/mattermost-plugin-google-drive/releases/latest) +[![Go Report Card](https://goreportcard.com/badge/github.com/mattermost-community/mattermost-plugin-google-drive)](https://goreportcard.com/report/github.com/mattermost-community/mattermost-plugin-google-drive) +[![HW](https://img.shields.io/github/issues/mattermost/mattermost-plugin-google-drive/Up%20For%20Grabs?color=dark%20green&label=Help%20Wanted)](https://github.com/mattermost-community/mattermost-plugin-google-drive/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22Up+For+Grabs%22+label%3A%22Help+Wanted%22) [![Mattermost Community Channel](https://img.shields.io/badge/Mattermost%20Community-~Plugin%3A%20GoogleDrive-blue)](https://community.mattermost.com/core/channels/plugin-googledrive) -**Help Wanted Tickets [here](https://github.com/darkLord19/mattermost-plugin-google-drive/issues)** +**Help Wanted Tickets [here](https://github.com/mattermost-community/mattermost-plugin-google-drive/issues)** # Contents @@ -69,13 +69,13 @@ After your System Admin has configured the Google Drive plugin, run `/google-dri Wanting to share feedback on this plugin? -Feel free to create a [GitHub Issue](https://github.com/darkLord19/mattermost-plugin-google-drive/issues) or join the [Google Drive Plugin channel](https://community.mattermost.com/core/channels/plugin-googledrive) on the Mattermost Community server to discuss. +Feel free to create a [GitHub Issue](https://github.com/mattermost-community/mattermost-plugin-google-drive/issues) or join the [Google Drive Plugin channel](https://community.mattermost.com/core/channels/plugin-googledrive) on the Mattermost Community server to discuss. ## Contribute ### I saw a bug, I have a feature request or a suggestion -Please fill a [GitHub issue](https://github.com/mattermost/mattermost-plugin-google-drive/issues/new/choose), it will be very useful! +Please fill a [GitHub issue](https://github.com/mattermost-community/mattermost-plugin-google-drive/issues/new/choose), it will be very useful! ### Development @@ -95,4 +95,4 @@ Please report any security vulnerability to [https://mattermost.com/security-vul ## Get Help -For questions, suggestions, and help, visit the [Google Drive Plugin channel](https://community.mattermost.com/core/channels/plugin-googledrive) on our Community server. \ No newline at end of file +For questions, suggestions, and help, visit the [Google Drive Plugin channel](https://community.mattermost.com/core/channels/plugin-googledrive) on our Community server. diff --git a/go.mod b/go.mod index b6c29c6..d35cf3c 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/mattermost/mattermost-plugin-google-drive +module github.com/mattermost-community/mattermost-plugin-google-drive go 1.21 diff --git a/server/main.go b/server/main.go index 5ad5871..840828d 100644 --- a/server/main.go +++ b/server/main.go @@ -1,7 +1,7 @@ package main import ( - "github.com/mattermost/mattermost-plugin-google-drive/server/plugin" + "github.com/mattermost-community/mattermost-plugin-google-drive/server/plugin" mmplugin "github.com/mattermost/mattermost/server/public/plugin" ) diff --git a/server/plugin/flow.go b/server/plugin/flow.go index db6c591..663b693 100644 --- a/server/plugin/flow.go +++ b/server/plugin/flow.go @@ -183,7 +183,7 @@ func (fm *FlowManager) trackCompleteOauthWizard(userID string) { } func (fm *FlowManager) stepWelcome() flow.Step { - welcomePretext := ":wave: Welcome to your Google Drive integration! [Learn more](https://github.com/mattermost/mattermost-plugin-google-drive#readme)" + welcomePretext := ":wave: Welcome to your Google Drive integration! [Learn more](https://github.com/mattermost-community/mattermost-plugin-google-drive#readme)" welcomeText := ` Just a few configuration steps to go! @@ -337,7 +337,7 @@ func (fm *FlowManager) trackStartAnnouncementWizard(userID string) { func (fm *FlowManager) stepAnnouncementQuestion() flow.Step { defaultMessage := "Hi team,\n" + "\n" + - "We've set up the Mattermost Google Drive plugin to enable document creation, file uploads and file activity notifications in Mattermost. To get started, run the `/google-drive connect` slash command from any channel within Mattermost to connect your Google account. See the [documentation](https://github.com/mattermost/mattermost-plugin-google-drive/) for details on using the Google Drive plugin." + "We've set up the Mattermost Google Drive plugin to enable document creation, file uploads and file activity notifications in Mattermost. To get started, run the `/google-drive connect` slash command from any channel within Mattermost to connect your Google account. See the [documentation](https://github.com/mattermost-community/mattermost-plugin-google-drive/) for details on using the Google Drive plugin." return flow.NewStep(stepAnnouncementQuestion). WithText("Want to let your team know?").