mattermost/server/channels/web
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
..
context.go [WIP] [MM-55031] OAuth Outgoing Connection App integration (#25379) 2023-12-26 10:46:20 +01:00
context_test.go Fix racy test issues (#24971) 2023-11-06 12:26:17 +01:00
handlers.go [CLD-7567] Deprecate Self Serve: Second Pass (#26853) 2024-05-02 09:15:15 -04:00
handlers_test.go [CLD-7567] Deprecate Self Serve: Second Pass (#26853) 2024-05-02 09:15:15 -04:00
main_test.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
oauth.go [MM-56340] Add audit events for OAuth logins (#25859) 2024-05-06 17:31:16 +02:00
oauth_test.go [MM-56340] Add audit events for OAuth logins (#25859) 2024-05-06 17:31:16 +02:00
params.go Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
params_test.go Channel Bookmarks (#25449) 2024-03-12 08:36:05 -06:00
response_writer_wrapper.go Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
response_writer_wrapper_test.go Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
saml.go Cleanup usage of global logger (#26835) 2024-04-24 11:52:33 +02:00
static.go [MM-45309] Replace github.com/mattermost/gziphandler with github.com/klauspost/compress/gzhttp (#24293) 2023-10-12 08:27:31 +02:00
unsupported_browser.go Use request.CTX instead of *request.Context (#24877) 2023-10-30 16:33:37 +01:00
web.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
web_test.go [MM-53156] Remove Multi-Product architecture (#25669) 2024-02-15 13:01:44 +01:00
webhook.go [MM-55480] Update logr to v2.0.21 (#25431) 2023-11-23 10:30:08 +01:00
webhook_test.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30