* Extend ws-manager API to support workspace class descriptions
fixes ENG-1065
* Extend DescribeCluster in ws-manager-mk2
to acurately report the available workspace classes
fixes ENG-1066
* Add workspace classes to cluster in DB
* Intergrate workspace cluster collection in ws-manager-bridge
* Feature flag off discovered workspace class usage
* Fix build
* Add unittest for getSupportedWorkspaceClasses
* Fix workspace class storage
* Adress review feedback
* [server] move FGA calls into AuthProviderService
* split internal upsert method `updateAuthProvider` into create and update
* refactor: move `getAuthProviders` logic from gitpod-server-impl to auth-provider-service
* adding db tests for auth provider server
* use redacted results in service
* Fix typos
* extract helper functions for scopes
* add more tests
* as regular member, should find org-level providers if no built-in providers present
* as regular member, should find only built-in providers if present
---------
Co-authored-by: Huiwen <mhqnwt@gmail.com>
* adding searchRepositories method w/ github impl
* fix a few things and add bbs impl for searchRepos
* integrate searchRepositories in RepositoryFinder
* adjusting loading indicators
* cleanup
* wrap repository search behind feature flag
* Changing queries for github repo search
* fix enabled to use debounced value
* fix org filters
* drop variables for query
* fixing encoding
* 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>
* Adding getSuggestedRepositories method
* accounting for lastUse better
* limit to org
* remove repoName for now
* add checks
* cleanup
* remove repositoryName for now
* cleanup
* removing repo name for now
* adding tracing
* Wiring up api repo searching for bitbucket server
* adding lodash.debounce dep
* add lodash.debounce types
* Hiding account for bitbucket server
* print host only
* adjust loading state to not be totally blocking
* adjust filtering and query key
* support fetching recent repos
* use search params instead of strings
* adjusting loading component
* cleanup
* wrap incremental search code w/ feature flag
* yarn lock updates
* adding a limit to grab only the first 100 repos
* rename for clarity
* change to call in series to reduce rate limit chances
* renaming cap => maxPages
* fixing some stuttering widths changing as things load
* add alert message for bbs searching
* [server] add `searchString` to `getRepositoriesForAutomatedPrebuilds`
* reintroduce and fix paginated requests
* using a default cap at 10 requests per paginated request
* make getProviderRepositoriesForUser cancellable
* track a verificaitonId during phone verification
* use snake case property names for tracking
* validate verificationId is uuid
* move validation into service
* typo in error msg
* Implement user account verification with LinkedIn during onboarding
* updating connect with linked-in banner
* removing unused imports
* Store token, fix binding
* Refactor LinkedInToken to LinkedInProfile
* Actually write the LinkedIn secret to the server config
* Fetch LinkedIn user profile and email address
* Add creationTime column to d_b_linked_in_profile
* Add more debug logging
* Fix LinkedIn API calls, mount LinkedInProfileDB
* Also bind LinkedInProfileDB
* Add LinkedIn scope r_liteprofile
* Enhance LinkedIn profile retrieval, store the profile, ensure uniqueness
* Align with UX spec and complete onboarding flow
* Prevent the LinkedIn button from auto-submitting the onboarding form
* Address nits (LinkedInService to /src and minor spacing)
---------
Co-authored-by: Brad Harris <bmharris@gmail.com>
* [server] normalize contextURL
* [create workspace] only create one workspace
- respect referrer context
- useWorkspaceContext returns null instead of being disabled
when contextUrl is undefined
* [dashboard] immediately show running workspaces