Skip to content

Commit 79c240c

Browse files
authored
fix module paths after move to mattermost-community (#228)
1 parent 2405336 commit 79c240c

File tree

20 files changed

+28
-25
lines changed

20 files changed

+28
-25
lines changed

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ linters-settings:
99
gofmt:
1010
simplify: true
1111
goimports:
12-
local-prefixes: github.com/mattermost/mattermost-plugin-autolink
12+
local-prefixes: github.com/mattermost-community/mattermost-plugin-autolink
1313
govet:
1414
check-shadowing: true
1515
enable-all: true

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Changelog
22

3-
The changelog can be found at https://github.com/mattermost/mattermost-plugin-autolink/releases.
3+
The changelog can be found at https://github.com/mattermost-community/mattermost-plugin-autolink/releases.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
[![Build Status](https://img.shields.io/circleci/project/github/mattermost/mattermost-plugin-autolink/master.svg)](https://circleci.com/gh/mattermost/mattermost-plugin-autolink)
88
[![Code Coverage](https://img.shields.io/codecov/c/github/mattermost/mattermost-plugin-autolink/master.svg)](https://codecov.io/gh/mattermost/mattermost-plugin-autolink)
9-
[![Release](https://img.shields.io/github/v/release/mattermost/mattermost-plugin-autolink)](https://github.com/mattermost/mattermost-plugin-autolink/releases/latest)
10-
[![HW](https://img.shields.io/github/issues/mattermost/mattermost-plugin-autolink/Up%20For%20Grabs?color=dark%20green&label=Help%20Wanted)](https://github.com/mattermost/mattermost-plugin-autolink/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22Up+For+Grabs%22+label%3A%22Help+Wanted%22)
9+
[![Release](https://img.shields.io/github/v/release/mattermost/mattermost-plugin-autolink)](https://github.com/mattermost-community/mattermost-plugin-autolink/releases/latest)
10+
[![HW](https://img.shields.io/github/issues/mattermost/mattermost-plugin-autolink/Up%20For%20Grabs?color=dark%20green&label=Help%20Wanted)](https://github.com/mattermost-community/mattermost-plugin-autolink/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22Up+For+Grabs%22+label%3A%22Help+Wanted%22)
1111

1212
**Maintainer:** [@levb](https://github.com/levb)
1313
**Co-Maintainer:** [@iomodo](https://github.com/iomodo)
@@ -26,7 +26,7 @@ Use it to add custom auto-linking on your Mattermost system, such as adding link
2626

2727
## Configuration
2828
1. Go to **System Console > Plugins > Plugin Management** and click **Enable** to enable the Autolink plugin.
29-
- If you are running Mattermost v5.11 or earlier, you must first go to the [releases page of this GitHub repository](https://github.com/mattermost/mattermost-plugin-autolink), download the latest release, and upload it to your Mattermost instance [following this documentation](https://docs.mattermost.com/administration/plugins.html#plugin-uploads).
29+
- If you are running Mattermost v5.11 or earlier, you must first go to the [releases page of this GitHub repository](https://github.com/mattermost-community/mattermost-plugin-autolink), download the latest release, and upload it to your Mattermost instance [following this documentation](https://docs.mattermost.com/administration/plugins.html#plugin-uploads).
3030

3131
2. Modify your `config.json` file to include the types of regexp patterns you wish to match, under the `PluginSettings`. See below for an example of what this should look like.
3232

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/mattermost/mattermost-plugin-autolink
1+
module github.com/mattermost-community/mattermost-plugin-autolink
22

33
go 1.21
44

@@ -23,6 +23,7 @@ require (
2323
github.com/hashicorp/go-hclog v1.6.2 // indirect
2424
github.com/hashicorp/go-plugin v1.6.0 // indirect
2525
github.com/hashicorp/yamux v0.1.1 // indirect
26+
github.com/kr/text v0.2.0 // indirect
2627
github.com/lib/pq v1.10.9 // indirect
2728
github.com/mattermost/go-i18n v1.11.1-0.20211013152124-5c415071e404 // indirect
2829
github.com/mattermost/ldap v0.0.0-20231116144001-0f480c025956 // indirect

go.sum

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp
1818
github.com/buger/jsonparser v0.0.0-20181115193947-bf1c66bbce23/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s=
1919
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
2020
github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
21+
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
2122
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
2223
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
2324
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -86,8 +87,9 @@ github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0=
8687
github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk=
8788
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
8889
github.com/kr/pty v1.1.3/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
89-
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
9090
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
91+
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
92+
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
9193
github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw=
9294
github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
9395
github.com/lunixbochs/vtclean v1.0.0/go.mod h1:pHhQNgMf3btfWnGBVipUOjRYhoOsdGqdm/+2c2E2WMI=

plugin.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"id": "mattermost-autolink",
33
"name": "Autolink",
44
"description": "Automatically rewrite text matching a regular expression into a Markdown link.",
5-
"homepage_url": "https://github.com/mattermost/mattermost-plugin-autolink",
6-
"support_url": "https://github.com/mattermost/mattermost-plugin-autolink/issues",
5+
"homepage_url": "https://github.com/mattermost-community/mattermost-plugin-autolink",
6+
"support_url": "https://github.com/mattermost-community/mattermost-plugin-autolink/issues",
77
"icon_path": "assets/icon.svg",
88
"min_server_version": "5.16.0",
99
"server": {
@@ -17,7 +17,7 @@
1717
"executable": ""
1818
},
1919
"settings_schema": {
20-
"header": "Configure this plugin directly in the config.json file, or using the /autolink command. Learn more [in our documentation](https://github.com/mattermost/mattermost-plugin-autolink/blob/master/README.md).\n\n To report an issue, make a suggestion, or contribute, [check the plugin repository](https://github.com/mattermost/mattermost-plugin-autolink).",
20+
"header": "Configure this plugin directly in the config.json file, or using the /autolink command. Learn more [in our documentation](https://github.com/mattermost-community/mattermost-plugin-autolink/blob/master/README.md).\n\n To report an issue, make a suggestion, or contribute, [check the plugin repository](https://github.com/mattermost-community/mattermost-plugin-autolink).",
2121
"footer": "",
2222
"settings": [
2323
{

server/api/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/gorilla/mux"
88
"github.com/pkg/errors"
99

10-
"github.com/mattermost/mattermost-plugin-autolink/server/autolink"
10+
"github.com/mattermost-community/mattermost-plugin-autolink/server/autolink"
1111
)
1212

1313
type Store interface {

server/api/api_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
"github.com/stretchr/testify/require"
1111

12-
"github.com/mattermost/mattermost-plugin-autolink/server/autolink"
12+
"github.com/mattermost-community/mattermost-plugin-autolink/server/autolink"
1313
)
1414

1515
type authorizeAll struct{}

server/autolink/autolink_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"github.com/stretchr/testify/mock"
1212
"github.com/stretchr/testify/require"
1313

14-
"github.com/mattermost/mattermost-plugin-autolink/server/autolink"
15-
"github.com/mattermost/mattermost-plugin-autolink/server/autolinkplugin"
14+
"github.com/mattermost-community/mattermost-plugin-autolink/server/autolink"
15+
"github.com/mattermost-community/mattermost-plugin-autolink/server/autolinkplugin"
1616
)
1717

1818
func setupTestPlugin(t *testing.T, l autolink.Autolink) *autolinkplugin.Plugin {

server/autolink/lib_credit_card_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
"github.com/stretchr/testify/assert"
88

9-
"github.com/mattermost/mattermost-plugin-autolink/server/autolink"
9+
"github.com/mattermost-community/mattermost-plugin-autolink/server/autolink"
1010
)
1111

1212
const (

0 commit comments

Comments
 (0)