focalboard/server/app
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
..
app.go Multi product architecture (#3381) 2022-07-18 13:21:57 -04:00
app_test.go
auth.go Fetching board member in parellel (#3379) 2022-07-29 14:28:00 -06:00
auth_test.go
blocks.go
blocks_test.go
boards.go Converted synthetic membership to natuaral for board's channel members (#3390) 2022-07-27 15:34:52 -06:00
boards_and_blocks.go
boards_test.go Converted synthetic membership to natuaral for board's channel members (#3390) 2022-07-27 15:34:52 -06:00
category.go
category_boards.go
clientConfig.go
clientConfig_test.go
cloud.go Multi product architecture (#3381) 2022-07-18 13:21:57 -04:00
cloud_test.go Multi product architecture (#3381) 2022-07-18 13:21:57 -04:00
export.go
files.go
files_test.go
helper_test.go Multi product architecture (#3381) 2022-07-18 13:21:57 -04:00
import.go
import_test.go
initialize.go
insights.go [MM-43781] Feature: boards insights (#3005) 2022-08-08 11:42:02 +05:30
insights_test.go [MM-43781] Feature: boards insights (#3005) 2022-08-08 11:42:02 +05:30
onboarding.go
onboarding_test.go
sharing.go
sharing_test.go
subscriptions.go
teams.go
teams_test.go
templates.boardarchive
templates.go
templates_test.go
user.go