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

206 Коммитов

Автор 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
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
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
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
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
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
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
2119bc0901 MM-51974 : Unify "react-intl" related dependencies versions across products (#22894)
Picks out formatjs-eslint-plugin to webapp root. Updates react-intl to 6.3.2 in all products. Executed i18n-extract and checked if any translations got changed. Although it was a major version update, the only breaking change was for a vue peer dependency. Adds "*" to take whatever dependency rule to products and declare the react-intl as the root package. Fixes a few lint and type errors cropped in due to the update No-ID rule removed from playbooks in preparation for unifying practices across products. Lastly, a few missing translations in Playbooks added
2023-04-16 05:19:08 +05:30
Harrison Healey
1f6169fb3f Add README to webapp folder (#22831)
* Add README to webapp folder

* Remove old web app README

* Rewrite a sentence to remove jargon
2023-04-14 15:17:44 -04:00
M-ZubairAhmed
241376b315 MM-52165 : Remove 50% maxWorker on Channels test run (#22962)
* test

* remove boards maxWorkers

---------

Co-authored-by: Caleb Roseland <caleb@calebroseland.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-14 15:12:00 -04:00
Conor Macpherson
ecbdd91787 Update enterprise_edition_left_panel.tsx
Fix handle click `+Add Seats` button to ensure checks for expansion availability look at service settings OR expansion availability are
2023-04-14 15:01:54 -04:00
Conor Macpherson
183e3c6033 Update index.tsx
Fix success modal not closing.
2023-04-14 15:00:18 -04:00
Colton Shaw
3c5fad563e Workspace dashboard improvements (#22883)
Automatic Merge
2023-04-14 19:34:28 +03:00
Harrison Healey
c99bbd0b15 MM-51662 Add more information to help text for SVGs and Latex (#22956) 2023-04-14 08:46:38 -07:00
Guillermo Vayá
9a46083a95 Merge pull request #22893 from weblate/weblate-mattermost-mattermost-server-monorepo
Translations update from Mattermost Weblate
2023-04-14 14:30:07 +02:00
Agniva De Sarker
56bf1b695a MM-49984: Displaying active search backend in system console (#22721)
This will be shown in the system console to let users know
which search backend is active.

Implemented via adding an extra param in the ping response.

https://mattermost.atlassian.net/browse/MM-49984

```release-note
The database section in the system console now has an additional
read-only section which shows the active search backend in use.

This can be helpful to confirm which is the currently active
search engine when there are multiple of them configured.
```
---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-14 14:28:50 +05:30