mattermost/server/platform/services/sharedchannel
Miguel de la Cruz 809ad4f76d
Adds Remote Cluster related API endpoints (#27432)
* Adds Remote Cluster related API endpoints

New endpoints for the following routes are added:

- Get Remote Clusters at `GET /api/v4/remotecluster`
- Create Remote Cluster at `POST /api/v4/remotecluster`
- Accept Remote Cluster invite at `POST
/api/v4/remotecluster/accept_invite`
- Generate Remote Cluster invite at `POST
/api/v4/remotecluster/{remote_id}/generate_invite`
- Get Remote Cluster at `GET /api/v4/remotecluster/{remote_id}`
- Patch Remote Cluster at `PATCH /api/v4/remotecluster/{remote_id}`
- Delete Remote Cluster at `DELETE /api/v4/remotecluster/{remote_id}`

These endpoints are planned to be used from the system console, and
gated through the `manage_secure_connections` permission.

* Update server/channels/api4/remote_cluster_test.go

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>

* Fix AppError names

---------

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-04 10:35:26 +02:00
..
attachment.go when receiving file attachments for shared channels, ensure attachments are enabled and file size does not exceed maximum configured for receiving server. (#27018) 2024-05-21 15:46:48 -04:00
channelinvite.go Fix not enough return values in handleChannelCreation (#27430) 2024-06-24 09:27:35 +02:00
channelinvite_test.go MM-57867 Don't delete existing DM on invitation error (#27357) 2024-06-19 16:20:46 +02:00
mock_AppIface_test.go MM-57873 Check user visibility when accepting channel invites for DMs (#27331) 2024-06-13 11:40:31 +02:00
mock_ServerIface_test.go MM-57759: Added mockery support for 1.22 (#26774) 2024-04-13 08:15:59 +05:30
permalink.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
permalink_test.go [MM-55990] Logger improvements for tests (#25467) 2023-11-30 10:47:04 +01:00
service.go Sanitize RemoteEmail user prop (#27170) 2024-06-26 13:48:31 -04:00
service_api.go MM-57786 Fix Shared Channels plugin api (#26753) 2024-04-15 16:18:25 -04:00
sync_recv.go Sanitize RemoteEmail user prop (#27170) 2024-06-26 13:48:31 -04:00
sync_send.go Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
sync_send_remote.go MM-58038: Use context to call master for DeletePost (#27098) 2024-05-24 19:35:48 +05:30
util.go Sanitize RemoteEmail user prop (#27170) 2024-06-26 13:48:31 -04:00
util_test.go fix mung of usernames on collision in shared channels; tilde is not a valid character (#25575) 2023-12-01 17:33:13 +01:00