* redirect in the offline case
* [public-api] generate noise
* [server] Refactor Prebuild resolution to happen in a single place
* [dashboard, api] Show Prebuild details
* fixup! [server] Refactor Prebuild resolution to happen in a single place
* [bridge] Revive Prebuild QUEUED state: it's everything before running
* [server] Fix dead-end for streaming logs when starting too early
* [dashboard] Adds SHA + duration, fix re-rendering when prebuildId changes, and uses the new/old streaming logic
WIP because still has the "duplicate (sometimes triple!) logs" react re-rendering issue
* Prevent unnecessary re-renders of task output
* remove double-comment
* Duration display improvements
* Properly dismiss toasts and render durations
* Remove SHA from prebuild list
* Clean up and implement the `reset` event for workspace logs
* fix comment
* Tiny cleanup
---------
Co-authored-by: Filip Troníček <filip@gitpod.io>
* [server] allow to update org settings
* [dashboard] allow org-level editor restriction
* Org owned user's editor settings should be restricted too
* Never pass empty array
* Fix user onboarding editors always loading
* Fix incorrect loading state of ide versions
* Show available editors for org owned users
* Update components/dashboard/src/user-settings/SelectIDE.tsx
Co-authored-by: Filip Troníček <filip@gitpod.io>
* Address feedback
* Revert version pin on user settings page
* Add json rpc checking
---------
Co-authored-by: Filip Troníček <filip@gitpod.io>
* Ensure valid repository tie when listing prebuilds
* Make sure tests have a valid project
* Prettier display of not found entries
* Fix toasters
* Test non-existent configuration
* Refactor error components
* Init prebuilds list
* Text size and color tweaks
* Dropdown filtering UI
* wip changes
* File renames and such
* Filter by state
* fix path
* Add configuration ID filtering
* Prebuild list error state
* Protobuf sorting definition
* API-level sorting
* Simplify pagination
* Fix undefined inference
* Dashboard adopt sort behavior
* make sorting required
* Move ordering 🤷♂️
This will most definetely not solve anything, but...
* Hopefully fix sorting 🤷♂️
* less `as`
* Simplify state check
* Repeated sorting
* Sort out sorting
Sorry :/
* Configuration dropdown WIP
* Make configuration filter disableable
* Use in in SQL
* Minor styling adjustements
* Nav item
* Rename menu item
* Const 🤷♂️
* Always display filter reset opt
* Add prebuild link to prebuild settings
* Simplify
* Don't throw errors
All my homies hate throwing in `server`
* FF hook
* Name failed to load state
* typo
* Better unknown inference
* Add ConfigurationField component to display repository name and link
* Do not retry configuration load
* Move prebuild utils
* Unify sort types
* Refactor PrebuildTable to use arrow function syntax for mapping prebuilds
* fix imports
* Widen triggered column
* Widen even more
* Shorten status labels
* Init ws db tests
* Rename list item comp accordingly
T'was an oopsie doopsie
* Test configuration ids and branches filtering
* 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>
* 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
* [dashboard] remove unused service mock
* [dashboard] use `GetAuthenticatedUser` instead of `getLoggedInUser`
* fixup: override workspaceAutostartOptions
also fix toDurationString call
* fixup: move `isOnboardingUser` to dashboard
* fixup: move getProfile from protocol to common
* fixup fromWorkspaceAutostartOption
* move getPrimaryEmail to common and clean up
* rm getProfile from protocol, use ProfileDetails
* fixup missing leeway dependencies
* fix getPrimaryEmail
* fix resetting workspace timeout
* [gitpod-db] remove dependency to `@gitpod/public-api-common`
* cleanup BUILD.yaml
* `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>
* fixing pagination logic
* wip
* flushing out rows
* adding missing creationTime
* adjusting result count copy
* fix offset... again
* Flushing out table UI a bit more
* Flushing out table UI a bit more
* comment for remembering to use search params
* more comments
* fix pages count
* copy/responsive adjustments
* updating search project query & service
* pass org id along and check permission in service
* Extracting table components
* cleanup
* fix menu copy
* 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 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