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

1478 Коммитов

Автор SHA1 Сообщение Дата
Caleb Roseland
e6d6881917 MM-60980: Add RemoteClusterInvite.IsValid (#28624)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-17 20:37:11 -05: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
TheInvincible
0cb2475ea4 Fix errcheck issue in handlers.go (#28794) 2024-10-17 12:37:41 +02:00
Ben Schumacher
2c139a293b Add missing parenthesis in mmctl webhook list (#28778)
* Add missing parenthesis in mmctl webhook list

* Use generics in StoreResult
2024-10-17 07:45:10 +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
M-ZubairAhmed
48cde8c0bf [MM-60655] Issue in subpath hosting after changes in root.html (#28617) 2024-10-17 01:13:16 +00: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
Scott Bishel
5dc86d5010 MM-56775 Limit Bookmarks Title and URL (#28424)
* additional validation for channelbookmark

* add fixes for webapp

* only set permissions correct for type

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-16 08:26:53 -06: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
Scott Bishel
d5ce06e580 MM-60722 - don't allow multiple '@' in email (#28481)
* don't allow quoted strings in email

* don't allow multiple '@' in email

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-15 12:21:02 -06:00
Christopher Poile
b8e462e198 MM-60987: Move message_export code to monorepo (#28674)
* move message_export code to monorepo

* update license headers

* moving over `dedicated filestore` (#1772) from enterprise master
2024-10-15 13:03:31 -04: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
Ben Schumacher
ff6de4bdab Fix errcheck issues in channels/app/admin_test.go (#28767) 2024-10-14 21:05:39 +02:00
Agniva De Sarker
a190fe8503 MM-59947: Remove the remaining **model.User special casing (#28707)
We remove the remaining special casing for **model.User
and add unit tests to lock in the behavior.

Additional load tests were done locally to confirm
there are no hidden code paths left out.

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

```release-note
NONE
```
2024-10-14 21:03:01 +05:30
Weblate (bot)
6d5b356899 Translations update from Mattermost Weblate (#28740)
Automatic Merge
2024-10-14 16:14:32 +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
Ben Schumacher
7ff22436dc [MM-60685] Fix racy TestSyncLdap (#28324) 2024-10-14 13:04:48 +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
Nicolas Le Cam
845b5806c0 server: Fix typo in Makefile (#28710) 2024-10-14 10:32:43 +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
Claudio Costa
c2a0374d2c Prepackage Calls v1.2.0 (#28717) 2024-10-11 13:50:08 -06:00
Daniel Espino García
42c9905e16 Update root post update at on reply delete (#28688)
* Update root post update at on reply delete

* Address feedback
2024-10-11 21:32:17 +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
Ibrahim Serdar Acikgoz
9d5993d89d [MM-58834] Review user preferences export and import (#28286) 2024-10-11 12:28:37 +02:00
Agniva De Sarker
df08325ef6 store: use ToSQL (#28681)
- Improve some code to use ToSQL
- Fix a bug in SqlReactionStore.GetForPostSince
where OrderBy wasn't added properly. Added a test.
- Improve a method to return a slice rather than
pass a pointer to slice.

```release-note
NONE
```
2024-10-11 09:11:38 +05:30
Agniva De Sarker
a258fd80b2 Remove remaining references to model.NewXX (#28678)
And we remove the deprecated functions to force uses
only of the new function.
```release-note
NONE
```
2024-10-10 22:15:22 +05:30
Agniva De Sarker
3db139f746 Removed the max/min family of functions (#28679)
They are in-built in Go now
```release-note
NONE
```
2024-10-10 22:14:21 +05:30
enzowritescode
991debeb0b Change log level inside sendMail() (#28669)
* Change log level inside sendMail()
2024-10-09 14:01:01 -06: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
Elias Nahum
e808c14a73 Fix the response type of create bookmark in go client (#28574) 2024-10-09 08:46:43 +08: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