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

37 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
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
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
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
e32866795d Merge branch 'master' into MM-50966-in-product-expansion 2023-04-17 15:25:05 -04: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
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
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
Colton Shaw
84b0e3dff1 Added missing types (#22880) 2023-04-06 16:43:21 -04:00
Conor Macpherson
e127f68149 Merge branch 'master' into MM-50966-in-product-expansion 2023-04-04 09:22:58 -04:00
Allan Guwatudde
ed36e8bd64 [MM-51236] - Add opt-in checkbox in self-hosted account creation page (#22709)
* [MM-51236] - Add opt-in checkbox in self-hosted account creation page

* add server impl

* fix lint and translations

* add tests

* improvents

* fix model

* fix mocks

* feedback impl

* update text color

* handle error

* fix tests
2023-04-04 13:57:32 +03:00
Julian Mondragón
22bc41effa MM-50252_Refresh UI of the marketplace to improve first impressions (#22698) 2023-04-03 12:10:39 -05:00
Pablo Andrés Vélez Vidal
c3b32de46e MM-48412 - backdrop issue when rhs expanded; ramdom fixes to channels tour (#22700)
* MM-48412 - backdrop issue when rhs expanded; ramdom fixes to channels tour

* remove no longer needed backdrop removal
2023-04-03 15:32:05 +02:00
Julian Mondragón
9156205178 MM-51711_Feature flag: APPS sidebar category (#22766) 2023-03-31 15:08:52 -05:00
Conor Macpherson
545d35e9cf Merge branch 'master' into MM-50966-in-product-expansion 2023-03-31 13:31:17 -04:00
Nick Misasi
957f999266 [MM-51233] Updates for Trial Requests (#22620)
* Add new trial form to enrich trial requests with more customer info

* Update snapshots

* One more addition

* Fixes from PR feedback

* Fix types, i18n, update e2e tests

* Fix linter

* Fix i18n?

* Fix blank translation

* update snapshot

* Update snapshot properly

* Remove inapplicable test

* Fix business email validation only happening once

* UX Feedback

* Fix linter

* Fix linter again, not working locally

* FIX LINTER

* Move isvalid check until after some fields are set

* Fix for overlapping modals

* Fix linter

* UX feedback

* UX Feedback

* Fix typo in error modal

* [MM-51551] Add new Trial Form to Playbooks trial requests (#22650)

* Playbooks start trial entrypoints opens new trial form modal

* Fix style

---------

Co-authored-by: Mattermost Build <build@mattermost.com>

* [MM-51347] Trial form error modal for embargoed and air gapped entities (#22656)

* Playbooks start trial entrypoints opens new trial form modal

* Add support for air gapped environments when making trial requests

* Add specific handling for embargoed entities

* undo some code

* Fix linter

* Fix types

* Fix style

* Updates because TE has to upgrade to E0 before it can activate a trial

---------

Co-authored-by: Mattermost Build <build@mattermost.com>

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-30 14:57:07 -04:00
Jesse Hallam
64051134b8 Remove Webapp Build Hash (#22706)
* Remove Webapp Build Hash

A discrete webapp build hash is no longer needed with the mono-repo.

* i18n-extract
2023-03-30 11:02:26 -03:00
Matt
8cc7d7ba4a Migrate changes to monorepo (#22634)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-30 15:20:17 +02:00
Pablo Andrés Vélez Vidal
5a76d20a1a MM-47849 - show worktemplate tourtip only once (#22703) 2023-03-29 13:39:55 +02:00
Ashish Dhama
529ab959e2 exclude file count on channel stats api call on from channel header (#22624) 2023-03-29 10:48:32 +05:30
Conor Macpherson
c4f6f21ca0 lint. 2023-03-28 14:17:39 -04:00
Conor Macpherson
1941349ba9 update expansion request. 2023-03-28 14:17:39 -04:00
Conor Macpherson
d5a891702c add license_id param. 2023-03-28 14:17:39 -04:00
Conor Macpherson
6afe8ce9b3 Migrate to mono-repo 2023-03-28 14:17:36 -04:00
Pantelis Vratsalis
6c9ec24fb9 [MM-50002] catch and log exceptions from missed message listeners 2023-03-28 16:55:29 +03:00
Ashish Dhama
dc4e7bf2ec [MM-51680] : Revert New Browse Channels UI modal changes (https://github.com/mattermost/mattermost-webapp/pull/11262) (#22613)
* Revert https://github.com/mattermost/mattermost-webapp/pull/11262

* fix missing translation

* fix indentation issue

* fix imports in Update accessibility_modals_dialogs_spec.js

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-27 21:47:42 -03:00
Nathaniel Allred
9105077ee1 Mm 50735 (#22626)
* add shipping address to self hosted signup model
* purchase modals allow scroll
* fix z-index issues with payment modal dropdowns
2023-03-24 14:46:22 -05:00
Harrison Healey
9b5afb1b5f Run tests for all web app packages in CI (#22579)
* Run tests for all web app packages in CI

* Test specific packages instead of all of them

* Revert back to using test-ci scripts and rely on Jest to count the number of CPU cores

* Revert more changes made to the web app CI tests

* Fix path to client package tests
2023-03-23 14:23:56 -04:00
Harrison Healey
1edbde8aa3 Run type check for all web app packages in CI (#22578)
* Fix incorrect usage of types pacakge

* Make platform packages properly expose their type definitions

* Have Boards, Channels, and Playbooks get types from platform packages properly

* Run type check for all web app packages in CI

* Fix incorrect job name
2023-03-23 10:10:52 -04:00
Harrison Healey
f294ef9843 Run linters for all web app packages as part of Web App CI linting (#22576) 2023-03-23 10:10:28 -04:00
Doug Lauder
c943ed6859 Mono repo -> Master (#22553)
Combines the following repositories into one:

https://github.com/mattermost/mattermost-server
https://github.com/mattermost/mattermost-webapp
https://github.com/mattermost/focalboard
https://github.com/mattermost/mattermost-plugin-playbooks
2023-03-22 17:22:27 -04:00