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

2531 Коммитов

Автор SHA1 Сообщение Дата
Nathaniel Allred
54db770811 Mm 51788 non-admins do not trigger a request to fetch stripe customer in cloud instances (#22821)
* do not query for customer if not a cloud admin
2023-04-21 12:31:27 -05:00
Julian Mondragón
f58648d493 MM-52161_The Marketplace modal has some display issues (#23011) 2023-04-20 14:46:38 -05:00
Jesse Hallam
3ba419c841 preserve ClientError cause with es2022 (#22762)
Building the client package with `es2022`, exposing the optional `.cause` property on Errors effectively allowing us to wrap caught errors in the client package and re-throw with the context from the request, all while preserving a useful backtrace.

This change has potentially material impact to older plugins that attempt to rely on the newer package, but this should only occur at compile time since the webapp doesn't dynamically export this client package.

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-20 13:00:36 -03:00
Claudio Costa
b5b4749da5 [MM-51997] Fix potential errors when accessing calls store (#22960)
* Fix potential errors when accessing calls store

* Fix typecheck
2023-04-20 08:40:09 -06:00
Conor Macpherson
3795f5a470 Merge pull request #22658 from mattermost/MM-50966-in-product-expansion
MM-50365 - In Product Expansion Front-End
2023-04-20 10:35:41 -04:00
Allan Guwatudde
87555aa242 [MM-52158] - Don't show deprecation/move to annual banners to some clients (#22963)
* [MM-52158] - Don't show deprecation/move to annual banners to some clients

* create const

* feedback impl

* update test names

* update banner text

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-20 17:04:41 +03:00
Konstantinos Pittas
dd2b1db420 [MM-51076] Fix dropdown in modal for adding users in a group (#22642)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-20 14:05:54 +03:00
M-ZubairAhmed
09ac549d0b Revert "MM-50123 : Identify causes of removal of channel and channel members re fetching on team switch (#22984)" (#23038)
This reverts commit 5d5c1d90bf.
2023-04-20 08:31:09 +05:30
Julien Tant
feab1bf61b [MM-51805 + MM-51806 + MM-51041] Work template: multiple UI fixes (#22862) 2023-04-19 14:52:21 -07:00
Scott Bishel
96ad240a78 MM-51876 - use redirect if user already logged in (#22997)
* use redirect if user already logged in

* lint fixes

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-19 10:45:23 -06:00
Conor Macpherson
4a77773774 Remove import of background svg 2023-04-19 12:12:52 -04:00
Conor Macpherson
6d62acb13e remove exta background svg. 2023-04-19 12:03:17 -04:00
Conor Macpherson
c4efd2647c Merge branch 'master' into MM-50966-in-product-expansion 2023-04-19 11:40:50 -04:00
Pablo Andrés Vélez Vidal
b5c48e75b3 MM 50960 - Add company name and invite members pages to preparing-workspace for self-hosted (#22838)
* MM-50960 - store system organization name

* restore the preparing workspace plugins and invite screens

* add back the page lines for the design

* add lines back and organize styles

* set back documentation to monorepo style and disable board as a product

* fix organization link and style skip button

* create team on organization name screen continue button click

* make sure there are not already created team and if so just update team name

* update the team display name if team has already been created

* cover error scenarios during team creation

* add pr feedback and add a couple of unit tests

* fix translation server error; make sure only update display name if it has changed in the form

* temp advances

* rewrite unit tests using react-testing library; fix unit tests

* fix translations

* make sure the launching workspace finish in cloud installations

* remove redundant validation

* fix unit tests

* remove unintended config value left after merge conflict
2023-04-19 15:31:47 +02:00
M-ZubairAhmed
5d5c1d90bf MM-50123 : Identify causes of removal of channel and channel members re fetching on team switch (#22984) 2023-04-19 16:21:10 +05:30
M-ZubairAhmed
3f0ac142c4 MM-49603 : Remove fetching of deleted channels on page load (#22981)
- channel request types removed from fetchMyChannelsAndMembersREST
- removed isMinimumServerVersion check from that above action call, which is adding the query to include the archived channels
2023-04-19 16:20:17 +05:30
Martin Qvarnström
b46f5db8b2 MM-49214 : Filter out bot users shown in Apps modal form user pickers(#22631)
This issue involves updating the user picker functionality in the Mattermost web app's app framework. Currently, bot users are being displayed in the user picker for forms, which is not desired. The goal is to hide bot users from the user picker dropdown and only show real users. This can be achieved by filtering out any user that is a bot using the user.is_bot property. The necessary changes have been made in the apps_form_select_field.tsx file, specifically in the loadDynamicUserOptions function, which has been updated to filter out bot users using .filter((user) => !user.is_bot).
2023-04-19 11:55:57 +05:30
M-ZubairAhmed
7b9d43e308 MM-50122 : Remove and test refetching of channels on browser focus change (#22973) 2023-04-19 11:48:27 +05:30
Saturnino Abril
6ca5824ea1 E2E/Playwright: Update dependencies, screenshots, config and type (#23000)
* update dependencies

* update default server config and client type

* close browser context once test is done

* fix test when switching a product

* update screenshots and readme

* add cross-env and make headless mode as default

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-19 12:04:25 +08:00
Conor Macpherson
42f457fec2 lint. 2023-04-18 17:16:06 -04:00
Conor Macpherson
c9e081d0b1 Ensure submitting and success screen icon messages are at the same position, ensure no overflow at the bottom of the page, try to hide overflow peeking through on the right side of the page. 2023-04-18 17:03:20 -04:00
Conor Macpherson
7bdc5a4a39 Fix rhs expansion card resize in resized windows, fix credit card title section being overlapped with the credit card number input hint. 2023-04-18 16:27:37 -04:00
José Peso
9b81c08622 safer base64 generated values in settings (#22990)
Generated values for settings are a random base64 string with a length of 32. Unfortunately, base64 has some accepted characters like `+` and `/` that don't behave correctly if we use them in a URL without the proper additional encoding.

Use instead this safe version of base64 https://datatracker.ietf.org/doc/html/rfc4648#section-5, where:
- `/` becomes `_`
- `+` becomes `-`

Fixes https://mattermost.atlassian.net/browse/MM-51923
2023-04-18 18:22:16 +02:00
Conor Macpherson
3a76a324f6 Merge branch 'master' into MM-50966-in-product-expansion 2023-04-18 12:05:00 -04:00
Conor Macpherson
2f8e9f16e3 update and fix tests. 2023-04-18 12:04:23 -04:00
Guillermo Vayá
54770a34c4 Merge pull request #22979 from mattermost/weblate-20220417
Weblate 20220417
2023-04-18 12:07:24 +02:00
Konstantinos Pittas
0c375e1ebd [MM-48670] Fix persistence of placeholder text (#22820)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-18 10:56:41 +03:00
Conor Macpherson
dd314373be i18n. 2023-04-17 16:26:43 -04:00
Conor Macpherson
f613c655e7 remove self hosted expansion flag in favor of grouping hosted expansion with hosted purhcase and it's flag. 2023-04-17 16:11:43 -04:00
Conor Macpherson
2cd40d6560 Merge branch 'master' into MM-50966-in-product-expansion 2023-04-17 15:44:02 -04:00
Conor Macpherson
7bfebcc80a Change confirm expand client request to hit a separate endpoint from self hosted purchases confirm. 2023-04-17 15:38:52 -04:00
Conor Macpherson
093a17db70 lint. 2023-04-17 15:37:09 -04:00
M-ZubairAhmed
adff327b9c MM-51977 : Remove inconsistencies of the duplicate IDs with different defaultMessages (#22965)
* eslint format lib to root

* eslint fixes

* no id rule removed

* same rectintl

* try 1

* eslint format lib to root

* eslint fixes

* no id rule removed

* same rectintl

* react intl in root

* type fix

* add back version to components

* missing translations added

* remove type casting

* a

* type fix formatjs

* snaps updated

* Update package-lock.json

* Update package-lock.json

* rem

* snapshot updates

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-17 15:34:45 -04:00
Conor Macpherson
e32866795d Merge branch 'master' into MM-50966-in-product-expansion 2023-04-17 15:25:05 -04:00
Harrison Healey
3f022e728f MM-49393 Begin splitting up utils.tsx (#22983)
* Add selectors/urls to Channels

* Create utils/notification_sounds in Channels

* Move Utils.isLinux to UserAgent.isLinux

* Remove Utils.isMac in favour of UserAgent.isMac

* Move cmdOrCtrlPressed and isKeyPressed into new utils/keyboard

* Remove eslint-disable for max-lines in utils.tsx
2023-04-17 15:10:15 -04:00
Conor Macpherson
fa01ced588 require a minimum number of seats to be purchased to continue. 2023-04-17 15:00:38 -04:00
Conor Macpherson
5b42689529 Address code review comments (styling, clean-up css, re-org imports, math errors, etc). 2023-04-17 15:00:38 -04:00
kaakaa
b42f5418de Translated using Weblate (Japanese)
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/ja/
2023-04-17 13:04:55 +02:00
dsa-t
5826ef26be Translated using Weblate (Russian)
Currently translated at 98.7% (5724 of 5795 strings)

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

Translated using Weblate (Russian)

Currently translated at 98.8% (5726 of 5794 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/ru/
2023-04-17 13:04:55 +02:00
Kwangoh Moon
420a0380a4 Translated using Weblate (Korean)
Currently translated at 62.3% (3614 of 5794 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/ko/
2023-04-17 13:04:55 +02:00
Konstantin
35f10ea277 Translated using Weblate (Russian)
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/ru/

Translated using Weblate (Russian)

Currently translated at 99.0% (5726 of 5783 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/ru/
2023-04-17 13:04:55 +02:00
Yananeer
2b7cfe3f2a Translated using Weblate (Chinese (Simplified))
Currently translated at 98.2% (446 of 454 strings)

Translation: mattermost-languages-shipped/mattermost-boards-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-boards-webapp-monorepo/zh_Hans/
2023-04-17 13:04:55 +02:00
master7
cc5057594a Translated using Weblate (Polish)
Currently translated at 100.0% (5804 of 5804 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (5783 of 5783 strings)

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

Translated using Weblate (Polish)

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/pl/
2023-04-17 13:04:55 +02:00
Pierre JENICOT
4d324c656d Translated using Weblate (French)
Currently translated at 98.8% (449 of 454 strings)

Translation: mattermost-languages-shipped/mattermost-boards-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-boards-webapp-monorepo/fr/
2023-04-17 13:04:55 +02:00
Felipe Nogueira
aa9e485872 Translated using Weblate (Portuguese)
Currently translated at 21.1% (96 of 454 strings)

Translation: mattermost-languages-shipped/mattermost-boards-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-boards-webapp-monorepo/pt/
2023-04-17 13:04:55 +02:00
Caleb Roseland
2c870845af 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-17 13:04:55 +02:00
Tom De Moor
2f7c9b9e69 Translated using Weblate (Dutch)
Currently translated at 100.0% (5783 of 5783 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 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/nl/

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-17 13:04:45 +02:00
jprusch
29f08a9baa Translated using Weblate (German)
Currently translated at 100.0% (5804 of 5804 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (5794 of 5794 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (5788 of 5788 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (5783 of 5783 strings)

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

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-17 13:04:42 +02:00
Kaya Zeren
4b80de9aaf Translated using Weblate (Turkish)
Currently translated at 100.0% (5795 of 5795 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% (5794 of 5794 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% (5791 of 5791 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% (5788 of 5788 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% (5777 of 5777 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% (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-17 13:03:12 +02:00
M-ZubairAhmed
496b1e4e1c Skip flaky "sidebar template close other" Boards test temporarily (#22977) 2023-04-17 15:41:45 +05:30