19 Commits

Author SHA1 Message Date
Huiwen
62c573a453
Add default image get to PAPI and improve Dashboard (#18767)
* [server] update getDefaultWorkspaceImage api

* [dashboard] api usage update

* [protocol] add go definition

* [papi] add getDefaultWorkspaceImage method

* fixup

* [dashboard] add org image warning to start workspace page

* fix error wrap

* Update supervisor to use publicApi

* [dashboard] always show default image and remove tag width limit

* fixup

* move new warning to StartPage

* Update components/dashboard/src/teams/TeamSettings.tsx

Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>

* Address feedback

---------

Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2023-09-22 11:58:01 +02:00
Anton Kosyakov
c7c122125e
[public-api] improve error handling (#18739)
* [dashboard] add exponential backoff for streaming emulation

* [dashboard] add source map resolver

* [server] fix actual bug

* [public-api] compile to es6

to prevent duplicate @bufbuild modules in dashboard

* [public-api] export ESM modules
2023-09-20 08:32:59 +02:00
Anton Kosyakov
352484b34d
node grpc spike dashboard to server (#18691)
* [public-api] add dummy service for testing

* [public-api] proxy dummy to server

* [public-api] hello service server impl

* [server] fix API contribution bindings

* [dashboard] emulate unary call

* only if actually called

* [dummy] auth

* fix tests

* [server] add interceptor to public api

* add server side observability

* fix port name

* change to unimplemented for unknown methods

* [public-api] client metrics

* fix metrics imports

* align server metrics

* actually fix metrics

* add feature flags

* fix server side streams

* [dashboard] hook error reporting

* rebase and fix imports

* feature flagged metrics from dashboard

* revert GRPC_TYPE

* address feedback
2023-09-15 13:46:54 +02:00
Jean Pierre
b24ae9495d
Upgrade jsonwebtoken lib (#18634) 2023-09-06 19:16:03 +02: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
93ec6ab1f2
[fga] extract WorkspaceService.start (#18467)
* [server] WorkspaceService.startWorkspace

* [server] Start redis if not running

* [server] Move regionCode handling into WorkspaceService.startWorkspace

* [server] move "not-deleted" check into WorkspaceService.startWorkspace

* fix sshkey tests

---------

Co-authored-by: Gero Posmyk-Leinemann <gero@gitpod.io>
2023-08-15 12:02:44 +02:00
Sven Efftinge
ab4d22284a
[user-service] extract user-authentication (#18349) 2023-07-26 17:48:42 +08:00
Sven Efftinge
075e14c47f
[build] enabled some eslint rules (#18165) 2023-07-04 22:32:21 +08:00
Gero Posmyk-Leinemann
cc52d25280
Upgrade yarn packages (#18128)
* [ts] Pin mimimatch and minimist

* [server] Update minio

* [ts] Remove superfluous node-pre-gyp dep

* [ts] Pin jsonwebtoken to 9.0.0

* [grpc] Update grpc-toolsis

* [ts] Upgrade from mocha-typescript to  @testdeck/mocha

* fix rimraf
2023-07-03 14:47:19 +08:00
Gero Posmyk-Leinemann
9bbca52a4d
[server] Fix db-tests and enable during CI (#17795) 2023-06-01 15:44:06 +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
Sven Efftinge
b7d01a7e25
Disallow deletion of teams (#17538) 2023-05-10 22:25:55 +08:00
Milan Pavlik
c809e33f2f
[server] Unimplemented workspaces service (#17160) 2023-04-24 21:20:45 +08:00
Milan Pavlik
f9ebddd431
[server] Log explicitly when user is blocked (#17181) 2023-04-12 16:54:52 +02:00
Milan Pavlik
9fef280622
[server] Implement grpc/connect getTeam RPC (#17068)
* [server] Implement grpc/connect getTeam RPC

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* Fix

* Fix

* fix

* cleanup logs

* Fix
2023-03-30 11:08:40 +02:00
Milan Pavlik
212f565280
[server] Register gRPC/Connect team service (#17062)
* [server] Register gRPC/Connect team service

* fix
2023-03-29 14:58:38 +02:00
Milan Pavlik
ded4f84a6e
[server] Implement blockUser (#17045)
* [server] Implement blockUser

* fix

* fix

* Fix
2023-03-28 15:32:26 +02:00
Milan Pavlik
d6629f3f92
[server] Unimplemented user service on internal port (#16999) 2023-03-27 09:26:24 +02:00