Commit Graph

17023 Commits

Author SHA1 Message Date
Saturnino Abril
44a95d9f69
chore: add @plugins_uninstall metadata to sort it last during test (#23926) 2023-07-05 18:17:55 -04:00
Scott Bishel
739fc8edf1
links now add utm_ data added cannot do exact match (#23885)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-05 15:09:22 -06:00
Harrison Healey
f7e87bfe29
MM-53377 Revert "[MM-52547] Include current user profile in every redux action (#23219)" (#23912)
* Revert "[MM-52547] Include current user profile in every redux action (#23219)"

This reverts commit a85c0b87b8.

* Revert "[MM-52546] webapp/channels : Update current user and status on WebSocket reconnect (#23071)"

This reverts commit 6d3354266a.
2023-07-05 16:43:51 -04:00
Hideaki Matsunami
3f7efe2df8
types: Add 'id' to AppExpandLevel (#23813)
Added properties that were omitted from the implementation.
ref: https://github.com/mattermost/mattermost/issues/23512

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-05 16:43:04 -04:00
Maria A Nunez
5779bd49d5
Remove Global Drafts Feature Flag (#23767)
* Remove global draft feature flag

* More removal - in progress

* Removed the rest in webapp

* Removed the rest in webapp

* Fix tests

* Update feature_flags.go

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-05 12:18:30 -04:00
Ben Cooke
bf0e0ed45a
[MM-53466] Remove concurrency from data retention delete batching (#23927)
* Add TimeBetweenBatches config value for data retention

* adding feature flag for data retention concurrency
---------

Co-authored-by: Julien Tant <julien@craftyx.fr>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-05 11:09:03 -04:00
Agniva De Sarker
15eac83923
MM-52646: Fix data race on product notices (#23910)
The UpdateProductNotices method runs in a separate goroutine
which modifies a global structure called noticesCache.
This creates race condition when one test finishes
but the goroutine hasn't finished running.

To fix this, we simply prevent the spawning of the goroutine
by disabling the feature in the config.

Ideally, we'd not have global state in the first place.
But that's a separate matter.

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

```release-note
NONE
```
2023-07-05 20:36:14 +05:30
Harshal sanghvi
fcb322b8f2
MM-52827, MM-52840 : Migrate "components/admin_console/session_length_settings.jsx" & "components/admin_console/cluster_table_container.jsx" to Typescript (#23509) 2023-07-05 19:50:41 +05:30
Hamza
2bb6830242
MM-52082 : Emoji Picker doesn't appear when clicking on Add Reaction from post menu in mobile view (#23174) 2023-07-05 19:45:12 +05:30
M-ZubairAhmed
b153a39d3e
[MM-53127] e2e-tests : Drafts badge doesn't clear when parent message deleted and removed (#23705) 2023-07-05 17:13:55 +05:30
Agniva De Sarker
33565dc118
MM-52168: Bump dependencies (#23917)
https://mattermost.atlassian.net/browse/MM-52168

```release-note
NONE
```
2023-07-05 09:08:36 +05:30
Sai Deepesh
70d0a0fe70
[MM-47090]: Migrate "components/integrations/abstract_command.jsx" to Typescript (#23325) 2023-07-02 12:25:10 +05:30
Jesse Hallam
8abc8ed65c
MM-53358: Revert Threads Everywhere (#23882)
Remove changes related to the unshipped threads everywhere feature, including commits b8da473da7 and 9f9e19e05d.

Since a version of Playbooks shipped calling this experimental API, keep a `nil` implementation to avoid breaking compatibility. We remove the hooks altogether, but keep the numbering again to avoid breaking compatbility.

Fixes: https://mattermost.atlassian.net/browse/MM-53358
2023-06-30 15:31:25 -03:00
Jesse Hallam
c506e01a97
server: automatically retry CI testing failures (#23820)
* server: --rerun-fails=3 for test-server(-race)?

* --rerun-fails=3 for IS_CI=true and -race as well
2023-06-30 15:00:37 -03:00
Agniva De Sarker
d9a28c1244
MM-52532: Fix golangci warnings for public module (#23918)
https://mattermost.atlassian.net/browse/MM-52532

```release-note
NONE
```
2023-06-30 20:12:56 +05:30
Scott Bishel
d74ee1a3da
don't allow deletedAt to be set when creating user (#23914) 2023-06-30 10:10:10 -04:00
Daniel Espino García
fda5dd8468
Remove guest badge (#23825)
* Remove guest badge

* Address feedback

* Fix lint, test and i18n

* Fix test
2023-06-30 11:06:18 +02:00
Harshil Sharma
05cd245e97
Fixed a bug that prevent post deletion (#23908)
* Fixed a bug that prevent post deletion

* lint fix:
2023-06-30 10:29:27 +05:30
Agniva De Sarker
29466bd33a
MM-53452: Skipping some flaky tests (#23911)
https://mattermost.atlassian.net/browse/MM-53452

```release-note
NONE
```
2023-06-29 22:23:46 +05:30
Jesse Hallam
53731f95ff
Pre-package Playbooks v1.37.0 (#23880) 2023-06-29 10:49:48 -03:00
ridker
292117d824
[MM-47081] Migrated "components/searcheable_channel_list_test.jsx" to TypeScript (#23886)
* Converted searcheable_list_test to TypeScript

* Reverted mock data for channels props. Resolved minor formatting issues

* Updated snapshot for searcheable_channel_list test file

* Removed obsolete snapshot of searchable_channel_list.test.jsx as searchable_channel_list.test has been converted to TypeScript
2023-06-29 09:25:42 -04:00
Miguel de la Cruz
4b1a37137d
Disable skipping SendNotifyAdminPosts test (#23874) 2023-06-29 13:23:35 +02:00
Sinan Sonmez (Chaush)
385bf19972
Update testlibrary helper.go to reflect Monorepo (#23848) 2023-06-29 11:32:25 +03:00
Ben Schumacher
c6916c7047
Bump Apps plugin version to 1.2.2 (#23622) 2023-06-29 09:26:33 +02:00
Doug Lauder
9d6d8cceec
Fix mismatched receiver name on method PostMetadata.Auditable (#23904) 2023-06-28 15:31:51 -04:00
Amy Blais
3d7af2fb55
Update NOTICE.txt (#23857) 2023-06-28 14:59:07 -04:00
Harrison Healey
e8353d2982
Ensure components tests run on CI and remove obsolete snapshot (#23878)
* Ensure components tests run on CI and remove obsolete snapshot

* Add missing snapshots
2023-06-28 14:58:23 -04:00
Jesse Hallam
9588e08a00
enable redux-devtools in all environments (#23867)
* enable redux-devools in all environments

[Redux DevTools](https://github.com/reduxjs/redux-devtools) gives developers and users insight into the client-side state of the Mattermost application. Instead of restricting this to developer builds, allow it for production builds too, simplifyin debugging when an issue reproduces in production but not in a development environment.

There is no performance overhead unless the devtools are installed and opened by the enduser. There is should be no security impact, since all this information is already client-side. Furthermore, major websites expose Redux in production: e.g. https://cbc.ca and https://medium.com/.

* preserve window.store for all environments, not as a supported API
2023-06-28 14:41:32 -04:00
Miguel de la Cruz
dcb9fb9f29
Set license for group mentions flaky test (#23873) 2023-06-28 10:51:32 +02:00
Maria A Nunez
4e92dde5b3
Remove Permalink Preview Feature Flag (#23731)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-27 17:42:55 -04:00
Jesse Hallam
2cec338915
Update API repo links (#23883)
With api.mattermost.com now being hosted in the monorepo, update a few missed links in the documentation -- and test that the deployment work as expected!
2023-06-27 16:53:52 -04:00
Scott Bishel
4e0c9eb163
Prepackage boards v7.11.0 (#23844) 2023-06-27 11:31:29 -06:00
Jesse Hallam
d9614cbb12
Move API Reference (#23777)
* merge mattermost-api-reference unchanged

* api: update repostiory paths

* api: drop GitPod for api (for now)

* api: improved node_modules target

* api: relocate GitHub actions to root

* Update .github/workflows/api.yml

Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>

* fix cache-dependency-path

* adopt node-version-file

* pin versions for uses

* tidy steps/runs

* api/.gitpod.yml: tidy

* api: rm now unused .gitlab-ci.yml

---------

Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
2023-06-27 11:10:13 -03:00
Christopher Poile
3f99b7618d
MM-53363 - Calls default sound should be Calm (#23876) 2023-06-27 09:20:26 -04:00
Ujwal Kumar
e84eb900ff
MM-52834 : Migrate "components/admin_console/dropdown_setting.jsx" and tests to Typescript (#23533) 2023-06-27 10:21:26 +05:30
M-ZubairAhmed
7efbb11fae
Fix prop types for "markdown_image_expand" component (#23836) 2023-06-27 10:06:50 +05:30
Agniva De Sarker
71c5a8512c
MM-51753: URL encode the file path in S3 uploads (#23849)
If the request is routed via bifrost, then we need to encode the path
to avoid signature validation errors.
This happens because in bifrost, we are signing the URL outside the SDK
and therefore the signature sent from the bifrost client
will contain the encoded path, whereas the original path is sent un-encoded.

More info at: a57c4d9278/aws/signer/v4/v4.go (L8)

https://mattermost.atlassian.net/browse/MM-51753
```release-note
NONE
```
2023-06-27 09:54:53 +05:30
Pablo Andrés Vélez Vidal
e8349545b8
MM-53087 - remove AB test for reduced onboarding task list item (#23856) 2023-06-26 21:41:25 +02:00
LeonardJouve
a35c350a85
typo (#23826) 2023-06-26 15:21:04 -04:00
Pablo Andrés Vélez Vidal
af3b70b606
MM-51676 - korean chars create duplicate categories (#23839)
* MM-51676 - korean chars create duplicate categories

* use isProcessing as a property instead of state; move validation of isComposing to generic modal
2023-06-26 15:01:56 -04:00
Ibrahim Serdar Acikgoz
8fe4c5376f
update ES to 7.17.10 and enable ARM images through our own repository (#23851) 2023-06-26 21:00:48 +03:00
ridker
e8077e11ff
[MM-52829] Migrate "channels/src/components/admin_console/team_channel_settings/details/index.js" to TypeScript (#23701) 2023-06-26 19:53:53 +05:30
Sai Deepesh
58f78ce509
[MM-23418] : Migrate "components/admin_console/schema_text.jsx" and tests to Typescript (#23614) 2023-06-26 19:51:20 +05:30
Harrison Healey
94a3c41c59
MM-51013 Remove unneeded code from original version of Markdown hotkeys (#23823)
Automatic Merge
2023-06-26 15:47:28 +03:00
M-ZubairAhmed
a5867074e5
MM-53006 : Using the "link" button puts the URL after [url] instead of replacing [url] when pasting (#23784) 2023-06-26 17:47:04 +05:30
Pablo Andrés Vélez Vidal
887ba95cc1
MM-53088 - remove autoshow linked board (#23783)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-26 14:13:14 +02:00
Daniel Espino García
283abbe704
Fix scrollbar color on Chrome (#23815)
* Fix scrollbar color on Chrome

* Address feedback
2023-06-26 11:27:33 +02:00
Harshil Sharma
fc684cf84a
Made emoji size in scale with text size in channel header (#23743) 2023-06-26 13:13:47 +05:30
Christopher Poile
936e388aac
MM-53310 - Calls: Normalize sound volumes (#23840) 2023-06-23 14:49:43 -04:00
Christopher Poile
4e64590564
MM-52857 - Expose webapp and desktop notifications to plugins (#23779)
* prevent media keys from controlling calls ring sounds

* stop ring on pause

* expose notifyMe as sendDesktopNotificationToMe

* Revert "stop ring on pause"

This reverts commit 83d62ad02d.

* Revert "prevent media keys from controlling calls ring sounds"

This reverts commit 6d4ff63936.

* move into WebappUtils

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-23 14:29:59 -04:00