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
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
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
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
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