62 Commits

Author SHA1 Message Date
Filip Troníček
c5059f2dc3
Filter by organizationId in ListWorkspaces (#18402)
Remove `IncludeWithoutProject`
2023-08-02 05:20:27 +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
Sven Efftinge
caf26b812d
[server] remove getUserProjects (#18093) 2023-06-29 16:30:47 +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
Anton Kosyakov
8902b61854
[public-api] stats initial (#17718) 2023-05-24 17:27: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
Alex Tugarev
7952153237
Add verify param to OIDC start request – WEB-333 (#17576)
* [papi] Add `verified` flag to config and `ActivateClientConfig` to OIDC service

* [papi] implement `ActivateClientConfig`

* [gitpod-db/go] add `setClientConfigVerifiedFlag`

* [gitpod-db/migration] add `d_b_oidc_client_config.verified` field

* [papi] Don't deactive on UpdateClientConfig

* [gitpod-db/go] add missing `Verified` field

* On "activate" request also mark as verified.

* [gitpod-db/go] fix mapping of `Verified` field

* [papi] ensure only verified OIDC client configs can be activated

* [papi] Skip the sign-in on verify-only requests.

* [papi] fix skipped tests

* [papi] fix mapping of OIDC configs

* rename RPC method

* fix tests after adding validation of claims

* fix: activation of record should deactivate others

* fix: update should unverify the entry

* remove Debug()

* [db-migration] fix: mark active entries as verified
2023-05-16 21:09:02 +08:00
Sven Efftinge
b7d01a7e25
Disallow deletion of teams (#17538) 2023-05-10 22:25:55 +08:00
Alex Tugarev
76c61533a6
[OIDC] Enable mark client config as "active" (#17365)
* [gitpod-db] Add `d_b_oidc_client_config.active` field

* [papi] Add OIDCClientConfig.active to proto def

* [gitpod-db] Add OIDCClientConfig.active

* [papi] Add `activate` param to `/oidc/start` endpoint handler

If provided it should mark the OIDC client config as `active` in the DB.

* Fix propagation of state params and add tests.

* fix import of deprecated ioutil

* refactor GetStartParams

* consider `activate` from create request
2023-04-27 21:35:36 +08:00
Alex Tugarev
275e782341
[Orgs] Persist slug (#16923)
* [orgs] Persist `slug`

* [Orgs] Make `slug` changeable on Settings page

* update to use input/button components and mutation

* [papi] Re-add Team.slug

---------

Co-authored-by: Brad Harris <bmharris@gmail.com>
2023-03-24 10:51:16 +01:00
Milan Pavlik
6fcfe2519e
[public-api] Add BlockUser rpc (#17000) 2023-03-23 16:35:16 +01:00
Christian Weichel
da4cafd5e5
Gitpod OIDC Identity Provider (#16482)
* Prototype IDP provider

* [gp cli] Add IDP commands

* [public-api] Remove zitadel based IDP implementation

* [gitpod-cli] Add IDP support for Vault

* [idp] Remove per-org IDP

* [idp] Add key cache and random key IDs

* [idp] Defer GetIDToken authorisation to server

* [idp] Add Redis public key cache

* [gitpod-cli] Hide IDP commands

* [idp] Add key ID to JWT

* [idp] Add unit tests

* [idp] Adress review comments

* [public-api-server] Use logging middleware globally

* [public-api-server] Simplify service registration

* [idp] Add Redis outage resilience
2023-03-03 17:11:01 +01:00
Milan Pavlik
1dc48fbc23 [teams] Remove slug usage 2023-02-07 07:51:44 +01:00
Alex Tugarev
487b7edfde [public-api] re-generate and adjust callsites 2023-01-20 12:11:27 +01:00
Milan Pavlik
1706974cc3 [oidc] Add Organisation ID to OIDC API 2023-01-18 11:37:25 +01:00
Siddhant Khare
8b1b59014b License Public API npm package 2023-01-16 10:02:23 +01:00
mustard
e82fe80af9 [public-api] add workspaceStatus stream rpc 2023-01-09 10:59:48 +01:00
Milan Pavlik
9237708176 [public-api] Define DeleteWorkspace 2023-01-04 10:15:43 +01:00
Milan Pavlik
10969f54db [public-api] Make StopWorkspace a unary RPC 2022-12-19 20:05:29 -03:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
mustard
42d6129d12 [public-api] define endpoints for ports and git token 2022-12-06 12:37:16 -03:00
Alex Tugarev
f8ffbe0b57 [iam] clean up oidc.proto 2022-12-05 14:01:16 -03:00
Alex Tugarev
fd2247595c [iam] Add proto definitions for OIDC provider config 2022-12-05 12:43:15 -03:00
Milan Pavlik
2ce9d02743 [pat] Validate PAT name 2022-11-24 05:57:53 -03:00
Milan Pavlik
64ed64a428 [pat] Remove description field 2022-11-24 05:19:53 -03:00
Milan Pavlik
d14c82af19 [public-api] Remove hash property from Personal Access Token 2022-11-22 13:32:52 -03:00
Milan Pavlik
28a7fda9d9 [public-api] ListPersonalAccessTokens with Pagination definitons 2022-11-22 04:43:51 -03:00
Jean Pierre
cd144de51f Add IDEClientService 2022-11-17 07:07:46 +02:00
Milan Pavlik
ca3f94d42e [public-api] Add ID to RegeneratePersonalAccessTokenRequest 2022-11-16 11:00:46 +02:00
Milan Pavlik
59da81a9e7 [public-api] Make pagination page an int 2022-11-15 01:43:44 +02:00
Milan Pavlik
bf6b080ce3 [public-api] Add extra prebuild settings to Project Settings 2022-11-14 10:03:43 +02:00
Jean Pierre
5c8f4c1f32 User service 2022-11-12 11:34:42 +02:00
Milan Pavlik
81c009c416 [public-api] Define ProjectsService 2022-11-11 16:49:41 +02:00
Laurie T. Malau
9af1570cd9 [public api] Proto definitions for tokens 2022-11-10 12:29:40 +02:00
Milan Pavlik
890d648929 [public-api] Define TeamsService.DeleteTeam RPC 2022-11-10 11:12:40 +02:00
Milan Pavlik
66c9f2df22 [public-api] Add primary_email to TeamMember 2022-11-03 08:33:07 +01:00
Milan Pavlik
0a92af5390 [public-api] Add avatar_url and full_name to TeamMember 2022-11-02 09:25:07 +01:00
Milan Pavlik
3d7cf213c3 [public-api] Define GetTeam RPC 2022-11-02 08:42:06 +01:00
Milan Pavlik
da562a4817 [public-api] Add member_since to TeamMember definition 2022-11-01 09:21:06 +01:00
Milan Pavlik
b8e92260cc [public-api] Add experimental TeamsService 2022-10-31 14:52:05 +01:00
Milan Pavlik
e84bd1faca [public-api] Define TeamService.CreateTeam protos 2022-10-27 13:27:41 +02:00
Jean Pierre
f732037a12 Fix entrypoint 2022-10-21 21:19:36 +02:00
Jean Pierre
42cbc5ba0e Add missing entrypoint 2022-10-20 21:34:35 +02:00
Milan Pavlik
d0d80ded46 [public-api] Remove dependency on @gitpod/gitpod-protocol 2022-10-20 15:36:35 +02:00
Milan Pavlik
2d888a5ded [public-api] Move API definitions to experimental package 2022-10-19 17:23:34 +02:00
Milan Pavlik
d6242ed18a [public-api] Remove unimplemented, or no longer needed RPCs 2022-10-19 10:34:34 +02:00
mustard
dbaf125c6f [public-api] expose WorkspaceInstance as part of Workspace message 2022-10-19 09:42:34 +02:00
Milan Pavlik
bbfc28df29 [public-api] Generate Go and TS Connect protos with buf 2022-10-06 14:18:22 +02:00
Christian Weichel
099169a6c8 [public-api] Add preparing phase
Altering the enum numbers is OK here because the enum has never been exposed
before, hence we can be sure that there is no consumer of this API yet.
2022-07-13 10:17:00 +02:00
Milan Pavlik
d336cf8696 [public-api] Publish to NPM 2022-05-17 17:46:31 +05:30