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
Doug Lauder
efedf2f481
Fix nil stringer error ( #788 )
...
* fix nil stringer error
* include API path with all API ERROR logs
* enable "caller" field
* disable colour output and min msg length for plugin
* bump Logr version to v2.0.4
2021-07-27 12:57:29 -04: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
66975bdfe9
First pass linter cleanup ( #603 )
...
* first pass linter cleanup
* address review comments
2021-06-21 11:21:42 +02:00
Doug Lauder
ddfae3266a
rename logger & audit config ( #591 )
2021-06-18 16:01:36 +02:00
Doug Lauder
5c69113911
Auditing ( #542 )
...
* audit wip
* finish API coverage
* fix unit test
* remove sample logging and audit config
* default logger
* fix go.mod and go.sum
2021-06-11 14:24:51 +02:00
Doug Lauder
417de9f837
Logger for FocalBoard server ( #466 )
...
- structured, asynchronous logging
- supports discreet log levels, including custom levels
- supports output to console, files, and all common log aggregators.
- supports JSON, plain text and GELF formats
- lazy formatting and writing
2021-05-29 02:23:10 -04:00
Chen-I Lim
4a5d7c4a64
Fix #312 . Release 0.6.6 ( #313 )
...
* Fixed #269
* Fixing checkbox widht
* Fix #274 . Add re-login button to error page.
* Fix #276 . Login page title
* Rev Mac build version
* Update changelog for v0.6.5
* Rev Mac build number
* GitHub Actions: Build with Xcode 12.4
* Fix #297 : Mac keybpard handling
* Rev Mac built to 12
* Update to v0.6.6
* Fix #312 . Windows app images
* Move db and files to Documents\Focalboard on standalone Win app
* Make Win app fixupp code more robust
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-04-21 18:25:26 -07:00
Bo-Yi Wu
2b4e03eed6
chore(format): update coding style
2021-03-21 16:28:26 +08:00
Chen-I Lim
eaf8321f52
Update to v0.6.0
2021-03-08 09:36:14 -08:00
Chen-I Lim
da6ffd3eb0
Windows WPF / UWP app
2021-03-01 11:36:36 -08:00
Chen-I Lim
1ad985232d
Add Swagger / OpenAPI docs
2021-02-17 11:29:20 -08:00
Chen-I Lim
0082fd0dd3
Move single-user-token to environment var
2021-02-11 10:13:17 -08:00
Chen-I Lim
0fe96ad7ed
Check for single user token
2021-02-09 12:27:34 -08:00
Chen-I Lim
3995cbd0e4
Product name
2021-01-26 14:13:46 -08:00
Chen-I Lim
91f51fe0b9
Local server on unix port, admin set password
2021-01-20 13:52:25 -08:00
Chen-I Lim
b22d34057e
Stamp edition and build number
2021-01-19 14:10:14 -08:00
Jesús Espino
f491241c1a
Preliminary auth implementation
2020-12-04 16:03:09 +01:00
Jesús Espino
99cefc5356
More work on auth
2020-12-04 11:28:35 +01:00
Jesús Espino
72f4783e34
Some other code improvements from the golangci
2020-10-22 15:22:36 +02:00
Jesús Espino
607b8aa063
Some improvements based on golangci-lint checks, and adding more rules
2020-10-22 13:34:42 +02:00
Jesús Espino
53b051816c
Passing an initial golangci-lint pass
2020-10-18 02:07:35 +02:00
Jesús Espino
19ab85b329
Splitting the server in multiple packages
2020-10-16 19:12:53 +02:00
Jesús Espino
5fc5281967
Removing entirely global variables
2020-10-16 16:36:08 +02:00
Jesús Espino
0cdde971c0
Improving server code organization
2020-10-16 16:21:42 +02:00
Jesús Espino
dc4ad05122
Splitting webserver and api from main
2020-10-16 11:41:56 +02:00
Chen-I Lim
44084ea23b
Update database delete
2020-10-15 19:21:44 -07:00
Chen-I Lim
15c4c98cd3
Refactor database to store Block fields
2020-10-15 14:56:15 -07:00
Chen-I Lim
73c6218222
Give SQLite milisecond precision
2020-10-15 12:10:04 -07:00
Chen-I Lim
3c9c5b6aea
Refactor IBlock to use fields
2020-10-14 17:35:15 -07:00
Chen-I Lim
96b9d6a5d2
Add generic fields to IBlock
2020-10-14 13:44:35 -07:00
Chen-I Lim
94cc769d4b
Merge from main
2020-10-14 12:51:37 -07:00
Chen-I Lim
ef8c9ceccd
Merge branch 'main' into small-improvements
2020-10-14 12:51:25 -07:00
Jesús Espino
a2c90d3ac6
Merge branch 'main' into structure-to-use-react-router
2020-10-14 13:23:24 +02:00
Chen-I Lim
0b53e083dc
Add mapstructure for dbconfig in config.go
2020-10-13 22:14:08 -07:00
Chen-I Lim
42d3d657c6
Allow sidebar without active board
...
Redirect to /board as default
2020-10-13 14:36:29 -07:00
Jesús Espino
82b5a52abe
Adding missed fields
2020-10-13 20:16:44 +02:00
Chen-I Lim
316ad45020
Sidebar. WIP
2020-10-12 11:02:07 -07:00
Chen-I Lim
ae93fe22ce
Add Go WebSocket method comments
2020-10-12 08:52:40 -07:00
Chen-I Lim
d4aaef305d
Initialize websocket listeners
2020-10-09 10:44:12 -07:00
Chen-I Lim
93028db7b5
Fix botched merge.
2020-10-09 10:30:05 -07:00
chenilim
7d3f272f25
Merge branch 'main' into websockets
2020-10-09 10:27:04 -07:00
Jesús Espino
8396303932
Working on some structure to use react-router
2020-10-09 17:10:26 +02:00
Jesús Espino
17f7f844e8
Preparing websockets to move to another package
2020-10-09 11:51:12 +02:00
Jesús Espino
944851729d
Handling not-handled error
2020-10-09 10:28:39 +02:00
Jesús Espino
d41c747a7a
Simplifying config using viper
2020-10-09 10:27:20 +02:00
Jesús Espino
6e2d9dd02a
Remove unnecesary blockFromMap
2020-10-09 10:09:49 +02:00
Jesús Espino
f5db60bf9c
Preparatory work to move the store into a different service
2020-10-09 10:08:38 +02:00