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

16234 Коммитов

Автор SHA1 Сообщение Дата
Caleb Roseland
fa7057bfbf Merge pull request #22629 from mattermost/fix-boards-webapp-unit-tests 2023-03-31 10:16:00 -05:00
Doug Lauder
99467c6b68 MM-51792 Replace Boards feature flag with env var (#22739)
* remove Boards feature flag from server, makefile, and docker

* Update server/boards/server/boards_service_util.go

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>

---------

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2023-03-31 10:29:29 -04:00
Ashish Dhama
1377d26dbd [MM-51722] Migrate multiple enzyme tests to react testing library (#22674)
* Migrate multiple enzyme tests to react testing library

* assert components

* update snapshot

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-31 07:26:29 +08:00
Caleb Roseland
f35b829e47 keep moment mapping 2023-03-30 16:44:58 -05:00
Caleb Roseland
9cac0858f4 removed unneeded mappings 2023-03-30 16:25:16 -05:00
Konstantinos Pittas
3938717f60 make sure id exist (#22610) 2023-03-30 17:11:26 -04:00
Christopher Poile
11002c9863 MM-49080 - Fix for: channel links causing the webapp to refresh (#22704)
* remove accidental quotation mark

* add a test
2023-03-30 17:10:52 -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
Agniva De Sarker
e09d5690a7 Optimize JSON marshalling in playbooks (#22735)
While inspecting Pyroscope, the function api.ReturnJSON
was seen to take some chunk of the overall memory allocations.

Looking deeper, we can see that the entire object
is json marshalled into bytes, and then wrote to the network.

Instead, we can just do a streaming write to the network
which avoids pre-allocating the entire object.

A similar approach is taken in the server channels codebase
as well.

```release-note
NONE
```
2023-03-30 23:40:36 +05:30
Pablo Andrés Vélez Vidal
83f145d120 MM-49786 - add no thanks button to onboarding completed screen (#22717)
* MM-49786 - add nothanks btn

* fix css styles
2023-03-30 19:18:00 +02:00
Scott Bishel
81fdb976ba MM-51795 remove cloud banner (#22733)
* remove cloud banner and associations

* update language file

* revert changes to number.tsx

* revert changes to number.tsx

* remove unused import
2023-03-30 10:44:46 -06: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
Nathaniel Allred
b5951d3f32 zero state for billing history has self hosted link when on self hosted (#22715) 2023-03-30 08:00:35 -05:00
Ibrahim Serdar Acikgoz
5cc49cf881 Include workflow name in the context ref (#22728) 2023-03-30 14:01:55 +03:00
Aditya Jain
9139f4be78 MM-T4275 added e2e tests for board description (#22605)
* MM-T4275 added e2e tests for board description

* MM-T4275 fixed lint errors

* MM-T4275 added comments and fixed inconsistent tests

* MM-T4275 updated comment based on PR feedback

* MM-T4275 lint fixes

* MM-T4275 changes based on PR

---------

Co-authored-by: Aditya Jain <adityajain@Adityas-MacBook-Air-2.local>
2023-03-30 17:25:57 +08:00
Harshil Sharma
22b3d9e4cb Fixed MM-51060 (#22532)
* Fixed MM-51060

* Minor improvements

* Breaking bigger loops

* CI

* Removed an unintended line change

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-30 07:38:53 +05:30
Caleb Roseland
7e97721925 fix: react-select and types module isolation 2023-03-29 16:14:13 -05:00
Scott Bishel
9c07d4e3cd update dialog color for sidebar category (#22617) 2023-03-29 14:50:25 -06:00
Pablo Andrés Vélez Vidal
bbf78c4ff6 make autolinked board ff false as default (#22714) 2023-03-29 18:42:09 +02:00
Doug Lauder
40da76ddc8 MM-51705 Fixes Shared Channels issue due to SELECT('*') (#22660)
* remove all select('*') from shared channels store

* remove left join when fetching user
2023-03-29 11:17:51 -04:00
Allan Guwatudde
c70d85c9bc [MM-51330] - Sentry Crash: nil pointer dereference in getSelfHostedProducts (#22569)
* [MM-51330] - Sentry Crash: nil pointer dereference in getSelfHostedProducts

* feedback impl

* fix bool

* remove double check

* fix failing tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-29 18:11:45 +03:00
Caleb Roseland
6da94c769c Merge branch 'master' into fix-boards-webapp-unit-tests 2023-03-29 09:37:24 -05:00
Nathaniel Allred
c78d6d47ac MM-50952 RFQA can save notifications 2023-03-29 07:57:52 -05:00
Ibrahim Serdar Acikgoz
5267dfdcc6 Cancel in progress workflows but exclude master (#22684) 2023-03-29 15:56:12 +03:00
Eva Sarafianou
3f13d8fd41 Merge pull request #22713 from mattermost/codeql_monorepo
[SEC-3469] Update codeql config for monorepo
2023-03-29 14:45:24 +02:00
Harshil Sharma
5da458a16f Allowed searcginbg users by substring in admin console (#22505) 2023-03-29 17:11:55 +05:30
Pablo Andrés Vélez Vidal
5a76d20a1a MM-47849 - show worktemplate tourtip only once (#22703) 2023-03-29 13:39:55 +02:00
Pablo Andrés Vélez Vidal
b892fe0555 MM-49865 - add telemetry to account creation screen (#22702)
* MM-49865 - add telemetry to account creation screen

* fix snapshots
2023-03-29 13:39:27 +02:00
Eva Sarafianou
6bdadc246c Update codeql config for monorepo 2023-03-29 12:55:00 +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
Scott Bishel
932790f99a fix issue with card id being valid block but not card (#22697) 2023-03-28 14:49:12 -06:00
Harrison Healey
a25a3826ba MM-51729 Fix make dev after monorepo move (#22687) 2023-03-28 15:36:52 -04:00
Harrison Healey
fb2dac307b MM-51735 Remove references to mattermost-redux from Boards (#22694)
* MM-51735 Remove references to mattermost-redux from Boards

* Fix styling and remove debug comments

* Update Playbooks Jest config to point to mattermost-redux correctly
2023-03-28 15:36:04 -04:00
Harrison Healey
1cbfef65f1 MM-51683 Re-add CODEOWNERS for Web Platform files (#22627) 2023-03-28 15:34:06 -04:00
Pablo Andrés Vélez Vidal
bb939e28c9 MM-49869 - add channels button lhs sidebar (#22701) 2023-03-28 18:57:09 +02:00
mvitale1989
29cff3269c Merge pull request #22691 from mattermost/rename-e2e-dir
Move /e2e -> /e2e-tests
2023-03-28 18:35:40 +02:00
Agniva De Sarker
b7be613ed7 MM-51744: Ignore http.ErrServerClosed from Playbooks metricsServer (#22708)
https://mattermost.atlassian.net/browse/MM-51744

```release-note
NONE
```
2023-03-28 09:15:36 -07:00
Mario Vitale
ba6b97fb62 Move /e2e -> /e2e-tests 2023-03-28 18:10:00 +02:00
Julian Mondragón
da7a6825ce MM-50087_Add marketplace button to apps bar (#22653) 2023-03-28 10:54:30 -05:00
Pantelis Vratsalis
6c9ec24fb9 [MM-50002] catch and log exceptions from missed message listeners 2023-03-28 16:55:29 +03:00
Agniva De Sarker
2287dff298 MM-51700: Suppress websocket warnings with a threshold (#22637)
We log warnings whenever our websocket buffer sizes exceed
certain thresholds. The problem with that is, when this happens,
the logs are completely spammed with these lines
making it annoying for the customer.

To improve the situation, we use a timer that only gets reset
every minute.

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

```release-note
NONE
```
2023-03-28 09:04:09 +05:30
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
Christopher Speller
d0babfd254 Remove unhelpful test publish. (#22633) 2023-03-27 14:04:28 -07:00
Christopher Speller
ae6416e357 Remove configuration auto enable. (#22625)
* Remove configuration auto enable.

* i18n

* Fix diff tests.
2023-03-27 14:02:18 -07:00
Allan Guwatudde
0140e94d77 [MM-49751] - Turn off Inactive Server Email (#22648)
* [MM-49751] - Turn off Inactive Server Email

* remove unused var

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-27 22:38:19 +03:00
Julian Mondragón
50a9b9bdfa MM-50976_Fix error on non-cloud initial start (#22692) 2023-03-27 12:54:30 -05:00
Jesse Hallam
1cf0cff9c6 Boards: Use custom placeholder for telemetry. (#22623)
Adopt `placeholder_boards_rudder_key` as the replacement value for injecting the telemetry key, allowing Boards to preserve its unique telemetry key.

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-27 13:20:39 -03:00
Jesse Hallam
e755ae8635 Adopt placeholder_ semantics for telemetry key (#22621)
Update playbooks to use the `placeholder_*` semantics in use by channels in boards. While debugging this, I realized the telemetry service isn't available until after `Start()` is called, so move most of the Playbooks initialization logic there.
2023-03-27 13:19:58 -03:00
Jesse Hallam
80c1431983 Revert testing workarounds (#22630)
* Revert "fix store issue take two"

This reverts commit 59f943c2c7ff7d88f7b36cc29e242042746e959e.

* Revert "fix store override issue"

This reverts commit 29c346757aa627c07d357c54991f9188c927dd1a.

* Revert "Fix TestPushNotificationRace"

This reverts commit 6d62dddf8679e82b02e8ad9fe7513217eef5b4ee.

* Revert "fix default DSN for CI"

This reverts commit e0e69cdbb0645bb50434f6b5bbd12bead1e7ce1d.

* Revert "disable playbooks from more unit tests"

This reverts commit a1e97a9e96bdd16537f5b6dbdc8335762617a9e0.

* Revert "disable playbooks for more tests"

This reverts commit 4d2dc74f05339f0b3cd28b997a2e35ae20f898be.

* Revert "disable playbooks for TestSAMLSettings"

This reverts commit 35c1a4312d0c6a0a64991520fa5b0892c083e6a1.

* Revert "disable playbooks for more unit tests"

This reverts commit c049631a1474cddf168b2be8feb24140e0dcfd48.

* Revert "disable playbooks for mocked enterprise tests"

This reverts commit 829317fddbd0e84866534a5a75e52dcffd2dbde7.

* Partially revert "disable playbooks for channel/apps mocked tests"

This reverts commit 52b4a0a6cf135d26f53298294ed23734aafae0d2.

* Revert "fix TestUnitUpdateConfig"

This reverts commit 8f134f2a8ae9765aa2b6f66d6827e10ef1f5109f.

* Revert "add plugin mock to TestUnitUpdateConfig"

This reverts commit 3ec5419092135f494fd04701b5cbbd15920e667b.

* Revert "disable Boards for more test helpers"

This reverts commit 5d4d0d02d9cf6f872f0304098c68a01a3aab0fbe.

* Revert "disable boards at correct place in test helpers"

This reverts commit 0c9e175f79293c8be4289c7424930388f207dc75.

* Partially revert "disable boards for slash cmd tests"

This reverts commit fad8d9de93f5ce351d2e50fd6448662e75f597ae.

* Revert "disable Boards for channels web tests"

This reverts commit 15540fdfc09cf927071af718d4ad0b2c58308328.

* Revert "Adds a teardown function to playbook server tests to disable and reenable boards"

This reverts commit 9a46e3d0f43f66d548994986b8c4029d58ad022f.

* Revert "Test disable boards through feature flag"

This reverts commit 787044add8ba8e2680a2c3c6ba11e709cebc8705.

* TestUnitUpdateConfig: restore callback check

* Revert "Revert "fix default DSN for CI""

This reverts commit 01b879d55ad1249265f23c6fd9ceb5d7730ddb3d.
2023-03-27 13:19:29 -03:00