[MM-19948] Set version on module file and internal paths (#13186)

* [MM-19948] Set version on module file and internal paths

* Fixes after merge

* Fix i18n checker error
Этот коммит содержится в:
Miguel de la Cruz
2019-11-28 14:39:38 +01:00
коммит произвёл GitHub
родитель 14bcd1f0a1
Коммит 2259b7f2a8
635 изменённых файлов: 1309 добавлений и 1307 удалений

Просмотреть файл

@@ -3,7 +3,7 @@
package einterfaces
import "github.com/mattermost/mattermost-server/model"
import "github.com/mattermost/mattermost-server/v5/model"
type AccountMigrationInterface interface {
MigrateToLdap(fromAuthService string, forignUserFieldNameToMatch string, force bool, dryRun bool) *model.AppError

Просмотреть файл

@@ -4,7 +4,7 @@
package einterfaces
import (
"github.com/mattermost/mattermost-server/model"
"github.com/mattermost/mattermost-server/v5/model"
)
type ClusterMessageHandler func(msg *model.ClusterMessage)

Просмотреть файл

@@ -4,7 +4,7 @@
package einterfaces
import (
"github.com/mattermost/mattermost-server/model"
"github.com/mattermost/mattermost-server/v5/model"
)
type ComplianceInterface interface {

Просмотреть файл

@@ -4,7 +4,7 @@
package einterfaces
import (
"github.com/mattermost/mattermost-server/model"
"github.com/mattermost/mattermost-server/v5/model"
)
type DataRetentionInterface interface {

Просмотреть файл

@@ -6,7 +6,7 @@ package einterfaces
import (
"time"
"github.com/mattermost/mattermost-server/model"
"github.com/mattermost/mattermost-server/v5/model"
)
type ElasticsearchInterface interface {

Просмотреть файл

@@ -4,7 +4,7 @@
package jobs
import (
"github.com/mattermost/mattermost-server/model"
"github.com/mattermost/mattermost-server/v5/model"
)
type DataRetentionJobInterface interface {

Просмотреть файл

@@ -4,7 +4,7 @@
package jobs
import (
"github.com/mattermost/mattermost-server/model"
"github.com/mattermost/mattermost-server/v5/model"
)
type ElasticsearchIndexerInterface interface {

Просмотреть файл

@@ -4,7 +4,7 @@
package jobs
import (
"github.com/mattermost/mattermost-server/model"
"github.com/mattermost/mattermost-server/v5/model"
)
type LdapSyncInterface interface {

Просмотреть файл

@@ -4,7 +4,7 @@
package jobs
import (
"github.com/mattermost/mattermost-server/model"
"github.com/mattermost/mattermost-server/v5/model"
)
type MessageExportJobInterface interface {

Просмотреть файл

@@ -4,7 +4,7 @@
package einterfaces
import (
"github.com/mattermost/mattermost-server/model"
"github.com/mattermost/mattermost-server/v5/model"
)
type LdapInterface interface {

Просмотреть файл

@@ -6,7 +6,7 @@ package einterfaces
import (
"context"
"github.com/mattermost/mattermost-server/model"
"github.com/mattermost/mattermost-server/v5/model"
)
type MessageExportInterface interface {

Просмотреть файл

@@ -4,7 +4,7 @@
package einterfaces
import (
"github.com/mattermost/mattermost-server/model"
"github.com/mattermost/mattermost-server/v5/model"
)
type MfaInterface interface {

Просмотреть файл

@@ -5,7 +5,7 @@
package mocks
import mock "github.com/stretchr/testify/mock"
import model "github.com/mattermost/mattermost-server/model"
import model "github.com/mattermost/mattermost-server/v5/model"
// AccountMigrationInterface is an autogenerated mock type for the AccountMigrationInterface type
type AccountMigrationInterface struct {

Просмотреть файл

@@ -4,9 +4,9 @@
package mocks
import einterfaces "github.com/mattermost/mattermost-server/einterfaces"
import einterfaces "github.com/mattermost/mattermost-server/v5/einterfaces"
import mock "github.com/stretchr/testify/mock"
import model "github.com/mattermost/mattermost-server/model"
import model "github.com/mattermost/mattermost-server/v5/model"
// ClusterInterface is an autogenerated mock type for the ClusterInterface type
type ClusterInterface struct {

Просмотреть файл

@@ -5,7 +5,7 @@
package mocks
import mock "github.com/stretchr/testify/mock"
import model "github.com/mattermost/mattermost-server/model"
import model "github.com/mattermost/mattermost-server/v5/model"
// ComplianceInterface is an autogenerated mock type for the ComplianceInterface type
type ComplianceInterface struct {

Просмотреть файл

@@ -5,7 +5,7 @@
package mocks
import mock "github.com/stretchr/testify/mock"
import model "github.com/mattermost/mattermost-server/model"
import model "github.com/mattermost/mattermost-server/v5/model"
// DataRetentionInterface is an autogenerated mock type for the DataRetentionInterface type
type DataRetentionInterface struct {

Просмотреть файл

@@ -5,7 +5,7 @@
package mocks
import mock "github.com/stretchr/testify/mock"
import model "github.com/mattermost/mattermost-server/model"
import model "github.com/mattermost/mattermost-server/v5/model"
// DataRetentionJobInterface is an autogenerated mock type for the DataRetentionJobInterface type
type DataRetentionJobInterface struct {

Просмотреть файл

@@ -5,7 +5,7 @@
package mocks
import mock "github.com/stretchr/testify/mock"
import model "github.com/mattermost/mattermost-server/model"
import model "github.com/mattermost/mattermost-server/v5/model"
// ElasticsearchAggregatorInterface is an autogenerated mock type for the ElasticsearchAggregatorInterface type
type ElasticsearchAggregatorInterface struct {

Просмотреть файл

@@ -5,7 +5,7 @@
package mocks
import mock "github.com/stretchr/testify/mock"
import model "github.com/mattermost/mattermost-server/model"
import model "github.com/mattermost/mattermost-server/v5/model"
// ElasticsearchIndexerInterface is an autogenerated mock type for the ElasticsearchIndexerInterface type
type ElasticsearchIndexerInterface struct {

Просмотреть файл

@@ -7,7 +7,7 @@ package mocks
import (
time "time"
model "github.com/mattermost/mattermost-server/model"
model "github.com/mattermost/mattermost-server/v5/model"
mock "github.com/stretchr/testify/mock"
)

Просмотреть файл

@@ -5,7 +5,7 @@
package mocks
import mock "github.com/stretchr/testify/mock"
import model "github.com/mattermost/mattermost-server/model"
import model "github.com/mattermost/mattermost-server/v5/model"
// LdapInterface is an autogenerated mock type for the LdapInterface type
type LdapInterface struct {

Просмотреть файл

@@ -5,7 +5,7 @@
package mocks
import mock "github.com/stretchr/testify/mock"
import model "github.com/mattermost/mattermost-server/model"
import model "github.com/mattermost/mattermost-server/v5/model"
// LdapSyncInterface is an autogenerated mock type for the LdapSyncInterface type
type LdapSyncInterface struct {

Просмотреть файл

@@ -7,7 +7,7 @@ package mocks
import context "context"
import mock "github.com/stretchr/testify/mock"
import model "github.com/mattermost/mattermost-server/model"
import model "github.com/mattermost/mattermost-server/v5/model"
// MessageExportInterface is an autogenerated mock type for the MessageExportInterface type
type MessageExportInterface struct {

Просмотреть файл

@@ -5,7 +5,7 @@
package mocks
import mock "github.com/stretchr/testify/mock"
import model "github.com/mattermost/mattermost-server/model"
import model "github.com/mattermost/mattermost-server/v5/model"
// MessageExportJobInterface is an autogenerated mock type for the MessageExportJobInterface type
type MessageExportJobInterface struct {

Просмотреть файл

@@ -5,7 +5,7 @@
package mocks
import mock "github.com/stretchr/testify/mock"
import model "github.com/mattermost/mattermost-server/model"
import model "github.com/mattermost/mattermost-server/v5/model"
// MfaInterface is an autogenerated mock type for the MfaInterface type
type MfaInterface struct {

Просмотреть файл

@@ -6,7 +6,7 @@ package mocks
import io "io"
import mock "github.com/stretchr/testify/mock"
import model "github.com/mattermost/mattermost-server/model"
import model "github.com/mattermost/mattermost-server/v5/model"
// OauthProvider is an autogenerated mock type for the OauthProvider type
type OauthProvider struct {

Просмотреть файл

@@ -5,7 +5,7 @@
package mocks
import mock "github.com/stretchr/testify/mock"
import model "github.com/mattermost/mattermost-server/model"
import model "github.com/mattermost/mattermost-server/v5/model"
// SamlInterface is an autogenerated mock type for the SamlInterface type
type SamlInterface struct {

Просмотреть файл

@@ -4,7 +4,7 @@
package einterfaces
import (
"github.com/mattermost/mattermost-server/model"
"github.com/mattermost/mattermost-server/v5/model"
)
type NotificationInterface interface {

Просмотреть файл

@@ -6,7 +6,7 @@ package einterfaces
import (
"io"
"github.com/mattermost/mattermost-server/model"
"github.com/mattermost/mattermost-server/v5/model"
)
type OauthProvider interface {

Просмотреть файл

@@ -4,7 +4,7 @@
package einterfaces
import (
"github.com/mattermost/mattermost-server/model"
"github.com/mattermost/mattermost-server/v5/model"
)
type SamlInterface interface {