Christopher Speller
728eae2cb5
Enable to AI plugin by default ( #28770 )
...
* Enable to AI plugin by default
* Fix tests.
2024-11-01 06:30:25 -07:00
yasserfaraazkhan
77862dd581
MM-61306: Cypress/E2E, fixed failed tests ( #28959 )
2024-11-01 13:25:08 +05:30
M-ZubairAhmed
857fd87a47
[MM-60484 & MM-60485] Add disabled notification banners and section notices for web ( #28372 )
2024-11-01 07:02:58 +05:30
Ben Schumacher
2d2c039a27
[MM-61071] Fix errcheck issues in channels/app/admin.go ( #28756 )
2024-10-31 14:59:32 +01:00
Mario Vitale
9fee53fb14
E2E fix: use string for cypress/playwright selector ( #29020 )
2024-10-31 11:17:00 +08:00
enzowritescode
e4aad40f32
Fix typo in the word repository in api/package.json ( #29023 )
2024-10-30 18:36:02 -06:00
Asaad Mahmood
45e871e570
MM-59822 - Updating set status button alignment ( #28771 )
...
* MM-59822 - Updating set status button alignment
* Updating lint
2024-10-30 19:24:45 +05:00
Devin Binnie
e8a80bd729
[MM-61361] Force reconnect handler to fetch channel categories on reconnect ( #29010 )
...
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-10-30 13:33:48 +00:00
dependabot[bot]
e55b018d5c
Bump github/codeql-action in the github-actions-updates group ( #28988 )
...
Bumps the github-actions-updates group with 1 update: [github/codeql-action](https://github.com/github/codeql-action ).
Updates `github/codeql-action` from 2.27.0 to 3.27.0
- [Release notes](https://github.com/github/codeql-action/releases )
- [Commits](https://github.com/github/codeql-action/compare/v2.27.0...v3.27.0 )
---
updated-dependencies:
- dependency-name: github/codeql-action
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-29 17:20:46 +02:00
Harshit Vashisht
fd70b0a0cd
Fixes errcheck in helper_test.go ( #28909 )
2024-10-29 16:16:58 +01:00
fume4mattermost
a44b604752
[MM-56032] Add tests for data_retention endpoints ( #28283 )
...
Co-authored-by: Fume <contact@fumedev.com >
2024-10-29 16:04:56 +01:00
Arya Khochare
e0e5dbd36e
Prevent HEAD requests to a sub-path from infinite redirects ( #28285 )
...
* adding test
```release-note
NONE
```
---------
Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in >
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-10-29 19:57:20 +05:30
Caleb Roseland
3ac1c9821b
MM-61198: react-hooks-testing-library and renderHookWithContext ( #28886 )
2024-10-29 08:56:22 -05:00
Sahariar Alam Khandoker
da2a84e99d
Added internationalization for file filter dropdown ( #28809 )
...
Co-authored-by: Sahariar Alam Khandoker <sahariar.alam@therapservices.net >
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-10-29 14:44:33 +01:00
Ben Schumacher
2424358b7d
[MM-61302] Use model.NewPointer throughout the code base ( #28957 )
2024-10-29 13:29:53 +01:00
Daniel Espino García
97c7c25820
Improvement on Section Notice ( #28859 )
...
* Improvement on Section Notice
* Address feedback
2024-10-29 10:55:18 +01:00
Domendra Singh Komra
7803c10785
Fix errcheck issues in server/channels/jobs/batch_report_worker.go ( #28864 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-10-29 10:50:54 +01:00
Matthew Straughn
71bf7777f5
fixed most init errors in channels/store/storetest dir | 24 files edited ( #26522 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in >
2024-10-29 10:50:38 +01:00
Ranjana761
5dba6e082d
Fix errcheck issues in server/channels/web/web.go ( #28911 )
2024-10-29 08:45:40 +01:00
Samarth Mishra
c7e182013f
Fix errcheck issues in server/channels/app/imaging/utils_test.go ( #28960 )
2024-10-29 08:37:32 +01:00
Angel Mendez
2aaa38b368
[MM-47303] Migrate /enterprise/extend_session/not_extended_when_disabled e2e tests to TypeScript ( #28465 )
2024-10-29 06:19:02 +00:00
Claudio Costa
b4f337f191
[MM-60886] Fix TypeAssertionError in api4.addChannelMember ( #28976 )
...
* Fix TypeAssertionError in api4.addChannelMember
* Fix
2024-10-28 12:52:23 -06:00
Scott Bishel
a65ba84697
filter remote users if remote dms not supported ( #28953 )
...
* filter remote users if remote dms not supported
* move filter to selectors
* lint fix
* add test
* add filter to search
2024-10-28 12:41:55 -06:00
Carrie Warner (Mattermost)
4f88eabfba
String update for clarity ( #28968 )
2024-10-28 14:35:00 -04:00
Caleb Roseland
133bd5c2cb
MM-61127: Fix text overflow in channels input for SC ( #28952 )
2024-10-28 12:52:41 -05:00
Daniel Espino García
dd519629be
Migrate hooks and notification actions to typescript ( #28858 )
...
* Migrate hooks and notification actions to typescript
* Remove missing files
* Fix hook types
* Fix tests
2024-10-28 17:07:11 +01:00
Weblate (bot)
f9bd093649
Translations update from Mattermost Weblate ( #28989 )
...
Automatic Merge
2024-10-28 15:47:11 +01:00
Guillermo Vayá
a532b70317
[MM-59361] custom groups & read only channels ( #28892 )
...
* added group mention, read only view and post event tracking
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-10-28 13:41:29 +01:00
Amy Blais
c64215f6c2
Updated minimum supported Edge and Chrome versions ( #28975 )
...
Automatic Merge
2024-10-28 13:17:12 +01:00
Angel Mendez
a358bef3cd
MM-47287 Refactor/migrate bot accounts to typescript ( #28347 )
...
* refactor: convert bot_api_1_spec.js to typescript
- convert file bot_accounts/bot_api_1_spec.js to typescript
- update related data types in order to fix argument issues
* refactor: convert bot_api_not_cloud_spec.js to ts
- convert file bot_accounts/bot_api_not_cloud_spec.js to typescript
- update related data types in order to fix argument issues
* refactor: convert bot_channel_intro_spec.js to ts
- convert file bot_accounts/bot_channel_intro_spec.js to typescript
- convert support/api/bots.js to typescript
- remove data type bot.d.ts and include docs and definitions in
support/api/bots.ts
* refactor: convert bot_accounts files to ts
- convert files from js to typescript
- move declaration files to ts
- update js docs
- fix lint and type errors
Related to #21303
* fix: replace params undefined on client.createUser
- replace undefined params with empty strings as suggested in review
* fix: add types to variables on spec tags_spec.ts
- add types to variables
* fix: update args for apiCreateBot on api/bots.ts
- update args so that lint issue is fixed
* Apply suggestions from code review
update assertion to 401
---------
Co-authored-by: Saturnino Abril <5334504+saturninoabril@users.noreply.github.com >
2024-10-28 17:03:21 +08:00
Matthew Birtch
f4c85a875d
MM-61231 Fix Hidden Menus in System Roles Page ( #28916 )
...
* remove overflow:hidden to prevent cutting off menus in admin panels
* fix wrapping help text in system role permissions menu
2024-10-27 14:03:12 -04:00
Nick Misasi
4785562cb1
[CLD-8480] Remove duplicate 'Contact Sales' link in pricing modal card ( #28899 )
...
* Remove duplicate 'Contact Sales' link in pricing modal card
* Fix lint
* Revert package-lock to master
2024-10-25 13:38:36 -04:00
Agniva De Sarker
21c6b246f0
MM-61225: Remove incorrect test ( #28954 )
...
This test actually tested that there is no race
_if_ session pooling is there. But there is no session pooling
any more so this test is irrelevant.
https://mattermost.atlassian.net/browse/MM-61225
```release-note
NONE
```
2024-10-25 21:53:03 +05:30
Dishika Vaishkiyar
4f5a389185
Fix: bot_test errcheck issue ( #28822 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-10-25 13:31:03 +02:00
Ibrahim Serdar Acikgoz
64b30abbce
[MM-51487] allow uppercase team/channel names for import ( #28906 )
2024-10-25 09:44:13 +00:00
Miguel de la Cruz
98d341fbae
Return an error if an invite for a confirmed remote cluster is received ( #28943 )
...
Co-authored-by: Caleb Roseland <caleb@calebroseland.com >
2024-10-25 11:30:29 +02:00
RuhiJain
49be26ebc4
Fix errcheck issues in server/channels/web/response_writer_wrapper_te… ( #28902 )
2024-10-25 11:26:08 +02:00
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