* wip for getting pagination tokens setup
* swapping pagination for token based load more UI
* disable refetch on window focus
* partially working infiniteQuery
* updating proto files for pagination
* updatnig pagination to handle load more approach
* adding bottom margin
* adding tests
* encode search term query param
* validate params
* change button variant
* making sure we don't drop some props
* Update components/dashboard/src/data/configurations/configuration-queries.ts
Co-authored-by: Filip Troníček <filip@gitpod.io>
---------
Co-authored-by: Filip Troníček <filip@gitpod.io>
* adding ConfigurationServiceAPI
* binding config service api to server
* use getConfiguration in dashboard
* adding missing binding
* use ApplicationError's
* add protobuf classes to query client hydration
* fixing pagination param & query
* changing to import statements for consistency and clarity on what the imports are for
* cleanup
* dropping config settings for create for now
* use protobuf field names in error messages
* removing optional on fields
* fixing converters to account for non-optional (undefined) fields
* update test
* adding more tests for findProjectsBySearchTerm
* fixing test to use offset correctly
* convert pagination args correctly
* [papi] add watch workspace status api
* update import
* 1
* debug commit
* Add workspace_id to proto
* Add unit test for async generator
* Update usage of func
* update test cases
* fix json rpc watch
* 1
* remove test commit and fix missing field
* Local App v2 :)
* bind variables correctly
* Play around with units
* Port more commands over
* Separate commands (1 per file)
* `gitpod workspace delete`
* Extract login
* Show help text when run without a command
* Fix login
* `gitpod logout`
* Simple logging
* Remove unused import
* Make host use consistent
* Fix GetToken
* Split distribution
* 🤷♂️
* Fix paths 🤷🤦
* Change URL of binaries
* Fix proxy binary handling
Co-authored-by: Pudong <tianshi8650@gmail.com>
* Improve logging
* Change workspace list to be up-to-spec
* `gitpod organizations list`
* Simplify table code
* `gitpod workspace get`
* Created at
* `gitpod organization get <id>`
* Hide open for now
* `workspace start --ssh`
* `ws start --open`
* server: OAuth client
* Use OAuth app
* logs
* `gitpod workspace create`
* Rename to follow singular noun semantics
* Fix nil pointers in list and go cmds
* `--field` for `gitpod organizations list`
* `gitpod ws list --field`
* Simplify some of the ws code
* Unify WS data structure
* Allow opening browser-based WSs
* `gitpod workspace open`
* Constants package to get rid of circular dependency issues
* No config file by default
* Guidance when missing in path
* Fix local companion maybe 🤷♂️
* Create wait for start by default
* Align scopes
* KeychainName constant
* Provide token via flag instead
* Host in scope error lookup message
* 🤷♂️
* Name for consistency
* Editors in go client of papi
* `gitpod workspace list-classes`
* `gitpod config`
* Infer orgs if applicable
* Remove redundant error log
* Retry mechanism for streaming
* More useful error message for unauthed
* README update
* Allow `function:getTeam`
* return org inference errors properly
* Replace config with context
* Fix config file path
* Wrap up pretty printer
* Name changes
* Remove unused vars
* 🇺🇸
* Update README
* Fix login
* [local-app] Add whoami command
* [local-app] Add context management
* Refactor common package
* Harmonise output and formatting
* Add error resolution support
* Improve resolution printing
* Add apology for system exceptions
* Add class resolutions
* Apologise more
* Add unknown field resolution
* Add better login context name
* Make it build
* `gitpod workspace list-editors`
* Fix multiple ws IDs for `ws get`
* Simplify open code
* Update local-app README with usage instructions
* Help for editor options
* Remove unused config code
* Call workspace ID field ID instead of workspace
* Improve long format output
* Fix whoami output
* Streamline workspace listing
* Introduce fancy intro
* Improve set-context feedback
* Remove common package
* Add first unit test
* Harmonise field order
* Consistency across get commands
* Consistency among list command aliases
* Fix column name in whoami
* Fix nil refs for empty hosts
* Make prettyprint writer typesafe
* Add resolutions for no token or no host found
* Fix typo
* Fix CI build
* Properly record org ID on login
* Print orgs in wide format
* Added "workspace up" functionality back in
but hidden
* Make "Git" casing consistent
https://english.stackexchange.com/questions/611711/tech-related-should-i-capitalize-the-word-git-in-this-context-or-not
* Introduce workspace up intermediary
* Fix proxied binary name
---------
Co-authored-by: Pudong <tianshi8650@gmail.com>
Co-authored-by: Christian Weichel (Chris) <chris@gitpod.io>
* turn text input into select input
* mimic old behavior for pre-existing projects
* explicit settings under the project should have precedence
* add PrebuildBranchPattern to project settings
* add branch name pattern to project settings page
* fixup c&p error
* match branch names by glob pattern
* fix pattern matching
* fix project settings form
* fix initial value for prebuildBranchPattern
* adding more tests
* add globstar tes
* fixup rebase error
* Apply suggestions from code review
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* fine tune debounce wait
---------
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* add `prebuildDefaultBranchOnly` to `Project.settings`
* evaluate prebuildDefaultBranchOnly in PrebuildManager
* add "Prebuild the default branch only" checkbox
* fix missin PAPI mapping 🤯
* fix PrebuildDefaultBranchOnly in gitpod-service.go
* turn text input into select input
* update styles on project settings page
* mimic old behavior for pre-existing projects
* use getPrebuildBranchStrategy in PrebuildManager
* add tests for PrebuildManager.prebuildPrecondition
* fix getPrebuildEvents
* explicit settings under the project should have precedence
* render changes to project settings immediately
* [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