6138 Commits

Author SHA1 Message Date
Pudong
b465d06617
Uniformly use proxy to get the configuration of configcat (#16942)
* Uniformly use proxy to get the configuration of configcat

* Add configcat enabled in workspace info api

* enabled configcat in ide-service
2023-03-23 11:01:15 +01:00
Manuel Alejandro de Brito Fontes
555ee279fe
Remove licensor component (#16983)
* Remove licensor component

* Update docker version to v20.10.23
2023-03-23 10:35:15 +01:00
Gero Posmyk-Leinemann
62a359fb95
[webapp] Drop "admin" role for "admin-user" (#16948)
* [db] Align IDs of "admin-user" (follow up for #15974)

* [db] Drop "admin" role for "admin-user"
2023-03-23 08:55:15 +01:00
Wouter Verlaek
e01ca57b69
[common-go] Add doc on refillInterval (#16973) 2023-03-22 21:49:14 +01:00
Kyle Brennan
a2176718ec
[dev image] update to Jammy (#16718)
* [dev image] update to Jammy

Ref: https://github.com/gitpod-io/workspace-images/pull/1017

no more `python-dev`

ref:
https://github.com/lewagon/data-setup/issues/219#issuecomment-1207519811
https://wiki.termux.com/wiki/No_more_-dev_packages

* [dev image] update images latest dev image

* [ws-manager] avoid false positive linter errors

* [ws-daemon] fix ineffectual assignment for err

golangci-lint is catching more errors since upgrading to go 1.19.5

* Update to more recent gcloud

* Moar timeout
2023-03-22 19:37:14 +01:00
Gero Posmyk-Leinemann
afb0a269bf
[dashboard] Avoid re-rendering the whole App on Org load (#16976)
* [dashboard] Avoid re-rendering the whole App on Org load

* remove req of curr org to handle personal accounts

---------

Co-authored-by: Brad Harris <bmharris@gmail.com>
2023-03-22 18:04:14 +01:00
Wouter Verlaek
57840fc6ed
[ws-manager-mk2] Refactor maintenance mode to end at a timestamp (#16925)
* [ws-manager-mk2] Maintenance until

* Fix configmap

* Always show field

* Remove todo
2023-03-22 16:39:14 +01:00
Gero Posmyk-Leinemann
0a52359873
[server] Block org-level users from creating/joining new organizations (#16937) 2023-03-22 12:13:14 +01:00
Gero Posmyk-Leinemann
38b5305484
[server] Lift ratelimit on sendHeartBeat (#16968) 2023-03-22 10:27:13 +01:00
Milan Pavlik
9e4bcc6280
[heartbeat] Map grpc error (#16966) 2023-03-22 10:06:13 +01:00
Alex Tugarev
a0c8dd5dd4
[billing page] Fix erratic calls to listAvailableUsageAttributionIds (#16960) 2023-03-22 09:01:13 +01:00
Anton Kosyakov
c8b67547e6
[jb] fix auto update of stalbe platform for backend (#16957) 2023-03-22 06:36:13 +01:00
Gero Posmyk-Leinemann
f4c173b39c
[dashboard] Still render in face of failing listTeams (#16941) 2023-03-21 13:48:13 +01:00
Anton Kosyakov
2ae45cd29e
[jb] deploy latest backend plugin via usual deployment (#16938) 2023-03-21 11:53:13 +01:00
Manuel Alejandro de Brito Fontes
5b30eb5b8c
Remove unused caCertSecret (#16793)
* Add trust.cert-manager.io for to bundle CA certificates

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>

* Configure CA volume and volumemount in components

* Update ws-manager golden files

* Deploy trust manager in preview

* Remove duplicated volume

* Update installer golden files

* Generate a bundle only for registry-facade

* Update golden files

* Fix initcontainer volume mounts

* Update golden files

* Fix registry-facade certificate

* Update golden files

* Disable skip_verify

* Enable force conflict with apply server side

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>

* Avoid random werft namespace errors

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>

---------

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
2023-03-21 11:44:13 +01:00
Wouter Verlaek
2155667050
[ws-manager-mk2] Use common-go/log (#16921) 2023-03-21 11:36:13 +01:00
Devansu Yadav
16b55bb6fb
[dashboard] refactor code for ide alert (#11035) (#16551) 2023-03-21 10:05:50 +00:00
Manuel Alejandro de Brito Fontes
aa61917989
Remove TLS EOF errors from logs (#16930)
Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
2023-03-21 10:23:13 +01:00
Milan Pavlik
b1ab625626
[public-api] Cleanup logging middleware (#16928) 2023-03-21 10:17:13 +01:00
Milan Pavlik
50e09cce76
[experiments] Add fields to logcontext (#16841)
* Fix

* Fix

* Fix

* Fix

* Fix

* [public-api] Use context logger

* fix

* Fix

* fix

* Fix

* fix

* fix

* fix

* [experiments] Add fields to logcontext

* fix
2023-03-21 09:23:13 +01:00
Anton Kosyakov
affaa319ca
[jb] bump up major platform version of backend plugin (#16913) 2023-03-21 09:22:13 +01:00
Brad Harris
18281e4faa
check for repository property on context (#16929) 2023-03-20 23:07:12 +01:00
Brad Harris
7b7c729925
Org Settings and Modal alert updates (#16883)
* simplify oidc client list view

* making headers consistent

* adjust alignment

* adjust org setting pages headings

* fixing alignment

* updating modal footer alerts

* animate modal footer alerts

* handle non-closeable alerts

* undo wrapper div for now

* remove empty prop
2023-03-20 21:51:12 +01:00
Gero Posmyk-Leinemann
84e5640209
[dashboard] Guard subscribeToStripe against multiple calls (#16890) 2023-03-20 16:23:12 +01:00
Alex Tugarev
60413beaf2
[orgs] Add index for slug (#16920)
Part of #16856
2023-03-20 15:26:12 +01:00
Thomas Schubart
42a3602fce
[ws-manager-mk2] Emit events for workspaces and snapshots (#16907)
* [wsman-mk2] Emit workspace events

* [installer] Permissions for events

* [ws-man-mk2] Emit snapshot events

* [installer] Update render tests

* [wsman-mk2] Include review comments
2023-03-20 13:59:12 +01:00
Wouter Verlaek
95158eba38
[ws-manager-mk2] Don't dispose image builds (#16902) 2023-03-20 11:34:12 +01:00
Wouter Verlaek
3a561bf274
[ws-manager-mk2] Check empty ns, delete secrets before finalizer (#16900) 2023-03-20 11:32:12 +01:00
Thomas Schubart
ace513ad7e
[ws-manager-mk2] Refactor workspace status conditions (#16896)
* [wsman-mk2] Refactor conditions

* [wsman-mk2] Specify reason
2023-03-20 11:10:12 +01:00
Wouter Verlaek
5cf9fca421
[common-go] Support rate limiting by enum key (#16899) 2023-03-17 15:26:10 +01:00
Manuel Alejandro de Brito Fontes
95feb1a6bf
Remove cgroups v1 from commons-go (#16859)
* Remove cgroups v1 from commons-go

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>

* Remove cgroups v1 references

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>

---------

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
2023-03-17 15:25:10 +01:00
Anton Kosyakov
8e9f2c0ff9
[rebuild] support desktop IDEs (#16818)
* [rebuild] support desktop IDEs

* ensure target is exist

---------

Co-authored-by: Pudong <tianshi8650@gmail.com>
2023-03-17 15:00:10 +01:00
Pudong
c0d6fa978d
[gitpod-cli] change gp rebuild to gp validate (#16867)
* [gitpod-cli] change `gp rebuild` to `gp validate`

* fix `await-port` and `forward-port` command backward compatible

* Change the reference to `gp rebuild`

* update `gitpod-web` extension ref 3b076b9103
2023-03-17 06:51:08 +01:00
Brad Harris
ff079b96fa
Org SSO Page updates (#16868)
* Breaking SSO page into components & react-query

* wrapper component not needed anymore

* position off of bottom instead

* add a heading/subheading for consistency

* add clientside validation

* adding oidcConfig.issuer to api response

* updating test

* minor cleanup
2023-03-16 21:59:08 +01:00
Milan Pavlik
59e58f96c1
[common-go] Composable log fields (#16860)
* [common-go] Composable log fields

* add test for compose

* use in public api

* fix

* fix
2023-03-16 20:57:08 +01:00
Milan Pavlik
8390cac7a4
[server] Fix file provider accept header (#16881) 2023-03-16 17:13:08 +01:00
Milan Pavlik
6207bc3410
Remove applicationCluster from tables.ts (#16876)
* Remove application cluster references

* fix
2023-03-16 15:23:08 +01:00
Alex Tugarev
b39902f4d5
[org] Disallow logins with organizational Git Auth (#16874) 2023-03-16 14:07:08 +01:00
George Tsiolis
28e811320e
Update switch to PAYG success page layout (#16878) 2023-03-16 12:42:08 +01:00
Brad Harris
85cf075008
Org Settings Page Header updates & cleanup (#16850)
* wip

* Adding error and warning support to Modal

* Updating headings for team settings pages

* copy updates
2023-03-15 17:26:07 +01:00
Milan Pavlik
59ff034d6f
[public-api] Use context logger (#16686)
* Fix

* Fix

* Fix

* Fix

* Fix

* [public-api] Use context logger

* fix

* Fix

* fix

* Fix

* fix

* fix

* fix

* fix

* fix

* Fix

* fmt

* fix

* retest
2023-03-15 13:52:07 +01:00
Thomas Schubart
c800175c72
[ws-manager-mk2] Protect tokens (#16806)
* [wsman-mk2] Create token secret

* [installer] Fix casing for namespace type metadata

* [installer] Create secrets namespace

* [installer] Configure roles and bindings

* [installer] Move namespace constant to common pkg

* [installer] Create permissions for ws-daemon

* [wsman-mk2] Watch on multiple ns

* [ws-daemon] Use token secret

* [wsman-mk2] Remove secret from initializer

* [wsman-mk2] Test token secret

* [werft] Fix document index

* [installer] Update render tests

* [wsman-mk2] Fix imports

* [wsman-mk2] Ensure maintenance controller required permissions

* [wsman-mk2] Retry deleting secret

* [installer] Ensure objects in secrets namespace are only created with mk2 option
2023-03-15 12:57:07 +01:00
Wouter Verlaek
d5c9519b30
[ws-manager] Log timeout (#16855) 2023-03-15 12:54:07 +01:00
Gero Posmyk-Leinemann
8744ad02fc
[server] verifyClient: Remove dead code to parse workspace URLs (#16845) 2023-03-15 11:49:07 +01:00
Wouter Verlaek
7ce3c554df
[node-labeler] Add debug.sh script (#16837) 2023-03-15 10:41:07 +01:00
Milan Pavlik
a5df1cb005
Revert "Remove workspace_classes_backend feature flag (#16825)" (#16854)
This reverts commit afb724660182fcd480dc2e7fc06c45291b0023ad.
2023-03-15 10:34:07 +01:00
Milan Pavlik
5bcd92c36f
[ws-man-bridge] Remove application_cluster (#16840)
* [ws-man-bridge] Renmove application_cluster

* Fix
2023-03-15 10:20:07 +01:00
Milan Pavlik
954682ea1d
[db] Drop applicationCluster column from d_b_workspace_cluster (#16839) 2023-03-15 10:19:08 +01:00
Gero Posmyk-Leinemann
5aaba62642
[server] Tone down unnecessary logging around websocket verifyClient (#16844) 2023-03-15 09:43:07 +01:00
Milan Pavlik
6291b6ce90
[public-api] List teams concurrently (#16848)
* [public-api] List teams concurrently

* Fix
2023-03-15 09:00:07 +01:00