35 Commits

Author SHA1 Message Date
Anton Kosyakov
cf7d0e9500
remove supervisor_live_git_status (#18921)
and deprecated instance.status.repo
2023-10-16 17:20:24 +03:00
Filip Troníček
694f8eaeaf
[papi] List workspace classes (#18546)
* [papi] List workspace classes

Adds the `ListWorkspaceClasses` method on `WorkspacesService`.

* Add test for class listing

* `Title` -> `DisplayName`

* fix rename in tests

* Update generated
2023-08-24 10:53:50 +02:00
Anton Kosyakov
b3ae12f956
git real time (#18323) 2023-08-03 20:51:28 +08:00
Filip Troníček
d9f8a099ed
Add Repository to WS info in Public API (#18330)
* Add more Git details to Public API

* Only add `Repository`

* Remove remaining branch references

* Update workspace tests

* Remove additional unneeded metadata

* Swap arg order to match proto
2023-07-26 16:20:42 +08:00
Huiwen
d32e231773
[public-api] align context url with server (#18292)
* [public-api] align context url with server

* 💄

* update test case

* Update test case
2023-07-20 20:53:36 +08:00
Jean Pierre
d57a39dbad
[public-api] Update getWorkspace api response implementation (#17821)
* Update getWorkspace api response implementation

* Only implement recent_folders

* Add additional tests
2023-07-06 01:24:22 +08:00
Milan Pavlik
fcb8c5f79d
[papi] Extract JWT cookie when extracting creds (#17875)
* [papi] Extract JWT cookie when extracting creds

* fix

* fix

* fix

* Fix

* fix

* Update components/public-api-server/pkg/auth/middleware.go

Co-authored-by: Gero Posmyk-Leinemann <32448529+geropl@users.noreply.github.com>

---------

Co-authored-by: Gero Posmyk-Leinemann <32448529+geropl@users.noreply.github.com>
2023-06-14 15:37:04 +08:00
Jean Pierre
6652c98a1a
Add WorkspaceUpdates method (#17728)
* Add WorkspaceUpdates method

* Replace InstanceUpdates
2023-05-30 23:56:04 +08:00
Jean Pierre
2c8852e197
[public-api] Add startWorkspace api (#17682)
* Add startWorkspace api

* Add new scopes to vscode client

* Fix

* Fix

* 💄

Co-authored-by: Milan Pavlik <milan@gitpod.io>

---------

Co-authored-by: Milan Pavlik <milan@gitpod.io>
2023-05-25 03:43:58 +08:00
Pudong
176393a0c8
Add support to forward https protocol port (#17644)
* add support to forward https protocol port

* Update components/ws-proxy/pkg/proxy/routes.go

Co-authored-by: Kyle Brennan <kyle@gitpod.io>

---------

Co-authored-by: Kyle Brennan <kyle@gitpod.io>
2023-05-19 15:22:53 +08:00
mustard
e82fe80af9 [public-api] add workspaceStatus stream rpc 2023-01-09 10:59:48 +01:00
Milan Pavlik
d04fd19960 [public-api] Implement & Use Delete Workspace RPC 2023-01-04 10:15:43 +01:00
Milan Pavlik
f8fd16eea9 [public-api] Implement StopWorkspace 2023-01-03 09:58:43 +01:00
Milan Pavlik
874a6b5511 [public-api] Validate Workspace ID is a UUID 2022-12-20 13:34:29 -03:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Jean Pierre
3c4b6676ee [public-api] implement public api methods for supervisor
Co-authored-by: mustard <mhqnwt@gmail.com>
Co-authored-by: Anton Kosyakov <anton@gitpod.io>
Co-authored-by: Jean Pierre <jeanp413@hotmail.com>
Co-authored-by: iQQBot <tianshi8650@gmail.com>
2022-12-08 12:45:18 -03:00
Milan Pavlik
2926d142ed [public-api] Make publiic api package match path 2022-11-09 09:42:39 +01:00
Milan Pavlik
59c57b4821 [public-api] Properly extract errors from Websocket RPC 2022-11-08 09:14:38 +01:00
Milan Pavlik
b97e9d6c5b [public-api] Cleanup Workspace Service tests 2022-11-03 13:59:08 +01:00
Milan Pavlik
a470cdbfc2 [public-api] Refactor to support multiple token types 2022-11-03 13:38:08 +01:00
Milan Pavlik
2d888a5ded [public-api] Move API definitions to experimental package 2022-10-19 17:23:34 +02:00
mustard
3075f3e533 [public-api] implement workspace proto 2022-10-19 09:42:34 +02:00
Milan Pavlik
0a476c52e8 [public-api] U Refactor to use connect handlers, route to HTTP server 2022-10-12 12:19:27 +02:00
Christian Weichel
705c4603ab [public-api] Support ListWorkspace 2022-07-13 10:17:00 +02:00
mustard
154dc5fd7d [server,db,protocol] support ssh public key
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2022-07-05 11:04:52 +05:30
Andrew Farries
a645a8cf66 Implement test for GetOwnerToken 2022-05-17 22:11:32 +05:30
Andrew Farries
dc80c457f1 Add method to FakeGitpodAPI 2022-05-17 22:11:32 +05:30
Christian Weichel
5dd9465378 [public-api] Adapt to new baseserver structure 2022-05-16 13:23:31 +05:30
Milan Pavlik
5361bab694 [public-api] Convert server errors to appropriate RPC errors 2022-05-13 13:08:28 +05:30
Andrew Farries
2a4dd8a2c0 Add test for GetOwnerToken method 2022-05-12 21:39:27 +05:30
Laurie T. Malau
202d703fe0 Transform getWorkspace response 2022-05-06 17:25:22 +05:30
Milan Pavlik
d2d84646c4 [public-api] Convert to a cobra command and add config 2022-05-04 19:30:20 +05:30
Milan Pavlik
facd600abb [public-api] Extract BearerToken from request
# Conflicts:
#	components/public-api-server/pkg/apiv1/workspace_test.go
2022-05-03 14:18:19 +05:30
Milan Pavlik
daba3bbaf9 [public-api] Remove gp-lint 2022-05-03 13:00:18 +05:30
Milan Pavlik
2ed14b37b2 [public-api] Add mock implementation of GetWorkspace 2022-04-28 21:21:14 +05:30