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

250 Commits

Author SHA1 Message Date
Harrison Healey
346696673d
MM-47793 Change product dev server to not use deprecated options (#4116) 2022-11-07 17:53:57 -05:00
Scott Bishel
037e951141
Fix issues when retrieving boards (#4145)
* update function to only retrieve boards once.

* some cleanup

* fix spelling error
2022-11-07 11:49:19 -07:00
Scott Bishel
08f09f0c99
Fix to respect System Console settings (#4110)
* fix for plugin viewing names and emails

* fix some tests

* fix some tests

* fix more tests

* fix more tests

* clean-up

* cleanup, fix issue on initial load

* revert manifest changes

* implement on personal server side

* revert user.go changes

* lint fix

* fix test

* check config for null before setting boolean value

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-02 14:07:10 -06:00
Asaad Mahmood
bb7b04c78b
Minor UI Changes (#4115)
* Minor UI Changes

* Updating menu overflow
2022-11-02 16:11:01 +05:00
Harshil Sharma
9cc1071945
Fixed server lint issue about not using deprecated package io.ioutils (#4112) 2022-11-01 07:56:04 -04:00
kamre
7be9085b1b
[GH-1007] Fix popup menus visibility (#4069)
* Always show popup menu when it is opened:
- add additional class name `menuOpened` and ensure that menu is visible
- new component `CardActionsMenuIcon` introduced and used for kanban/gallery/calendar card actions menu
- increase `z-index` for `ContentBlock` when menu is opened to avoid overlaps

* Jest snapshots updated: additional classes added to existing elements.

* Jest snapshot for mattermost-plugin test updated.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-26 13:38:09 -06:00
Harrison Healey
8fe9b9b2c2 Merge branch 'main' into MM-47238_boards-dev-server-url 2022-10-25 17:24:54 -04:00
Miguel de la Cruz
91f9f71bf7
Replace Block references to use pointers throughout all application layers (#3934)
* Replace Block references to use pointers throughout all application layers

* lint fixes

* gofmt file, lint fix

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-10-25 14:46:43 -06:00
Scott Bishel
e3ae682eea
Display board statistics (#4025)
* initial commit for displaying board statistics

* lint fixes

* i18n-extract, remove log entries, cleanup

* more lint fixes

* add check for standalone mode

* update tests due to change to NotImplemented

* lint fix

* revert removing empty comment lines

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-25 14:28:00 -06:00
Pablo Andrés Vélez Vidal
2676b19d99
MM-46392 - load boards memberships on rhs component mount (#4055)
* MM-46392 - load boards memberships on rhs component mount

* prevent blink between zero state and list state

* fix failing snapshots

* add pr feedback; change testing component state change approach using act; wrap async request in promiseAll instead of isolated awaits
2022-10-21 18:09:31 +02:00
Harrison Healey
ccbccc157e
MM-47631 Just rely on Webpack for image paths in product mode (#4049) 2022-10-21 11:41:04 -04:00
Harrison Healey
74190bb456
MM-47562 Serve images from the correct URL in product mode (#4045) 2022-10-19 16:41:53 -04:00
Harrison Healey
d638da6169 Fix https setting for product dev server and add other https settings based on MM config 2022-10-19 15:01:51 -04:00
Harrison Healey
d725cff9ed Merge branch 'main' into MM-47238_boards-dev-server-url 2022-10-19 14:57:00 -04:00
Doug Lauder
5afdda9ea8
set correct plugin id when in product mode (#4033)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-18 14:45:17 -04:00
Harrison Healey
14dedc4015 MM-47238 Add MM_BOARDS_DEV_SERVER_URL environment variable for MPA 2022-10-17 14:33:48 -04:00
Doug Lauder
2b984d45b2
Fix collation and charset after migrations (every run) (#4002)
* fix collation and charset after migrations (every run)
2022-10-14 18:39:25 -04:00
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