Commit graph

3263 commits

Author SHA1 Message Date
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
Scott Bishel
01eb95a6d2
Update to version 7.4.0 (#3819) 2022-09-09 11:37:03 -05:00
Harshil Sharma
5f4ad80ef0
Read Mattermost s3 timeout value and used a default if not exist (#3817)
* read Mattermost s3 timeout value and used a default if not exist

* Protection from setting 0 or negative timeout
2022-09-09 11:42:55 +02:00
Harrison Healey
f261038936 Change singleton shared modules to match web app 2022-09-08 16:41:50 -04:00
Doug Lauder
4652a15bab
Card APIs (#3760)
* cards apis wip

* create card API

* validate cards when creating

* create card fixes

* patch card wip

* wip

* unit test for createCard; CardPatch2BlockPatch

* unit test for PatchCard

* more APIs

* unit tests for GetCardByID

* register GetCard API

* Set FOCALBOARD_UNIT_TESTING for integration tests

* integration tests for CreateCard

* more integration tests for CreateCard

* integtration tests for PatchCard

* fix integration tests for PatchCard

* integration tests for GetCard

* GetCards API wip

* fix merge conflict

* GetCards API and unit tests

* fix linter issues

* fix flaky unit test for mySQL

* Update server/api/api.go

Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>

* Update server/api/api.go

Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>

* address review comments

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>
2022-09-08 13:01:33 +02:00
Harrison Healey
b9e2263cb5 MM-46646 Serve all plugin images via webpack 2022-09-07 19:14:34 -04:00
Miguel de la Cruz
7ebcdf59c2
Add remove templates channel link migration (#3794) 2022-09-07 14:22:06 -06:00
Harrison Healey
60aef8c760 Merge branch 'main' into MM-46274_module-federation-poc 2022-09-07 15:03:44 -04:00
Harrison Healey
32f2d403e6 Fix typos in Webpack config and Makefile 2022-09-07 15:03:19 -04:00
Paul Esch-Laurent
d1346be051
Fix make swagger errors & update version (#3772)
* chore: fix `make swagger` errors

* chore: update Swagger version and re-generate
2022-09-07 08:32:53 -06:00
Jesús Espino
95c69cc46b
Allow to confirm add users on mention or assign to person field (#3724)
* Allow to confirm add users on mention or assign to person field

* Improving the confirm add user for notification modal style

* Add confirmation add user modal tests

* Fixing tests

* Fixing styles

* Adding missed snapshots file

* Fixing tests

* Fixing other tiny errors

* Fixing tests

* Fixing tests
2022-09-07 08:20:10 +02:00
Rajat Dabade
ad3b8fd454
Added property to select multiperson (#3741)
* Added property to select multiperson

* Implemented the sorting for multiperson property

* Updated snapshots

* Added Test case

* CSS fix

* Linter fixes

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-09-06 15:09:08 -06:00
Tom De Moor
a1a67390fc Translated using Weblate (Dutch)
Currently translated at 100.0% (402 of 402 strings)

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

Translated using Weblate (Dutch)

Currently translated at 96.5% (388 of 402 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
2022-09-06 23:23:59 +03:00
Tóth Csaba // Online ERP Hungary Kft
e8029aab4c Translated using Weblate (Hungarian)
Currently translated at 100.0% (402 of 402 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hu/
2022-09-06 23:23:59 +03:00
이진호
7a539c6e5c Translated using Weblate (Korean)
Currently translated at 100.0% (402 of 402 strings)

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

Translated using Weblate (Korean)

Currently translated at 100.0% (402 of 402 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ko/
2022-09-06 23:23:59 +03:00
MArtin Johnson
51679e5016 Translated using Weblate (Swedish)
Currently translated at 92.7% (373 of 402 strings)

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

Translated using Weblate (Swedish)

Currently translated at 88.5% (356 of 402 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sv/
2022-09-06 23:23:59 +03:00
Scott Bishel
10f7e46038
check createdBy instead of team id to determine global templates (#3766)
* check createdBy instead of team id to determine global templates

* fix tests

* remove import

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-09-05 17:02:39 -06:00
Asaad Mahmood
f9e6eb2791
GH-3768 - Search icon fix (#3778) 2022-09-05 12:53:01 +05:30
Scott Bishel
af2727085d
Fix template websocket (#3747)
* fix websockets with templates

* add more unit tests

* add synthetic, update tests

* Update mattermost-plugin/server/manifest.go

* clean up lint, reduce cyclomatic complexity

* update tests that call patchBoard with patch.Type set

* cleanup messages

* cleanup code more readable

* fixes from code review

* fix null check

* remove log lines
2022-09-04 16:51:31 -06:00