1124 Commits

Author SHA1 Message Date
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
Jan Keromnes
539362f12c [server] When a user triggers a new prebuild, always force the creation of a new prebuild 2022-12-06 04:16:16 -03:00
mustard
f5e88e559b [server] remove ssh functions scopes for workspace 2022-12-05 18:46:15 -03:00
Sven Efftinge
a96cb7bf36 [ws-classes] simplify workspace classes
simplified by
- removing user-level setting
- removing deprecation
- removing ws-class inheritence between ws sessions
2022-12-01 13:59:00 -03:00
Sven Efftinge
91ad8a3550 [pvc] remove pvc related code 2022-12-01 09:07:00 -03:00
Milan Pavlik
886286168e [server] Validate PAT signature 2022-12-01 07:28:00 -03:00
Jan Keromnes
ff78e51f17 Show more semantic errors when trying to run prebuilds without a project 2022-11-30 11:28:59 -03:00
Jan Keromnes
370028757d Disable the deprecated '#prebuild/' context URL prefix 2022-11-30 11:28:59 -03:00
Jan Keromnes
e22d442431 Disable running prebuilds without a project 2022-11-30 11:28:59 -03:00
Gero Posmyk-Leinemann
bafbaab329 [server, installer] Make PrebuildRateLimiter period configurable 2022-11-30 07:43:59 -03:00
Milan Pavlik
6f0deca146 [server] Configure PAT signing key 2022-11-30 05:30:59 -03:00
Milan Pavlik
e9cf230312 [server] Support PATs when authenticating 2022-11-29 10:52:58 -03:00
Gero Posmyk-Leinemann
abee341c15 [server] BillingMode: Make sure that users&teams with a Stripe subscription always stay "usage-based", no matter the Feature-Flag status 2022-11-29 05:26:58 -03:00
Andrew Farries
04fb36c2da Use finally block to set status 2022-11-25 07:39:54 -03:00
Andrew Farries
47500cb177 Always set header in response 2022-11-25 07:39:54 -03:00
Andrew Farries
9ebad8c195 Always return 200 OK from slow-database endpoint 2022-11-25 07:39:54 -03:00
Andrew Farries
d037ee8837 Add api/feature-flags/slow-database endpoint
Add a server endpoint to test the value of the `slow_database` feature
flag for the currently authenticated user.

The endpoint sets the `X-Gitpod-Slow-Database` header in the response to
either `true` or `false` according to the value of the feature flag.

The intention is that this endpoint can be used by the Caddy proxy to
'pre-flight' requests to server, sending the actual request to either
`server` or `slow-server` as needed.
2022-11-23 09:52:52 -03:00