Commit graph

22 commits

Author SHA1 Message Date
Igor Montagner
9335166836
[GH 483] Linux-app: discover executable folder and use it in config instead of ./ (#1613)
* Discover executable folder and use it in config instead of ./

* Use camel case.
2021-10-26 16:31:23 +05:30
Doug Lauder
8425f53b2a
@mention support (#1147) 2021-09-13 15:36:36 -04:00
Miguel de la Cruz
e10229031f
Add a plugin adapter to reuse MM websocket in plugin mode (#1079)
* Add a plugin adapter to reuse MM websocket in plugin mode

* Remove development replace

* Switch all go.mod files to use 1.16

* Fix linter issues

* Fix linter

* Update server version to contain the new hooks
2021-08-27 10:59:14 +02:00
Doug Lauder
b58497e2ea
Replace mlog with server v6 mlog (#1088)
* replace mlog with server v6 mlog
* remove FB mlog from plugin
2021-08-25 16:08:01 -04:00
Chen-I Lim
904dfc2158
Add server id to plugin telemetry (#903) 2021-08-06 12:03:56 -07:00
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
Doug Lauder
68d492a855
Bump Logr version to fix Windows build (#520)
* bump Logr version to fix Windows build

* fix return args for syslog_unsupported
2021-06-04 08:43:32 +02:00
Jesús Espino
f1b8d88d6b
Changing mattermost-auth method to work based on shared database access (#335)
* Improving mattermost auth implementation

* Making mattermost-auth based on shared database access

* Reverting unneeded changes in the config.json file

* Fixing tiny problems

* Removing the need of using the mattermost session token

* Fixing some bugs and allowing to not-bind the server to any port

* Small fix to correctly get the templates

* Adding the mattermost-plugin code inside focalboard repo

* Adding a not working code part of the cluster websocket communication

* Updating the mattermost version

* Adding the cluster messages for the websockets

* Updating to the new node version

* Making it compatible with S3

* Addressing some tiny problems

* Fixing server tests

* Adds support for MySQL migrations and initialization

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2021-05-24 19:06:11 +02:00
Jesús Espino
58776dd94d Fixing external link click and workaround the export archive/csv problem 2021-04-29 15:31:17 +02:00
Jesús Espino
6b7589f67a Improving linux client 2021-04-23 10:38:24 +02:00
Jesús Espino
5ab3f8d3ce
Addining subpath support (#241)
* Addining subpath support

* Fixing a subpath problem in suburls

* Using the server root for allow subpaths

* Fixing baseURL variable name

* Some improvements

* Making it work in mattermost plugin

* Fixing eslint warnings

* Fixing cypress tests
2021-04-16 13:42:37 +02:00
Chen-I Lim
13e08840b6 Fix linux app compile 2021-04-13 11:20:21 -07:00
ziprandom
b21191c578 linux: find server executable relative to app
this enables having config.json in a different dir than the executables
2021-04-01 10:14:49 +00:00
Chen-I Lim
0082fd0dd3 Move single-user-token to environment var 2021-02-11 10:13:17 -08:00
Chen-I Lim
89b8c0a18d Linux app: set single-user token 2021-02-09 15:46:49 -08:00
Chen-I Lim
b72f5ced7d Rename focalboard-server binary 2021-01-28 14:23:52 -08:00
Chen-I Lim
87f05911ae App product name 2021-01-26 10:52:42 -08:00
Chen-I Lim
d5d59ed71f Move app config to app-config.json 2021-01-20 14:09:41 -08:00
Jesús Espino
99cefc5356 More work on auth 2020-12-04 11:28:35 +01:00
Jesús Espino
a427190926 Killing the server on linux-app shutdown 2020-10-29 15:52:31 +01:00
Jesús Espino
4cf814acd1 Adding build process to the linux app 2020-10-29 10:03:48 +01:00
Jesús Espino
ce77568bd9 Add initial linux client 2020-10-29 07:52:08 +01:00