329 Commits

Author SHA1 Message Date
Robo Quat
8a5af9012e
update index (#19544)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2024-04-03 09:14:42 +02:00
Manuel Alejandro de Brito Fontes
5992b0f614
Update go dependencies (#19577)
* Update go dependencies

* Update S3

* Caddy plugins cannot use 1.22

* Update controller runtime signatures

* Update webhook suite test

* Update IPFS signatures

* Update go modules

* Update ipfs-cluster to v1.0.8

* Fix node-labeler build

* Fix IPFS CID parsing

* Update ipfs-cluster version

* Update controller-runtime signature

* Update statefulset signature

* Disable controller-runtime metrics

* Add comments
2024-03-26 20:55:35 +01:00
Robo Quat
12db87060f
update index (#19520)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2024-03-14 05:10:23 +02:00
Huiwen
394dcae20f
[papi,server] implement restricted_workspace_classes in server (#19481)
* [papi,server] implement `restricted_workspace_classes` in server

* Fix test case input

* nit
2024-02-28 22:37:09 +02:00
Robo Quat
730eed3bc5
update index (#19478)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2024-02-28 12:00:09 +02:00
Huiwen
9719e619be
[IdP] add user_id claim and allow to customize OIDC subject via FF (#19455)
* [papi] add user_id field to idp token

* [idp] allow to customize claim keys

* fixup update FF

* Update splitor and add more unit tests
2024-02-22 19:03:03 +02:00
Gero Posmyk-Leinemann
96df901870
[server] Fix handling of multiple session cookies with the same name (#19456)
* [server] Fix handling of multiple session cookies with the same name

* [public-api-server] Fix handling of multiple session cookies with the same name

* Ensure exact same behavior as before in jwtSessionConvertor
2024-02-22 11:48:03 +02:00
Robo Quat
e7bedfacd0
update index (#19407)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2024-02-11 00:09:52 +02:00
Robo Quat
8c8577ea2b
update index (#19399)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2024-02-07 23:19:50 +02:00
Robo Quat
7115b4b57e
update index (#19379)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2024-02-01 18:39:43 +02:00
Robo Quat
d95aae6797
update index (#19370)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2024-01-31 19:58:43 +02:00
Jean Pierre
d0b5b873ec
Add invalid billing address notification (#19349)
* Add webhook events

* Properly set AutomaticTax

* Use address element

* 💄

* Update susbcription on address update

* Try scroll modal

* Fix

* try fix modal scroll

* Add toast notification

* Add invalidBillingAddress column to d_b_stripe_customer

* 💄

* 💄

* Fix

* Try fix update

* Address feedback
2024-01-29 11:12:05 +02:00
Robo Quat
cde558cfa9
update index (#19355)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2024-01-26 17:03:02 +02:00
Robo Quat
9033ef210a
update index (#19333)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2024-01-25 01:45:01 +02:00
Robo Quat
fcccc0ddb6
update index (#19322)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2024-01-15 01:11:51 +02:00
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