1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00
focalboard/mattermost-plugin/server
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
..
.gitignore Changing mattermost-auth method to work based on shared database access (#335) 2021-05-24 19:06:11 +02:00
configuration.go Changing mattermost-auth method to work based on shared database access (#335) 2021-05-24 19:06:11 +02:00
main.go Changing mattermost-auth method to work based on shared database access (#335) 2021-05-24 19:06:11 +02:00
manifest.go Adds a link to the setup docs on the plugin's config header section (#582) 2021-06-21 10:13:15 +02:00
plugin_test.go Changing mattermost-auth method to work based on shared database access (#335) 2021-05-24 19:06:11 +02:00
plugin.go Add RPC API support to plugin (#619) 2021-06-25 16:49:06 +02:00