* Initial commit for refactoring properties
* More work on isolating properties
* Some other fixes in tests!
* Handle gracefully the unknown properties
* Moving properties outside components folder
* Finishing changes to move the properties out of components
* Moving more things to the property logic
* Some improvements on properties
* Cleaner class based approach for property types
* Removing accidentally added people prop
* A bit of simplification
* Fixing some tests
* Fixing more tests
* Fixing more tests
* All tests working
* Fixing eslint errors
* Adding the filtering logic for text and boolean properties
* Adding support for searching by title
* Fixing some tests and adding others
* Fixing tests
* Removing TODO
* Addressing PR review comments
* Fixing filterValue test after merge
* Removing accidentailly included typo
* Fixing typo introduced
* Only allow viewer role in temaPermissionRow for templates
* set type
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Adds data migration to clean badly assigned boards
This data migration fetches all boards whose owner has a deleted
membership on the board's team and fixes them by processing them
again, this time with the fix applied to the `getBestTeamForBoard`
function that skips deleted teams and team memberships
* Do not create a transaction if there are no offending boards found
* Fix linter
* Tour for 7.2 done till manage boards
* Done with 7.2 tour point
* Update snapshot and linter fix
* Merge conflits fixed
* Linter fixed
* Linter fixes
* Snapshot updated and testcase fixed
* Linter issue fix and added padding in between text and nav-btn
* Linter fixes
* Converted synthetic membership to natuaral if needed
* Creating duplicated board to same category as parent board
* fixed tests
* fixed an incorrect API path in client
* Added logic to prevent jumping of new board between categories
* fixed lint error
* Add category to the board search
* cleanup
* Handled long board names and long category names
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
* Update teamless boards migration to check for deleted entities
After this changes, the `TeamLessBoardsMigration` will check the team
and the team membership of the users to discard deleted entities when
cosidering what team to assign a board to
* Fix linter
* Don't close menus for board properties or filter values when switch item is toggled.
* Stop click propagation for menu items.
* Jest tests fixed and snapshots updated.
* Fix Cypress tests.
* Unit tests for `FilterValue` and `ViewHeaderPropertiesMenu` checking that menu is not closed added.
* Reverted changes to the dom structure of `MenuWrapper`
* Uncomment team insights test
* Add checks to make sure insights endpoints work only in plugin mode
* adding constant for my insights
Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.local>
* 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>