focalboard/mattermost-plugin
Agniva De Sarker 8e72b9c528
Add RPC API support to plugin (#619)
* Add RPC API support to plugin

We use the mattermost-plugin-api client to create the sql.DB object
and pass it to the store.

To keep a common point of entry for both the standalone server
and plugin, we refactor the store creation part out of server.New
and pass the DB as a dependency to the server constructor.

This allow us to create different stores in plugin and standalone,
so that the server code remains unaware of any differences.

https://focalboard-community.octo.mattermost.com/workspace/zyoahc9uapdn3xdptac6jb69ic?id=285b80a3-257d-41f6-8cf4-ed80ca9d92e5&v=495cdb4d-c13a-4992-8eb9-80cfee2819a4&c=c7386db7-65fd-469b-8bcf-8dc8f8e61e4f

* Support linux desktop app

* refactor

* fix typos

* Change authlayer to use existing DB conn too
2021-06-25 16:49:06 +02:00
..
.circleci Changing mattermost-auth method to work based on shared database access (#335) 2021-05-24 19:06:11 +02:00
assets Changing mattermost-auth method to work based on shared database access (#335) 2021-05-24 19:06:11 +02:00
build Bump Logr version to fix Windows build (#520) 2021-06-04 08:43:32 +02:00
public Changing mattermost-auth method to work based on shared database access (#335) 2021-05-24 19:06:11 +02:00
server Add RPC API support to plugin (#619) 2021-06-25 16:49:06 +02:00
webapp npm dependency upgrade (#470) 2021-05-25 13:22:28 +02:00
.editorconfig Changing mattermost-auth method to work based on shared database access (#335) 2021-05-24 19:06:11 +02:00
.gitattributes Changing mattermost-auth method to work based on shared database access (#335) 2021-05-24 19:06:11 +02:00
.golangci.yml Changing mattermost-auth method to work based on shared database access (#335) 2021-05-24 19:06:11 +02:00
go.mod Add RPC API support to plugin (#619) 2021-06-25 16:49:06 +02:00
go.sum Add RPC API support to plugin (#619) 2021-06-25 16:49:06 +02:00
LICENSE Changing mattermost-auth method to work based on shared database access (#335) 2021-05-24 19:06:11 +02:00
Makefile Ensures cgo is disabled for plugin compilation to avoid libc linking (#565) 2021-06-11 14:41:15 +02:00
plugin.json Adds a link to the setup docs on the plugin's config header section (#582) 2021-06-21 10:13:15 +02:00
README.md Changing mattermost-auth method to work based on shared database access (#335) 2021-05-24 19:06:11 +02:00

Focalboard Plugin for Mattermost

This plugin allows to run focalboard inside your mattermost instance as a plugin.