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

370 Коммитов

Автор SHA1 Сообщение Дата
Pablo Vélez
6cafd45fc9 MM 57516 - deactivate actions to ldap users (#28199)
* MM-57516 - restrict activation/deactivation over ldap users

* Add unit tests

* refactor test to unify repeated actions

* add disable actions in user details too

* migrate test to use react-testing-library

* add new ldap user test and fix other existing tests

* restrict ldap users status management via api

* use correct server status and update tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-09 18:59:53 +02:00
Arya Khochare
ac38f5f751 Errcheck issues fixed in server/channels/api4/brand.go (#28362)
* errcheck proper error handling

* write response err check log

* resolving conflicts and io.Copy error handling
2024-10-09 18:43:34 +02:00
Rohan Sharma
e41ab1a3b8 fix: plugin errcheck issues (#28517)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-09 14:56:22 +02:00
Caleb Roseland
0f200adbe0 MM-58349: Shared Channels in System Console (#28116)
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2024-10-09 07:53:19 -05:00
Rohan Sharma
02e6851603 fix: status test errcheck issues (#28541)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-09 14:51:19 +02:00
Arya Khochare
90ceb4a5e3 Fixed errcheck issues in server/channels/api4/usage_test.go (#28644)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-09 13:28:36 +02:00
TheInvincible
b49d86c24d fix errcheck issue (#28548)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-09 13:27:39 +02:00
Rohan Sharma
65bb1a3427 fix: plugin test errcheck issues (#28531)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-09 12:26:23 +02:00
Rohan Sharma
68404f2f33 fix: scheme errcheck issues (#28543) 2024-10-09 11:58:16 +02:00
Arya Khochare
d1962e123e [MM-60932] Fix errcheck issues in server/channels/api4/usage.go (#28641) 2024-10-09 11:53:25 +02:00
Johnson
33af22b2d3 Integration action test (#28561)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-08 15:41:01 +00:00
Miguel de la Cruz
3466e6f5d8 Avoid using token from sanitized remote cluster (#28335)
After creating a remote cluster, we were using its token field to
generate the remote invite. As we're going to return that remote
cluster in the response, we sanitize the entity, emptying the token
field before generating the invite, and causing it not to contain the
token itself.

This changes store the token in an independent variable to avoid
mutating it as part of the sanitization.

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-08 16:49:33 +02:00
Ben Cooke
b3c7ef0b97 [MM-56073] MMCTL delete post command (#27539)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-08 16:45:31 +02:00
TheInvincible
a671f80d2c Fix errcheck issue for saml.go file (#28546)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-08 14:13:59 +00:00
Rohan Sharma
2b723099a6 fix: shared channel test errcheck issues (#28551)
* fix: shared channel test errcheck issues
2024-10-08 09:45:43 -04:00
Arya Khochare
f0918e1c01 errcheck issues fixed (#28609) 2024-10-08 12:23:08 +02:00
Diamond Rivero
71d98443c3 Fix Errcheck issues in server/channels/api4/export.go (#28407)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-08 10:47:17 +02:00
Arya Khochare
ba02101bcf Fixed errcheck issues in server/channels/api4/group_local.go (#28417)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-08 10:47:01 +02:00
Rohan Sharma
9d6adbfea2 fix: role errcheck issues (#28544)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-08 10:46:22 +02:00
TheInvincible
1d431e72ac Update emoji_test.go (fix errcheck issue) (#28440)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-08 09:31:26 +02:00
Rohan Sharma
845159d501 fix: reaction errcheck issues (#28513) 2024-10-08 09:25:34 +02:00
Rohan Sharma
1f3eab8adb fix: team errcheck issues (#28550) 2024-10-08 09:23:53 +02:00
Arya Khochare
1669a0869f errcheck issues fixed (#28555) 2024-10-07 21:20:18 +02:00
Arya Khochare
6837b31fb1 errcheck issues fixed (#28556) 2024-10-07 21:18:20 +02:00
Arya Khochare
82929d86ab Errcheck issues fixed (#28409)
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
2024-10-07 21:17:21 +02:00
CarlssonFilip
b8b3f9b012 [GH-28396] Fixed errcheck issues in server/channels/api4/ip_filtering.go (#28441)
* Fixed errcheck issues in server/channels/api4/ip_filtering.go

* Added separate go routine to SendIPFiltersChangedEmail and removed redundant return

* Added import for mlog

* Changed from returning error to logging it

---------

Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-07 21:03:12 +02:00
Rohan Sharma
7af408679e Fix: emoji errcheck issues (#28437)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-07 21:02:16 +02:00
Rohan Sharma
9e0d629ab1 fix: team local errcheck issues (#28538)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-07 21:01:13 +02:00
Arya Khochare
9b6d2be129 Errcheck issues fixed (#28345) 2024-10-07 16:49:27 +02:00
Rohan Sharma
a2acee5280 fix: system errcheck issues (#28537)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-07 13:37:46 +00:00
Rohan Sharma
2b7b4100d2 fix: system local errcheck issues (#28539)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-07 11:39:06 +00:00
Rohan Sharma
18388a8c64 fix: shared channel errcheck issues (#28542) 2024-10-07 12:46:00 +02:00
Arya Khochare
344e76287f Fixed errcheck issues in server/channels/api4/license_test.go (#28557) 2024-10-07 12:41:13 +02:00
Rohan Sharma
13959b024f fix: reaction test errcheck issues (#28516)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-07 10:31:06 +02:00
Arya Khochare
af9eb197ae Fixed errcheck issues in server/channels/api4/group.go (#28404) 2024-10-05 12:23:29 +02:00
Arya Khochare
5a7385295c errcheck issues fixed (#28475) 2024-10-04 19:12:32 +02:00
Arya Khochare
0a92eb6363 errcheck issues fixed (#28418) 2024-10-04 17:51:38 +02:00
Nils
ac30b9d468 Fixed errcheck in server/channel/api4/job.go (#28420) 2024-10-04 17:50:14 +02:00
Arya Khochare
b859ca2d90 errcheck issues fixed (#28416) 2024-10-04 09:35:53 +02:00
Arya Khochare
7e62197520 errcheck issues fixed (#28476) 2024-10-04 09:34:29 +02:00
fume4mattermost
5f48a359ca [MM-56033]Added unit tests for UpdateUserCustomStatus and RemoveUserCustomStatu… (#28216)
* added unit tests for UpdateUserCustomStatus and RemoveUserCustomStatus functions

* stylistic improvements in status endpoint tests

* linting fix

---------

Co-authored-by: Fume <contact@fumedev.com>
2024-10-04 13:02:53 +05:30
Arya Khochare
295ae8baed Errcheck issues fixed (#28406)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-04 07:14:48 +02:00
Arya Khochare
cab714a629 errcheck issues fixed (#28477) 2024-10-04 07:11:24 +02:00
Scott Bishel
0048723ccd MM-60679 - Validate playbook plugin version, based on license (#28366)
Automatic Merge
2024-10-02 20:14:32 +02:00
Arya Khochare
9c2a9c7f26 Fixed errcheck issues (#28405) 2024-10-02 15:32:49 +02:00
Pablo Vélez
1690e48db6 MM 60222 - apply filter to export csv (#28212)
* MM-60222_apply filter to export csv

* get the report exporting with the filters ready

* add unit tests

* cover one more file with some tests

* style the confirm modal note

* add translations

* remove unnecessary print line

* disable export button if there is no data to export

* fix linter issues

* fix linter errors

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-02 12:23:39 +02:00
Arya Khochare
2b03afdfc2 Fixed errcheck issues (#28403) 2024-10-02 12:16:10 +02:00
Nils
887c3a800d [GH-28355] Fixed errcheck issues in server/channels/api4/channel_category.go (#28357) 2024-10-02 09:50:43 +02:00
Miguel de la Cruz
acc9093072 Error when generating invite codes for a confirmed remote cluster (#28337) 2024-10-02 00:37:04 -05:00
Arya Khochare
23d06d4520 Errcheck issues fixed in server/channels/api4/brand_test.go (#28364) 2024-10-01 16:34:01 +02:00