Scott Bishel
b41fd7b4e8
update to v0.16.0 ( #2438 )
2022-03-02 15:08:40 -07:00
Harshil Sharma
ab3bf6312c
Merge Onboarding feature branch into main ( #2406 )
...
* Persistent user config (#2133 )
* Added user config API
* Add unit tests
* lint fix
* Fixed webapp tests
* Fixed webapp tests
* Updated props in store after updating
* Minor fixes
* Removed redundent data from audit logs
* Onboarding Tour (#2287 )
* Created private board
* Roughly displayed tour
* Synced with Dhama's changes
* WIP
* Trying to add GIF
* Added 3 tour steps
* WIP
* WIP
* WIP
* checked in missed file
* Synced with feature branch
* WIp
* Adde skip tour option
* Fixed image loading for on-prem
* Made tour work on presonal server:
* Adde missed file
* Adding telemetry
* Adding telemetry
* Added tour tip telemetry
* Fixed pulsating dot styling for personal server
* reverted personal config
* Added reset tour button
* Displayed share tour tip of feature is enabled
* Lint fixes
* Fixed webapp tests
* Fixed webapp tests
* Completed webapp tests
* Completed webapp tests
* Webapp lint fixes
* Added server tests
* Testing cypress skip tour fix
* Fixed Cypress tests
* Added share board tour step
* Added share board tour step
* webapp lint fixes
* Updated logic to pick welcome board
* Updated tests:
* lint fixes
* Updating UI changes
* Fixed a bug causing card tour to re-appear
* FIxed minor issue
* FIxed bug where card tour didn't start in clickingh on card
* Fixed tests
* Make update user props use string instead of interface
* Fixed a value type
* Updating gif size
* Updating resolution breakpoint
* Updating tutorial tip
* Updating view selector
* Refactored tour components
* Misc fixes
* minor refactoring
* GH-2258: allow date range to overflow (#2268 )
* allow date range to overflow
* Fixed issue with date overflowing into neighbouring column
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Update readme with accurate Linux standalone app build instructions (#2351 )
* Bump follow-redirects from 1.14.7 to 1.14.8 in /experiments/webext (#2339 )
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Switch component style fixed: selector specificity increased by adding additional class. (#2179 )
* Adding sever side undelete endpoint (#2222 )
* Adding sever side undelete endpoint
* Removing long lines golangci-lint errors
* Fixing linter errors
* Fixing a test problem
* Fixing tests
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Removing transactions from sqlite backend (#2361 )
* Removing transactions from sqlite backend
* Skipping tests in sqlite because the lack of transactions
* Generating the mocks
* Fixing golangci-lint
* Fixing problem opening the tour tooltip on card open
* Fixing texts missmatch
* Adding the Product Tour entry in the user settings menu
* Fixing some tests
* Fixing tests
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kamre <eremchenko@gmail.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
* Restored package json
* Restored package json
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kamre <eremchenko@gmail.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2022-02-28 12:28:16 +01: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
922e9ecd1a
GH-2130: Remove subscriptions feature flag ( #2132 )
...
* remove subscriptions feature flag
* lint fix
2022-01-19 07:27:26 -07: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
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
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
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
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
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
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
Chen-I Lim
438a97e3cf
Fix #1203 . Require v6.0.0 for plugin ( #1204 )
2021-09-14 09:53:52 -07:00
Doug Lauder
8425f53b2a
@mention support ( #1147 )
2021-09-13 15:36:36 -04: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
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
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
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
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
Chen-I Lim
904dfc2158
Add server id to plugin telemetry ( #903 )
2021-08-06 12:03:56 -07:00
Chen-I Lim
7d2a58081c
Update version to v0.9.0
2021-08-06 10:37:28 -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
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
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
Miguel de la Cruz
fd9be03445
Use path.Join in plugin's webpath property ( #610 )
...
* Use path.Join in plugin's webpath property
* Update mattermost-plugin/server/plugin.go
Co-authored-by: Jesús Espino <jespinog@gmail.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-06-21 12:08:33 +02:00
Miguel de la Cruz
bf18d39242
Fixes web files not found when plugin directory is custom ( #609 )
2021-06-21 11:22:58 +02:00
Miguel de la Cruz
c4154cd2dd
Adds a link to the setup docs on the plugin's config header section ( #582 )
2021-06-21 10:13:15 +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
Miguel de la Cruz
b327bc7b8a
Adds plugin actions to the project's CI ( #471 )
...
* Adds plugin actions to the project's CI
* Remove the version number from the generated artifact
* Change job name to something more descriptive
* Switch back to workflow_dispatch
2021-05-25 19:22:31 +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