1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-07-15 23:54:29 +02:00

Multi product architecture (#3309)

* skeleton lifecycle

* bare minimum to satisfy mm-server import

* added boards_imports.go

* move boards_imports.go to correct package

* bump mmserver version; remove replace in go.mod; use module workspaces; remove logger service

* rename product.go --> boards.go

* add FileInfoStore and Cloud services for product; create minimal pluginAPI interfaces for all packages

* rename Boards -> BoardsProduct

* compile success

* remove hooks service; guard for nil BoardsApp

* update to latest mmserver ver

* upgrade mmserver to master tip

* upgrade mmserver to master tip

* bump plugin-api to master tip

* fix users service

* fix OnActivate crash; normalize AppError returns

* fileBackend interface for server/app

* feature flag

* bump mmserver version

* fix linter errors

* make go.work when linting

* fix go.work creation for CI

* add execute flag for script

* fix more linter errors

* always create a go.work

* fix ci go.work

* OS agnostic go.work generator

* fix path

* fix path again

* partially disable cypress test

* fix case Id --> ID

* bump mmserver version

* include  in go.work for dev

* addressed review comments.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
This commit is contained in:
Doug Lauder
2022-07-15 01:51:50 -04:00
committed by GitHub
parent c16703a04e
commit 605c0079eb
68 changed files with 2854 additions and 1111 deletions

View File

@ -53,7 +53,7 @@ type API struct {
permissions permissions.PermissionsService
singleUserToken string
MattermostAuth bool
logger *mlog.Logger
logger mlog.LoggerIFace
audit *audit.Audit
isPlugin bool
}
@ -63,7 +63,7 @@ func NewAPI(
singleUserToken string,
authService string,
permissions permissions.PermissionsService,
logger *mlog.Logger,
logger mlog.LoggerIFace,
audit *audit.Audit,
isPlugin bool,
) *API {