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

2473 Коммитов

Автор SHA1 Сообщение Дата
Julien Tant
7c60637cab [MM-51805 + MM-51806 + MM-51041] Work template: multiple UI fixes (#22862) 2023-04-20 13:46:01 +05:30
Scott Bishel
42c95776cd 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-20 13:46:01 +05:30
Caleb Roseland
25b9c0e3f0 Revert "test ci extract lint"
This reverts commit 4779700a06.
2023-04-20 13:46:01 +05:30
Caleb Roseland
a24fd99149 test ci extract lint 2023-04-20 13:46:01 +05:30
Pablo Andrés Vélez Vidal
b073ab2e3a 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-20 13:46:01 +05:30
M-ZubairAhmed
bab2620b59 MM-50123 : Identify causes of removal of channel and channel members re fetching on team switch (#22984) 2023-04-20 13:46:00 +05:30
M-ZubairAhmed
1bbfdefad7 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-20 13:46:00 +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
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
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
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
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
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
M-ZubairAhmed
5c8880321f MM-51975 : Standardise Formatjs config for Playbooks & Boards (#22948)
Added Formatjs's built-in formatter called "simple". With this change, the intermediate Formatjs compile step is removed. Additionally, the npm command for Playbooks was standardised by replacing "extract" with "i18n-extract" to ensure consistency across all products.
2023-04-16 13:23:36 +05:30
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
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
M-ZubairAhmed
f34a06493d MM-52144 : Remove stub package "@types/react-day-picker" (#22945)
This package was added during the resolution of issues with Boards CI tests. This pull request isolates and tests the package's impact after recent npm changes. It was found that removing the stub package did not result in any issues.
2023-04-14 15:02:42 +05:30
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
GitStart
4bf31bd227 MM-50746 : Edits to messages persist after cancelling (#22676) 2023-04-14 14:27:22 +05:30
Allan Guwatudde
5d122e5d7a [MM-51413] - Update Cloud pricing modal to remove mentions of Cloud Free (#22639)
* [MM-51413] - Update Cloud pricing modal to remove mentions of Cloud Free

* cleanup starter from pricing modal

* rm unused import

* enterprise button states

* fix purchase modal

* revert

* revert e2e

* revert

* revert

* revert

* revert

* revert

* revert

* add feature flag

* default FF to false

* revert

* fix feature flag self hosted checks

* add links

* feedback impl

* feedback impl

* fix lint

* feedback impl

* fix translation

* feedback impl

* feedback impl

* fix height

* improve alignment

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-14 00:15:38 +03:00
Harrison Healey
21b72c7607 MM-50577 Replaced makeCreateAriaLabelForPost with better memoized usePostAriaLabel (#22833) 2023-04-13 16:24:20 -04:00
Harrison Healey
024a5472ff MM-51451 Replace all characters in generated values instead of just the first one (#22869) 2023-04-13 16:23:32 -04:00
Nick Misasi
55063b026b [MM-51922] Enforce minimum 10 seats in seats selector (#22916)
* Enforce minimum 10 seats in seats selector

* Ensure initial value is validated as well

* Fix linter

* fix tests

* Add a test for 10 seat minimum

* Fix linter, merge master
2023-04-13 15:27:44 -04:00
Allan Guwatudde
a7ce08da95 [MM-51236] - Update newsletter opt-in copy (#22849)
* [MM-51236] - Update newsletter opt-in copy

* feedback impl

* fix tests

* fix text color

* fix color

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-13 21:55:00 +03:00
Allan Guwatudde
ea44b6bd38 [MM-51475] - Monthly Subscriptions: Notifications to move to annual (#22842)
* [MM-51475] - Monthly Subscriptions: Notifications to move to annual

* change wording

* change banners impl

* fix translation

* rm env var

* fix tests

* rm unused consts

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-13 18:37:37 +03:00
Conor Macpherson
48cd0f884e Merge pull request #22830 from mattermost/MM-51692-delete-reason-feedback-is-sending-notifications-with-translated-text
Ensure feedback options are not submitting in their translated forms.
2023-04-13 11:19:41 -04:00
Ashish Dhama
24774f51da [MM-52121]: Migrate About build modal unit test to testing library (#22927)
* Migrate About build modal unit test to testing library

* add user-event library

* add user event

* remove snapshot
2023-04-13 13:58:41 +05:30
M-ZubairAhmed
53ed2ce461 MM-52093 : Revert back the 'global-style' npmrc config (#22901)
"global-styles" was added to hoist fewer dependencies from packages to the root node_modules and was initially intended to fix some issues with mismatched dependency versions in the Boards unit tests. However, it was found to be causing problems when the same version of dependencies was used across the products.
2023-04-13 08:31:35 +05:30
Colton Shaw
abb34c4879 [Webapp] added hour diff to profile (#22669)
Automatic Merge
2023-04-13 04:34:28 +03:00
Nick Misasi
3089b8b06d [MM-51479] Cloud Reverse Trial Banner Updates (#22852)
* License public key to test env for mono-repo

* Fix error modal showing on a successful trial request

* Adjustments for new banners

* stashing

* Undo accidental merge

* fixes

* clean up dev stuff, fix style

* Adjust padding on announcement bar button

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-12 15:41:53 -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