Milan Pavlik
58a06943f6
[papi] Refactor valdiation functions to a file
2023-01-17 11:26:25 +01:00
Milan Pavlik
da841d0c1b
[public-api] Set proxy connection pool to size 500
2023-01-16 13:47:24 +01:00
Alex Tugarev
ba6ce0ecce
[public-api] Implement CreateClientConfig
2023-01-13 17:37:21 +01:00
Jean Pierre
d5e03f248f
Handle send error
2023-01-12 08:50:51 +01:00
Andrew Farries
f4bfe9f1a4
[public-api] Strip /api prefix
...
When making a ws connection to `server` we no longer need the `/api`
prefix in the URL as that is only valid for requests from outside the
cluster - the `/api` is stripped by proxy in that case.
2023-01-10 20:52:50 +01:00
Andrew Farries
d92cf9a08c
[public-api] Set NoOrigin on connect to server
...
Don't set an Origin header on the websocket connection request when
connecting to `server` as the connection is now made from the public api
to server using a cluster-local connection.
2023-01-10 20:52:50 +01: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
0309d14721
[gitpod-db] Helper to construct db connection params from env
2022-12-21 10:07:30 -03:00
Milan Pavlik
874a6b5511
[public-api] Validate Workspace ID is a UUID
2022-12-20 13:34:29 -03:00
Gero Posmyk-Leinemann
8a03b3a156
[installer, gitpod-db] Introduce database.ssl.ca
2022-12-15 12:29:24 -03:00
Alex Tugarev
a51c8b662e
🧹 fix typo and copy-paste-error
2022-12-15 09:46:24 -03:00
Milan Pavlik
e47f2d5718
[public-api] Handle context cancelled as deadline exceeded error
2022-12-13 05:32:22 -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
4fe78b14b5
[public-api] Implement ProjectsService.DeleteProject
2022-12-08 12:01:19 -03:00
Milan Pavlik
114a3bd1b4
[oidc] Add stub RPCs
2022-12-07 05:05:17 -03:00
Milan Pavlik
e5dd0238e9
[pat] API allows update which does not change any data
2022-12-01 13:42:00 -03:00
Milan Pavlik
99db58e2a4
[pat] Fix NotFound error handling
2022-11-30 12:53:59 -03:00
Milan Pavlik
7b7bb5fb1f
[pat] Remove handling log message
2022-11-30 11:15:59 -03:00
Milan Pavlik
4ebb30d4d9
[pat] Store hash as sha256 instead of bcrypt
2022-11-28 14:51:57 -03:00
Milan Pavlik
5642845022
[pat] Update Personal Access Token
2022-11-25 05:47:54 -03:00
Milan Pavlik
fbe70ea109
[public-api] Implement ProjectsService.ListProjects
2022-11-24 07:12:53 -03:00
Milan Pavlik
7ef62ba4a2
[pat] Validate and enforce scopes for PATs
2022-11-24 06:22:53 -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
10ede9c983
[pat] Check personal access tokens enabled fafeature flag against teams
2022-11-24 04:56:53 -03:00
Jean Pierre
d70072131d
[public-api] delete personal access token
...
Co-authored-by: Milan Pavlik <milan@gitpod.io>
Co-authored-by: mustard <huiwen@gitpod.io>
2022-11-23 12:11:53 -03:00
Milan Pavlik
0d759f7a66
[public-api] Implement ProjectsService.CreateProject
2022-11-23 10:58:53 -03:00
Milan Pavlik
bce5754a35
[pat] Fix workflow test from semantic merge
2022-11-23 10:24:52 -03:00
Jean Pierre
afac3c9b43
[public-api] regenerate personal access token
...
Co-authored-by: Milan Pavlik <milan@gitpod.io>
Co-authored-by: mustard <huiwen@gitpod.io>
2022-11-23 10:01:52 -03:00
Milan Pavlik
393664b794
[public-api] PAT Workflow test
2022-11-23 09:43:52 -03:00
Milan Pavlik
e15c78b82f
[pat] Reduce bcrypt cost to 10
2022-11-23 05:23:53 -03:00
Milan Pavlik
d14c82af19
[public-api] Remove hash property from Personal Access Token
2022-11-22 13:32:52 -03:00
Laurie T. Malau
72de7937bf
[pat] Implement GetPersonalAccessToken
2022-11-22 13:31:52 -03:00
Milan Pavlik
4913d48793
[public-api] Create Personal Access Token implementation
2022-11-22 11:39:52 -03:00
Milan Pavlik
a0a9ddddc5
[public-api] Use personal access token signing key
2022-11-22 07:11:52 -03:00
Milan Pavlik
b30941bc83
[public-api] Implement list personal access tokens
2022-11-22 06:53:51 -03:00
Milan Pavlik
c8613ce0e6
[public-api] Remove integration test, already covered in api package
2022-11-22 05:16:51 -03:00
Milan Pavlik
d17e2d67e4
[public-api] Generate & Parse Personal Access Tokens
2022-11-21 09:06:50 -03:00
Laurie T. Malau
ee08e7863c
[db] Move db models to gitpod-db/go module
2022-11-21 08:37:50 -03:00
Jean Pierre
cd144de51f
Add IDEClientService
2022-11-17 07:07:46 +02:00
Milan Pavlik
728d87011f
[public-api] Wire up DB connection
2022-11-16 18:17:46 +02:00
Milan Pavlik
3a9e9bfee2
[public-api] Add Tokens RPC stubs
2022-11-16 11:31:45 +02:00
Milan Pavlik
d3eb25cfd2
[public-api] Initial stub implemention for CreateToken
2022-11-16 10:56:45 +02:00
Milan Pavlik
8aeb5e1891
[public-api] Reduce duplication when establishing connection to server
2022-11-15 18:15:45 +02:00
Milan Pavlik
d9bd0bf619
[public-api] Add test for CreateToken when feature flag enabled
2022-11-15 17:25:45 +02:00
Laurie T. Malau
98e6fe730c
[public api] Use tokens feature flag
2022-11-15 14:36:45 +02:00
Jean Pierre
5c8f4c1f32
User service
2022-11-12 11:34:42 +02:00