Граф коммитов

16573 Коммитов

Автор SHA1 Сообщение Дата
Conor Macpherson
34eece7462 revert changes to overage users banner in favor of getting self hoste expansion modal pushed through faster. 2023-04-12 13:44:56 -04:00
Ashish Dhama
c3e69e97e4 [MM-51445] Replace compass-components icon component with compass icons (#22527)
* Replace compass-components icon component with compass-icons
2023-04-12 21:39:49 +05:30
Allan Guwatudde
155e896dcf [MM-51412] - In-product banner to communicate Cloud Free deprecation (#22622)
* [MM-51412] - In-product banner to communicate Cloud Free deprecation

* fix lint

* make improvements

* make improvements

* put banners behind feature flag

* cloud free overage case

* add unit tests

* feedback impl

* fix test

* rename and enable feature flag by default

* fix alert banner mode

* read end date from env var

* disable ff by default

* enter cloud free deprecation date

* remove env var

* fix text

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-12 18:08:37 +03:00
Conor Macpherson
d5d1b03176 fix type checks (missed two). 2023-04-12 10:44:12 -04:00
Conor Macpherson
02947aa009 fix type checks. 2023-04-12 10:43:36 -04:00
Mattermost Build
56d76dbe28 Merge branch 'master' into MM-51692-delete-reason-feedback-is-sending-notifications-with-translated-text 2023-04-12 17:33:47 +03:00
Conor Macpherson
77e1fbfbc8 Change error upon failure of true up review submission to CWS. 2023-04-12 10:12:33 -04:00
Conor Macpherson
382894b41c revert change to show true up review when telemetry is enabled, always send true up data to CWS for telemetry capture. 2023-04-12 09:56:46 -04:00
Claudio Costa
b00ca20abe [MM-50827] Detect content-type if missing in response during link metadata generation (#22885)
* Detect content-type if missing in response during link metadata generation

* Initialize buffer only when necessary
2023-04-12 07:53:03 -06:00
Agniva De Sarker
62d758f485 Do not shutdown DB handle from boards product (#22924)
* Do not shutdown DB handle from boards product

```
warn  [2023-04-12 09:16:55.397 +05:30] Failed to save status                         caller="platform/status.go:175" user_id=gt5aricnu7g7xkr4jstfybgmbc error="failed to upsert Status: sql: database is closed"
```

The DB handle is a global object that is finally closed
at a higher layer after all the necessary tasks are finished.
So closing it prematurely, in the boards shutdown phase
is not necessary and can cause failures as observed above.

To fix this, we just remove the shutdown method.

```release-note
NONE
```

* fix tests

```release-note
NONE
```
2023-04-12 15:40:03 +02:00
Conor Macpherson
4ff63f60b0 fix tests for expansion modal, lint. 2023-04-12 09:38:43 -04:00
Ashish Dhama
0190d7dca8 [MM-51878]: Migrate billing history unit test to testing library (#22900)
* migrate billing history unit test to testing library
2023-04-12 12:50:36 +05:30
Ben Schumacher
4cc370098e [MM-26398] Remove deprecated model.CommandArgs.Session (#22815) 2023-04-12 01:10:59 +02:00
Renato Alves
a0530da22b event-id -> event_id for consistency (#22775)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-11 15:51:28 -07:00
Pablo Andrés Vélez Vidal
2917d5fba7 MM-51970 - double vertical scroll on lhs (#22867) 2023-04-12 00:03:27 +02:00
Jesse Hallam
7943221c5a Deprecate Toolkit CODEOWNERS (#22907)
* Deprecate Toolkit CODEOWNERS

* change code owner to `@mattermost/integrations`

* remove code owner

---------

Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com>
2023-04-11 18:10:27 -03:00
Conor Macpherson
33d3c90654 Add mocks/layers. 2023-04-11 14:15:56 -04:00
Conor Macpherson
dd2e325c24 Ensure admins can send true up telemetry, even if telemetry is disabled. 2023-04-11 12:52:54 -04:00
Agniva De Sarker
bf952e690b MM-52088: Skip Flaky test (#22910)
https://mattermost.atlassian.net/browse/MM-52088

```release-note
NONE
```
2023-04-11 21:40:42 +05:30
Christopher Poile
cefb6f0419 MM-51461 - Prepackage calls v0.15.0 (#22913) 2023-04-11 11:55:17 -04:00
Nick Misasi
646e0fcd41 [MM-51990] Add 3 more options for company size dropdown (#22870)
* Add 3 more options for company size dropdown

* translate

* Fix linter
2023-04-11 08:15:03 -04:00
Saturnino Abril
5b5ee1160e expect boards product by default in e2e (#22911) 2023-04-11 18:59:10 +08:00
M-ZubairAhmed
50aabf6b93 MM-52008 : Standardise package.json's version across all products in webapp (#22876)
The version in package.json was added to display the workspace name in the terminal for playbooks. Additionally, it was ensured that all products now have the same version number, as the release of all products is tied to a single release channel.
2023-04-11 13:30:29 +05:30
M-ZubairAhmed
f149bb1f66 MM-52003 : Remove unused and deprecated "mini-create-react-context" package (#22881)
"mini-create-react-context" is no longer used, and it is also a deprecated package, which was added in boards long back.
2023-04-11 13:21:21 +05:30
Conor Macpherson
9710fdba8e fix some tests. 2023-04-10 17:16:10 -04:00
Caleb Roseland
4e4e4939e1 Translated using Weblate (Georgian)
Currently translated at 25.7% (117 of 454 strings)

Translation: mattermost-languages-shipped/mattermost-boards-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-boards-webapp-monorepo/ka/

Translated using Weblate (Persian)

Currently translated at 26.8% (122 of 454 strings)

Translation: mattermost-languages-shipped/mattermost-boards-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-boards-webapp-monorepo/fa/

Translated using Weblate (Turkish)

Currently translated at 100.0% (454 of 454 strings)

Translation: mattermost-languages-shipped/mattermost-boards-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-boards-webapp-monorepo/tr/
2023-04-10 22:34:57 +02:00
Andrius Balsevičius
627f952b08 Translated using Weblate (Lithuanian)
Currently translated at 100.0% (454 of 454 strings)

Translation: mattermost-languages-shipped/mattermost-boards-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-boards-webapp-monorepo/lt/
2023-04-10 22:34:56 +02:00
Tom De Moor
162e5295ea Translated using Weblate (Dutch)
Currently translated at 100.0% (605 of 605 strings)

Translation: mattermost-languages-shipped/mattermost-playbooks-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-playbooks-webapp-monorepo/nl/

Translated using Weblate (Dutch)

Currently translated at 100.0% (5777 of 5777 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/nl/
2023-04-10 22:34:56 +02:00
jprusch
e64887c21a Translated using Weblate (German)
Currently translated at 100.0% (5777 of 5777 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/de/
2023-04-10 22:34:55 +02:00
Sajjad Jazini
5e3dab3730 Translated using Weblate (Persian)
Currently translated at 26.8% (122 of 454 strings)

Translation: mattermost-languages-shipped/mattermost-boards-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-boards-webapp-monorepo/fa/
2023-04-10 22:34:55 +02:00
Kaya Zeren
6a1243373a Translated using Weblate (Turkish)
Currently translated at 100.0% (5773 of 5773 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/tr/

Translated using Weblate (Turkish)

Currently translated at 97.4% (5623 of 5773 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/tr/

Translated using Weblate (Turkish)

Currently translated at 100.0% (2534 of 2534 strings)

Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/tr/

Translated using Weblate (Turkish)

Currently translated at 100.0% (454 of 454 strings)

Translation: mattermost-languages-shipped/mattermost-boards-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-boards-webapp-monorepo/tr/
2023-04-10 22:34:54 +02:00
Matthew Williams
cb8cf58dc6 Translated using Weblate (English (Australia))
Currently translated at 99.9% (5771 of 5773 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/en_AU/

Translated using Weblate (English (Australia))

Currently translated at 99.9% (2533 of 2534 strings)

Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/en_AU/
2023-04-10 22:34:54 +02:00
Hosted Weblate
75fb1dcc37 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/
2023-04-10 22:34:53 +02:00
exbu
dd12d5ebd4 Translated using Weblate (Dutch)
Currently translated at 98.8% (5707 of 5773 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/nl/

Translated using Weblate (Dutch)

Currently translated at 97.1% (2462 of 2534 strings)

Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/nl/
2023-04-10 22:34:53 +02:00
Caleb Roseland
f46ee233f0 Translated using Weblate (Malayalam)
Currently translated at 11.9% (72 of 605 strings)

Translation: mattermost-languages-shipped/mattermost-playbooks-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-playbooks-webapp-monorepo/ml/

Translated using Weblate (Georgian)

Currently translated at 25.7% (117 of 454 strings)

Translation: mattermost-languages-shipped/mattermost-boards-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-boards-webapp-monorepo/ka/
2023-04-10 22:34:52 +02:00
Conor Macpherson
214bd6dd07 lint. 2023-04-10 16:17:36 -04:00
Conor Macpherson
d8544a1db7 lint. 2023-04-10 16:03:35 -04:00
Conor Macpherson
cd82eede4d Merge branch 'master' of github.com:mattermost/mattermost-server into MM-50966-in-product-expansion 2023-04-10 15:44:47 -04:00
Julien Tant
6e7759b314 [MM-51844 & MM-51843] Work template permissions check (#22825) 2023-04-10 09:51:20 -07:00
Akis Maziotis
fbe7323079 [fix] CI Correctly identify artifact downloads
We are defining the workflow directive to for `Artifacts generation and upload`/cd/Download artifacts step.
To be the workflow_id from the calling workflow

Signed-off-by: Akis Maziotis <akis.maziotis@mattermost.com>
2023-04-10 19:27:47 +03:00
Guilherme Gomes
2cd7313179 Fixed stop error on webapp makefile (#22662)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-10 11:44:00 -04:00
M-ZubairAhmed
dd67376097 engines (#22875) 2023-04-10 10:14:35 -04:00
Akis Maziotis
24bf163171 [feat] Uploading mm-te-test artifacts to mattermost docker registry
Required by Cloud Platform team for smooth migration of Spinwick service to the new DockerHub registry.
Context: https://community.mattermost.com/private-core/pl/3jzzxzfiji8hx833ewyuthzkjh
2023-04-10 16:50:17 +03:00
Akis Maziotis
d0bee0162c [feat] CI. Run artifact uploads in workflow secure context
We are seperating artifacts generation/upload process, into a seperate workflow.
This runs in pricileged mode, using `workflow_run` trigger.
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run
Note: This event will only trigger a workflow run if the workflow file is on the default branch.(master)

Docker artifacts, are now exposed under the newly porivisioned DockerHub Org account: "mattermostdevelopment"
https://hub.docker.com/repository/docker/mattermostdevelopment/mm-te-test/tags?page=1&ordering=last_updated

Signed-off-by: Akis Maziotis <akis.maziotis@mattermost.com>
2023-04-10 16:50:17 +03:00
Akis Maziotis
2dc535381a [chore] CI Name change for mattermost build workflow 2023-04-10 16:50:17 +03:00
Agniva De Sarker
bcf115e315 Upgrade mockery to fix errors (#22892)
Mockery started to throw errors like "Unexpected package creation during export data loading".

This was consistently reproducible locally and on upgrade, it has gone away.

```release-note
NONE
```
2023-04-10 14:20:57 +05:30
M-ZubairAhmed
6be0ed0d19 MM-52004 : Remove stub types packages for moment-timezone, highlight-js, classnames (#22879) 2023-04-08 06:14:31 +05:30
M-ZubairAhmed
b7175560da MM-51831 : Add ESLint rule to "channels/components" to error out if "compass-components" package is used (#22754) 2023-04-08 06:13:06 +05:30
Caleb Roseland
2ad37a731d Merge pull request #22878 from mattermost/boards-playbooks-i18n-sync 2023-04-07 10:43:31 -05:00
Caleb Roseland
9cbd21a394 fix ContentBlock.editCardText warn 2023-04-07 09:38:53 -05:00