Julien Tant
dfa5d54b16
use mattermost siteURL to determine rudder cookie domain ( #2294 )
2022-02-09 15:53:47 -07:00
Doug Lauder
2c21906164
Reduce noise in logs ( #2256 )
...
* use PluginLogAdapter to log everything; move some info to debug
2022-02-07 18:04:24 -05:00
Scott Bishel
50d62db683
Update to version 0.15.0 ( #2231 )
...
* update to version 0.15.0
* update month
* update snapshots
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-04 11:21:33 -07:00
Scott Bishel
5030b1e582
Update dependencies for webapp and mattermost-plugin/webapp ( #2213 )
...
* update for trim-newlines
* update for glob-parent
* update for fstream
2022-02-02 06:36:49 -07:00
Doug Lauder
65c783c270
Import/export moved to server + image support + streaming ( #2201 )
2022-02-01 19:01:29 -05:00
Scott Bishel
1df9e4ba14
update dependencies ( #2207 )
2022-01-31 15:29:19 -07:00
dependabot[bot]
7754bc6edf
Bump marked from 3.0.6 to 4.0.12 in /webapp and /mattermost-plugin/webapp ( #2182 )
...
* Bump marked from 3.0.6 to 4.0.10 in /mattermost-plugin/webapp
Bumps [marked](https://github.com/markedjs/marked ) from 3.0.6 to 4.0.10.
- [Release notes](https://github.com/markedjs/marked/releases )
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json )
- [Commits](https://github.com/markedjs/marked/compare/v3.0.6...v4.0.10 )
---
updated-dependencies:
- dependency-name: marked
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* upgrade marked to 4.0.12
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-01-31 10:37:32 -07:00
Scott Bishel
7e0fb26875
implement registry for channel intro button ( #2181 )
2022-01-31 10:15:50 -07:00
Michael Kochell
4f0be45827
Merge branch 'main' into app-bar-icon
2022-01-21 14:35:01 -05:00
Scott Bishel
922e9ecd1a
GH-2130: Remove subscriptions feature flag ( #2132 )
...
* remove subscriptions feature flag
* lint fix
2022-01-19 07:27:26 -07:00
Jesús Espino
02dfb6eceb
Moving the history instance creation after the plugin initialization (to honor the SiteURL config) ( #2109 )
...
* Moving the history instance creation after the plugin initialization (to honor the SiteURL config)
* Fixing welcome page images urls generation
* Fixing share board url generation
* Fixing more subpath problems
* Adding some tests with subpath
* Adding subpath test to welcome page
* fix linter error
2022-01-17 20:21:25 +01:00
Scott Bishel
1aa60009ea
remove BoardsUnfurl feature flag ( #2051 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-17 10:07:50 -07:00
Scott Bishel
f0602a6eb6
Update version to 0.14.0 ( #2057 )
...
* update version to 0.13.0
* update to v0.14.0
2022-01-06 12:26:35 -07:00
Michael Kochell
9401b1ea52
add app bar icon
2021-12-28 18:23:52 -05:00
Doug Lauder
75bd409ba0
Notifications phase 1 ( #1851 )
...
Backend support for subscribing/unsubscribing to blocks, typically cards and boards. Notifies subscribers when changes are made to cards they are subscribed to.
2021-12-10 10:46:37 -05:00
Doug Lauder
487d59b790
don't notify @mnetioned user who are not members of channel ( #1912 )
2021-12-03 13:33:59 -05:00
Chen-I Lim
ed2c916afa
Update to v0.12 ( #1904 )
2021-12-01 14:55:47 -08:00
Carlos Tadeu Panato Junior
8630e099f5
dist: build linux/darwin arm64 targets ( #1854 )
2021-11-26 09:44:26 +01:00
Hossein
79ce416896
GH-1805: Replace unfurl link with card title ( #1869 )
...
* <Jump To Card>
* GOALNG Ci lint error
* ToDo Comment for internationalize Jump To Card
2021-11-25 09:05:32 -05:00
Scott Bishel
797d6bc04a
Implementation of Calendar MVP ( #1741 )
...
* initial commit
* turn on featureflag
* additional fixes
* update for using FullCalendar
* update to allow both calendars
* fix dnd, remove log messages
* fix lint, unit tests
* dates should use themselves for timezone offset
* fix for tests
* remove react-big-calendar
* remove react-big-calendar
* fix for handling feature flags changing
* clean up
* remove unit test
* update tests
* fix tests
* lint fixes
* add creating event, fixes
* linter fixes
* clean up
* add unit tests
* fixes
* update snapshots
* update test
* update snapshot
* disable test for now, timezone changes labels
* remove test to get to build
* remove snapshot
* feedback updates
* use getConfig instead
* linter fix
* more linter
* revert changes
* some fixes for issues
* fix for displaying new calendar
* fix for displaying new calendar
* add properties to cards
* add properties to cards
* read only implementation
* i18-extract
* implement unit tests
* implement unit tests
* fix test
* remove log statements
* remove feature flag from config
* updated icons
* Updating icons for calendar mvp
* Revert "Updating icons for calendar mvp"
This reverts commit e16e715e8a
.
* Revert "updated icons"
This reverts commit 120b7b0b96
.
* update for code reviews
* fix linter
* more feedback updates
* fix some styling
* fix lint errors
* Updating css
* Updating calendar css
* update for lint errors
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-11-24 14:00:20 -07:00
Chen-I Lim
91dc9def9b
Update version to 0.11.0 ( #1859 )
2021-11-22 16:15:03 -08:00
Miguel de la Cruz
d2bcb9ad66
Shows the version change banner only on plugin update and tries to reconnect when the interface is refreshed ( #1807 )
2021-11-13 12:03:53 +01:00
Miguel de la Cruz
e7c38c8822
Adds data migrations and the unique IDs migration ( #1776 )
...
* Adds data migrations and the unique IDs migration
* Adds GetSystemSetting tests
* Add log statements to data migrations
* Move migrations to the store and ensure they follow an order mixing database and data migrations
* Fix system settings
* Add tests for unique id migration
* Small comment change
* Make a couple of methods private and wrap the migration in a transaction
* Update public methods
* Add database mutex to data migrations
* Create server params and pass a mutex factory to the store
* Fix plugin linter
* Make isPlugin private
* Fix comment typo
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2021-11-11 17:01:43 +01:00
Asaad Mahmood
8d0e036719
Updating unfurl UI ( #1794 )
...
* Updating unfurl UI
* Updating remainder
2021-11-10 12:19:16 -08:00
Miguel de la Cruz
3ede6df028
Show a refresh banner on plugin update ( #1720 )
...
* Reload plugin on plugin update
* Add a banner that shows when updating the plugin and asks the user to reload
* Fix linter
2021-11-10 16:33:56 +01:00
Hossein
520f1e65e7
minimum changes required ( #1763 )
2021-11-09 14:50:54 -05:00
Scott Bishel
f74eea11ba
Fix for feature flag handling ( #1753 )
...
* fix for handling feature flags changing
* update tests
* fix tests
* lint fixes
* feedback updates
* use getConfig instead
* linter fix
* more linter
* revert changes
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-09 07:56:04 -07:00
Jesús Espino
0947babe50
Applying the plugin theme changes based on websocket event ( #1759 )
2021-11-08 07:52:31 -07:00
Scott Bishel
9b9682f626
Create FeatureFlags in configurations ( #1622 )
...
* create FeatureFlags in configurations
* update for unit tests
* update unit tests, go.mod
* update go.sum
* fix lint errors
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-01 19:12:43 -06:00
Hossein
690d424dfe
Fix Unfurl Bugs ( #1668 )
2021-10-27 14:53:53 -04:00
Scott Bishel
720e59fc10
add dropdownText when registering plugin ( #1671 )
2021-10-27 09:26:51 -06:00
Chen-I Lim
ae552e260c
Update to v0.10 ( #1633 )
2021-10-22 13:59:05 -07:00
Hossein
eed1f86c15
Unfurl Focalboard Link ( #1081 )
2021-10-22 12:13:31 -04:00
Doug Lauder
d49a802c3c
fix card URLs with no viewid ( #1571 )
...
* fix card URLs with no viewid
* revert ServerRoot change
2021-10-15 14:23:35 -04:00
Asaad Mahmood
c332e455c1
Updating splash screen sizing for image and content ( #1399 )
...
* Updating splash screen sizing for image and content
2021-10-04 16:58:56 -04:00
Jesús Espino
17991b9161
Live Watch make target for improve the development experience ( #1389 )
...
* Live Watch make target for improve the development experience
* Fixing the pluginctl enable/disable code
* Addressing PR review comments
2021-10-04 10:06:54 +02:00
Christopher Speller
ee721c89f1
Fix tiny icons caused by css pollution ( #1327 )
2021-10-04 10:06:19 +02:00
Scott Bishel
f92727f993
add additional telemetry tracking ( #1220 )
...
* add additional telemetry tracking
* add additional telemetry tracking
* update name of event
* update logging
* remove log lines
2021-09-29 16:37:20 -06:00
Hossein
7fae65ea02
Start Welcome Page ( #1231 )
...
* start welcome page
* setup template
* setup forwarding logic
* fix linting errors
* Updating UI
* Use intl strings
* Address comments
* go to baords welcome
* Fix image problem
* fix linting
* fix getting shown wrong things
* fix build issues
* fix cypress test and non plugin
* Fix bugs
* remove console
* Add welcome page
* address comments
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-09-28 09:51:32 -04:00
Hossein
ec6bee9d65
Fix issue ( #1329 )
2021-09-27 15:07:35 -04:00
Jesús Espino
4fe1cd8ff6
Making compilation cache more reusable ( #1301 )
2021-09-21 12:51:04 -04:00
Jesús Espino
d6be51de76
Fix theming problems on account settings and custom-status modals ( #1202 )
...
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-09-21 16:29:08 +02:00
Harshil Sharma
26e6512626
Open dashboard from apps witcher ( #1295 )
2021-09-21 13:50:16 +05:30
Doug Lauder
6daaf3ef59
ensure @mentions only sent to team members ( #1216 )
2021-09-20 17:32:47 -04:00
Chen-I Lim
33e717d9bc
Update version to v0.9.1
2021-09-17 12:56:47 -07:00
Scott Bishel
838c6f90b7
Config for share board ( #1187 )
...
* initial commit for setting shared board configuration
* add unit test
* working again
* update default config
* initial commit for setting shared board configuration
* add unit test
* working again
* update default config
* add unit tests, some clean up
* more cleanup
* more clean up
* remove header text for GH-1105
* remove unnecessary logs
* update text
* fix lint errors
* more lint fixes
* webapp lint fixes
* Update mattermost-plugin/plugin.json
Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
* Update mattermost-plugin/plugin.json
Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
* update for review, sync with main
Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
2021-09-16 13:31:02 -06:00
Miguel de la Cruz
f7946821a0
Propagate block changes to all of the cluster nodes in plugin mode ( #1213 )
...
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-09-16 12:18:11 +02:00
Doug Lauder
a76385268e
MM-38342 plugin logging ( #1193 )
...
- bump chat server version
- plugin logging adapter
2021-09-15 09:01:05 -04:00
Harshil Sharma
a76c96f812
Updated target link form app switcher and saved last visited workspace ( #1198 )
...
* Saving last visited workspace ID
* Open dashboard when opening Focalboard form global app switcher
* Fixed lint errors
2021-09-15 12:18:25 +05:30
Chen-I Lim
438a97e3cf
Fix #1203 . Require v6.0.0 for plugin ( #1204 )
2021-09-14 09:53:52 -07:00
Asaad Mahmood
1836f9527f
Focalboard UI Fixes ( #1194 )
...
* 1173 - Show description fix
* 1191 - Octo-block Hover fix
* 1189 - Updating width of kanban header
* 1172 - Updating menu in the header
* Updating css
* Updating menu css
* Updating menu css
2021-09-14 20:58:37 +05:00
Jesús Espino
731163bcea
Not using the mattermost-redux getTheme version because is not matching the mattermost-webapp version ( #1186 )
...
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-09-14 16:43:52 +05:30
Doug Lauder
8425f53b2a
@mention support ( #1147 )
2021-09-13 15:36:36 -04:00
Jesús Espino
fae2ac150e
Respect the mattermost icon when focalboard is used as a plugin ( #1185 )
2021-09-10 22:34:26 +02:00
Asaad Mahmood
112b627f80
1095 - Updating global menu color for plugin ( #1157 )
...
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-09-10 15:30:47 +05:00
Harshil Sharma
08db4fed61
Workspace switcher ( #1052 )
...
* API WIP
* WIP
* Finished changes
* Fixed colors:
* Don't enforce charset adn collation in migration, pick from database DSN
* Added MySQL query
* Updated mocks
* Added tests
* Lint fixes
* Fixed typo and removed unsed style
* Checked in a snapshot
* Updated snapshot
* Updated Cypress test
* Updated Cypress test
* Updated Cypress test
* Fixed review comments
* Fixed tests
* Added default collation for MySQL
* Added documentation for ensuring correct database collation
* Updated migrations
* Fixed a bug with collation
* Fixed lint errors
* Used correct collation
* debugging
* Updating css
* Minor UI changes
* USe inbuilt default collation
* Used only charset for mysql
* Fixed linter issue:
* Added migration for matching collation
* Reverted local config changes
* Reverted local config changes
* Handled the case of personal server running on MySQL
* WIP
* Now running collation matching migration onlyt for plugins
* Minor optimization
* Multiple review fixes
* Added group by clause to primary query
* Supported for subpacth
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-09-08 10:22:03 +05:30
Harshil Sharma
de5f06c426
Added support for subpaths in siteURL ( #1110 )
...
* Added support for subpaths in siteURL
* Removed a debug statement
Co-authored-by: Jesús Espino <jespinog@gmail.com>
* Updated channel header to support subpaths
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-09-07 10:08:02 +05:30
Asaad Mahmood
35f51d2999
1112 - Updating button active state in viewHeader ( #1138 )
...
* 1112 - Updating button active state in viewHeader
* Updating UI for buttons
2021-09-02 21:22:43 +05:00
Scott Bishel
94e6e8a9f7
Plugin telemetry ( #1069 )
...
* implement webapp telemetry
* cleanup
* remove imports, update events
* change event title
* update for lint
* add test, update filename
* linter fix
* fix field name
* revert changes
* fix test
* update builds
* fix workflows
* fix workflows
* fix workflow
* temp checkin
* remove log lines
* updates from peer review
2021-09-01 15:53:27 -06:00
Scott Bishel
f10b4a82a3
fix for displaying global nav in focalboard ( #1132 )
2021-08-31 11:24:41 -06:00
Miguel de la Cruz
583d9f8a10
Add retry mechanism when opening WSClient in plugin mode ( #1135 )
...
* Add retry mechanism when opening WSClient in plugin mode
* Fix linter
* Add return when sending command
2021-08-31 12:01:17 +02:00
Scott Bishel
08f34d2f63
update marketplace name/description ( #1118 )
...
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2021-08-27 14:14:23 +02: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
Jesús Espino
79f026b9a9
Making favicon store/restore more robust ( #1093 )
2021-08-26 10:14:41 +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
791c600151
Fix #1086 . Update channel header button hint. ( #1103 )
...
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-25 10:48:51 -07:00
Jesús Espino
dfb34d81a2
Automatically add the .focalboard-body class to all sass classes on plugin mode ( #1068 )
...
* Automatically add the .focalboard-body class to all sass classes on plugin mode
* Addressing review comment
2021-08-25 13:05:12 +02:00
Chen-I Lim
5f8e08b79e
Fix #1086 : Update channel header button hint ( #1087 )
2021-08-24 11:48:29 -07:00
Miguel de la Cruz
f9c76d8129
Update focalboard to be compatible with mattermost v6 ( #1020 )
...
* Update focalboard to be compatible with mattermost v6
* Point to the new plugin API version
* Fix collectors linter issues
* Move all CI jobs to 1.16
2021-08-24 12:13:58 +02:00
Jesús Espino
b5d58060cf
Fixing some color variables ( #1038 )
2021-08-19 12:26:26 +02:00
Asaad Mahmood
307fee78fc
GH-994 - Updating color for global header menu ( #1012 )
...
* Updating color for global header menu
* Updating css
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-19 10:28:29 +02:00
Jesús Espino
83a45ae706
Fixing favicon changes on other browsers ( #1017 )
2021-08-17 22:50:49 +02:00
Jesús Espino
a8b0f68e1e
Storing the last channel viewed to workaround the fact that playbooks is not bind to channels ( #974 )
...
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-14 17:24:14 +02:00
Jesús Espino
a442f08ed3
Using an icon name instead of the component for registerProduct ( #951 )
2021-08-12 17:06:09 +02:00
Jesús Espino
4dc1c6db4f
Restoring mattermost favicon on leave focalboard ( #948 )
2021-08-12 12:58:17 +02:00
Jesús Espino
2aac030ee7
Fix global header menu z-index for focalboard ( #950 )
2021-08-12 12:57:07 +02:00
Jesús Espino
aaa0b0dccc
Moving logo and title to the global header ( #947 )
...
* Moving logo and title to the global header
* Fixing problems with the new header
* Fixing lint problems
2021-08-12 11:40:09 +02:00
Jesús Espino
2287931882
Fixing a weird import bug on react-day-picker ( #933 )
...
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-11 11:55:41 -06:00
Jesús Espino
ea140ba99b
Picking the default theme from the user preferences on reload when it is a plugin ( #923 )
...
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-11 11:53:53 +02:00
Jesús Espino
ca40dda8f8
Adding backward compatibility for 5.38 ( #922 )
...
* Adding backward compatibility for 5.38
* Fixing problem with urls
2021-08-11 11:10:52 +02:00
Jesús Espino
92fdd97e16
Fixing focalboard personal server icon ( #921 )
2021-08-11 00:16:57 +02:00
Jesús Espino
13ef01a862
Fix share boards on plugin mode ( #898 )
...
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-10 11:46:09 +02:00
Chen-I Lim
904dfc2158
Add server id to plugin telemetry ( #903 )
2021-08-06 12:03:56 -07:00
Jesús Espino
1914b5a921
Making theming compatible with mattermost on plugin mode ( #883 )
...
* Making theming compatible with mattermost on plugin mode
* Fixing some variables
* Adding isFocalboardPlugin function
* Fixing some styles
* Improving styles for boards icon in the global switcher
2021-08-06 19:58:28 +02:00
Chen-I Lim
7d2a58081c
Update version to v0.9.0
2021-08-06 10:37:28 -07:00
Christopher Speller
515edb9dcf
Global header support ( #736 )
...
* Adding global header support.
* Set the landing URL for the global header to /dashboard
* Redirecting directly to the current channel on open Boards
* Some improvements on global header
* Adding missed file
* Removing theme selector from the global header and fixing a style bug on the channel header icon
* Adding global header tests
* Adding missed file
* Fix global header icon
* Adding isFocalboardPlugin function
* Fixing unit tests
* Fixing problem with header menu styles
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-04 16:57:56 +02:00
Jesús Espino
c3dba863c1
Adding support for embed the webapp into the plugin ( #597 )
...
* Adding support for embed the webapp into the plugin
* Adding required dependency
* Removed unnecessary prettier command
* Installed imagemin required dependencies
* Open in a new window always
* Fix CSS Conflicts.
* Changing the app id to make it specific to focalboard
* Adding error boundary
* Fix styles on non-plugin environments
* Making the css scoped to focalboard only
* Create the focalboard root portal
* Including missed component
* Adding a missed rollback call
Co-authored-by: Christopher Speller <crspeller@gmail.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-07-29 20:08:39 +02: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
Chen-I Lim
73225e959b
Merge release-0.8.0
2021-07-16 10:30:45 -07:00
Jesús Espino
ee94e17f16
Add global templates to redux store ( #731 )
...
* Add global templates to redux store
* Removing unused import
* Remove unnecesary reducer
* Fixing eslint
2021-07-16 13:37:46 +02:00
Doug Lauder
a0524dd386
Lint server & plugin for CI ( #720 )
...
* enable CI linting for server and plugin
* replace `golint` (deprecated) with `revive`
* use GH actions for lint
2021-07-14 09:36:18 -04:00
Chen-I Lim
eddbe7ad9a
Update plugin min_server_version to 5.37
2021-07-09 11:34:18 -07:00
Chen-I Lim
1b45e16e52
Update to v0.8.0
2021-07-09 09:36:57 -07:00
Doug Lauder
0dec704ddc
fix linter errors in plugin ( #696 )
2021-07-09 12:59:44 +02:00
Doug Lauder
ebd477464b
fix remaining golangci linter warnings ( #686 )
...
* fix remaining linter warnings
2021-07-08 21:09:02 -04:00
Miguel de la Cruz
4328375324
Prevent plugin from crashing if SiteURL is not set ( #677 )
...
* Prevent plugin from crashing if SiteURL is not set
* Change default baseURL to be . instead of empty string
* Revert "Change default baseURL to be . instead of empty string"
This reverts commit cceb380167
.
2021-07-07 10:13:06 +05:30
Doug Lauder
6e214ebc3d
Ensure all code paths close *sql.Rows ( #679 )
...
* ensure all code paths close *sql.Rows
2021-07-06 16:44:11 -04:00
James
fde98f230e
Upgraded links in plugin files to point to the focalboard repository since the older 'mattermost-plugin-focalboard' repository return a 404 error - also, generalized release notes URL ( #669 )
2021-07-06 19:45:51 +02:00
Jesús Espino
bb7867c2cb
Configuring the logs by default in the plugin
2021-07-02 18:07:30 +02: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