* Define `ListOrganizationPrebuilds`
* Fix because of name changes
* Add unimplemented `listOrganizationPrebuilds`
* Crazy stuff right here
* Address huiwen's comments
* Fix more types
* sad™
* trrr
* WIP API changes
* Add configuration id and search term filtering
* Filtering
* Offload prebuild listing to prebuild manager
* unused thingy delete
* Add filtering by status
* `listPrebuilds` -> `listOrganizationPrebuilds`
* Configuration filtering could be done with a branch
... what do you say?
* Implement branch filtering
* Update pagination rules
* Fix pagination limit validation error
* Migrate one more
* Fix org id for prebuild listing
* Update components/gitpod-db/src/typeorm/workspace-db-impl.ts
Co-authored-by: Siddhant Khare <siddhant@gitpod.io>
* Apply code suggestions
* Align pagination with config service
* Status filter validation
* Align org id usage
* Revert back to `listPrebuilds`
* Update components/gitpod-db/src/typeorm/workspace-db-impl.ts
Co-authored-by: Siddhant Khare <siddhant@gitpod.io>
* Bring in search
* Fix proj id instead of org id
* Fix search query‽‽‽
* nit 💄
---------
Co-authored-by: Siddhant Khare <siddhant@gitpod.io>
Co-authored-by: Huiwen Huang <huiwen@gitpod.io>
* Define `ListOrganizationPrebuilds`
* Fix because of name changes
* Add unimplemented `listOrganizationPrebuilds`
* Crazy stuff right here
* Address huiwen's comments
* Fix more types
* sad™
* Add configuration id and search term filtering
* Update spicedb schema
* SpiceDB gen code
* [server] add collaborator
* Update papi
* Dashboard
* nit
* Complete TODOs
* server dataops pass teamId
* Add test cases for collaborator's PAT and cookie API fetch
* Add test case description
* remove unnecessary export
* Redirect to dashboard after join an org
* Hide settings for collaborator
* dataops join via oidc should be collaborator
* Fix test
* Goes back to /workspaces
* Setting up saving and error state on prebuild settings
* cherry picking in backend work that updates some of the scm errors when installing webhooks for prebuilds
* updating tests
* adding placeholders for prebuild error cases
* adding isMissingScopes to error
* updating error messaging
* update tests
* adding toasts to projects settings for prebuild errors
* updating generic message styles
* Update components/dashboard/src/projects/ProjectSettings.tsx
Co-authored-by: Filip Troníček <filip@gitpod.io>
* Apply suggestions from code review
Co-authored-by: Filip Troníček <filip@gitpod.io>
* adjusting enabled state lookup
* updating again
* adding missing deps
---------
Co-authored-by: Filip Troníček <filip@gitpod.io>
* Adding prebuildsEnabled filter to projects search query
* adding prebuilds_enabled param
* stubbing out UI for prebuild status filter
* mark prebuilds_enabled as optional so we have an undefined state
* ui stuff
* whoopsie
* drop animations for now
* comments
* cleanup
* convert to string
* consider prebuild filter in showing table
* add prebuilds query param
* fix issue w/ fragment around routes preventing 404 handler
* Implement
* use on dashboard
* Add test case
* fixup
* fix build
* Update proto
* Update
* 💄
* 💄
* [verificationservice] added mock impl for previews
---------
Co-authored-by: Jean Pierre Huaroto <jeanp413@hotmail.com>
Co-authored-by: Sven Efftinge <sven@gitpod.io>
* [papi] add user.proto and GetAuthenticatedUser
* [papi] (generate.sh) Run end-of-file-fixer
* rename to EditoSettings
* clean up proto
* fix import
* update WorkspaceTimeoutSettings
* fix typo
* update WorkspaceTimeoutSettings
* clarify User.name is full name in doc line
* `updateConfiguration`
* typdate
* Try with no deeply nested property
* JKADFkosaNcISADFuisabnfhjl hjkafb ashjdbjbhj
* Constrain even further
* Return the configuration
* Fix update mutation
* Only update necessary properties
* Implement name changes
* typastuff
* 🙄
* Mutation update
* 🤷♂️
* Type fixes
* Conditionally pass in name
* Partials
* Fix type mishap
* Update mutation name
* Tweak types
* Reduce abstractions
* Only supply name if applicable
* Better partial assignment
* Deepmerge with originals
* Only update fully when necessary
* Fix name conversion in papi converter
Co-authored-by: Gero Posmyk-Leinemann <32448529+geropl@users.noreply.github.com>
* Assert some converted properties to not exist
* Disallow empty configuration names
* Add cache update todo
* fix type vs class
* Error toasts
* Be less strict about value of name
* Toast the actual updated name
* Fix tests :-)
---------
Co-authored-by: Gero Posmyk-Leinemann <32448529+geropl@users.noreply.github.com>
* 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>