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
Ben Schumacher
2424358b7d
[MM-61302] Use model.NewPointer throughout the code base ( #28957 )
2024-10-29 13:29:53 +01: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
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
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
fume4mattermost
48c42fc588
[MM-56035] Added missing unit tests for user endpoints ( #28237 )
...
Automatic Merge
2024-10-24 00:47:11 +02: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
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
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
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
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
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
Arya Khochare
73fc99b577
errcheck issues fixed ( #28646 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-10-17 15:22:01 +02:00
Elias Nahum
f8f998bfcb
set update_at on bookmarks return when changing sort order ( #28807 )
...
* set update_at on bookmarks return when changing sort order
* update bookmarks sort order test
2024-10-17 07:42:19 +02:00
Rohan Sharma
df925a3e6b
fix: Scheme test errcheck issues ( #28553 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-10-16 16:30:09 -05:00
Pratham Mahajan
f1250eaadb
Fix errcheck issues in server/channels/api4/export_test.go ( #28815 )
...
* Fix errcheck issues in server/channels/api4/export_test.go
* fixed lint errors
* fix
2024-10-16 17:33:56 +02:00
TheInvincible
9726eedbe2
Update license.go (handled error) ( #28410 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-10-16 09:45:41 +02:00
Arya Khochare
b0cdc51aa4
errcheck issues fixed ( #28572 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-10-15 12:46:06 +02:00
Matthew Straughn
bc934007dc
Update message when password does not match requirement ( #28178 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
Co-authored-by: Caleb Roseland <caleb@calebroseland.com >
2024-10-15 10:31:01 +02:00
Pradeep Murugesan
3f6bc5084b
check errors in channels/api4/channel.go ( #28376 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-10-15 10:30:12 +02:00
Rohan Sharma
e27867cec7
fix: status errcheck issues ( #28540 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-10-15 08:52:03 +02:00
TheInvincible
dfa29c2b59
fix errcheck issue ( #28618 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-10-14 13:33:50 +02:00
Arya Khochare
b7ccd745c8
Fixed errcheck issues in server/channels/api4/oauth_test.go ( #28645 )
...
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com >
2024-10-14 12:29:37 +02:00
Rohan Sharma
abf60421b4
fix: role test errcheck issues ( #28545 )
...
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-10-14 09:55:34 +02:00
Arya Khochare
d6343832d9
errcheck issues fixed ( #28643 )
2024-10-11 18:26:40 +02:00
k srisri reddy
bafe37d4b2
MM-60926: updated system_test.go to pass linter ( #28691 )
2024-10-11 16:18:19 +02:00
Arya Khochare
dd6546bd5e
errcheck issues fixed ( #28693 )
2024-10-11 16:16:46 +02:00
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