summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2017-09-06 23:05:10 -0700
committerChristopher Speller <crspeller@gmail.com>2017-09-06 23:11:59 -0700
commit29fca51821981079175adf336d303a474f5ef310 (patch)
treea8866cb74ab28afa2c5c4af412454d58e250eb45 /plugin
parentd8bd57901e33a7057e26e782e295099ffcc0da89 (diff)
downloadchat-29fca51821981079175adf336d303a474f5ef310.tar.gz
chat-29fca51821981079175adf336d303a474f5ef310.tar.bz2
chat-29fca51821981079175adf336d303a474f5ef310.zip
Renaming repo
Diffstat (limited to 'plugin')
-rw-r--r--plugin/api.go2
-rw-r--r--plugin/pluginenv/environment.go4
-rw-r--r--plugin/pluginenv/environment_test.go6
-rw-r--r--plugin/pluginenv/options.go6
-rw-r--r--plugin/pluginenv/options_test.go4
-rw-r--r--plugin/pluginenv/search_path.go2
-rw-r--r--plugin/pluginenv/search_path_test.go2
-rw-r--r--plugin/plugintest/api.go4
-rw-r--r--plugin/plugintest/hooks.go2
-rw-r--r--plugin/rpcplugin/api.go4
-rw-r--r--plugin/rpcplugin/api_test.go6
-rw-r--r--plugin/rpcplugin/hooks.go2
-rw-r--r--plugin/rpcplugin/hooks_test.go4
-rw-r--r--plugin/rpcplugin/ipc_test.go2
-rw-r--r--plugin/rpcplugin/main_test.go4
-rw-r--r--plugin/rpcplugin/process_test.go2
-rw-r--r--plugin/rpcplugin/supervisor.go4
-rw-r--r--plugin/rpcplugin/supervisor_test.go8
18 files changed, 34 insertions, 34 deletions
diff --git a/plugin/api.go b/plugin/api.go
index 40a551e32..00361ff40 100644
--- a/plugin/api.go
+++ b/plugin/api.go
@@ -1,7 +1,7 @@
package plugin
import (
- "github.com/mattermost/platform/model"
+ "github.com/mattermost/mattermost-server/model"
)
type API interface {
diff --git a/plugin/pluginenv/environment.go b/plugin/pluginenv/environment.go
index ebda0e0db..a943b24c6 100644
--- a/plugin/pluginenv/environment.go
+++ b/plugin/pluginenv/environment.go
@@ -8,8 +8,8 @@ import (
"github.com/pkg/errors"
- "github.com/mattermost/platform/model"
- "github.com/mattermost/platform/plugin"
+ "github.com/mattermost/mattermost-server/model"
+ "github.com/mattermost/mattermost-server/plugin"
)
type APIProviderFunc func(*model.Manifest) (plugin.API, error)
diff --git a/plugin/pluginenv/environment_test.go b/plugin/pluginenv/environment_test.go
index 82086b9b6..e9d0820bb 100644
--- a/plugin/pluginenv/environment_test.go
+++ b/plugin/pluginenv/environment_test.go
@@ -11,9 +11,9 @@ import (
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
- "github.com/mattermost/platform/model"
- "github.com/mattermost/platform/plugin"
- "github.com/mattermost/platform/plugin/plugintest"
+ "github.com/mattermost/mattermost-server/model"
+ "github.com/mattermost/mattermost-server/plugin"
+ "github.com/mattermost/mattermost-server/plugin/plugintest"
)
type MockProvider struct {
diff --git a/plugin/pluginenv/options.go b/plugin/pluginenv/options.go
index e5ef9678d..827520fac 100644
--- a/plugin/pluginenv/options.go
+++ b/plugin/pluginenv/options.go
@@ -3,9 +3,9 @@ package pluginenv
import (
"fmt"
- "github.com/mattermost/platform/model"
- "github.com/mattermost/platform/plugin"
- "github.com/mattermost/platform/plugin/rpcplugin"
+ "github.com/mattermost/mattermost-server/model"
+ "github.com/mattermost/mattermost-server/plugin"
+ "github.com/mattermost/mattermost-server/plugin/rpcplugin"
)
// APIProvider specifies a function that provides an API implementation to each plugin.
diff --git a/plugin/pluginenv/options_test.go b/plugin/pluginenv/options_test.go
index 073d1861e..01fa206d0 100644
--- a/plugin/pluginenv/options_test.go
+++ b/plugin/pluginenv/options_test.go
@@ -6,8 +6,8 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "github.com/mattermost/platform/model"
- "github.com/mattermost/platform/plugin/rpcplugin"
+ "github.com/mattermost/mattermost-server/model"
+ "github.com/mattermost/mattermost-server/plugin/rpcplugin"
)
func TestDefaultSupervisorProvider(t *testing.T) {
diff --git a/plugin/pluginenv/search_path.go b/plugin/pluginenv/search_path.go
index b50c7019c..f8617347d 100644
--- a/plugin/pluginenv/search_path.go
+++ b/plugin/pluginenv/search_path.go
@@ -4,7 +4,7 @@ import (
"io/ioutil"
"path/filepath"
- "github.com/mattermost/platform/model"
+ "github.com/mattermost/mattermost-server/model"
)
// Performs a full scan of the given path.
diff --git a/plugin/pluginenv/search_path_test.go b/plugin/pluginenv/search_path_test.go
index f8243e5e4..dd9ff9a6b 100644
--- a/plugin/pluginenv/search_path_test.go
+++ b/plugin/pluginenv/search_path_test.go
@@ -9,7 +9,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "github.com/mattermost/platform/model"
+ "github.com/mattermost/mattermost-server/model"
)
func TestScanSearchPath(t *testing.T) {
diff --git a/plugin/plugintest/api.go b/plugin/plugintest/api.go
index 6555a966c..887cdd24e 100644
--- a/plugin/plugintest/api.go
+++ b/plugin/plugintest/api.go
@@ -3,8 +3,8 @@ package plugintest
import (
"github.com/stretchr/testify/mock"
- "github.com/mattermost/platform/model"
- "github.com/mattermost/platform/plugin"
+ "github.com/mattermost/mattermost-server/model"
+ "github.com/mattermost/mattermost-server/plugin"
)
type API struct {
diff --git a/plugin/plugintest/hooks.go b/plugin/plugintest/hooks.go
index 4cac515b4..b0053a1ad 100644
--- a/plugin/plugintest/hooks.go
+++ b/plugin/plugintest/hooks.go
@@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/mock"
- "github.com/mattermost/platform/plugin"
+ "github.com/mattermost/mattermost-server/plugin"
)
type Hooks struct {
diff --git a/plugin/rpcplugin/api.go b/plugin/rpcplugin/api.go
index e1a297b0a..29ed95258 100644
--- a/plugin/rpcplugin/api.go
+++ b/plugin/rpcplugin/api.go
@@ -6,8 +6,8 @@ import (
"net/http"
"net/rpc"
- "github.com/mattermost/platform/model"
- "github.com/mattermost/platform/plugin"
+ "github.com/mattermost/mattermost-server/model"
+ "github.com/mattermost/mattermost-server/plugin"
)
type LocalAPI struct {
diff --git a/plugin/rpcplugin/api_test.go b/plugin/rpcplugin/api_test.go
index 7ef9f51a8..dbcb5d279 100644
--- a/plugin/rpcplugin/api_test.go
+++ b/plugin/rpcplugin/api_test.go
@@ -9,9 +9,9 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
- "github.com/mattermost/platform/model"
- "github.com/mattermost/platform/plugin"
- "github.com/mattermost/platform/plugin/plugintest"
+ "github.com/mattermost/mattermost-server/model"
+ "github.com/mattermost/mattermost-server/plugin"
+ "github.com/mattermost/mattermost-server/plugin/plugintest"
)
func testAPIRPC(api plugin.API, f func(plugin.API)) {
diff --git a/plugin/rpcplugin/hooks.go b/plugin/rpcplugin/hooks.go
index 995f4ae1a..68bce41eb 100644
--- a/plugin/rpcplugin/hooks.go
+++ b/plugin/rpcplugin/hooks.go
@@ -8,7 +8,7 @@ import (
"net/rpc"
"reflect"
- "github.com/mattermost/platform/plugin"
+ "github.com/mattermost/mattermost-server/plugin"
)
type LocalHooks struct {
diff --git a/plugin/rpcplugin/hooks_test.go b/plugin/rpcplugin/hooks_test.go
index eb684956b..c3c6c8448 100644
--- a/plugin/rpcplugin/hooks_test.go
+++ b/plugin/rpcplugin/hooks_test.go
@@ -11,8 +11,8 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
- "github.com/mattermost/platform/plugin"
- "github.com/mattermost/platform/plugin/plugintest"
+ "github.com/mattermost/mattermost-server/plugin"
+ "github.com/mattermost/mattermost-server/plugin/plugintest"
)
func testHooksRPC(hooks interface{}, f func(*RemoteHooks)) error {
diff --git a/plugin/rpcplugin/ipc_test.go b/plugin/rpcplugin/ipc_test.go
index 25cd197be..d6c8c0f6b 100644
--- a/plugin/rpcplugin/ipc_test.go
+++ b/plugin/rpcplugin/ipc_test.go
@@ -23,7 +23,7 @@ func TestIPC(t *testing.T) {
import (
"log"
- "github.com/mattermost/platform/plugin/rpcplugin"
+ "github.com/mattermost/mattermost-server/plugin/rpcplugin"
)
func main() {
diff --git a/plugin/rpcplugin/main_test.go b/plugin/rpcplugin/main_test.go
index cc388787f..5a69971ac 100644
--- a/plugin/rpcplugin/main_test.go
+++ b/plugin/rpcplugin/main_test.go
@@ -10,7 +10,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "github.com/mattermost/platform/plugin/plugintest"
+ "github.com/mattermost/mattermost-server/plugin/plugintest"
)
func TestMain(t *testing.T) {
@@ -23,7 +23,7 @@ func TestMain(t *testing.T) {
package main
import (
- "github.com/mattermost/platform/plugin/rpcplugin"
+ "github.com/mattermost/mattermost-server/plugin/rpcplugin"
)
type MyPlugin struct {}
diff --git a/plugin/rpcplugin/process_test.go b/plugin/rpcplugin/process_test.go
index 96d89536c..f58a19107 100644
--- a/plugin/rpcplugin/process_test.go
+++ b/plugin/rpcplugin/process_test.go
@@ -36,7 +36,7 @@ func TestProcess(t *testing.T) {
import (
"log"
- "github.com/mattermost/platform/plugin/rpcplugin"
+ "github.com/mattermost/mattermost-server/plugin/rpcplugin"
)
func main() {
diff --git a/plugin/rpcplugin/supervisor.go b/plugin/rpcplugin/supervisor.go
index 7abcca0fc..6a00d0468 100644
--- a/plugin/rpcplugin/supervisor.go
+++ b/plugin/rpcplugin/supervisor.go
@@ -7,8 +7,8 @@ import (
"sync/atomic"
"time"
- "github.com/mattermost/platform/model"
- "github.com/mattermost/platform/plugin"
+ "github.com/mattermost/mattermost-server/model"
+ "github.com/mattermost/mattermost-server/plugin"
)
// Supervisor implements a plugin.Supervisor that launches the plugin in a separate process and
diff --git a/plugin/rpcplugin/supervisor_test.go b/plugin/rpcplugin/supervisor_test.go
index 014d0dd39..6940adcad 100644
--- a/plugin/rpcplugin/supervisor_test.go
+++ b/plugin/rpcplugin/supervisor_test.go
@@ -10,7 +10,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "github.com/mattermost/platform/model"
+ "github.com/mattermost/mattermost-server/model"
)
func TestSupervisor(t *testing.T) {
@@ -23,7 +23,7 @@ func TestSupervisor(t *testing.T) {
package main
import (
- "github.com/mattermost/platform/plugin/rpcplugin"
+ "github.com/mattermost/mattermost-server/plugin/rpcplugin"
)
type MyPlugin struct {}
@@ -80,8 +80,8 @@ func TestSupervisor_PluginCrash(t *testing.T) {
import (
"os"
- "github.com/mattermost/platform/plugin"
- "github.com/mattermost/platform/plugin/rpcplugin"
+ "github.com/mattermost/mattermost-server/plugin"
+ "github.com/mattermost/mattermost-server/plugin/rpcplugin"
)
type MyPlugin struct {}