1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00
focalboard/server/model
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
..
mocks Multi product architecture (#3381) 2022-07-18 13:21:57 -04:00
block_test.go Unit test to GenerateBlockId for defaultTemplateId (#3518) 2022-08-03 16:38:37 -06:00
block.go add BoardID to limited card (#3341) 2022-07-11 14:01:46 +02:00
blockid.go Custom template's default card template works (#3335) 2022-07-29 11:27:18 -06:00
blocktype.go Fix MM-40428 (#1926) 2021-12-10 08:28:52 -05:00
board_insights.go [MM-43781] Feature: boards insights (#3005) 2022-08-08 11:42:02 +05:30
board.go Initial Boards+Channels implementation (#3110) 2022-07-07 16:46:53 +02:00
boards_and_blocks_test.go GH-3050 - Fix deleting empty property (#3249) 2022-06-20 14:16:02 -06:00
boards_and_blocks.go Multi product architecture (#3381) 2022-07-18 13:21:57 -04:00
category_boards.go Fix #2800. Add missing Swagger docs (#2801) 2022-04-15 10:21:10 -07:00
category.go Fix #2800. Add missing Swagger docs (#2801) 2022-04-15 10:21:10 -07:00
clientConfig.go User updates (#3244) 2022-07-08 08:43:43 -06:00
cloud.go Adds limits implementation to the server (#3213) 2022-06-15 12:17:44 +02:00
database.go Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
error.go Upgrade dependencies: mmserver, plugin-api, opengraph (#3525) 2022-08-02 19:02:35 -04:00
errorResponse.go Workspace backend support 2021-03-26 11:01:54 -07:00
import_export.go Generate templates archive at build time (#2577) 2022-03-30 18:10:11 -04:00
notification.go Fix #2800. Add missing Swagger docs (#2801) 2022-04-15 10:21:10 -07:00
permission.go Initial Boards+Channels implementation (#3110) 2022-07-07 16:46:53 +02:00
properties_test.go Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
properties.go Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
services_api.go Multi product architecture (#3381) 2022-07-18 13:21:57 -04:00
sharing.go Fix #2800. Add missing Swagger docs (#2801) 2022-04-15 10:21:10 -07:00
subscription.go Fix #2800. Add missing Swagger docs (#2801) 2022-04-15 10:21:10 -07:00
team.go Fix #2800. Add missing Swagger docs (#2801) 2022-04-15 10:21:10 -07:00
user.go User updates (#3244) 2022-07-08 08:43:43 -06:00
util.go Notifications phase 1 (#1851) 2021-12-10 10:46:37 -05:00
version.go Update Boards version to 7.3 (#3382) 2022-07-18 12:05:59 -06:00