Commit graph

2939 commits

Author SHA1 Message Date
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
Andrew Komarnitskyi
164dcd25e4 Translated using Weblate (Ukrainian)
Currently translated at 6.7% (25 of 369 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/uk/
2022-07-25 18:03:57 +02:00
Murat
b2c517bedd Translated using Weblate (French)
Currently translated at 96.2% (355 of 369 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/fr/
2022-07-25 18:03:57 +02:00
Pierre JENICOT
ae96c64301 Translated using Weblate (French)
Currently translated at 94.0% (347 of 369 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/fr/
2022-07-25 18:03:56 +02:00
thePanz
cce18b30a0 Translated using Weblate (Italian)
Currently translated at 75.6% (279 of 369 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/it/
2022-07-25 18:03:56 +02:00
Dzung Do
2935f93002 Translated using Weblate (Vietnamese)
Currently translated at 6.2% (23 of 366 strings)

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

Added translation using Weblate (Vietnamese)
2022-07-25 18:03:56 +02:00
Hosted Weblate
c6c2e8762c 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/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/
2022-07-25 18:03:56 +02:00
Kaya Zeren
5e7358b275 Translated using Weblate (Turkish)
Currently translated at 100.0% (369 of 369 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (366 of 366 strings)

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

Translated using Weblate (Turkish)

Currently translated at 91.5% (335 of 366 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2022-07-25 18:03:55 +02:00
jprusch
0779a11910 Translated using Weblate (German)
Currently translated at 100.0% (369 of 369 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (366 of 366 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
2022-07-25 18:03:55 +02:00
Hosted Weblate
c1dd50714f Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/
2022-07-25 18:03:55 +02:00
Maksim Matveev
ceeaaa3bad Translated using Weblate (Russian)
Currently translated at 74.8% (274 of 366 strings)

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

Translated using Weblate (Russian)

Currently translated at 82.6% (285 of 345 strings)

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

Translated using Weblate (Russian)

Currently translated at 82.6% (285 of 345 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/
2022-07-25 18:03:54 +02:00
Milo Ivir
ad7ccf6d62 Translated using Weblate (Croatian)
Currently translated at 100.0% (366 of 366 strings)

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

Translated using Weblate (Croatian)

Currently translated at 89.8% (329 of 366 strings)

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

Translated using Weblate (Croatian)

Currently translated at 98.5% (333 of 338 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hr/
2022-07-25 18:03:54 +02:00
Tom De Moor
6c298d95d6 Translated using Weblate (Dutch)
Currently translated at 100.0% (369 of 369 strings)

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

Translated using Weblate (Dutch)

Currently translated at 100.0% (366 of 366 strings)

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

Translated using Weblate (Dutch)

Currently translated at 91.5% (335 of 366 strings)

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

Translated using Weblate (Dutch)

Currently translated at 100.0% (346 of 346 strings)

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

Translated using Weblate (Dutch)

Currently translated at 100.0% (345 of 345 strings)

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

Translated using Weblate (Dutch)

Currently translated at 99.4% (336 of 338 strings)

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

Translated using Weblate (Dutch)

Currently translated at 92.6% (313 of 338 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
2022-07-25 18:03:53 +02:00
kaakaa
9e57e5f1e4 Translated using Weblate (Japanese)
Currently translated at 100.0% (369 of 369 strings)

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

Translated using Weblate (Japanese)

Currently translated at 100.0% (345 of 345 strings)

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

Translated using Weblate (Japanese)

Currently translated at 100.0% (338 of 338 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
2022-07-25 18:03:53 +02:00
Varghese Jose
f76f4945b3 Translated using Weblate (Malayalam)
Currently translated at 89.5% (284 of 317 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/
2022-07-25 18:03:53 +02:00
master7
35eb8c0058 Translated using Weblate (Polish)
Currently translated at 100.0% (369 of 369 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (366 of 366 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (348 of 348 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (338 of 338 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (317 of 317 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pl/
2022-07-25 18:03:52 +02:00
Matthew Williams
49e7f0a27e Translated using Weblate (English (Australia))
Currently translated at 100.0% (369 of 369 strings)

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

Translated using Weblate (English (Australia))

Currently translated at 100.0% (366 of 366 strings)

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

Translated using Weblate (English (Australia))

Currently translated at 99.7% (345 of 346 strings)

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

Translated using Weblate (English (Australia))

Currently translated at 100.0% (345 of 345 strings)

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

Translated using Weblate (English (Australia))

Currently translated at 100.0% (338 of 338 strings)

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

Translated using Weblate (English (Australia))

Currently translated at 100.0% (317 of 317 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/en_AU/
2022-07-25 18:03:52 +02:00
Tóth Csaba // Online ERP Hungary Kft
0705538bca Translated using Weblate (Hungarian)
Currently translated at 100.0% (369 of 369 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (366 of 366 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (346 of 346 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (338 of 338 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (324 of 324 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (317 of 317 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hu/
2022-07-25 18:03:52 +02:00
jprusch
cc98e34ad0 Translated using Weblate (German)
Currently translated at 100.0% (371 of 371 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (346 of 346 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (345 of 345 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (338 of 338 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (324 of 324 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (317 of 317 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
2022-07-25 18:03:51 +02:00
MArtin Johnson
dae6686299 Translated using Weblate (Swedish)
Currently translated at 100.0% (345 of 345 strings)

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

Translated using Weblate (Swedish)

Currently translated at 100.0% (338 of 338 strings)

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

Translated using Weblate (Swedish)

Currently translated at 100.0% (317 of 317 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sv/
2022-07-25 18:03:51 +02:00
Kaya Zeren
b482871ab9 Translated using Weblate (Turkish)
Currently translated at 100.0% (346 of 346 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (345 of 345 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (338 of 338 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (324 of 324 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (324 of 324 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (317 of 317 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2022-07-25 18:03:51 +02:00
Hosted Weblate
fd6d5421c4 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/
2022-07-25 18:03:50 +02: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