* [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
* cleanup: remove obsolete remainings of /prebuild prefix
* Add Project.settings.enablePrebuilds
* PrebuildManager.shouldPrebuild to consider Project.settings.enablePrebuilds
* Don't install webhooks on project creation
* foreseeable change: don't prefetch project details
* fix: unused imports
* redirect to project settings on project created
* don't trigger prebuilds on project created
* fix: get rid of many ListProjects requests on Settings page
* Project Settings: add checkbox for "enable prebuilds"
* handle "enable prebuilds" in server
* updating PAPI
* fixup
* fixup
* make PrebuildManager require a Project to work on
* also SCM webhook handlers
* move project usage registration to PrebuildManager
* address feedback on useListProjectsQuery and useCurrentProject
* remove empty class name attributes
* make use of <InputField> as wrapper for <SelectWorkspaceClassComponent>
* fixup <SelectWorkspaceClassComponent> width
* update hint on "Enable Prebuilds" action
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* fix "enablePrebuild" handling
* add [Enable Prebuilds] button to "Project Created" page
* show detailed prebuild setting only if prebuilds are enabled
* drive-by: fix max width on "Remove Project"
* fix: re-add `loading` state to `useCurrentProject` hook
this caused an issue with loading components as `useListProjectsQuery.isLoading` is false initially.
* add "Enable Prebuilds" to project card
* fixup project-context.tsx
state should only be updated if `useListProjectsQuery` is loaded.
* fixup button type
* add hint to create a .gitpod.yml
* Apply suggestions from code review
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* remove unnecessary !
* extract Project.isPrebuildsEnabled
* fixup: add missing await
* render "Learn more" if not enabled, too.
* fix getCloneUrl for BBS
* fix getCloneUrl for GitLab
---------
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* [papi] List workspace classes
Adds the `ListWorkspaceClasses` method on `WorkspacesService`.
* Add test for class listing
* `Title` -> `DisplayName`
* fix rename in tests
* Update generated
* setting up CreateAndStartWorkspace handler
* adjust args
* adding createWorkspace scope for desktop app
* add getToken scope to desktop app oauth client
* remove for now
* adding region
* adding getToken while in here
* options.init
* Respond with options
* Move to editor service
* Unused imports
* Mount ot the correct service
* Sort by orderkey
* Simplify enum name
* Add tests
* Options -> `result` for consistency
* fix result field
* 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
* [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
* [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
* Update go dependencies
Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
* Update runc to v1.1.5
* Update docker cli to v23.0.2+incompatible
---------
Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>