314 Commits

Author SHA1 Message Date
Robo Quat
d240f9c785
update index (#19288)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2024-01-04 15:32:42 +02:00
Robo Quat
3c4160f497
update index (#19266)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-12-15 10:47:22 +02:00
Robo Quat
ba07eb951a
update index (#19197)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-12-07 10:40:14 +02:00
Robo Quat
3a6b125511
update index (#19176)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-12-01 13:57:08 +02:00
Robo Quat
df2c4ebbb7
update index (#19121)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-11-28 12:41:06 +02:00
Robo Quat
b754a0f891
update index (#19079)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-11-20 11:25:57 +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
Robo Quat
5c7015565b
update index (#19034)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-11-11 00:46:48 +02:00
Wouter Verlaek
185c0428c2
[scrubber] Improve KeyValue performance (#19052)
* [scrubber] Improve KeyValue performance

* Update benchmark comment

* update go mod

* Add metaID to hashed fields

---------

Co-authored-by: Pudong Zheng <pudong@gitpod.io>
2023-11-10 16:17:48 +02:00
Robo Quat
5d5b0683bd
update index (#18986)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-10-31 20:52:38 +02:00
Robo Quat
75713b2ba1
update index (#18961)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-10-30 11:42:38 +02:00
Alex Tugarev
ea29158980
Update PAPI component, should cause a new build (#18963)
* Update README.md in papi

* Touch a go file in papi
2023-10-20 12:12:27 +03:00
Robo Quat
004aa50cd2
update index (#18954)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-10-19 14:13:27 +03:00
Anton Kosyakov
cf7d0e9500
remove supervisor_live_git_status (#18921)
and deprecated instance.status.repo
2023-10-16 17:20:24 +03:00
Robo Quat
25b62a4f9d
update index (#18924)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-10-16 04:03:23 +03:00
Huiwen
eaef991c83
[papi] add ListTeamMembers and GetTeamInvitation APIs (#18919)
* [papi] add ListTeamMembers and GetTeamInvitation APIs

* fix server build
2023-10-13 18:01:21 +03:00
Brad Harris
0f926eb721
adding missing fields to CreateAndStartWorkspace (#18874)
* adding some missing fields to CreateAndStartWorkspace

* updated mocks
2023-10-06 02:27:14 +03:00
Alex Tugarev
b2260d021e
Migrate Prebuild settings – EXP-672 (#18842)
* [protocol] Add PrebuildSettings to ProjectSettings

* add migration function

* add migration function and test

* update protocol helper functions

* update prebuild manager

* use new prebuild setting in frontend

* update papi

* fix papi test

* rename var

* fix papi mapping

* deprecation note

* update migration function

* fix prebuild-manager

* fixup server

* fix Enable Prebuilds on Project Settings

* Use Project.getPrebuildSettings
and

* fix countUnabortedPrebuildsSince

* improve usage of default settings

* fix Build Branches select

* fix papi conversion 🤯

* don't save empty pattern strings

* fix papi-server conversion and align naming of prebuild settings

* fix getPrebuildSettings

* [prebuilds] changed prebuild semantics

- no more incremental prebuilds
- always incremental workspace
- never wait for running prebuilds

---------

Co-authored-by: svenefftinge <sven@gitpod.io>
2023-10-05 17:37:13 +03:00
Robo Quat
5791d13ac6
update index (#18872)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-10-05 16:49:14 +03:00
Robo Quat
20ff1be12e
update index (#18848)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-10-02 10:09:11 +03:00
Robo Quat
7c3129db2f
update index (#18841)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-09-29 10:15:07 +03:00
Sven Efftinge
c6e90d48cc
[stripe] reconcile missing invoices (#18810) 2023-09-26 18:39:05 +03:00
Manuel Alejandro de Brito Fontes
8ef82ff356
Update go modules to 1.21 (#18805) 2023-09-26 17:52:05 +03:00
Robo Quat
7a74d1c3c4
update index (#18786)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-09-25 12:59:04 +02:00
Alex Tugarev
df155ad0e9
Match branch names by pattern – EXP-575 (#18734)
* 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>
2023-09-22 13:57:01 +02:00
Alex Tugarev
252992223d
Add prebuildDefaultBranchOnly setting – EXP-574 (#18716)
* 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
2023-09-22 11:59:01 +02:00
Huiwen
62c573a453
Add default image get to PAPI and improve Dashboard (#18767)
* [server] update getDefaultWorkspaceImage api

* [dashboard] api usage update

* [protocol] add go definition

* [papi] add getDefaultWorkspaceImage method

* fixup

* [dashboard] add org image warning to start workspace page

* fix error wrap

* Update supervisor to use publicApi

* [dashboard] always show default image and remove tag width limit

* fixup

* move new warning to StartPage

* Update components/dashboard/src/teams/TeamSettings.tsx

Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>

* Address feedback

---------

Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2023-09-22 11:58:01 +02:00
Robo Quat
d624e9e54d
update index (#18770)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-09-22 11:15:01 +02:00
Alex Tugarev
cb3a7f00c6
Add "Enable Prebuilds" to Project Settings – EXP-573 (#18698)
* 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>
2023-09-15 09:07:54 +02:00
Robo Quat
cff12f6ac7
update index (#18719)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-09-15 08:52:54 +02:00
Robo Quat
843290dbef
update index (#18700)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-09-12 13:26:52 +02:00
Robo Quat
49d1d4fed8
update index (#18656)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-09-10 18:28:07 +02:00
Sven Efftinge
71912f721b
Allow renaming project (#18630)
remove project#slug
2023-09-04 09:42:01 +02:00
Robo Quat
9ad3360abf
update index (#18636)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-09-03 19:02:00 +02:00
Robo Quat
7c3b2873a2
update index (#18585)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-08-24 23:07:50 +02:00
Filip Troníček
694f8eaeaf
[papi] List workspace classes (#18546)
* [papi] List workspace classes

Adds the `ListWorkspaceClasses` method on `WorkspacesService`.

* Add test for class listing

* `Title` -> `DisplayName`

* fix rename in tests

* Update generated
2023-08-24 10:53:50 +02:00
Brad Harris
adf4e66cf6
Add CreateAndStartWorkspace to public-api (#18515)
* 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
2023-08-23 16:06:49 +02:00
Filip Troníček
112eefcc56
[papi] List editor options (#18530)
* 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
2023-08-18 11:19:44 +02:00
Robo Quat
28d7935862
update index (#18544)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-08-18 08:57:43 +02:00
Filip Troníček
614007dde5
[papi]: Add GetSuggestedRepoURLs (#18514)
* [papi]: Add `GetSuggestedRepos`

* Rename method

* req to be consistent

* Move to SCMService

* Remove usr impl

* Add tests

* Revert billing test change

* Revert user changes

* --
2023-08-15 13:55:41 +02:00
Manuel Alejandro de Brito Fontes
513ca768f6
Update buildkit to v0.12.1 (#18505)
* Update buildkit to v0.12.1

* Update DisplaySolveStatus signature

* Switch to github.com/containerd/typeurl/v2
2023-08-15 09:17:40 +02:00
Robo Quat
6292b66b06
update index (#18434)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-08-05 13:15:31 +08:00
Robo Quat
60cea25d6b
update index (#18422)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-08-03 21:29:29 +08:00
Anton Kosyakov
b3ae12f956
git real time (#18323) 2023-08-03 20:51:28 +08:00
Filip Troníček
c5059f2dc3
Filter by organizationId in ListWorkspaces (#18402)
Remove `IncludeWithoutProject`
2023-08-02 05:20:27 +08:00
Robo Quat
5a7b3467f3
update index (#18396)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-08-01 19:06:26 +08:00
Manuel Alejandro de Brito Fontes
61f89f8436
Update go modules (#18372) 2023-07-28 16:20:30 +08:00
Manuel Alejandro de Brito Fontes
8c6d8e28f3
Update dependencies (#18362)
* Update k8s dependencies to v1.27.3

* Update opencontainers/runtime-spec to v1.1.0

* Update controller runtime to v0.15.0

* Update go modules

* Fix build

* Cleanup

* Fix ws-manager e2e tests
2023-07-27 23:34:29 +08:00
Manuel Alejandro de Brito Fontes
54c2040632
Update go modules to 1.20 (#18360) 2023-07-27 22:24:29 +08:00
Milan Pavlik
ff4876856c
[server, papi] Track login completed metrics by outcome, type (#18254)
Co-authored-by: geropl <gero@gitpod.io>
2023-07-27 20:29:28 +08:00