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

18791 Коммитов

Автор SHA1 Сообщение Дата
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
Conor Macpherson
379f19701e Add success, error, loading modals, lint. 2023-03-31 16:21:36 -04: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
Conor Macpherson
57e8d47a1d Fix tests. 2023-03-31 15:53:25 -04:00
M-ZubairAhmed
241001f969 MM-50384 : Mark all other menus deprecated (#22609) 2023-04-01 00:01:11 +05:30
Conor Macpherson
d74ff61fc8 Merge branch 'MM-50966-in-product-expansion' of github.com:mattermost/mattermost-server into MM-50966-in-product-expansion 2023-03-31 13:39:44 -04:00
Conor Macpherson
6fe45fe890 lint. 2023-03-31 13:38:37 -04:00
Conor Macpherson
545d35e9cf Merge branch 'master' into MM-50966-in-product-expansion 2023-03-31 13:31:17 -04:00
Conor Macpherson
bc788ce9e3 fix tests. 2023-03-31 13:21:39 -04:00
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
Conor Macpherson
a11e5357e3 fix tests. 2023-03-31 10:14:35 -04:00
Conor Macpherson
2eda7f24c9 revert changes to one translation. 2023-03-31 10:14:01 -04:00
Conor Macpherson
87abaca763 fix tests. 2023-03-31 09:09:02 -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
Conor Macpherson
5ddec36ea5 i18n fix. 2023-03-30 17:04:25 -04:00
Conor Macpherson
d301c91ebd lint. 2023-03-30 17:02:00 -04:00
Conor Macpherson
0807d5e3f0 lint, i18n. 2023-03-30 16:51:05 -04:00
Conor Macpherson
25035a72c4 update a few more places with seemingly incorrect useage of 'users'. 2023-03-30 16:33:39 -04:00
Conor Macpherson
9791f74602 more user/seat wording changes. 2023-03-30 15:54:03 -04:00
Conor Macpherson
55255cf9f4 Change use of 'user'/'users'/'number of users'/etc when referring to license seats to use 'seat'/'seats'/'number of seats'/etc. 2023-03-30 15:11:23 -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
Conor Macpherson
62b46a630d lint. 2023-03-29 12:29:57 -04: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