1110 Commits

Author SHA1 Message Date
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
Sven Efftinge
e044c1d49f [admin] allow usage adjustments 2022-11-22 06:31:51 -03:00
Sven Efftinge
710c7ff060 [projects] ignore user settings for prebuilds 2022-11-21 10:52:51 -03:00
Alex Tugarev
3de193e3fb [stripe] guard resubscribing with another currency
because it currently not supported.
2022-11-21 06:56:50 -03:00
Laurie T. Malau
28f894838f Remove from config.ts 2022-11-21 05:13:50 -03:00
Milan Pavlik
f5dc3d8334 [server] Remove createSubscriptionOnUsage feature flag 2022-11-21 05:13:50 -03:00
Andrea Falzetti
63245668cf feat(jetbrains): add rider and clion 2022-11-18 14:43:48 +02:00
Alex Tugarev
29e5b5f1d7 [server] fix unhandled promise rejection errors in oauth controller 2022-11-17 17:09:47 +02:00
Sven Efftinge
17424c972b [gitpod-protocol] remove dependency to usage-api 2022-11-16 17:32:46 +02:00
Sven Efftinge
b4caf769e6 [server] fix linting error 2022-11-16 15:46:46 +02:00
Jan Keromnes
b1161a5094 [stripe] When creating a Subscription, don't specify a custom billing cycle anchor date - let it go from date to date instead 2022-11-16 13:29:45 +02:00
Jan Keromnes
78a8706f70 [server] Support '+' signs in email addresses when unsubscribing 2022-11-15 16:53:45 +02:00
Sven Efftinge
c1acb610b9 [server] don't wait for ws-man call. 2022-11-14 18:32:44 +02:00
Jean Pierre
5c8f4c1f32 User service 2022-11-12 11:34:42 +02:00
Jan Keromnes
0d740fc3ea [server][dashboard] Fetch and use the actual cost center billing cycle dates in usage-based Billing pages 2022-11-11 13:32:41 +02:00