Commit graph

3081 commits

Author SHA1 Message Date
Kangho Lee
9e2043fd76
fix javascript error when curren group is delete (#3900)
* fix javascript error when curren group is delete

* fix test error
2022-10-05 10:57:50 +05:30
Miguel de la Cruz
a69b0a44dc
Pins the roles submenu to the user permission row (#3925)
* Pins the roles submenu to the user permission row

* Fix snapshots
2022-10-05 10:22:24 +05:30
Chirag Ghosh
76b864efe2
fix: Person autocomplete in table; (#3927) 2022-10-04 12:59:13 -06:00
Scott Bishel
5bf4039350
GH-3916 fix property change (#3920) 2022-10-04 13:51:46 -05:00
Julien Fabre
f0619a084e
[GH-1950] : Fix border-collapse user agent stylesheet (#3905) 2022-10-04 22:29:57 +05:30
Rajat Dabade
08030a2d3c
Escape button close the boardSelector dialog (#3850) 2022-10-04 22:20:56 +05:30
Harshil Sharma
42855dfc53
Fixed incorrect params to create/update categroy component (#3910) 2022-10-04 13:09:27 +02:00
Paul Esch-Laurent
fe010b3b40
Remove synthetic/implicit memberships for guests (#3786)
* fix: no implicit (synthetic) memberships for guest

* fix: only check if guest if no explicit member

* refactor: join() to select() non-guest users

* style: golant lint

* fix: search as guest only returns explicit boards

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-03 18:23:21 -06:00
Harshil Sharma
f1b73c0719
RHS scroll: Fixed (#3908)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-03 18:21:14 -06:00
Paul Esch-Laurent
b430e7b7a3
Update modal copy with "excludes guests" changes (#3917)
* feat: update modal copy to account for guests

* chore: `npm run i18n-extract`
2022-10-03 18:19:48 -06:00
Scott Bishel
cff39e7140
update to release 7.5.0 (#3890) 2022-10-03 11:55:20 -06:00
Scott Bishel
3c8f6324e4
Gh 3884 Fix Multiperson property (#3888)
* retrieve all team members for specific lists

* retrieve all team members for specific lists

* final fixes

* update to use enum

* unit test fixes

* lint fixes

* fix integration test

* fixup integration test

* fix issues with making board private

* update to make webapp and server enums match

* fix to add member in correct role

* remove unnecessary property, check Open/Private board

* cleanup confirm for non admin

* some final cleanup

* move default to webapp

* only allow greater roles in drop down, change property name to minimumRole

* update multiperson property to confirm and select same as person property

* implement hashing of keys to cause Select to reprocess initial load

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-03 10:11:19 -06:00
Harrison Healey
b16557a046
MM-47076 Use version of Reaact DOM provided by web app (#3861) 2022-10-03 17:39:12 +02:00
Miguel de la Cruz
4eccd067e9
Update linux gomod (#3911) 2022-10-03 16:26:40 +02:00
Julien Fabre
be8854b177
fix[GH-3764]: webpack extension (#3906) 2022-10-03 15:27:13 +05:30
Miguel de la Cruz
4e8a3f8232
Preserve old handleServeFile endpoint behavior after refactor (#3892) 2022-10-03 10:45:04 +05:30
Scott Bishel
61952f23ad
Gh 3882 - Fixes layout for ConfirmAddUserForNotification (#3887)
* retrieve all team members for specific lists

* retrieve all team members for specific lists

* final fixes

* update to use enum

* unit test fixes

* lint fixes

* fix integration test

* fixup integration test

* fix issues with making board private

* update to make webapp and server enums match

* fix to add member in correct role

* remove unnecessary property, check Open/Private board

* cleanup confirm for non admin

* some final cleanup

* move default to webapp

* only allow greater roles in drop down, change property name to minimumRole

* update z-index label, incorrect one used

* revert margin change

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-09-30 09:13:44 -06:00
Scott Bishel
8f4951dd4a
Fix members (#3875)
* retrieve all team members for specific lists

* retrieve all team members for specific lists

* final fixes

* update to use enum

* unit test fixes

* lint fixes

* fix integration test

* fixup integration test

* fix issues with making board private

* update to make webapp and server enums match

* fix to add member in correct role

* remove unnecessary property, check Open/Private board

* cleanup confirm for non admin

* some final cleanup

* move default to webapp

* only allow greater roles in drop down, change property name to minimumRole

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-09-30 08:26:41 -06:00
Scott Bishel
68c00cf560
reset current view, if empty, prevents using activeview with wrong board (#3880) 2022-09-30 14:27:24 +02:00
Jesús Espino
959a5ce8ff
Showing unknown channel and on share board modals if channel is no longer accessible (#3790)
* Showing unknown channel and on share board modals if channel is no longer accessible

* uncomment tests, write snapshots

* update snapshot

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-09-29 09:56:37 -06:00
Yusuke Nemoto
9b3be29af5
fix a placeholder message when sharing template (#3868) 2022-09-27 16:06:04 -06:00
info4pdv
a522f7f92d Translated using Weblate (French)
Currently translated at 90.5% (364 of 402 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/fr/
2022-09-23 16:42:23 +03:00
kaakaa
3906eebcaa Translated using Weblate (Japanese)
Currently translated at 100.0% (402 of 402 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
2022-09-23 16:42:23 +03:00
Selyan Slimane Amiri
4a96eabaa9 Added translation using Weblate (Kabyle) 2022-09-23 16:42:23 +03:00
Asaad Mahmood
d45a5c7ec4
Gh 3849 - Fixing menu text and submenu icon (#3857)
* GH-3849 - Fixing menu item alignment

* Updating submenu icon

* Fixing link errors

* Updating import

* Fixing lint error
2022-09-19 20:10:00 +05:00
Harshil Sharma
a591fe108b
Fixed bug where app would crash in multi person property if a set user is not a board member (#3870) 2022-09-19 08:40:40 -06:00
Miguel de la Cruz
68f03d3fb1
Catch exception on failed WS command to avoid interface from breaking (#3858)
* Catch exception on failed WS command to avoid interface from breaking

* Fix linter
2022-09-16 13:21:36 +02:00
Harshil Sharma
8ded5838a8
removed non-existent field (#3856) 2022-09-16 07:40:38 +02:00
Rajat Dabade
80024851a5
Added single-user check for getUserList (#3801)
* Added single-user check for getUserList

* Added check for length of UserIDs slice

* ErrorResponse arg fix and UserIDs len fix

* Linter fixes

* Error fixes

* Linter and error fix
2022-09-15 16:52:35 -04:00
Jesús Espino
03d1b584ca
Fixing minimum board roles behavior (#3836)
* Fixing minimum board roles behavior

* fix unit tests

* fix lint issues

* update snapshot

* attempt fix for unit test

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-09-15 13:48:06 -06:00
Miguel de la Cruz
dfa9d8f452
Update user store to return the updated entities after inserting / patching them (#3843) 2022-09-15 13:58:20 +02:00
Asaad Mahmood
f574286e6e
Multiple UI Fixes (#3835)
* Multiple UI Fixes

* Updating dialog

* Updating dialog

* Updating dialog

* Updating test

* Removing delete icon

* Updating snapshots

* Updating conflicts

* Fixing multi person card display
2022-09-15 15:40:05 +05:00
Scott Bishel
228c3b9fa2
fix lint issue that snuck through (#3845) 2022-09-14 20:32:20 -06:00
Paul Esch-Laurent
66cbb80a5d
fix: display non-explicit members in Share Board modal <Select> (#3841)
* fix: display non-explicit members in share select

* Update webapp/src/components/shareBoard/shareBoard.tsx

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-09-14 12:22:07 -06:00
Jesús Espino
fd7d61b47c
Enabling again the eslint rules and applying the fixes (#3791)
* Enabling again the eslint rules and applying the fixes

* Restore , separators for types in single line mode

* fix new errors

* more lint fixes

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-09-14 07:11:50 -06:00
Miguel de la Cruz
9163e4cd9b
Check on GetBoardsForUserAndTeam if the board result list is incomplete and continue if that's the case (#3842)
* Check on GetBoardsForUserAndTeam if the board result list is incomplete and continue if that's the case

* Remove template filter and correctly check for not founds
2022-09-14 08:59:39 -04:00
Doug Lauder
6f35ed8678
Fix broken main store.getBoardsInTeamByIds (#3840)
* fix broken main GetBoardsForUserAndTeam

* comment unit tests
2022-09-14 11:27:36 +02:00
MArtin Johnson
dfb9656fbe Translated using Weblate (Swedish)
Currently translated at 100.0% (402 of 402 strings)

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

Translated using Weblate (Swedish)

Currently translated at 93.0% (374 of 402 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sv/
2022-09-14 01:34:00 +03:00
Kaya Zeren
a52134b255 Translated using Weblate (Turkish)
Currently translated at 100.0% (402 of 402 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2022-09-14 01:34:00 +03:00
Harrison Healey
32a44723c3
Fix broken image in plugin (#3839) 2022-09-13 16:06:58 -05:00
Scott Bishel
b3a356067c
GH-3797 Update telemetry to send boards count (#3820)
* update telemetry to send boards count

* fix lint

* fix unit test
2022-09-13 14:37:05 -06:00
Paul Esch-Laurent
0ef683f209
test: add snapshot tests to CommentsList (#3795)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-09-13 13:57:44 -05:00
Paul Esch-Laurent
5853303bda
Update version banner URL to redirect permalink (#3822) 2022-09-13 13:27:18 -05:00
Harrison Healey
096c130edb
Merge pull request #3748 from mattermost/MM-46274_module-federation-poc
MM-46274 Web App Product POC
2022-09-13 13:20:11 -04:00
Miguel de la Cruz
f35ac66232
Update board store to return inserted / patched values without querying the DB after modifying them (#3832)
* Update board store to return inserted / patched values without querying the DB after modifying them

* Remove redundant condition check after error refactoring
2022-09-13 12:43:03 +02:00
Miguel de la Cruz
08c0b7a2fd
Refactor error usage from the store level up and add API helpers (#3792)
* Refactor error usage from the store level up and add API helpers

* Complete API tests

* Fix merge errorResponse calls

* Remove ensure helpers to allow for custom messages on permission errors

* Fix bad import and call

* Remove bad user check on auth that was added as part of the main merge

* Fix empty list test

* Replace deprecated proxy calls to ioutil.ReadAll with io.ReadAll

* Add information to the NotFound errors

* Add context to all remaining errors and address review comments

* Fix linter

* Adapt the new card API endpoints to the error refactor

* Remove almost all customErrorResponse calls

* Add request entity too large to errorResponse and remove customErrorResponse

* Fix linter
2022-09-13 12:18:40 +02:00
Asaad Mahmood
ed655ac996
GH-3813 - Fixing dialog toolbar (#3827)
* GH-3813 - Fixing dialog toolbar

* Updating card follow button

* Updating tests

* Updating lint error

* Updating test

* Updating dialog close test
2022-09-12 20:05:41 +05:00
Rajat Dabade
9e813010d2
Added corner case check for multiperson property (#3793) 2022-09-12 15:58:59 +05:30
Paul Esch-Laurent
15e13fcdac
fix: filter out bots for sharing, @mention-ing, and Person property (#3762)
* fix: filter out bots for sharing and @mention-ing

* feat: add `?exclude_bots` to `getTeamUsers` API

* chore: `make swagger`

* chore: `make generate`

* fix: plugin store test function implementation

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-09-09 19:56:44 -06:00
Harrison Healey
60ab79309e Remove old static folder from plugin package 2022-09-09 14:58:39 -04:00