Commit graph

233 commits

Author SHA1 Message Date
Harrison Healey
3479e02657
MM-46725 Add build-product target to compile the Boards product (#4016) 2022-10-13 16:56:59 -04:00
Harrison Healey
ccd09fd7b6
MM-46275 Rename product container to 'boards' (#4015) 2022-10-13 16:56:42 -04:00
Rajat Dabade
25d29e4034
Added the markdown in channel boardSelector RHS for description (#3759)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-07 12:28:21 -05:00
Agniva De Sarker
3025690b08
MM-47403: Add hooks to the product (#3962)
We do this to get the changes published
from the server.

https://mattermost.atlassian.net/browse/MM-47403

```release-note
NONE
```
2022-10-07 13:08:21 +02:00
Rajat Dabade
08030a2d3c
Escape button close the boardSelector dialog (#3850) 2022-10-04 22:20:56 +05:30
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
Harrison Healey
b16557a046
MM-47076 Use version of Reaact DOM provided by web app (#3861) 2022-10-03 17:39:12 +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
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
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
Harrison Healey
32a44723c3
Fix broken image in plugin (#3839) 2022-09-13 16:06:58 -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
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
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
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
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
Harrison Healey
9c16d94854 Merge branch 'main' into MM-46274_module-federation-poc 2022-08-30 16:47:29 -04:00
Rajat Dabade
ce74950566
Added functionality to close boardSelector after linking board (#3758) 2022-08-30 14:32:10 -05:00
Harshil Sharma
63edf2c987
Props to preferences (#3722)
* Added tab;le creation migration

* WIP

* Finished base impl

* Added MySQL migration

* WIP

* Added personal server store methods

* WIP

* Fixed webapp tests

* Updated server tests

* generated code

* generated code

* generated code

* used raw queries instead of plugin methods to avoid updating productapi package

* Added API doc

* Added sqlite migratins

* used plugin APIs again s=instead of raw queries

* WIP

* Added missed case of SQL migration where personal server can run on Postgres and MySQL

* CI

* Removed unsupported POSL operator

* Low on caffine. Making silly mistakes

* json handling

* int test

* hope tests pass

* Fix incorrect column size

* Webapp lint fixes

* remived debug code

* Updated moigration version

* Review fixes
2022-08-29 12:55:12 +05:30
Allan Guwatudde
82007d81e4
Merge pull request #3668 from mattermost/MM-45761
[MM-45761] - Telemetry: Track how many users end up in purchase/pricing modal/notify admin
2022-08-26 15:17:30 +03:00
Asaad Mahmood
62ffa9c39a
Adding menu options in sidebar, and improving order (#3713)
* Adding category and board options at the top

* Updating UI

* Updating test

* Updating test

* Updating icon

* Fixing bug and translation

* Updating createCategory component

* Removing unused vars

* Removing unused vars

* Updating UI

* fixed tests

* fixed tests

* fixed tests

* Updating test

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2022-08-25 18:09:09 +05:00
Jesús Espino
61a8af8f34
Restoring guest account access and adding backend part of the guest accounts support (#2929)
Co-authored-by: Paul Esch-Laurent <paul.esch-laurent@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-24 17:08:58 -05:00
Harshil Sharma
a4b6dc512b
DOnt lint boards_product.go (#3734) 2022-08-24 12:43:45 +05:30
Doug Lauder
0ffc721e64
Add Preferences service API for product and plugin (#3727)
* Add Preferences service API for product and plugin

* add missed switch case

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-24 09:08:56 +05:30
Doug Lauder
e341cc4da8
Exclude exhaustive check for product services switch (#3730) 2022-08-23 14:01:51 -04:00
Scott Bishel
0403c22f3c
Post message channel change (#3717)
* initial implementation

* checking changes

* use boards bot

* update mocks

* linter fixes

* linter fixes

* clean up

* revert manifest change

* another lint fix

* use common error

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-23 08:48:41 -06:00
Rajat Dabade
27a4da126d
Added role so that the non-admin will not be able to unlink the board (#3703)
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2022-08-23 17:01:40 +05:30
Paul Esch-Laurent
c89ea6ce9c
Update app bar tooltip text to Toggle Linked Boards (#3705) 2022-08-19 13:18:29 -05:00
Miguel de la Cruz
831dff6192
Print log server information on plugin run (#3711)
* Print log server information on plugin run

* Add LogServerInfo to product mode

* Fix log location
2022-08-19 13:16:18 -04:00
Asaad Mahmood
2be0eecf71
Multiple UI Improvements - (Table improvements, sidebar consistent) (#3689)
* Updating table layout UX and UI

* Updating table

* Updating test

* Updating sidebar UI

* Updating options icon and modal border

* Updating spacing between categories

* fix(CompassIcon): no `undefined` in `className`

* chore: update snapshots in plugin, too

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Paul Esch-Laurent <paul.esch-laurent@mattermost.com>
2022-08-18 12:50:14 +05:00
Harrison Healey
2c1a7b1943 MM-46274 Temporarily roll back dependency versions to match web app 2022-08-17 16:22:35 -04:00
Harrison Healey
d462d9a5d7 MM-46274 Add ability to run Boards as a product in development 2022-08-17 16:13:35 -04:00
Doug Lauder
765fbc88e9
Register API router in product mode (#3700)
* register API router in product mode

* period in comment (really?)
2022-08-17 17:50:01 +02: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
Paul Esch-Laurent
c0a2207087
fix: don't re-.push() the URL if already on teamId (#3651) 2022-08-11 09:23:08 -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
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
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
Jesús Espino
d06936dc18
Fix the team highlight and the back to channels team selection (#3602) 2022-08-08 11:01:51 -06:00