1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-21 13:38:56 +02:00
Commit Graph

2978 Commits

Author SHA1 Message Date
Jesús Espino
724c036c8d
Only allow viewer role in temaPermissionRow for templates (#3672)
* 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>
2022-08-12 11:15:45 -06:00
Paul Esch-Laurent
3a9212b17a
fix: always try the lastBoardId when switching teams (#3673)
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-08-12 11:39:05 -05:00
Rajat Dabade
c33840004d
Updated the text and changed position for sidebar Tour (#3665) 2022-08-12 09:47:52 -06:00
AGMETEOR
65a19de70a fix telemetry args 2022-08-12 17:54:12 +03:00
AGMETEOR
7e66219e04 [MM-45761] - Telemetry: Track how many users end up in purchase/pricing modal/notify admin 2022-08-12 16:09:23 +03:00
Jesús Espino
d029a390fa
Fixing create-board from board selector in desktop app (#3657) 2022-08-11 13:24:33 -06:00
Winson Wu
16ca853cc0
Merge pull request #3612 from mattermost/justinegeffen-patch-2
Create _index.md
2022-08-11 15:06:39 -04:00
Justine Geffen
02185a8fa6
Update website/site/content/guide/admin/_index.md
Co-authored-by: Winson Wu <93531870+wuwinson@users.noreply.github.com>
2022-08-11 17:25:18 +02:00
Paul Esch-Laurent
c0a2207087
fix: don't re-.push() the URL if already on teamId (#3651) 2022-08-11 09:23:08 -06:00
Miguel de la Cruz
19ef6533f6
Adds data migration to clean badly assigned boards (#3635)
* 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
2022-08-11 09:22:32 -06:00
Jesús Espino
2f29266767
More robust RHS handling of websocket events (#3648)
* More robust RHS handling of websocket events

* Fixing tests
2022-08-11 15:22:02 +02:00
Jesús Espino
1e2e3fb055
Making more robust websocket notifications on synthetic memberships (#3598)
* Making more robust websocket notifications on syntetic memberships

* Address PR review comments
2022-08-11 09:38:44 +02:00
Scott Bishel
84eabd394a
don't display channel roles if board is a template (#3639) 2022-08-11 12:08:04 +05:30
Doug Lauder
9d5c54ac3a
move rest API for changepassword to personal server routes (#3634) 2022-08-10 20:08:05 +02:00
Scott Bishel
ba7e453bde
GH-3621- Make query case insensitive (#3623)
* make check case insensitive

* Fixed a server lint

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2022-08-10 08:17:36 -06:00
Rajat Dabade
f310ccf254
Tour for 7.2 (#3619)
* 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
2022-08-10 08:10:32 -06:00
Scott Bishel
e76559080a
check readonly flag before displaying row menu (#3611)
* check readonly flag before displaying row menu

* reverse check

* update snapshots
2022-08-10 06:58:47 -06:00
Scott Bishel
8e2bd22a75
make sure template exists before creating card (#3609) 2022-08-10 06:58:22 -06:00
Doug Lauder
c1f2ae6316
Rest API reorganization (#3624)
* reorg API

* reorg api

* fix system route

* remove newline

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-10 08:20:42 -04:00
Harshil Sharma
ab02e98831
Duplicate board retain category (#3395)
* 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
2022-08-10 16:31:34 +05:30
Asaad Mahmood
75036d5618
GH-3544 - Updating scrollbar color (#3617) 2022-08-10 16:26:56 +05:30
Harshil Sharma
08c66fbeed
Restricted scope of board-category change WS event to correct user (#3594) 2022-08-10 12:44:37 +02:00
Scott Bishel
3b099bada4
GH-3564: Change boards search to "all" words (#3622)
* make search on words 'and'

* update search in auth layer
2022-08-10 14:49:30 +05:30
Scott Bishel
c28620594a
Add category to the board search (#3626)
* Add category to the board search

* cleanup

* Handled long board names and long category names

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2022-08-10 14:48:59 +05:30
MArtin Johnson
591e6f2592 Translated using Weblate (Swedish)
Currently translated at 92.1% (353 of 383 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sv/
2022-08-09 17:43:53 +02:00
Tom De Moor
f2b5c724bf Translated using Weblate (Dutch)
Currently translated at 97.3% (373 of 383 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
2022-08-09 18:43:49 +03:00
jprusch
7c8afd0e37 Translated using Weblate (German)
Currently translated at 100.0% (383 of 383 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
2022-08-09 18:43:49 +03:00
Kaya Zeren
f723679b68 Translated using Weblate (Turkish)
Currently translated at 100.0% (383 of 383 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2022-08-09 18:43:49 +03:00
Hosted Weblate
cee1a7c78d Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/
2022-08-09 18:43:49 +03:00
Hosted Weblate
6549145c92 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/
2022-08-09 13:04:11 +02:00
Tom De Moor
cc0441b398 Translated using Weblate (Dutch)
Currently translated at 97.3% (373 of 383 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
2022-08-09 13:04:10 +02:00
jprusch
f6cfc7eb4b Translated using Weblate (German)
Currently translated at 100.0% (383 of 383 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/

Translated using Weblate (German)

Currently translated at 100.0% (383 of 383 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
2022-08-09 13:04:10 +02:00
Kaya Zeren
68eb9f8f72 Translated using Weblate (Turkish)
Currently translated at 100.0% (383 of 383 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2022-08-09 13:04:10 +02:00
Hosted Weblate
a9b693c2e9 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/
2022-08-09 13:04:09 +02:00
Miguel de la Cruz
ad3eb4ba8b
Update teamless boards migration to check for deleted entities (#3613)
* 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
2022-08-09 13:04:03 +02:00
kamre
b7a35364fb
[GH-2965] Don't close property selector menu when item is clicked (#3587)
* 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`
2022-08-09 11:52:36 +05:30
Harshil Sharma
e855a37c21
Persist category state (#3579)
* WIP

* Finished impl

* Finished impl

* Added tests

* Refactored SQL migraiton into two migration to keep DDL isolated
2022-08-08 14:55:47 -06:00
Justine Geffen
d6cc8872f7
Create _index.md 2022-08-08 21:26:32 +02:00
Scott Bishel
30b03f6776
fix bad translation causing parse errors (#3607) 2022-08-08 11:39:48 -06:00
Jesús Espino
d06936dc18
Fix the team highlight and the back to channels team selection (#3602) 2022-08-08 11:01:51 -06:00
Asaad Mahmood
32e584cbc5
Various UI fixes (#3581)
* 2952 - Adding boards icon for templates
* 3574 - Updating link modal css
* 2484 - Improving table fonts
2022-08-08 21:03:01 +05:00
Shivashis Padhi
d50846ed42
MM-43781: boards insights - cherry pick PR suggestions (#3596)
* 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>
2022-08-08 19:04:03 +05:30
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
Scott Bishel
9c6cfa68aa
Add Version banner to hold help link. (#3522)
* implement version banner to display link to help documentation

* cleanup

* turn off banner in cypress

* prefix property name with 'focalboard_'

* update to actual url

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-05 10:32:38 -06:00
Jesús Espino
84858d2466
Allow to search only for linkable boards (#3553)
* Allow to search only for linkable boards

* Adding permissions tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-05 10:32:19 -06:00
Jesús Espino
287a026dc2
Show boards with syntetic membership (#3557) 2022-08-05 10:02:19 -06:00
Jesús Espino
08dd39d054
Keep on sync the current team id with mattermost since the beginning (#3499)
* Keep on sync the current team id with mattermost since the beginning

* Removing unneeded code
2022-08-05 09:29:09 -06:00
Scott Bishel
97818c3915
Additional fix for GetMemberForBoard returning nil,nil (#3570)
* fix panic

* remove else
2022-08-04 14:30:25 -06:00
Jesús Espino
cdcc50e075
Removing the Admin role option from team minimum role (#3506)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-04 18:52:24 +02:00
Doug Lauder
e06513e4da
Fix panic caused by returning nil,nil in GetMemberForBoard (#3552)
* fix panic caused by returning nil,nil in GetMemberForBoard

* lint fix

* lint fix- need updated variable name

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-08-04 10:03:05 -06:00