Filip Troníček
46ff2d0121
Scope config lookup to org ( #19217 )
2023-12-08 08:50:15 +02:00
Pudong
6ecc991ff5
[experimental] add ssh certificate authorities as feature flags ( #19208 )
2023-12-07 22:59:14 +02:00
Huiwen
bb2473e886
Migrate WorkspaceService snapshot methods ( #19204 )
...
* Migrate WorkspaceService snapshot methods
* Add test cases
* Remove list snapshots
2023-12-07 15:51:14 +02:00
Alex Tugarev
e4ccbf0b4d
GetAuthenticatedUser in Dashboard ( #19142 )
...
* [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
2023-12-06 17:42:14 +02:00
Huiwen
0152b84a80
Migrate gRPC workspaceService other workspace related method ( #19118 )
...
* Migrate gRPC workspaceService other workspace related method
* Use shim and gRPC everywhere
* fix update
2023-12-06 12:42:13 +02:00
Gero Posmyk-Leinemann
2b5a36e9b5
[authorizer] prepare Authorizer for SubjectId rollout ( #19195 )
2023-12-06 10:58:13 +02:00
Brad Harris
ca02c26021
handle redirects in host reachability test ( #19196 )
2023-12-05 20:45:12 +02:00
Anton Kosyakov
5db20a7042
[server] hook verification API service ( #19193 )
2023-12-05 12:50:12 +02:00
Gero Posmyk-Leinemann
4c3eb7d72f
[iam] Use proper subjectId in updateOIDCUserOnSignin ( #19189 )
2023-12-05 10:17:12 +02:00
Huiwen
39ebf1d2ca
Revert Refine workspace and fix bugs ( #19178 )
...
* Revert "Revert "Refine workspace API (#19138 )" (#19172 )"
This reverts commit a6f472255601ecd7574d33ae3015ea1c184b47d5.
* Update to workspace cases
* Add new cases and fix
* Add timeout
* fixup
* Remove requirement of editor
* Update cases
* Bump version
* Update dashboard
2023-12-04 12:36:11 +02:00
Filip Troníček
7bcc749da0
Configuration Variables page ( #19128 )
...
* `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
* 🤷♂️
* init
* Remove method present in upstream
* newlines and imports
* Address env var API changes
* fixies
* Fix list query key
* Fix for new router
* Fix list vars key? 🤷♂️
* Simplify return
* Adding stuff
* Add path
* Single variable component
* Use mutation callbacks for success and errs
* Typography and layout
* Do not store variable data in-browser
* Edit variable modal
* De-center
* Small fixes with admission init
* Spacing and alignment of menu items
* 🤷♂️
* Error reporting for creation/edit
* Update copy
* Verboserer output
* Fix missing argument 😱
* Pass in all properties of variables
* Provide ID when updating
* Fix changing admission
* Simplify
* Update table copy
* Text sizes
* Format
* Typo
* rename
* Simplify
* Copy update
* Rename comp
* Duplicate error printing
* Use `TextInputField`!
* Clean up TextInputField
* Break instead of truncate
* Fixed width table headers
Co-authored-by: Brad Harris <bmharris@gmail.com>
* Simplify route setup
---------
Co-authored-by: Brad Harris <bmharris@gmail.com>
2023-12-02 00:31:09 +02:00
Anton Kosyakov
e21e02ae9d
[public-api] improve request exception logging ( #19179 )
2023-12-01 18:36:08 +02:00
Huiwen
a6f4722556
Revert "Refine workspace API ( #19138 )" ( #19172 )
...
This reverts commit da0c5901b4af15a3584d5c5d6b80380f0c093855.
2023-11-30 12:14:07 +02:00
Jean Pierre
a997229da8
[public-api] Add installation service ( #19150 )
...
* Add installation service
* Fix dashboard
* Fix
* Fix
---------
Co-authored-by: Huiwen <mhqnwt@gmail.com>
2023-11-30 01:12:07 +02:00
Christian Weichel
da0c5901b4
Refine workspace API ( #19138 )
...
* Refine workspace API
* Fix build
* update proto
* fix rebase
* fix rebase - 2
* 1
* fix editor
* Update doc
---------
Co-authored-by: Huiwen <mhqnwt@gmail.com>
2023-11-29 16:15:07 +02:00
Huiwen
d6dcda8a3e
Migrate parts of gPRC workspaceService ( #19129 )
...
* Migrate parts of WorkspaceService
* bump version
2023-11-29 12:28:07 +02:00
Anton Kosyakov
2f14d7a2fe
decouple gitpod-protocol from public-api ( #19151 )
...
to prevent rebuilding of components which dependent on gitpod-protocol, but not public-api on an API change
2023-11-29 10:36:06 +02:00
Alex Tugarev
5bbfc3b2ec
Fix some log statements and a minor in pre-commit settings ( #19137 )
...
* [server] fix log message
* [pre-commit] run dashboard-linter only if dashboard files changed
breaks dependency on `yarn install`
2023-11-28 18:24:05 +02:00
Huiwen
0acd42e106
Migrate gRPC VerificationService ( #19143 )
...
* 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>
2023-11-28 17:56:06 +02:00
Sven Efftinge
1a68211e21
[server] consider unfinished prebuilds ( #19152 )
2023-11-28 11:25:05 +02:00
Gero Posmyk-Leinemann
5fc4561abc
SubjectId: Address mismatch (I) ( #19144 )
...
* [workspace] Use runWithRequestContext in reconcileWorkspaceStart
* [probot] Run prebuild webhook with correct subjectId
* [prebuods] Mopre SubjectId changes...
2023-11-28 10:53:05 +02:00
Manuel Alejandro de Brito Fontes
4dfc2b7886
Reduce job log verbosity ( #19148 )
2023-11-28 08:27:05 +02:00
Anton Kosyakov
180f648782
[dashboard] enable grpc migration per service ( #19140 )
2023-11-27 10:42:04 +02:00
Gero Posmyk-Leinemann
b6fa451a94
[server] Use RequestContext.subjectId for authorization ( #19091 )
2023-11-24 13:00:02 +02:00
Jean Pierre
c201a2d9df
[public-api] migrate ssh service ( #19110 )
...
* migrate ssh service
* 💄
* 💄
* fix build
* Fix
---------
Co-authored-by: Huiwen <mhqnwt@gmail.com>
2023-11-23 07:12:00 +02:00
Huiwen
fa3cca46c0
Migrate CreateAndStartWorkspace method in dashboard ( #19076 )
...
* Migrate WorkspaceService.CreateAndStartWorkspace
* Add unit tests
* Fix rebase build error
2023-11-22 18:23:59 +02:00
Anton Kosyakov
70517fbd5a
[dashboard/server] app error conversion based on error details ( #19103 )
2023-11-22 17:49:59 +02:00
Alex Tugarev
b929a2483b
Fix for "never read" ( #19117 )
2023-11-22 17:27:00 +02:00
Alex Tugarev
612b919699
[server] Extract ScmService to be used by both APIs ( #19098 )
...
* [server] add ScmService to be used by ScmServiceAPI (and WS API)
* add simple test for `getToken`
* refactor `ScmService.getToken` to return token of undefined
* fix duplicata validation
* add api converter tests
* just some docs
2023-11-22 16:27:00 +02:00
Alex Tugarev
0fba169219
[server] Removes unused RepositoryService.canInstall ( #19112 )
...
* [server] Remove obsolete branch from `createWorkspace`
We're no longer supporting `/prebuild` in context parser, thus this is obsolete.
* [server] remove unused `RepositoryService.canInstallAutomatedPrebuilds`
2023-11-22 13:13:59 +02:00
Sven Efftinge
6ff405b964
[build] make build incremental ( #19106 )
2023-11-22 08:17:00 +02:00
Brad Harris
73a1c76985
Add sorting to imported repos list and corresponding API ( #19097 )
...
* adding sorting support for ListConfigurations
* Getting sortable headers partially setup
* killing the global button styles
* Updating sortable headers
* cleanup
* adding comment about sort field
* Update components/dashboard/src/app/Blocked.tsx
Co-authored-by: Filip Troníček <filip@gitpod.io>
* Update components/dashboard/src/components/Button.tsx
Co-authored-by: Filip Troníček <filip@gitpod.io>
* Update components/dashboard/src/components/podkit/buttons/Button.tsx
Co-authored-by: Filip Troníček <filip@gitpod.io>
* Update components/dashboard/src/components/toasts/Toast.tsx
remove redundant styles
Co-authored-by: Filip Troníček <filip@gitpod.io>
* Update components/dashboard/src/components/podkit/tables/SortableTable.tsx
Co-authored-by: Filip Troníček <filip@gitpod.io>
* Update components/dashboard/src/usage/UsageDateFilters.tsx
remove redundant style
Co-authored-by: Filip Troníček <filip@gitpod.io>
* Update components/dashboard/public/complete-auth/index.html
Co-authored-by: Filip Troníček <filip@gitpod.io>
* extracting to a local LoginButton component
* whoopsie
---------
Co-authored-by: Filip Troníček <filip@gitpod.io>
2023-11-22 00:08:59 +02:00
Jean Pierre
4aef5ceb84
[public-api] Some renaming ( #19095 )
...
* 💄
* 💄
* 💄
2023-11-22 00:07:59 +02:00
Filip Troníček
6f7ff4f7f4
updateConfiguration (#19080 )
...
* `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>
2023-11-21 22:42:00 +02:00
Anton Kosyakov
6933bab2b6
[public-api] migrate PrebuildService ( #19062 )
2023-11-21 17:14:58 +02:00
Alex Tugarev
3b85bf13e1
[server] remove unused getFeaturedRepositories ( #19100 )
2023-11-21 16:42:59 +02:00
Gero Posmyk-Leinemann
9be1fec2c0
[ts] Add metric gitpod_logs_total(level) for TS components ( #19093 )
2023-11-21 16:39:59 +02:00
Alex Tugarev
64852fa71d
[server] fix listAuthProviderDescriptions if unauthenticated ( #19094 )
2023-11-21 10:24:59 +02:00
Jean Pierre
4ac04ee19e
[public-api] Migrate envvarService ( #19067 )
...
* Migrate envvarService
* update
* fix tests
* nit
* Fix
* Fix
* 💄
---------
Co-authored-by: Huiwen <mhqnwt@gmail.com>
2023-11-20 17:27:57 +02:00
Brad Harris
a409eb0792
Adding pagination tokens for config service ( #19078 )
...
* 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>
2023-11-20 17:09:58 +02:00
Anton Kosyakov
5eb0a0cfee
[server/dashboard] use ApplicationError ( #19092 )
2023-11-20 15:10:58 +02:00
Gero Posmyk-Leinemann
c279fc46bc
[gRPC] Enable PATs to be used for authorizing with the gRPC API ( #19081 )
...
* [server] Make gRPC accept PAT tokens (incl. tests)
* [gpctl] Switch "gpctl api ws ls/get" to use v1/v1connect
2023-11-20 09:04:57 +02:00
Alex Tugarev
4b78a99f20
Remove obsolete New Project page ( #19077 )
...
* [dashboard] Remove New Project page
* remove unused query
* [server] make unused getProviderRepositoriesForUser a no-op
* [server] remove unused scm provider code
2023-11-17 12:12:54 +02:00
Huiwen
4324fcb0a0
[papi] migrate ListWorkspaces and WatchWorkspaceStatus ( #19022 )
...
* [papi] migrate ListWorkspaces and WatchWorkspaceStatus
* bump up cache version
2023-11-16 20:44:54 +02:00
Alex Tugarev
21bb3c1d55
Use AuthProviderService API in Dashboard – EXP-847 ( #19057 )
...
* convert Login.ts
* extract auth provider utils into protocol
* complete migration from useAuthProviders to useAuthProviderDescriptions
* fixup import of scopes util
* revert rename
* migrate useDeleteOrgAuthProviderMutation
* migrate Org Git Integrations
* fix label for authprovider types
* wip migration user-level git integrations
* WIP updateProviderEntry
* wip migration
* fixup: label of auth provider types
* fixup: dont render Unknown type
* fix label
* fix this undefined
* bump CACHE_VERSION
* fixup allow to change the `clientId` only
* fixup add AuthProviderClasses to supported messages
---------
Co-authored-by: Huiwen <mhqnwt@gmail.com>
2023-11-16 17:53:54 +02:00
Gero Posmyk-Leinemann
453392bd14
[server] Introduce RequestContext ( #19023 )
...
* [server] Introduce RequestContext
* [server] Improve (repeated) Docker build times
* fix AuthProviderService.createAuthProvider
2023-11-16 14:54:54 +02:00
Alex Tugarev
feb9fa2597
🌇 GitHub App in Dashboard ( #19070 )
...
* [dashboard] compute `useIsGithubAppEnabled` on FE
* [dashboard] update Install GitHub App
* [server] make GH App methods no-op (compat)
2023-11-16 13:18:54 +02:00
Alex Tugarev
0907ff51e1
[server] remove obsolete and unused getSuggestedContextURLs ( #19074 )
...
* [server] remove obsolete and unused `getSuggestedContextURLs`
* fixup papi
2023-11-16 13:17:54 +02:00
Brad Harris
32aa1bbe79
adding import repo modal ( #19073 )
...
* adding import repo modal
* fix copy
* remove name requirement as it's defaulted
* upadte query cache after create
2023-11-15 16:35:53 +02:00
Brad Harris
eaae6cc6f4
Repository Config list page ( #19039 )
...
* 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
2023-11-14 18:49:52 +02:00