focalboard/server/services
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
..
audit First pass linter cleanup (#603) 2021-06-21 11:21:42 +02:00
auth First pass linter cleanup (#603) 2021-06-21 11:21:42 +02:00
config rename logger & audit config (#591) 2021-06-18 16:01:36 +02:00
metrics First pass linter cleanup (#603) 2021-06-21 11:21:42 +02:00
mlog First pass linter cleanup (#603) 2021-06-21 11:21:42 +02:00
scheduler Some other code improvements from the golangci 2020-10-22 15:22:36 +02:00
store Add RPC API support to plugin (#619) 2021-06-25 16:49:06 +02:00
telemetry First pass linter cleanup (#603) 2021-06-21 11:21:42 +02:00
webhook First pass linter cleanup (#603) 2021-06-21 11:21:42 +02:00