7592 Commits

Author SHA1 Message Date
Jean Pierre
10648e17f2
Redirect on workspace stop (#19314)
* Redirect to custom url when workspace stops

* Redirect to url when workspace stops

* Address feedback

* 💄

* 💄

* 💄

* 💄

* 💄
2024-01-12 16:33:49 +02:00
Jean Pierre
36d89c638b
Update product icon (#19315) 2024-01-12 16:28:49 +02:00
Huiwen
7d2c34efc6
[server] fix db tests with test ctx wrap (#19319) 2024-01-12 13:10:49 +02:00
Huiwen
22a8ca0f99
[server] fix can not join org (#19318) 2024-01-12 12:06:49 +02:00
Huiwen
7094f19ee8
Add collaborator role to organization (#19311)
* 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
2024-01-12 10:53:49 +02:00
Siddhant Khare
0f5a1323a3
[UX] Refactor Tab menu styles to highlight active state (#19310)
* [UX] Refactor Tab menu styles to highlight active state

* revert experiment :)
2024-01-10 18:27:48 +02:00
Filip Troníček
f4581606b0
Fix button gap (#19306)
* Fix button gap

* Fix oopsie
2024-01-09 20:50:47 +02:00
Robo Quat
d052874f6d
Update Platform Version of JetBrains Gateway Plugin (EAP) to 233.13135-EAP-CANDIDATE-SNAPSHOT (#19292) 2024-01-04 18:26:42 +02:00
Robo Quat
3bbeb744d3
Update Platform Version of JetBrains Gateway Plugin (Stable) to 233.13135-EAP-CANDIDATE-SNAPSHOT (#19297) 2024-01-04 18:17:42 +02:00
Filip Troníček
2546ef12be
Make gitpod org get use the context's org by default (#19295)
* Make `gitpod org get` use the context's org by default

* Changelog addition
2024-01-04 16:07:41 +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
Sven Efftinge
0a3e22ba3d
[usage] track email for free allowance (#19303)
* [usage] track email for free allowance

* [db] d_b_free_credits: Add indexes for userId and email

---------

Co-authored-by: Gero Posmyk-Leinemann <gero@gitpod.io>
2024-01-04 10:49:41 +02:00
Kyle Brennan
7e085ed5ad
[ws-manager-api] remove unused SSHKey field (#19287)
* [ws-manager-api] remove SSHKey field

It's no longer needed

* Ran kubebuilder `make generate`

* Ran kubebuilder's `make manifests`

* Update readme

* Cleanup
2024-01-03 17:00:41 +02:00
Jean Pierre
afcb589ebd
[JetBrains] Update IDE images to new build version (#19291)
Co-authored-by: Robo Quat <roboquat@gitpod.io>
2023-12-22 16:04:29 +02:00
Filip Troníček
77c11ab887
Update privacy policy effective date (#19286) 2023-12-20 13:14:27 +02:00
Brad Harris
bd1b55187e
Improving prebuild related auth errors (#19247)
* 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>
2023-12-19 17:37:26 +02:00
Manuel Alejandro de Brito Fontes
d3eb939dca
Update openssh to v9.6-P1 (#19282) 2023-12-19 12:23:26 +02:00
Filip Troníček
7b70289524
Respect allowed org ws classes in config settings (#19270) 2023-12-19 10:43:26 +02:00
Huiwen
b3825f9e6f
[server] fix unit test (#19280)
* [server] fix unit test

* Add unbind and fix org workspace class tests
2023-12-19 10:02:26 +02:00
Christian Weichel
52934ef3ab
Improve selfupdate support (#19120)
when binary cannot be written by the executing user
2023-12-18 16:40:25 +02:00
Filip Troníček
bcf992ab54
Remove Access Token scope checkbox (#19269)
* Remove Access Token scope checkbox

* Constraint width
2023-12-18 15:47:25 +02:00
Kyle Brennan
10fbb76e2a
[content-service] revert git config feature.manyFiles true (#19277)
It's causing integration tests to fail here: c4e2c43ab1/test/tests/components/ws-manager/prebuild_test.go (L684)
2023-12-15 18:18:22 +02:00
Robo Quat
1de694e747
Update Platform Version of JetBrains Backend Plugin (EAP) to 233.13135-EAP-CANDIDATE-SNAPSHOT (#19274) 2023-12-15 16:15:22 +02:00
Huiwen
d2919ee0f0
Revert and fixing "Revert "Add org-level workspace class restrictions"" - Dashboard (#19276)
* Revert "Revert "Add org-level workspace class restrictions (#19191)" (#19272)" - dashboard

* Fixing
2023-12-15 15:42:22 +02:00
Huiwen
6c0a978eee
Revert "Revert "Add org-level workspace class restrictions"" - Server (#19275)
* Revert "Revert "Add org-level workspace class restrictions (#19191)" (#19272)"

This reverts commit 2c805ad0fcad05aa3c3983c08302ad4f16dc1e69.

* Fix build
2023-12-15 15:24:22 +02:00
Filip Troníček
c4e2c43ab1
cli: WS SSH & Opening improvements (#19264)
* cli: SSH / Opening improvements

* Fix args in config setting

* Log opening with URLs

* Changelog

* Fix changlog
2023-12-15 13:22:22 +02:00
Alex Tugarev
671f1c6f04
[gitpod-db] AddOrgSettingWorkspaceClass1701725025283 (#19273) 2023-12-15 13:14:22 +02:00
Alex Tugarev
2c805ad0fc
Revert "Add org-level workspace class restrictions (#19191)" (#19272)
This reverts commit 653d858fa8d5edef1717a2319bc02cf356a10fc9.
2023-12-15 12:43:22 +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
Huiwen
653d858fa8
Add org-level workspace class restrictions (#19191)
* Add org-level maxmium workspace class limit

* [papi] add ListOrganizationWorkspaceClasses method

* Use papi in dashboard

* Validate when updating

* Fix bug

* Make it select default

* Align figma

* Option checking

* fixup

* Use switch button

* Add feature flag

* `invaldiator2` => `invalidateWorkspaceClasses`

* Don't allow to all if selected ones are removed from installation

* Update respond error msg

* dashboard show error msg

* fixup

* update proto doc

* Apply suggestions from code review

Updated error wording.

* update order

* Fix edge case

* Hide delete scope if not owner

* Update error msg

* Not cache org ws cls

* Force update org info

* Rename query file

* Add todos

* Remove refetch

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>
Co-authored-by: Laurie T. Malau <laurie@gitpod.io>
2023-12-15 08:48:22 +02:00
Jean Pierre
db3a8a9f42
[server] Ensure env var id when doing update in old api (#19263)
* Ensure env var id when doing update

* normalize repositoryPattern
2023-12-14 23:03:21 +02:00
Filip Troníček
11f0d00fca
Switch component updates (#19261)
* Switch component updates

* Fix disabled state

* Try disabled switch

* bg ignore state while disabled

* Disable bg img while disabled

* Remove debug disabled checkbox
2023-12-14 23:01:21 +02:00
Brad Harris
a3d9a25d6a
Update existing podkit components to use new contextual pk classes (#19256)
* use pk color classes

* updating to use pk classes

* pk styles yah

* fix positioning

* swap to pk classes

* adjusting colors on copy input

* adding repo link and id to page

* using pk class names

* Update components/dashboard/src/repositories/detail/general/ConfigurationName.tsx

Co-authored-by: Filip Troníček <filip@gitpod.io>

* inset focus ring

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>
2023-12-14 20:55:21 +02:00
Sven Efftinge
e453e77d35
Delete owned user on member removal (#19215) 2023-12-14 18:31:21 +02:00
Jean Pierre
d316064cb3
[code] Update code dockerfile (#19260)
* Update code dockerfile

* Fix

* Fix

* Fix

* Update code commit
2023-12-14 17:48:21 +02:00
Filip Troníček
717d876354
Podkit buttons everywhere (#19244)
* Podkit buttons everywhere

* local folder Button refs

* Fix alert

* Minor fixups

* Remove the component

* Stuff broke

* Fix linked banner spacing

* Remove `size=full-width`

* A tiny bit of padding for the open ws btn
2023-12-13 22:52:20 +02:00
Pudong
1b106c39ba
[ssh gateway] improve logs for errors (#19252) 2023-12-13 21:38:20 +02:00
Brad Harris
7a654db432
prevent a single error from breaking query client cache indefinitely (#19248) 2023-12-13 19:32:20 +02:00
Kyle Brennan
350e5838f3
[content-service] do git config after we have an init'd folder (#19206)
* [content-service] do git config after we have a folder

Related to https://github.com/gitpod-io/gitpod/pull/18612

w/o, we get errors like:
git config feature.manyFiles true failed (chdir /dst/<repo to clone>: no such file or directory)

We don't return as error, so it shouldn't block workspace start, but it also means we aren't getting the clone perf boost maybe.

* the pwd is not a git folder, set the context explicitly

* Must use git client, before cloning, otherwise git isn't initialized

* Oops, clone is creating the location

Configure within clone, after creating the location

* Ah, folder must exist and be git init'd (from the clone)

* No need to specify location anymore
2023-12-13 16:07:21 +02:00
Kyle Brennan
e99c80be47
[workspace] bump buildkit and containerd dependencies for gen107 (#19246)
Note: we cannot bump the version in image-builder-bob's leeway.Dockerfile  due to us now having https://github.com/gitpod-io/buildkit. I will do a follow-on PR to introduce an image build for our buildkit fork, and then set the dependency here.
2023-12-13 16:01:20 +02:00
Alex Tugarev
298dbe39da
[papi] Add RPCs for Admin pages (#19243) 2023-12-13 09:19:20 +02:00
Brad Harris
f9009e487a
Remove global heading styles and use components for headings/labels (#19240)
* getting things setup for updating podkit Heading components

* fixing colors

* Add shortcut for toggling dark mode

* Destructure dep to avoid useEffect from running forever

* removing <h4> tags, using labels via InputField

* remove h4 global styles

* drop hotkey for now in favor of just using dev tools
2023-12-12 17:58:19 +02:00
Filip Troníček
f4dbaf787a
Fix relative URLs on the Integrations page (#19239) 2023-12-12 16:26:20 +02:00
Pudong
754495378d
[ws-proxy] use root as default username in non-mk2 (#19241) 2023-12-12 15:57:19 +02:00
Anton Kosyakov
521e6a5aab
[dashboard] use HTTP endpoint for telemetry (#19223)
* [dashboard] use HTTP endpoint for telemetry

* 💄

---------

Co-authored-by: Jean Pierre <jeanpierre@gitpod.io>
2023-12-12 14:56:19 +02:00
Manuel Alejandro de Brito Fontes
62ba5a8521
Update alpine to v3.19 (#19233)
* Update alpine to v3.19

* Update openssh to V_9_5_P1
2023-12-12 11:25:19 +02:00
Huiwen
6bc27b8d98
Migrate resolve context url (#19222)
* Implement and migrate resolve context url

* Migrate dashboard

* Update golden

* Fix bugs

* Rebase fixup
2023-12-12 10:16:19 +02:00
Alex Tugarev
b03a753163
[server] remove unused code (#19242) 2023-12-12 09:58:19 +02:00
Brad Harris
9f291dc870
Updating a few styles after design review (#19226) 2023-12-11 20:28:18 +02:00
Jean Pierre
a050d49e00
[jb] Add joinLink2 endpoint (#19188)
* Add joinLink2 endpoint

* Update joinlink

* Update joinlink

* call notify reconnect

* Add backwards compat logic

* 💄

* 💄
2023-12-11 17:19:18 +02:00