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

16249 Коммитов

Автор SHA1 Сообщение Дата
Ben Cooke
af4c98cdf9 [MM-51724] (#22740)
* createUserAccessToken updates

* lint
2023-04-03 14:30:07 -04:00
Agniva De Sarker
dacac2e3ed MM-51768: Scrub username/password from SQL datasource (#22731)
https://mattermost.atlassian.net/browse/MM-51768
```release-note
NONE
```
2023-04-03 23:41:51 +05:30
Pablo Andrés Vélez Vidal
1762dfce22 MM-51804 - add channels lhs not working (#22743)
* MM-51804 - add channels lhs not working

* open browse channels directly when user has no channel creation permissions (#22770)
2023-04-03 19:29:24 +02:00
Nathaniel Allred
8f9cde83b0 MM-51763 Use STRIPE_PUBLIC_KEY from webpack (monorepo) (#22774)
* use webpack build time stripe public key
2023-04-03 12:12:27 -05: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
Doug Lauder
69657be9f2 Boards: Avoid panic in Boards file request handler when file not found. (#22792)
* Avoid panic in Boards file request handler when file not found.
2023-04-03 12:27:16 -04:00
Julien Tant
72cd7ac4e0 [MM-51098] Hide "copy invite link" when selecting guest - migrated from webapp (#22745) 2023-04-03 09:20:44 -07: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
Pablo Andrés Vélez Vidal
01cb20f5fd fix small typo in id (#22751)
* fix small typo in id

* fix snapshot
2023-04-03 13:51:57 +02:00
Kyriakos Z
4d2ed469bf MM-49564: Drafts upsert in the Store vs App layer (#22530)
* MM-49564: Upsert in the Store vs App layer

Refactor drafts so that Upserting a draft would happen in the DB and not
in the app layer.

* Fixes mocks

* Fixes tests

* Fixes translations

* Fixes tests

* Update tests

* Fixes tests

* Addresses review comments

- renames Save => Upsert
- removes Sleep from tests

* Fixes flaky test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-01 10:32:40 +03:00
Maria A Nunez
4a3c853636 Update Work Templates content and images (#22716)
* Enabled Work templates by default

* Remove board as product condition

* Removed playbook as a plugin condition

* Removed backend condition for playbook plugin/board product

* remove boards from templates

* Removed unnecessary translations after booards templates removal

* Removed template with no playbook or integration

* Updated entrypoint wording

* update texts

* update thumbnails

* update bigger pictures

* reorder i18n

* Copy updates. Add menu order

* Remove changed translations

* Updated casing for add menu

* Restored boards

* fix i18n

* Fix missing capital in text

* Added missing boards in template

* Updated feature release playbook image

* Updated channel preview for create a project

* Update title copy

* Updated create project thumbnail

* Generate updated work templates

* Updating snapshot

---------

Co-authored-by: Julien Tant <julien@craftyx.fr>
Co-authored-by: Julian Mondragon <bugshoo+github@gmail.com>
2023-03-31 16:12:56 -04:00
Julian Mondragón
9156205178 MM-51711_Feature flag: APPS sidebar category (#22766) 2023-03-31 15:08:52 -05:00
Maria A Nunez
3b8a0f224b Added developer flags to be cloud restrictable (#22546)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-31 16:01:08 -04:00
M-ZubairAhmed
241001f969 MM-50384 : Mark all other menus deprecated (#22609) 2023-04-01 00:01:11 +05:30
Kazuki Maeda
9570972571 [MM-46941] Fix: PDF preview doesn't render some Japanese characters (#22599)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-31 11:48:32 -04:00
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