430 Commits

Author SHA1 Message Date
Christian Weichel
396b51ed1f [ws-proxy] Don't leak workspace info Go routines 2021-01-19 10:45:57 +01:00
Gero Posmyk-Leinemann
1ac8fbeef3
[server] Bump dependencies avoid pulling 'agent-base' < 6.0.0 (#2388)
* [server] Bump dependencies avoid pulling 'agent-base' < 6.0.0

* [server] Remove patch-agent-base and references

* [server] Cleanup: yarn.lock
2021-01-15 18:06:40 +01:00
Christian Weichel
a4956795dc [supervisor] Provide workdir when opening and listing terminals 2021-01-15 14:11:21 +01:00
Christian Weichel
9336b090be [supervisor] Make reaper terminating during shutdown
Fixes gitpod-io/gitpod#2654
2021-01-15 14:11:21 +01:00
Christian Weichel
e086599357 [supervisor] Add annotations to terminals 2021-01-15 14:11:21 +01:00
Christian Weichel
2e2f00127a [supervisor] Provide the PID of terminal processes 2021-01-15 14:11:21 +01:00
Anton Kosyakov
d722d8e70b upgrade to code 1.52.1 2021-01-14 08:05:11 +01:00
Cornelius A. Ludmann
225e102dbc [admin panel] Add delete user button 2021-01-13 15:39:22 +01:00
Alex Tugarev
8ca431f86a [server/auth] ensure safe returnTo param 2021-01-13 14:45:04 +01:00
Alex Tugarev
aced836ae7 [dashboard] properly log out after account deletion
Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
2021-01-13 10:05:04 +01:00
Alex Tugarev
3962e4c730 [server] actually delete buckets if not empty
Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
2021-01-13 10:05:04 +01:00
Christian Weichel
657da40f30 [docker-up] Provide good error message when forwarding ports < 1024
Fixes gitpod-io/gitpod#2410
2021-01-12 15:24:01 +01:00
Anton Kosyakov
c999d32a6e fix #2422: support code cli 2021-01-12 15:03:05 +01:00
Christian Weichel
afb017fa3b [registry-facade] Only attempt/offer handover when enabled 2021-01-12 11:58:41 +01:00
Alex Tugarev
c175c2717f [server] consider scopes override
Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
2021-01-12 08:32:29 +01:00
Alex Tugarev
dba6a37615 [server] fix unconfirmed gitlab account detection
Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
2021-01-12 08:17:59 +01:00
Christian Weichel
596b59f72f [registry-facade] Run in hostNetwork to faclitate handover
/werft registry-facade-handover
/werft https
2021-01-11 15:57:14 +01:00
Christian Weichel
2dffa81ece [registry-facade] Implement zero-downtime handover support 2021-01-11 15:57:14 +01:00
Christian Weichel
6cdba8b7f0 [ws-scheduler] Make compatible with Kubernetes v1.20.1 2021-01-11 15:25:05 +01:00
Christian Weichel
cea44d76d4 [ws-daemon] Make compatible with Kubernetes v1.20.1
and remove the pod/service IP sources, as well as the TCP proxy
in the process. We deploy registry-facade as daemonSet, and don't
need those other rather complicated bits anymore.
2021-01-11 15:25:05 +01:00
Christian Weichel
0fd958c8da [ws-manager] Make compatible with Kubernetes v1.20.1 2021-01-11 15:25:05 +01:00
Christian Weichel
72a120e0c8 Update Kubernetes client-go to v1.20.1
Fixes gitpod-io/gitpod#2689
2021-01-11 15:25:05 +01:00
koushik-ms
4710fa0b10 [server] github: allow branch names with special characters
Decode branch or commit hash segments with decodeURIComponent to revert
URL encoded strings (e.g., %23 -> #)
2021-01-08 18:23:43 +01:00
Christian Weichel
ef66ca19a1 [supervisor] execve into ring3 2021-01-08 15:58:39 +01:00
Christian Weichel
3e438bc5dd [integration-test] Introduce integration test framework 2021-01-08 13:40:43 +01:00
Christian Weichel
4b7737338a [server] Introduce function:* scope allowing access to all API calls 2021-01-08 13:40:43 +01:00
Christian Weichel
9440adb92d [server] Properly resolve identities when using bearer auth 2021-01-08 13:40:43 +01:00
Christian Weichel
7935b7f015 [gitpod-protocol] Move Go server API client to gitpod-protocol
This way it's accessible from packages other than supervisor,
e.g. future integration tests.
2021-01-08 13:40:43 +01:00
Cornelius A. Ludmann
1af230309b [server] Fix user bucket name calculation for minio
/werft with-installer
2021-01-07 10:11:23 +01:00
Alex Tugarev
ad6ceef2ef [server] disallow prefix matching for host names 2021-01-06 16:52:30 +01:00
Sven Efftinge
ebac362e1d [docker-up] move docker root to /workspace
Fixes #2653
2021-01-06 15:58:21 +01:00
Gero Posmyk-Leinemann
3c0afbafa5 [dashboard] Fix /first-steps 2021-01-06 11:44:00 +01:00
Gero Posmyk-Leinemann
fe3a018ea4
[self-hosted] Fix various issues around blobserve+ path based workspace access (#2666)
* [theia] Load main.js relative to support path based ws access

* [ws-proxy] Fix pathBasedTheiaRouter: workspaceID parsing

* [ide] Fix workspaceID reading/parsing issues

* [docs] self-hosted: Minor fixes

* [chart] values.yaml: remove forceHTTPS

* [review] Feedback
2021-01-05 15:49:57 +01:00
Christian Weichel
58c99ca6a7 Bump leeway to v0.2.0 to include linting 2021-01-05 08:38:03 -03:00
ArthurSens
be14b4897a Add golangci-linter and fixes most linting issues
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-01-05 08:38:03 -03:00
Christian Weichel
9ad74422c1 [ws-manager] Update Go dependencies 2021-01-04 15:12:02 +01:00
Christian Weichel
b7dda84ad0 [license] Update license header from TypeFox GmbH to Gitpod GmbH 2021-01-04 15:12:02 +01:00
Gero Posmyk-Leinemann
52d9851faf [ws-proxy] Fix workspaceHostSuffix for nodomain,pathAndHost 2020-12-23 20:55:45 +01:00
Sven Efftinge
ae07ccf9dd [server] don't use single strategy
as it is modified by calls to passport.authenticate
2020-12-23 13:47:40 +01:00
Alex Tugarev
bf277c3199 [server] refactoring: promisify, add guard, ...
remove indirections
2020-12-23 13:47:40 +01:00
Alex Tugarev
f20f4bf4ae [server] add some logging 2020-12-23 06:06:30 +01:00
Alex Tugarev
fe2bbf72fd [server] promisify callback
Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
2020-12-23 06:06:30 +01:00
Alex Tugarev
cc984b61cc [dashboard] fix redirect in the initial setup 2020-12-23 06:06:30 +01:00
Alex Tugarev
f954420ecf [server/auth] fix 'markAsVerfied' for self hosted 2020-12-23 06:06:30 +01:00
Alex Tugarev
d334a24677 [server] remove obsolete returnToAfterTos 2020-12-23 06:06:30 +01:00
Arthur Silva Sens
104d395e46
[server] Fix Prometheus metrics endpoint (#2609)
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2020-12-22 13:16:22 -03:00
Christian Weichel
36fad0d2a8 [blobserve] Split blobserve into a component in its own right 2020-12-18 11:43:47 +01:00
Anton Kosyakov
7ab9bb0f44 [server] normalize plugin names from config 2020-12-17 14:55:38 +01:00
Anton Kosyakov
58c2b82c99 [theia] normalize built-in extension full names 2020-12-17 12:41:10 +01:00
Anton Kosyakov
daaef1b588 switch to golang for go built-in extensions 2020-12-17 12:41:10 +01:00