Updating server dependencies

This commit is contained in:
Jesús Espino 2021-03-26 11:44:46 +01:00
parent 2123caeb92
commit 118ba53077
3 changed files with 328 additions and 156 deletions

View file

@ -3,24 +3,35 @@ module github.com/mattermost/focalboard/server
go 1.15
require (
github.com/Masterminds/squirrel v1.4.0
github.com/golang-migrate/migrate/v4 v4.13.0
github.com/golang/mock v1.4.4
github.com/google/uuid v1.1.1
github.com/Masterminds/squirrel v1.5.0
github.com/go-ldap/ldap v3.0.3+incompatible // indirect
github.com/go-redis/redis v6.15.9+incompatible // indirect
github.com/golang-migrate/migrate/v4 v4.14.1
github.com/golang/mock v1.5.0
github.com/google/uuid v1.2.0
github.com/gorilla/mux v1.8.0
github.com/gorilla/websocket v1.4.2
github.com/kr/pretty v0.2.0 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/lib/pq v1.8.0
github.com/mattermost/mattermost-server/v5 v5.28.0
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-plugin v1.4.0
github.com/lib/pq v1.10.0
github.com/magiconair/properties v1.8.5 // indirect
github.com/mattermost/mattermost-server v5.11.1+incompatible
github.com/mattermost/mattermost-server/v5 v5.33.2
github.com/mattn/go-sqlite3 v2.0.3+incompatible
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
github.com/mitchellh/mapstructure v1.4.1 // indirect
github.com/nicksnyder/go-i18n v1.10.1 // indirect
github.com/pkg/errors v0.9.1
github.com/rudderlabs/analytics-go v3.2.1+incompatible
github.com/rudderlabs/analytics-go v3.3.1+incompatible
github.com/spf13/afero v1.6.0 // indirect
github.com/spf13/cast v1.3.1 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/viper v1.7.1
github.com/stretchr/testify v1.6.1
go.uber.org/zap v1.15.0
golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de
golang.org/x/tools v0.0.0-20201017001424-6003fad69a88 // indirect
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
github.com/stretchr/testify v1.7.0
github.com/tidwall/gjson v1.7.3 // indirect
go.uber.org/zap v1.16.0
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2
golang.org/x/sys v0.0.0-20210324051608-47abb6519492 // indirect
google.golang.org/grpc v1.35.0
gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
)

File diff suppressed because it is too large Load diff

View file

@ -27,7 +27,6 @@ import (
"github.com/mattermost/focalboard/server/services/webhook"
"github.com/mattermost/focalboard/server/web"
"github.com/mattermost/focalboard/server/ws"
"github.com/mattermost/mattermost-server/v5/model"
"github.com/mattermost/mattermost-server/v5/services/filesstore"
"github.com/mattermost/mattermost-server/v5/utils"
)
@ -62,10 +61,10 @@ func New(cfg *config.Configuration, singleUserToken string) (*Server, error) {
wsServer := ws.NewServer(auth, singleUserToken)
filesBackendSettings := model.FileSettings{}
filesBackendSettings.SetDefaults(false)
filesBackendSettings.Directory = &cfg.FilesPath
filesBackend, appErr := filesstore.NewFileBackend(&filesBackendSettings, false)
filesBackendSettings := filesstore.FileBackendSettings{}
filesBackendSettings.DriverName = "local"
filesBackendSettings.Directory = cfg.FilesPath
filesBackend, appErr := filesstore.NewFileBackend(filesBackendSettings)
if appErr != nil {
log.Fatal("Unable to initialize the files storage")