Commit Graph

2823 Commits

Author SHA1 Message Date
Jesús Espino
cd756a97f4
Add the creator of the board as a administrator of the board if it still belongs to the channel (#3454) 2022-07-28 18:45:00 +02:00
Harshil Sharma
b9ac00ef4e
Fixed issue with sidebar menu position (#3426)
* Fixed issue with sidebar menu position

* Removed duplicate code

* Handled small screens as well

* Fixed a class name
2022-07-28 09:36:09 -06:00
Harshil Sharma
4f7ce070bc
Added confirmation dialog for unlinking a channel (#3432)
* Added confirmation dialog for unlinking a channel

* Updated texts
2022-07-28 15:01:22 +05:30
Ibrahim Serdar Acikgoz
67608a833b
Update product adapter for changes in the UserService (#3401)
* reflect changes in server regarding to user service

* include server into build even in CI

* Fix lint pipeline to use only local repositories

Signed-off-by: Mustafa Kara <mustafa.kara@mattermost.com>

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Mustafa Kara <mustafa.kara@mattermost.com>
2022-07-28 10:03:55 +05:30
Harshil Sharma
bf1ad30b75
Added min height for template sepector (#3427) 2022-07-28 07:35:21 +05:30
Harshil Sharma
dc59929206
Converted synthetic membership to natuaral for board's channel members (#3390)
* Converted synthetic membership to natuaral if needed

* Added unit tests for AddMemberToBoard

* Update server/app/boards_test.go

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>

* Fix test

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-07-27 15:34:52 -06:00
Miguel de la Cruz
6616a16569
Move category creation and UUID update to a more performant data migration (#3437)
* Move category creation and UUID update to a more performant data migration

* Fix linter

* Fix linter
2022-07-27 23:21:19 +02:00
Scott Bishel
a129dbc1b8
Store current input while user is changing. (#3256)
* add ref to retrieve current text setting

* change to handle without forwardRefs

* state not needed here

* cleanup

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-07-27 21:35:36 +02:00
Rajat Dabade
e9e4b5851a
Bot ownerID fix (#3436)
* Added the OwnerId for creation of the bot
2022-07-27 14:52:17 -04:00
Harshil Sharma
36a073eaad
Handled err in acse of lack of user-channel membership (#3378)
* Handled err in acse of lack of user-channel membership

* Used errors.As instead of type check

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-07-27 12:17:38 -06:00
Jesús Espino
95b65dba22
Not requesting for channels in personal server mode (#3429) 2022-07-27 11:50:25 -05:00
Mattermost Build
3da7ca8e74
Improve the board creation from channels (#3415) (#3433)
* Improve the board creation from channels

* Fixing linter problem and adding channelID to the telemetry information

* Fixing and expanding a bit the tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
(cherry picked from commit 93bc9de731)

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2022-07-27 12:26:17 +02:00
Mattermost Build
6d5fa273b6
Openning the board in a new window from the RHS in channels (#3416) (#3421)
(cherry picked from commit 0eb3bbc0dc)

Co-authored-by: Jesús Espino <jespinog@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-07-27 11:32:47 +02:00
Miguel de la Cruz
ac717490ca
Replace query with exec on database update queries (#3420) 2022-07-27 09:23:04 +02:00
Mustafa Kara
f06e10ed79
Merge pull request #3418 from mattermost/chore/fix-lint-pipeline
Fix lint pipeline
2022-07-27 10:16:16 +03:00
Mustafa Kara
ba73ab082d
Update .github/workflows/lint-server.yml
Co-authored-by: Akis Maziotis <36594156+phoinixgrr@users.noreply.github.com>
2022-07-26 11:29:08 +03:00
Mustafa Kara
ea37064e94
Update .github/workflows/lint-server.yml
Co-authored-by: Akis Maziotis <36594156+phoinixgrr@users.noreply.github.com>
2022-07-26 11:28:58 +03:00
Mustafa Kara
4fa713d75b
Fix pipeline code
Signed-off-by: Mustafa Kara <mustafa.kara@mattermost.com>
2022-07-25 17:08:02 +03:00
Mustafa Kara
b3f28693f1
Update lint-server.yml 2022-07-25 17:05:04 +03:00
Mustafa Kara
794307556f
Fix lint pipeline to fetch enterprise repo
Signed-off-by: Mustafa Kara <mustafa.kara@mattermost.com>
2022-07-25 17:01:29 +03:00
Miguel de la Cruz
e31821501c
Adds more loglines to the database migrations and fixes some inconsistencies (#3392)
* Adds more loglines to the database migrations and fixes some inconsistencies

* Fix linter

* Add migration engine loglines
2022-07-22 15:58:52 +02:00
Miguel de la Cruz
a5a7981b2b
Updates the id of the migration lock (#3406) 2022-07-22 11:52:36 +02:00
Paul Esch-Laurent
62ac6a41c3
fix: share modal user list overflow out of dialog (#3393) 2022-07-22 07:58:44 +05:30
Doug Lauder
93ae3f239a
Add disable_notify flag for InsertBlocks API (#3384)
* disable_notify flag for InsertBlocks API

* fix linter error
2022-07-19 10:26:01 -05:00
Akis Maziotis
9fc232d6c2
Merge pull request #3380 from mattermost/CLD-3697/feature/notice-file-generation
[feat] Notice.txt generation configuration
2022-07-19 10:16:04 +03:00
Mattermod
60d97d1851
Merge branch 'main' into CLD-3697/feature/notice-file-generation 2022-07-19 09:39:18 +03:00
Akis Maziotis
111d741ad7
[feat] Notice.txt generation configuration
We created a tool to automatically generate NOTICE.txt from project folders. And there is a scheduled pipeline configured to run at every Monday which creates a PR if there is a change.
We selected noticegen directory to store the configuration files.

Tool repo: https://github.com/mattermost/notice-file-generator

Ticket: https://mattermost.atlassian.net/browse/CLD-3697
Signed-off-by: Akis Maziotis <akis.maziotis@mattermost.com>
2022-07-19 09:20:39 +03:00
Miguel de la Cruz
e1c747d08b
Update Boards version to 7.3 (#3382) 2022-07-18 12:05:59 -06:00
Miguel de la Cruz
4b0fb92fba
Multi product architecture (#3381)
- provides support for compiling Boards directly into the Mattermost suite server
- a ServicesAPI interface replaces the PluginAPI to allow for implementations coming from pluginAPI and suite server.
- a new product package provides a place to register Boards as a suite product and handles life-cycle events
- a new boards package replaces much of the mattermost-plugin logic, allowing this to be shared between plugin and product
- Boards now uses module workspaces; run make setup-go-work
2022-07-18 13:21:57 -04:00
Miguel de la Cruz
3d753a15e5
Fix mock early finish issue on test helpers (#3374) 2022-07-15 08:34:36 -04:00
Harshil Sharma
a3a753591e
Fixed multiple styling fixes (#3368)
* Fixed multiple styling fixes

* fix tests

* Update snapshots

* Update snapshots

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2022-07-15 08:51:00 +02:00
Miguel de la Cruz
d093eef2d9
Revert "Multi product architecture (#3309)" (#3373)
This reverts commit 605c0079eb.
2022-07-15 08:04:35 +02:00
Doug Lauder
605c0079eb
Multi product architecture (#3309)
* skeleton lifecycle

* bare minimum to satisfy mm-server import

* added boards_imports.go

* move boards_imports.go to correct package

* bump mmserver version; remove replace in go.mod; use module workspaces; remove logger service

* rename product.go --> boards.go

* add FileInfoStore and Cloud services for product; create minimal pluginAPI interfaces for all packages

* rename Boards -> BoardsProduct

* compile success

* remove hooks service; guard for nil BoardsApp

* update to latest mmserver ver

* upgrade mmserver to master tip

* upgrade mmserver to master tip

* bump plugin-api to master tip

* fix users service

* fix OnActivate crash; normalize AppError returns

* fileBackend interface for server/app

* feature flag

* bump mmserver version

* fix linter errors

* make go.work when linting

* fix go.work creation for CI

* add execute flag for script

* fix more linter errors

* always create a go.work

* fix ci go.work

* OS agnostic go.work generator

* fix path

* fix path again

* partially disable cypress test

* fix case Id --> ID

* bump mmserver version

* include  in go.work for dev

* addressed review comments.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-07-15 07:51:50 +02:00
Harshil Sharma
c16703a04e
Prevented empty name in create/rename categories (#3364) 2022-07-14 17:07:49 -05:00
Miguel de la Cruz
3ae821d2e8
Refactor websockets state and lifecycle (#3315)
* Refactor websockets state and lifecycle

This PR moves the state of the authentication and subscriptions to the
websockets client, allowing for multiple components to communicate
with it and request subscriptions independently. With this change, the
lifecycle of the websockets client is now managed on a component, and
a hook is provided for easy access to it from individual components.

* Fix linter

* Integrating the new websockets in channels integration with the RHS and board selector

* Some small fixes around boards-channels relationship

* Make the boards unfurl to always use the current team

* Fixing weird behaviors in websockets and other small data related bugs in channel-board relationship

* Only warn if withWebSockets is used without a base connection

* Fix tests

* Fix linter

* Update snapshot

* Fixing plugin tests

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2022-07-14 12:31:51 +02:00
Asaad Mahmood
4561d2c787
Minor UI Updates (#3359) 2022-07-13 19:49:36 +05:30
Paul Esch-Laurent
ba64de9fa1
ci: test & lint mattermost-plugin (#3156)
* ci: test & lint `mattermost-plugin`

* chore: fix mattermost-plugin/webapp linting

* lint: fix eslint errors

* ci: run `make webapp-ci`

* test: fix non-idempotent snapshot tests

* chore: `npm run i18n-extract`

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-07-13 08:28:13 +02:00
Harshil Sharma
cdf8fbc280
Fixed a bug causing undeleted board to not have original title (#3354) 2022-07-13 11:51:48 +05:30
Harshil Sharma
2f4f13cb56
Fixed incorrect API path being used for notify admin upgrade API (#3355) 2022-07-13 11:49:05 +05:30
Paul Esch-Laurent
e331eafc26
fix: render default LHS board icon (#3353)
* fix: render default LHS board icon

* test: LHS renders default board icon if none set

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-07-13 07:59:00 +02:00
Rajat Dabade
e1f944c9ea
Added the toggle feature on sidebar hearder (#3014)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Rajat Dabade <rajat@Rajats-MacBook-Pro.local>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
Co-authored-by: Paul Esch-Laurent <paul.esch-laurent@mattermost.com>
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
Co-authored-by: kamre <eremchenko@gmail.com>
Co-authored-by: Varghese Jose <varghese.jose@tutanota.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
2022-07-12 17:00:26 +05:30
Scott Bishel
573ea54153
add BoardID to limited card (#3341) 2022-07-11 14:01:46 +02:00
Rajat Dabade
f2be7ebdf1
Misleading search icon (#3345)
* Translated using Weblate (Malayalam)

Currently translated at 100.0% (303 of 303 strings)

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

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

* Translated using Weblate (German)

Currently translated at 100.0% (312 of 312 strings)

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

* Aligned the search icon with search bar

Co-authored-by: Varghese Jose <varghese.jose@tutanota.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
2022-07-11 17:27:42 +05:30
Paul Esch-Laurent
364be89424
Refactor z-index values to a SCSS map (#3332)
* refactor: move all `z-index` values to a SCSS map

* style: add newline

* chore: disallow `z-index` directly in stylelint
2022-07-11 17:27:03 +05:30
Rajat Dabade
970f20a241
View List scroller doesn'tr work on firefox (#3348)
* Translated using Weblate (Malayalam)

Currently translated at 100.0% (303 of 303 strings)

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

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

* Translated using Weblate (German)

Currently translated at 100.0% (312 of 312 strings)

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

* Scroll will only show when it reach max view

Co-authored-by: Varghese Jose <varghese.jose@tutanota.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
2022-07-11 17:21:17 +05:30
kamre
bcd47eada1
Fix cypress test: wait for getUser request when adding new view to the board. (#3344) 2022-07-10 12:19:02 -04:00
Scott Bishel
22aae37dd1
User updates (#3244)
* retrieve additional user fields

* implement config setting

* cleanup

* fix tests

* remove unused constant

* fix more tests

* add tests, cleanup

* lint fixes

* revert bad lint fixes

* more merge fixes

* update to use personal setting

* add user settings

* update package-lock.json

* lint fixes

* npm audit fix

* update tests

* Revert "lint fixes"

This reverts commit 6a50d335ca.

* Revert "update package-lock.json"

This reverts commit 1117e557e4.

* Revert "npm audit fix"

This reverts commit 77ea931c77.

* Revert "Revert "lint fixes""

This reverts commit 3ebd81b9fa.

* restore to original

* fix for empty prefs

* fix bad merge

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-07-08 08:43:43 -06:00
Miguel de la Cruz
06c1ae41a9
Add loggin on cloud limits set (#3337) 2022-07-08 13:23:35 +02:00
Paul Esch-Laurent
985e093a75
fix: delete .action-cell CSS bg color (#3323)
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2022-07-07 15:13:46 -05:00
Scott Bishel
6a65f6caa3
fix bad query field (#3331) 2022-07-07 13:36:22 -06:00