1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00
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_test.go Config for share board (#1187) 2021-09-16 13:31:02 -06:00
app.go Multi product architecture (#3381) 2022-07-18 13:21:57 -04:00
auth_test.go Adds limits implementation to the server (#3213) 2022-06-15 12:17:44 +02:00
auth.go Fetching board member in parellel (#3379) 2022-07-29 14:28:00 -06:00
blocks_test.go Fix mock early finish issue on test helpers (#3374) 2022-07-15 08:34:36 -04:00
blocks.go Ported view limits to main (#3252) 2022-06-29 18:05:24 +05:30
boards_and_blocks.go Adds limits implementation to the server (#3213) 2022-06-15 12:17:44 +02:00
boards_test.go Converted synthetic membership to natuaral for board's channel members (#3390) 2022-07-27 15:34:52 -06:00
boards.go Converted synthetic membership to natuaral for board's channel members (#3390) 2022-07-27 15:34:52 -06:00
category_boards.go Applying migration changes (#2752) 2022-04-13 16:10:53 -06:00
category.go Permissions integration tests (#2697) 2022-04-05 08:00:04 -07:00
clientConfig_test.go User updates (#3244) 2022-07-08 08:43:43 -06:00
clientConfig.go User updates (#3244) 2022-07-08 08:43:43 -06:00
cloud_test.go Multi product architecture (#3381) 2022-07-18 13:21:57 -04:00
cloud.go Multi product architecture (#3381) 2022-07-18 13:21:57 -04:00
export.go Use the correct endpoint for exporting all boards on a team 2022-04-13 15:04:47 +02:00
files_test.go Fix mock early finish issue on test helpers (#3374) 2022-07-15 08:34:36 -04:00
files.go Forward-porting fileinfo limits (#3164) 2022-06-13 13:35:42 +05:30
helper_test.go Multi product architecture (#3381) 2022-07-18 13:21:57 -04:00
import_test.go fix unit test 2022-03-31 14:45:41 -04:00
import.go Adds limits implementation to the server (#3213) 2022-06-15 12:17:44 +02:00
initialize.go Generate templates archive at build time (#2577) 2022-03-30 18:10:11 -04:00
insights_test.go [MM-43781] Feature: boards insights (#3005) 2022-08-08 11:42:02 +05:30
insights.go [MM-43781] Feature: boards insights (#3005) 2022-08-08 11:42:02 +05:30
onboarding_test.go GH-2890 Copy files when duplicating boards (#2915) 2022-04-25 10:37:57 -06:00
onboarding.go Merge pull request #2687 from mattermost/private-onboarding-board 2022-04-04 15:11:16 -06:00
sharing_test.go Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
sharing.go Standardize err not found (#2834) 2022-04-20 11:02:12 -04:00
subscriptions.go Refactor notify init (#3043) 2022-05-16 11:53:41 -04:00
teams_test.go Fix mock early finish issue on test helpers (#3374) 2022-07-15 08:34:36 -04:00
teams.go Standardize err not found (#2834) 2022-04-20 11:02:12 -04:00
templates_test.go don't check team permission for GlobalTeamID 2022-04-01 13:42:30 -06:00
templates.boardarchive remove invalid assigned settings 2022-05-17 14:14:48 -06:00
templates.go Added constant template IDs for tracking template usage (#3238) 2022-06-29 19:47:54 +05:30
user.go Initial Boards+Channels implementation (#3110) 2022-07-07 16:46:53 +02:00