c4c4ce5578
* Add user, team boards endpoint * Revert accidental mmModel import delete * Bump squirrel version to 1.5.2 * Change queries to separately handle private and public boards * Use utils.GetMillisForTime instead of time library function which isn't compatible with older go versions * Add squirrel to linux/go.sum * Add authorization check for user accessing team insights, comment and lint modifications for board_insights store * Add storetests for board insights and utilities * Improve team insights tests * Refactor insights queries, add user insights tests * Fix durationSelector tests * Optimize iconPopulate query, add more app,store tests for insights feature * Remove unnecessary go-bindata package metadata update * Add license and guest user checks * blank identifier for unused parameter in isUserGuest * Fix user-id in test * Undo Makefile changes * Make teamID a query parameter * Handle time conversion error in sqlstore * Remove redundant fmt logs, lint fixes * Lint fix * Add features to paginate response, change duration param to -> time_range * Fix swagger docstring for insights endpoints * lint fixes * fix reading of page parameter into per_page * initial commit for focalboard insights endpoint * adding client function * Add workspace_id to response * Lint fixes * renaming registry function * fixing lint * fixing lint * Fix http codes when parameters are invalid * Include public boards for insights, fix user insights WHERE clause bug * Lint fixes * Lint squirrel query * Fix ctx instantization, name of auth function which checks if user is in a team * Remove redundant constants declaration, improve guest rejection message, add team permission check for getUserInsights * Merge queries for private and public workspaces for user into one * Fix timestamp generation used for filtering boards * Update mattermost-server version to 182ae1234a49d0c0a2867905234e93b25caa003a * Run 'go mod tidy' in modules * Replace UnixMilli() since it's incompatible with go=1.16 in linux CI Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.local> Co-authored-by: Ben Cooke <benkcooke@gmail.com> |
||
---|---|---|
.. | ||
config.json | ||
go.mod | ||
go.sum | ||
main.go | ||
Makefile | ||
pack | ||
webapp |