focalboard/mattermost-plugin/webapp
Shivashis Padhi f00b5c9e61
[MM-43781] Feature: boards insights (#3005)
* Add boilerplate functions and handlers for boards insights

* Fix function signatures to add 'duration' parameter, fix where clauses in db queries

* Fix where clause to include boards of which userId in parameter is a member

* Modify queries to work with sqlite, postgres, mysql

* Integration tests, and results of make generate

* Lint Fixes

* Add icons to board insights

* Lint fixes

* Format insights queries without squirrel to fix parameterization issues

* Add tests for sqlstore utility functions

* Improve team insights tests by creating 2 boards

* Refactor endpoints/app to adhere to developments in 7.0 release

* Refactor queries to use squirrel

* Lint fixes

* Fix client, integration tests

* Remove old integration tests

* Add storetests, refactor functions to handle authorized board_ids

* Make queries compatible with mysql, sqlite

* Add app tests

* Fix lint errors

* Revert makefile changes, fix docstring in api

* Lint fixes and doc correction suggested by @wiggin77

* Fix mock store call count error

* adding client code

* Make the following changes

 - use serviceAPI to get user.Timezone
 - rename licenseAndGuestUserCheck to insightPermissionGate, and handle returned error better
 - validate page, perPage parameters aren't < 0

* Lint fix

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.local>
2022-08-08 11:42:02 +05:30
..
i18n Changing mattermost-auth method to work based on shared database access (#335) 2021-05-24 19:06:11 +02:00
loaders Unfurl Focalboard Link (#1081) 2021-10-22 12:13:31 -04:00
src [MM-43781] Feature: boards insights (#3005) 2022-08-08 11:42:02 +05:30
tests ci: test & lint mattermost-plugin (#3156) 2022-07-13 08:28:13 +02:00
.eslintignore Adding support for embed the webapp into the plugin (#597) 2021-07-29 20:08:39 +02:00
.eslintrc.json ci: test & lint mattermost-plugin (#3156) 2022-07-13 08:28:13 +02:00
.gitignore Changing mattermost-auth method to work based on shared database access (#335) 2021-05-24 19:06:11 +02:00
.npmrc Changing mattermost-auth method to work based on shared database access (#335) 2021-05-24 19:06:11 +02:00
babel.config.js npm dependency upgrade (#470) 2021-05-25 13:22:28 +02:00
package-lock.json ci: test & lint mattermost-plugin (#3156) 2022-07-13 08:28:13 +02:00
package.json Initial Boards+Channels implementation (#3110) 2022-07-07 16:46:53 +02:00
tsconfig.json Adding support for embed the webapp into the plugin (#597) 2021-07-29 20:08:39 +02:00
webpack.config.js Initial Boards+Channels implementation (#3110) 2022-07-07 16:46:53 +02:00