Wouter Verlaek
0d9b56d8fa
Cleanup withoutWorkspaceComponents flag usage
2023-01-23 15:37:32 +01:00
Wouter Verlaek
aa8c62b7e7
[server] Remove image builder address config
2023-01-23 11:58:31 +01:00
Sven Efftinge
03a5fb6ac7
[billing] provide human readable price info
2023-01-23 11:55:30 +01:00
Wouter Verlaek
508148b836
[server] Remove movedImageBuilder flag
2023-01-23 11:42:30 +01:00
Alex Tugarev
86b674ca6d
[server] redirect to /teams/new after /login/ots/admin-user
2023-01-23 08:54:30 +01:00
Gero Posmyk-Leinemann
49fe74463c
[server] Config: Add showSetupModal (default: true)
2023-01-23 08:45:30 +01:00
Andrew Farries
2935f9d914
Extract isResourceExhaustedError method
2023-01-20 11:56:28 +01:00
Andrew Farries
7b0ccd7098
Track ws start failures due to resource exhaustion
...
* Add a new `resourceExhausted` reason for ws failures.
* Throw on resource exhaustion when trying to start a workspace rather
than trying the next cluster as we do for other grpc errors.
* Construct a StartInstanceError with the `resourceExhausted` reason
when the exception is handled.
This gives us a new "resourceExhausted" dimension on the `gitpod_server_instance_starts_failed_total` metric that can be used to track start failures due to resource exhaustion.
2023-01-20 11:56:28 +01:00
Gero Posmyk-Leinemann
84b6ad671f
[server] Allow admin user to login a websession using preseeded OTS token
2023-01-20 11:27:27 +01:00
Gero Posmyk-Leinemann
dea13072e9
[server] Add config.admin.loginKey
2023-01-20 11:27:27 +01:00
Alex Tugarev
60ead2f791
[iam] log errors for failed session creation
2023-01-19 16:27:27 +01:00
Gero Posmyk-Leinemann
78e58ee1c1
[proxy, server] Introduce X-Frontend-Dev-URL
2023-01-19 10:45:27 +01:00
Gero Posmyk-Leinemann
8017c19033
[server] Add OneTimeSecretServer.serveToken
2023-01-19 09:04:27 +01:00
Sven Efftinge
95996df038
[server, cli] Allow flexible workspace timeouts
2023-01-18 16:14:26 +01:00
Andrew Farries
97a5487fbe
Fix server telepresence
2023-01-18 12:30:26 +01:00
Andrew Farries
73378f8898
Change implementation of clientIp
...
Use the `x-real-ip` custom header (set at the GCP LB) rather than
`x-forwarded-for`.
`x-forwarded-for` is subject to mutation by the Caddy proxy:
https://caddyserver.com/docs/caddyfile/directives/reverse_proxy#headers
By using a different header that we set at the GCP load balancer we
can ensure that the header is passed to `server` unmodified.
2023-01-18 09:32:25 +01:00
Siddhant Khare
83a75c732a
educate user about gitpod templates
...
Signed-off-by: Siddhant Khare <siddhant@gitpod.io>
2023-01-17 09:50:25 +01:00
Sven Efftinge
9b1917b68d
[server] mandatory team name on update
2023-01-16 18:41:24 +01:00
Sven Efftinge
837844d7f8
[server] Added updateTeam call
...
see #5067
2023-01-16 18:41:24 +01:00
Sven Efftinge
3af4edc46c
[server] migrate individual usage to teams
2023-01-13 09:11:52 +01:00
Andrew Farries
448ab8c783
[server] Allow ws connections without an Origin
2023-01-10 20:52:50 +01:00
Alex Tugarev
2e04733a66
[server/iam/oidc] find/create User in OIDC flows
2023-01-10 17:50:49 +01:00
Milan Pavlik
0789eda560
[server] Validate userID, teamID is a UUID on team operations
2023-01-10 12:58:49 +01:00
Gero Posmyk-Leinemann
581c025d53
[dashboard, server] Retry instead of redirect
2023-01-10 09:20:49 +01:00
Milan Pavlik
fad619843d
[server] Validate fields for setTeamMemberRole
2023-01-10 08:45:49 +01:00
Wouter Verlaek
907cc872bd
[server] Wait for image build logs in preparing state
2023-01-06 11:34:45 +01:00
Alex Tugarev
29fd9a925a
[server] expose internal IAM session service
...
Add fake login handler
2023-01-06 08:26:45 +01:00
Siddhant Khare
e4ce95251b
bump: package @jmondi/oauth2-server
2023-01-04 10:14:44 +01:00
Siddhant Khare
a037446339
fix: messaging around projects & prebuild error
...
Signed-off-by: Siddhant Khare <siddhant@gitpod.io>
2023-01-03 17:09:43 +01:00
Alex Tugarev
1ed4b3c4d5
[server] expose internal IAM session service
...
Add fake login handler
2023-01-03 12:10:42 +01:00
Andrea Falzetti
50caba2cda
add run-gp layer to certain users
...
Co-authored-by: Anton Kosyakov <anton@gitpod.io>
Co-authored-by: Victor Nogueira <victor@gitpod.io>
2022-12-20 09:22:29 -03:00
Anton Kosyakov
088cf8afd4
[ide-service] provide user id for configcat feature flags
2022-12-19 07:47:28 -03:00
Sven Efftinge
0605514421
[server] Allow options on ws start
...
introduces IDE and workspace class arguments on WS Start
2022-12-16 08:42:25 -03:00
Pudong Zheng
f8feb055f0
[server] remove timeout for resolveWorkspaceConfig
2022-12-16 05:18:25 -03:00
Pudong Zheng
dee9e1175c
[server] add retry middleware for ide-service
2022-12-16 05:18:25 -03:00
Sven Efftinge
aaa0653d54
[ubp] reset usage on chargebee cancellation
2022-12-15 12:32:25 -03:00
Gero Posmyk-Leinemann
0ce9556b36
[server] Fix extraction of clientIp
2022-12-15 11:27:25 -03:00
Andrew Farries
81ee9a161d
Take the service name for tracing from env
...
Rather than hardcoding to server, use the environment variable.
2022-12-14 14:04:24 -03:00
Wouter Verlaek
b1d53399e7
Experimental app cluster without ws components
...
Workspace image builds
Update golden output
Deploy ws-manager tls secret in webapp
Remove ws-manager secrets
Update golden outputs
Enable movedImageBuilder by default
Add wsmanager tls to server if not meta install
Update output.golden
Install ws-proxy in meta
Update golden
Move wsproxy to IDE objs
Create experimental flag
Move ws-proxy to idecomponents
Remove ws-manager TLS cert from ws-proxy
skipSelf if WithoutWorkspaceComponents enabled
Fix ws-proxy config
2022-12-13 16:12:23 -03:00
Anton Kosyakov
98ef63064a
[server] increate request timeout to ide-service to 5 secs
2022-12-13 08:29:22 -03:00
Anton Kosyakov
ab0f640656
fix #15266 : decouple deployment of supervisor for image builds
2022-12-12 12:28:22 -03:00
Sven Efftinge
a6170cad92
[dashboard] display credit usage
2022-12-12 11:09:22 -03:00
Mads Hartmann
06557ea800
Remove build artifacts from leeway package srcs lists
2022-12-12 08:12:22 -03:00
jakobhero
96a7836462
adopt cookieless ID on dashboard and server
2022-12-12 04:41:21 -03:00
Sven Efftinge
173e30b4b0
[stripe] don't break users on multi subs
2022-12-08 14:44:18 -03:00
Christian Weichel
478a75e744
Switch license to AGPL
2022-12-08 13:05:19 -03:00
Sven Efftinge
6df8088673
[server] don't fail on undefined currency
2022-12-07 10:45:17 -03:00
Anton Kosyakov
9ea5ff3297
[server] move workspace ide configuration to ide service
...
Co-authored-by: Pudong Zheng <tianshi8650@gmail.com>
Co-authored-by: Victor Nogueira <victor@gitpod.io>
Co-authored-by: Andrea Falzetti <andrea@gitpod.io>
2022-12-07 06:51:17 -03:00
Gero Posmyk-Leinemann
39e8827f22
[server] IAM: Report missing session as client error instead of system error
2022-12-06 06:52:16 -03:00
Sven Efftinge
7797eb50c1
[ubp] allow usage of team without stripe sub
2022-12-06 05:36:16 -03:00