mattermost/server
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
..
bin Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
build [chore] migration of plugin-store (#27506) 2024-07-03 08:23:43 +03:00
channels Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
cmd [chore] migration of plugin-store (#27506) 2024-07-03 08:23:43 +03:00
config MM-58823 Remove feature flag from client metrics (#27397) 2024-06-19 10:45:23 -04:00
einterfaces Add mobile metrics (#27045) 2024-06-12 11:33:04 +02:00
enterprise MM-59033 Increase maximum bucket size for Load Event End metric 2024-06-21 17:47:39 -04:00
fonts Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
i18n Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
platform Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
public Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
scripts Change client metrics api path to client_perf (#26985) 2024-05-09 22:19:08 +02:00
templates [CLD-6894] Add 60, 30, and 7 day reminder emails for Cloud Renewals (#25883) 2024-01-11 13:07:41 -05:00
tests Update link preview URL in test-search.md (#27398) 2024-06-20 14:48:22 +08:00
.codecov.yml Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
.gitignore Add saml private key to gitignore, remove unused constants (#27391) 2024-06-19 10:03:28 -06:00
.go-version MM-57245: Bump up Go version to 1.21 (#26512) 2024-03-21 09:12:35 +05:30
.golangci.yml [MM-58039] Enable errcheck linter for enterprise/saml package (#26909) 2024-06-17 05:10:39 +02:00
.sass-lint.yml Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
config.mk configure Loki for local development (#26997) 2024-05-16 12:16:08 -03:00
copyright.txt Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
docker-compose.makefile.m1.yml update ES to 7.17.10 and enable ARM images through our own repository (#23851) 2023-06-26 21:00:48 +03:00
docker-compose.makefile.yml configure Loki for local development (#26997) 2024-05-16 12:16:08 -03:00
docker-compose.yaml configure Loki for local development (#26997) 2024-05-16 12:16:08 -03:00
go.mod MM-58253 Ensure remotes can only update users belonging to them (#27290) 2024-06-06 10:28:02 -04:00
go.sum MM-58253 Ensure remotes can only update users belonging to them (#27290) 2024-06-06 10:28:02 -04:00
Makefile [chore] migration of plugin-store (#27506) 2024-07-03 08:23:43 +03:00
path.go Centralize the GetPackagePath (#27004) 2024-05-15 12:05:13 -03:00