Commit graph

3050 commits

Author SHA1 Message Date
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
Miguel de la Cruz
956675aa07
Fix migration 27 and update boards_migrator_test to support sqlite (#3775)
* Fix migration 27 and update boards_migrator_test to support sqlite

* Adds comments for clarity
2022-09-02 13:39:00 -06:00
Rajat Dabade
970fda3b1d
Undefined check for propertyValue (#3769) 2022-09-02 12:19:02 -05:00
Scott Bishel
a6ca2c2011
Merge pull request #3774 from mattermost/mysql-extra-safe
Extra safe MySQL migration
2022-09-02 10:00:22 -06:00
Harshil Sharma
80d2984cf8 Fixed an incorrect case in table name 2022-09-02 11:28:37 +05:30
Miguel de la Cruz
3acd505618
Refactor schema table migration mechanism (#3709)
* Refactor schema table migration mechanism

The old schema table migration code was initializing the migration
engine before changing the migrations table and was mixing queries on
two different database connections (the `s.db` connection and the
migrations `db` connection).

The changes on this commit take care of changing the migrations table
before the morph migration engine is initialized and they use the same
connection for all operations, better isolating the schema table
migration process.

* Update migrate function to take the cluster mutex first thing

* Split migration code and orchestration on different functions

* Wrap custom errors on data migrations

* Rename private migration method

* Update server/services/store/sqlstore/migrate.go

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2022-09-01 15:05:11 +02:00
Harshil Sharma
66e8af85a8 Extra safe MySQL migration 2022-09-01 16:15:31 +05:30
Harshil Sharma
12ba9a6382 Extra safe MySQL migration 2022-09-01 16:07:11 +05:30
Scott Bishel
270a110dc1
Merge pull request #3761 from mattermost/mentions-and-guests
Fix @-mentions in boards & for guests
2022-08-31 13:40:32 -06:00
Scott Bishel
37e089dbee
Merge pull request #3757 from sbishel/gh-3704
GH-3704 - Fix for not copying all content items.
2022-08-31 13:31:44 -06:00
Scott Bishel
568f08d610 update to break and not push to parent if already exists 2022-08-31 10:51:54 -06:00
Scott Bishel
54ff7b4e6e
Merge pull request #2852 from kyeongsoosoo/GH2520
GH-2520 make cut/undo/redo work in comments
2022-08-31 08:16:20 -06:00
Harrison Healey
9c16d94854 Merge branch 'main' into MM-46274_module-federation-poc 2022-08-30 16:47:29 -04:00
Paul Esch-Laurent
31569c655a
fix: reference Uppercase MM tables (#3756) 2022-08-30 14:32:31 -05:00