dependabot[bot]
c61392db72
Bump the github-actions-updates group with 15 updates ( #28956 )
...
Bumps the github-actions-updates group with 15 updates:
| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout ) | `3` | `4` |
| [actions/setup-node](https://github.com/actions/setup-node ) | `4.0.2` | `4.1.0` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact ) | `3` | `4` |
| [docker/login-action](https://github.com/docker/login-action ) | `3.0.0` | `3.3.0` |
| [docker/build-push-action](https://github.com/docker/build-push-action ) | `5.3.0` | `6.9.0` |
| [github/codeql-action](https://github.com/github/codeql-action ) | `2` | `3` |
| [actions/setup-go](https://github.com/actions/setup-go ) | `2` | `5` |
| [actions/download-artifact](https://github.com/actions/download-artifact ) | `3` | `4` |
| [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) | `39.2.3` | `45.0.3` |
| [mikepenz/action-junit-report](https://github.com/mikepenz/action-junit-report ) | `3.7.7` | `4.3.1` |
| [ossf/scorecard-action](https://github.com/ossf/scorecard-action ) | `2.1.2` | `2.4.0` |
| [getsentry/action-release](https://github.com/getsentry/action-release ) | `1.3.0` | `1.7.0` |
| [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ) | `3.1.2` | `3.7.0` |
| [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) | `3.1.0` | `3.7.1` |
| [actions/github-script](https://github.com/actions/github-script ) | `6.4.1` | `7.0.1` |
Updates `actions/checkout` from 3 to 4
- [Release notes](https://github.com/actions/checkout/releases )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
Updates `actions/setup-node` from 4.0.2 to 4.1.0
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](60edb5dd54...39370e3970 )
Updates `actions/upload-artifact` from 3 to 4
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
Updates `docker/login-action` from 3.0.0 to 3.3.0
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v3...9780b0c442fbb1117ed29e0efdff1e18412f7567 )
Updates `docker/build-push-action` from 5.3.0 to 6.9.0
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](2cdde995de...4f58ea7922 )
Updates `github/codeql-action` from 2 to 3
- [Release notes](https://github.com/github/codeql-action/releases )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
Updates `actions/setup-go` from 2 to 5
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2...v5 )
Updates `actions/download-artifact` from 3 to 4
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4 )
Updates `tj-actions/changed-files` from 39.2.3 to 45.0.3
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](95690f9ece...c3a1bb2c99 )
Updates `mikepenz/action-junit-report` from 3.7.7 to 4.3.1
- [Release notes](https://github.com/mikepenz/action-junit-report/releases )
- [Commits](https://github.com/mikepenz/action-junit-report/compare/v3.7.7...db71d41eb79864e25ab0337e395c352e84523afe )
Updates `ossf/scorecard-action` from 2.1.2 to 2.4.0
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](e38b1902ae...62b2cac7ed )
Updates `getsentry/action-release` from 1.3.0 to 1.7.0
- [Release notes](https://github.com/getsentry/action-release/releases )
- [Commits](85e0095193...e769183448 )
Updates `sigstore/cosign-installer` from 3.1.2 to 3.7.0
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](11086d2504...dc72c7d5c4 )
Updates `docker/setup-buildx-action` from 3.1.0 to 3.7.1
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](0d103c3126...c47758b77c )
Updates `actions/github-script` from 6.4.1 to 7.0.1
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](d7906e4ad0...60a0d83039 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
- dependency-name: mikepenz/action-junit-report
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
- dependency-name: ossf/scorecard-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: getsentry/action-release
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: sigstore/cosign-installer
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-25 12:07:17 +03:00
shraddha761
ca84f9a0b9
Fix errcheck issues in server/channels/utils/fileutils/fileutils_test.go ( #28919 )
2024-10-25 09:38:51 +02:00
Arya Khochare
323e330932
Fixed errcheck issues in server/channels/app/group_test.go ( #28938 )
2024-10-25 09:36:58 +02:00
Antonis Stamatiou
2d4f7ae01d
feat: Enable Github Actions dependabot ( #28907 )
2024-10-25 09:12:13 +03:00
Arya Khochare
fbdf3cbd14
Fixed errcheck issues in server/channels/api4/license_local.go ( #28558 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-10-24 19:53:48 +02:00
Miguel de la Cruz
cb03009992
Adds a feature flag to control availability of DMs in shared channels ( #28920 )
...
* Adds a feature flag to control availability of DMs in shared channels
* Reverse feature flag wording
2024-10-24 19:38:00 +02:00
Agniva De Sarker
6075b1cd4e
MM-61225: Revert session pooling ( #28901 )
...
This originated from https://github.com/mattermost/mattermost/issues/15249 .
However, the original idea was discarded https://github.com/mattermost/mattermost/issues/15249#issuecomment-709713065
as being too complicated to implement. Then I had another
idea to implement it just for session objects.
My thinking was that since every single request allocates a new
session struct, it would be good to use a sync.Pool for that.
However, 4 years later, now we know that the primary bottleneck
in app performance comes from websocket event marshalling.
Therefore, while it would be good to do this, it is difficult
to do it correctly (as shown by the numerous racy tests).
Hence, reverting this.
```release-note
NONE
```
2024-10-24 22:50:44 +05:30
Ibrahim Serdar Acikgoz
a8cf496e31
[MM-61213] Limit file size for slack import file uploads ( #28904 )
2024-10-24 19:06:14 +02:00
Claudio Costa
b94963d830
Revert breaking change in registerSlashCommandWillBePostedHook ( #28914 )
2024-10-24 08:38:22 -06:00
Scott Bishel
108efac918
Revert "MM-54502 - Update regex to force first character to be alpha … ( #28860 )
...
* Revert "MM-54502 - Update regex to force first character to be alpha (#24675 )"
This reverts commit 08ed72f060 .
* update tests for reverted PR
* Revert "update tests for reverted PR"
This reverts commit c1cf5495fa129008e44a8fcdc0ee34762b33dd34.
* Revert "Revert "MM-54502 - Update regex to force first character to be alpha (#24675 )""
This reverts commit 6920b979c8dba86a837bafff7c057dc609c6aa58.
* only revert important parts, not tests
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-10-24 07:56:58 -06:00
Ben Schumacher
707144d358
[MM-61132] Fix example for mmctl permissions role show command ( #28816 )
2024-10-24 14:03:21 +02:00
Rohan Sharma
ebb0178c13
[MM-61103] Fix errcheck issues in server/channels/app/channel_category_test.go ( #28790 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-10-24 13:58:01 +02:00
Domendra Singh Komra
834d94ab39
Fix errcheck issues in server/channels/jobs/batch_migration_worker.go ( #28832 )
2024-10-24 12:14:23 +02:00
Daniel Espino García
8214ffbacd
Improve consistency on hooks ( #28868 )
...
* Improve consistency on useOpenX hooks
* Review other hooks
* i18n and minor fix
* Address feedback
2024-10-24 10:52:01 +02:00
fume4mattermost
48c42fc588
[MM-56035] Added missing unit tests for user endpoints ( #28237 )
...
Automatic Merge
2024-10-24 00:47:11 +02:00
Saturnino Abril
c7aec8c5c5
follow up to MM-61126 desktop landing page ( #28888 )
2024-10-24 05:10:18 +08:00
Harrison Healey
99a95508d2
Remove Markdown from FormattedMessage ( #28883 )
...
* Remove Markdown from FormattedMessage
* Update snapshots
2024-10-23 13:45:53 -04:00
Devin Binnie
39b6bc563e
[MM-61201] Call reactAppInitialized() when app is done loading for Desktop App ( #28897 )
2024-10-23 08:51:37 -04:00
Johnson
131064596d
fix errcheck issues ( #28560 )
...
* fix errcheck issues
* fix errcheck
* fix errcheck issues
* fix errcheck
* fix errcheck
2024-10-23 04:30:56 -07:00
Domendra Singh Komra
610a756e7f
[MM-60820] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/integrations/confirm_integration/confirm_integration.tsx' with FormattedMessage ( #28667 )
2024-10-23 08:27:01 +00:00
M-ZubairAhmed
89c6fbc1e9
[MM-59365] Paid End-User features company metric - "Passive keyword tracking" Telemetry ( #28734 )
2024-10-23 07:30:13 +00:00
Arya Khochare
038d59560e
[MM-60857] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/plugin_marketplace/marketplace_item/marketplace_item_plugin/marketplace_item_plugin.tsx' with FormattedMessage ( #28865 )
2024-10-23 05:15:29 +00:00
Zubair Imtiaz
90cc1f6931
[MM-60853] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/admin_console/team_channel_settings/convert_and_remove_confirm_modal.tsx' with FormattedMessage ( #28718 )
2024-10-23 05:13:37 +00:00
Devin Binnie
0c90b0363b
[MM-60609][MM-60612] Include Desktop App metrics in PerformanceReporter, add metrics in Prometheus for CPU/Memory usage ( #28825 )
...
* [MM-60609][MM-60612] Include Desktop App metrics in PerformanceReporter, add metrics in Prometheus for CPU/Memory usage
* Fix mocks
* PR feedback
2024-10-22 12:16:20 -04:00
Daniel Espino García
2d96053012
Use flags for create post ( #28857 )
...
* Use flags for create post
* Remove unintended file
* Fix unintended change and types
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-10-22 16:00:26 +02:00
Daniel Espino García
43a06d1b78
Fix dependencies and callbacks on update user group modal ( #28867 )
2024-10-22 15:49:50 +02:00
Caleb Roseland
da17205d0b
MM-61197, MM-60615: Move Connected Workspaces to Site Configuration ( #28887 )
2024-10-22 08:16:52 -05:00
Vishal
cc5b3a2f69
[MM-37585] ( #28634 )
...
* add tests
* pass userID to the function instead of the user object.
* remove concurrent login simulation
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-10-22 12:21:36 +05:30
yasserfaraazkhan
1a28bc2c58
Feat(e2e): E2E test for Optional desktop app landing page ( #28839 )
2024-10-22 05:40:25 +05:30
Weblate (bot)
9d23695b7c
Translations update from Mattermost Weblate ( #28880 )
...
Automatic Merge
2024-10-21 17:44:32 +02:00
Guillermo Vayá
4cd73fc2d5
[MM-61193] Create trackFeatureEvent telemetry handler for paid features in web ( #28834 )
...
* frontend paid feature usage tracking
* fixes on the tooling
* fix lint errors
* fix types
* fix ci
* move from paid to SKU
* fix linter
* move categories and skus to depend on event instead of feature
* move to constants
2024-10-21 15:04:27 +02:00
Rita Anene
aa450f2432
[MM-60861] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/notify_confirm_modal.tsx' with FormattedMessage ( #28772 )
2024-10-21 04:56:03 +00:00
Agniva De Sarker
64677dd554
MM-42810: Using websocket broadcast hook for permalink preview ( #28627 )
...
We use the newly introduced websocket broadcast hook system
to implement permalink preview efficiently. This is essentially
a re-do of https://github.com/mattermost/mattermost/pull/23812
using the new system.
https://mattermost.atlassian.net/browse/MM-42810
```release-note
NONE
```
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-10-21 09:35:32 +05:30
Niharika Goulikar
6939623e11
[MM-60832] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/admin_console/custom_terms_of_service_settings/custom_terms_of_service_settings.tsx' with FormattedMessage ( #28690 )
2024-10-20 18:07:08 +00:00
Mario Vitale
afbdfd9281
CLD-8147 Fix typo ( #28856 )
2024-10-19 09:46:03 +08:00
Arya Khochare
3ecded7387
[MM-60859] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/admin_console/system_roles/system_role/system_role_permissions.tsx' with FormattedMessage ( #28732 )
2024-10-19 01:17:34 +00:00
Miguel de la Cruz
8c1381f00a
Disables text editor for DMs and GMs with remote users ( #28861 )
...
This change makes the text editor behave similarly to the case of read
only channels, in a disabled state and showing a placeholder that
indicates that DMs and GMs with remote users are currently not
supported.
There is no way to create this type of channels now, but chances are
that existing servers have some already, so this is intended to
explicitly indicate that those won't work.
2024-10-18 15:34:42 -06:00
Miguel de la Cruz
30cb527cf6
Forbid users from creating DMs and GMs with remote users ( #28855 )
...
* Forbid users from creating DMs and GMs with remote users
This change prevents the application from creating new DMs and GMs
when remote users are involved, and prevents as well new posts from
being created into preexisting DMs and GMs with remote users created
in previous versions.
* Adds i18n
* Skip preexisting DM tests and create a new one for the new behavior
2024-10-18 11:16:29 -06:00
Angel Mendez
318abef7d1
convert elasticsearch_autocomplete/ files to ts ( #28484 )
...
* convert elasticsearch_autocomplete/ files to ts
- convert js files to ts
- update types
- fix lint issues
Fixes : #21308
* fix: add missing exports elasticsearch_autocomplete
- add missing export on functions:
- createEmail
- searchForChannel
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-10-18 08:57:21 -07:00
Rita Anene
53522e2371
[MM-60811] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/admin_console/team_channel_settings/channel/details/channel_profile.tsx' with FormattedMessage ( #28610 )
...
* Fix: Replace FormattedMarkdownMessage in file
* fix: update snapshot
* Fix: wrap Formated message in b tag
* Fix: wrap Formated message in b tag
* Fix: Fix Linting in file
* Fix: update snapshot
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-10-18 11:22:12 -04:00
Mario Vitale
0a14eb3d45
E2E Tests: unify compose files, support Opensearch ( #28716 )
...
* Unify docker-compose files, support opensearch and redis
* Support cypress/playwright bools, MM_SERVICE_OVERRIDES input
* Remove unused directives from E2E tests
* [skip ci] Fix ES tests, PR messages
* [skip ci] Fix service pruning on server restart
* [skip ci] Make services overrides a CSV, better param descriptions
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-10-18 16:51:24 +02:00
Harrison Healey
6af8c2f83e
Fix multiple copies of utility classes being loaded by the app ( #28802 )
...
* Fix multiple copies of utility classes being loaded by the app
When using SASS's at-import rule for a file containing CSS classes, the
entirity of the imported file is included into that chunk of the JS
bundle. This leads to those class definitions being duplicated multiple
times in the code loaded by the browser. That doesn't happen for mixins,
functions, or SASS variables which are evaluated at compile time.
To prevent those classes from being repeatedly defined, we need to not
import them into multiple bundles. We already load the utility classes
into the root bundle, so we just need to make sure not to import
sass/utils/_module.scss, sass/utils/_flex.scss,
sass/utils/_animations.scss, or sass/utils/_modifiers.scss into any
CSS files which are imported into individual components.
* Canonize import paths for SCSS mixins and functions
We previously imported some .scss files as `src/sass/...` and others as
`sass/...`. This was allowed becuase sass-loader's
`sassOptions.includePaths` included both `src` and `src/sass`. I've made
that more consistent now and removed the redundant include path.
2024-10-18 10:50:26 -04:00
Miguel de la Cruz
b4d8b6239c
Excludes remote channels from channel search ( #28708 )
...
* Excludes remote channels from channel search
This is done through a new body parameter in the SearchAllChannels
endpoint that allows to search for local only channels, which are
either channels that are shared but marked as homed locally, or
channels that are not shared at all.
* fix lint
* Fix tests
---------
Co-authored-by: Caleb Roseland <caleb@calebroseland.com >
2024-10-18 07:41:24 -06:00
Mario Vitale
f06742c7e2
Fix image mirroring issues ( #28849 )
2024-10-18 13:32:39 +02:00
Caleb Roseland
fcded9559c
MM-61032: Add default_team_id to accept invite flow ( #28841 )
...
* add default_team_id to accept invite api
* add team selector to accept invite flow UI
* e2e
* lint/i18n
2024-10-18 12:26:38 +02:00
Miguel de la Cruz
5a923e0b94
Updates the create remote cluster endpoint to require a default team id ( #28709 )
...
Support for RemoteClusters without a default team id is in place for
old servers that created those connections before v10.1. This change
forbids the creation of new RemoteClusters without providing this
field, and will be removed when manual invites are implemented.
Co-authored-by: Caleb Roseland <caleb@calebroseland.com >
2024-10-18 12:22:27 +02:00
Scott Bishel
ad50357792
change Get() to use Master ( #28842 )
...
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-10-18 12:19:43 +02:00
Mario Vitale
2e010837f0
Update mirrored images, build opensearch ( #28835 )
...
* Update mirrored images, build opensearch
2024-10-18 09:45:51 +02:00
TheInvincible
bfd1d49e06
Fix errcheck issue in subpath_test.go ( #28791 )
...
* Fix errcheck issue in subpath_test.go
* Fix govet error
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-10-18 11:59:49 +05:30
Arya Khochare
c4fde3109b
[MM-57900] With long instance names, the About message gets cutoff in menu item ( #26955 )
2024-10-18 04:05:47 +00:00