7592 Commits

Author SHA1 Message Date
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
Christian Weichel
c0eebe46e0 [gitpod-db] Ensure stable script order during dbtest-init 2020-12-17 10:27:00 +01:00
Christian Weichel
028552b19f [supervisor] Don't nil-deref on broken Gitpod connection 2020-12-17 09:42:52 +01:00
Anton Kosyakov
bdbaca3740 fix flaky port tests 2020-12-16 14:32:59 +01:00
Alex Tugarev
eacce01ec0 [gitpod-ide] fix for missing token validation 2020-12-16 13:47:57 +01:00
Anton Kosyakov
6b5f126442 fix #1455: support installing extensions directly from open vsx 2020-12-16 10:57:11 +01:00
Anton Kosyakov
53591f7d9f [supervisor] ensure that each served port appears only once 2020-12-16 10:06:33 +01:00
Cornelius A. Ludmann
74f3567c11 [ws-daemon] Add nil pointer guard in content initializer for prebuilds 2020-12-15 16:36:19 +01:00
Anton Kosyakov
6734b792ad [theia] add read timeout for extensions content download 2020-12-15 14:58:20 +01:00
Christian Weichel
b63a9af53f [supervisor] Make IDE ready for headless workspaces 2020-12-14 16:47:07 +01:00
Alex Tugarev
7eea67a8a1 [ws-daemon] don't fail if prebuilt is not found 2020-12-14 14:17:12 +01:00
Alex Tugarev
498c5f6e5f [server] fix new user handling
Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
2020-12-14 14:15:59 +01:00
Anton Kosyakov
278117fb36 fix #629: use new mini browser endpoint to preview local images 2020-12-14 13:13:05 +01:00
Anton Kosyakov
227b1328bb fix #2477: actually allow to select custom imag 2020-12-14 11:26:05 +01:00
Anton Kosyakov
1d8b4a6ff2 fix #2435: align Node.js version with desktop VS Code
for better compatibility of VS Code extensions
2020-12-14 10:54:58 +01:00
Anton Kosyakov
60a85a462c don't run ports and IDE in headless workspaces 2020-12-11 16:10:57 +01:00
Christian Weichel
88f310a172 [registry-facade] Add blob download speed metric
/werft https
2020-12-11 15:13:34 +01:00
Gero Posmyk-Leinemann
522f74c3da [registry-facade] Make tag regex closer match the docker spec
749f6afb45/reference/regexp.go (L37)
2020-12-11 11:40:02 +01:00
Moritz Eysholdt
7fc0e5ffa4 fix #2306: Certificate for Installer Docker Image expired 2020-12-11 09:22:51 +01:00
Christian Weichel
ef80097e48 [ws-scheduler] Add buffers to scaler controll loop to avoid deadlocks 2020-12-11 07:37:33 +01:00
Alex Tugarev
7a98d8b7d6 [server] fix fullName mapping in user-controller 2020-12-10 16:26:07 +01:00
Christian Weichel
db795cc509 [ws-scheduler] Make ws-scaler more stable
Prior the renewal process could max out the ghost count
2020-12-10 14:35:25 +01:00
Christian Weichel
1f2df0f64d [ws-scaler] Be less loud when ws-manager is unavailable 2020-12-10 14:35:25 +01:00
Gero Posmyk-Leinemann
6d45365455 [gitpod-ext] Introduce a cache around server.update/getUserStorageProvider 2020-12-10 14:25:24 +01:00
Alex Tugarev
294c934e43 [server] Server.init should await init of dynamic auth providers
Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
2020-12-10 13:59:08 +01:00
Alex Tugarev
f06a53b04a [server] validate host names of dynamic auth providers
Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
2020-12-10 13:59:08 +01:00
Anton Kosyakov
a2965f9fe7 [theia] add css/htm language features extensions 2020-12-10 12:22:51 +01:00
Sven Efftinge
adae764c90 [auth] properly assign name and full name 2020-12-10 11:53:43 +01:00
Sven Efftinge
d0fc7eb84a go mod updates 2020-12-10 11:53:43 +01:00
Anton Kosyakov
1ff5cd0c63 [ws-proxy] allow preflight requests for blobserve endpoint 2020-12-09 16:41:52 +01:00
Christian Weichel
bdbbd3e373 [ws-manager] Fix broken CDWP test case
/werft no-preview
2020-12-09 15:56:50 +01:00
Christian Weichel
6b61df4f29 [ws-proxy] Forward cookies with invalid names
fixes #2470
2020-12-09 15:05:26 +01:00
Christian Weichel
f44a3a728b [misc] Add missing license header 2020-12-09 15:05:26 +01:00
Christian Weichel
d813836905 [ws-scheduler] Fix JSON unmarshalling of TimeOfDay
/werft no-preview
2020-12-09 15:04:11 +01:00
Anton Kosyakov
b6c85f88fb [ws-proxy] always serve foreign content directly from the IDE 2020-12-09 14:50:45 +01:00
Anton Kosyakov
87e7b83c09 [mini-browser] serve local files from own origin
this commit should be reverted after next Theia upgrade
2020-12-09 14:50:45 +01:00
Anton Kosyakov
f53f2fbb35 [proxy] mini browser host pattern 2020-12-09 14:50:45 +01:00
Christian Weichel
01276418c5 [ws-scheduler] Add Prometheus metrics to scaler 2020-12-09 14:23:28 +01:00
Christian Weichel
423f67fb03 [ws-manager] Correctly compute NodeAffinity with registry_facade
/werft no-preview
2020-12-09 08:18:53 +01:00