75 Commits

Author SHA1 Message Date
Pudong Zheng
232a881cb8 [supervisor-frontend] only send heartbeat when logged user is owner 2023-02-17 18:20:22 +01:00
Huiwen
b16eae0e1d [supervisor-frontend] implement encryption for code 2023-02-16 14:44:21 +01:00
Huiwen
901dcd26a8 [supervisor-frontend] add open desktop ide entrypoint for browser code 2023-02-09 13:26:14 +01:00
Anton Kosyakov
9b3f8a2cc4 gp rebuild with isolated debug workspace
Co-authored-by: Pudong Zheng <tianshi8650@gmail.com>
2023-02-06 14:47:44 +01:00
Anton Kosyakov
41a67f17cf clean up after https://github.com/gitpod-io/gitpod/pull/15895
removed unused code
2023-01-30 15:56:37 +01:00
Anton Kosyakov
674ad1c978 polish IDEFrontendDashboardService
- add docs and security notes
- remove imlementation methods from the interface
- fix a regression with opening desktop IDEs on the workspace origin
- allow to access the interface from other locations for the same workspace, i.e. for dev and debug modes
2023-01-20 11:12:28 +01:00
Jean Pierre
40859b1d24 Revert "Partially revert "[supervisor-frontend] implement frontend dashboard client""
This reverts commit 77d5ba574a0a2ece941d4244c4dd0c3dac5385a8.
2023-01-18 16:21:26 +01:00
Jean Pierre
77d5ba574a Partially revert "[supervisor-frontend] implement frontend dashboard client"
This reverts commit 151ab80e50faaf1de2ca1a320cf0ad68d7a16f65 except global.ts changes so we just cast to any for now
2023-01-17 20:06:25 +01:00
Huiwen
151ab80e50 [supervisor-frontend] implement frontend dashboard client
Co-authored-by: mustard <mhqnwt@gmail.com>
Co-authored-by: Jean Pierre <jeanp413@hotmail.com>
2023-01-17 17:42:25 +01:00
Huiwen
f436cb7ae7 [supervisor-frontend] add user id for browser code
Co-authored-by: mustard <mhqnwt@gmail.com>
Co-authored-by: Jean Pierre <jeanp413@hotmail.com>
2023-01-10 09:10:49 +01:00
Anton Kosyakov
697696029b [gp-run] experimental workspace config debug mode
Co-authored-by: Anton Kosyakov <anton@gitpod.io>
Co-authored-by: Victor Nogueira <victor@gitpod.io>
Co-authored-by: Andrea Falzetti <andrea@gitpod.io>
2023-01-09 06:32:48 +01:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Anton Kosyakov
6c943e72a9 fix #14782: singleton SupervisorServiceClient 2022-12-02 09:57:01 -03:00
Filip Troníček
ddfec3a834 [code browser]: Measure all sessions vs errored sessions
Move remainder of IDE metrics to under OpenVSCode Server workbench

Co-authored-by: Anton Kosyakov <anton@gitpod.io>
Co-authored-by: mustard <mhqnwt@gmail.com>
2022-09-16 08:46:17 +02:00
Pudong Zheng
22c71c5391 [supervisor-frontend] use properties to store error name and message 2022-09-15 14:23:16 +02:00
Pudong Zheng
6d643ea92a [supervisor-frontend] collection loaderror 2022-09-15 14:23:16 +02:00
Pudong Zheng
fc9a936a27 [supervisor-frontend] add version commit 2022-09-15 14:23:16 +02:00
Pudong Zheng
3364a06b1e [supervisor-frontend] add error reporting 2022-09-15 14:23:16 +02:00
Anton Kosyakov
dc9fbe40a7 [code-browser] extensions observability 2022-09-05 12:35:20 +02:00
Filip Troníček
cbe5665201 Capture document errors in supervisor frontend 2022-08-26 18:35:11 +02:00
Anton Kosyakov
81c98f8f54 [supervisor-frontend] redirect to desktop IDE on gitpod.io domain 2022-08-15 15:26:32 +02:00
Pudong Zheng
d61aab3c07 [supervisor-frontend] add error counter and client counter
Co-authored-by: Huiwen <mhqnwt@gmail.com>
2022-08-05 07:52:49 -03:00
mustard
c4ce50811c [supervisor-frontend] use beacon to send workspacePageClose to avoid data loss 2022-08-05 01:08:49 -03:00
mustard
c819f00952 [supervisor] add browser code telemetry tracking 2022-07-06 01:07:53 +05:30
mustard
490419b99d [supervisor-frontend] add track for sent closed heartbeat 2022-06-28 18:35:36 +05:30
mustard
43a41f2a65 Redirect web page when instance changed 2022-04-06 22:31:20 +05:30
Anton Kosyakov
0b6c4273bb [supervisor]: add ide-dekstop-ready phase to status_rendered analyitcs event
To track whether a user seen loading screen after configuring desktop IDE.
2022-02-25 16:51:05 +05:30
Gero Posmyk-Leinemann
c0bbf911db [dashboard, ws-proxy, supervisor] Break potential DDOS cycle by disabling autostart
When triggered:
     a) inFrame or
     b) when redirect from IDE url (by ws-proxy)
2022-02-14 11:06:35 +01:00
Anton Kosyakov
84a496d03c [supervisor] resume hearbeating if window unload was cancelled 2022-01-27 10:15:19 +01:00
Anton Kosyakov
f3ed7e4a91 [ide] desktop client installation steps 2022-01-24 13:32:16 +01:00
Gero Posmyk-Leinemann
7abe78c917 [dev] Upgrade to node.js v16 and all major TS libs
This commit includes the following commits:
 - @iqqbot update dev image to nodejs v16lts
 - @iqqbot update dev-environment-image to use nodejs v16
 - @iqqbot update component to nodejs v16 lts
 - [licensor] Adjust to v16
 - [ts] Bump @types/node to ^16.11.0 accordingly
 - @aledbf Update typescript dependencies
 - @aledbf Update typescript configuration
 - @aledbf / @geropl Update typescript code
 - [server] Fix express/passport types
 - [db] typeorm upgrade 0.1.20 -> 0.2.22: fix compile and runtime issues
 - [db] typeorm upgrade 0.2.22 -> 0.2.38: fix compile and runtime issues
 - [dev] Upgrade amqplib and smaller libs
 - [dev] Upgrade uuid
 - [dev] Update probot
 - [dev] Final yarn.lock
2021-11-02 13:59:10 +01:00
Cornelius A. Ludmann
e662de1298 [supervisor] Add desktop IDE frontend support
/werft with-clean-slate-deployment
2021-10-27 12:59:04 +02:00
Pudong Zheng
40c8138d2b upgrade typescript compiler target to es6 2021-10-21 15:30:59 +02:00
Anton Kosyakov
3470fff89b [supervisor] fix firing unload event 2021-10-04 11:23:51 -03:00
Anton Kosyakov
3f70f8aa2d [analytics] improve status_rendered events
For status_rendered:
- report an initial ide state, we are missing sometimes ready state because it is already happened
- report when window is unloaded to detect the session end
- report stack trace of IDE failure error
2021-09-20 09:28:45 -03:00
Manuel Alejandro de Brito Fontes
952b21c15b [supervisor] Increase sendHeartBeat to 30s plus a random additional wait 2021-09-10 14:44:16 +05:30
Anton Kosyakov
e0f5b36aa4 [analytics] group rendered events by session 2021-08-17 14:44:16 +02:00
Christian Weichel
89db73eb10 [code] Track vsc_opened when IDE is open 2021-07-26 12:36:30 +02:00
Anton Kosyakov
b207e31049 fix 3782: disable custom timeout errors in supervisor workspace web socket proxy 2021-06-08 08:21:29 +05:00
Anton Kosyakov
ccc2f8e9de [local-app] api to observe tunnels 2021-05-26 10:44:33 +02:00
Anton Kosyakov
22f5876749 [code] fix #4063: proxy fetch in web workers 2021-04-26 15:37:02 +02:00
Autofix
af51739d34 Autofix: trailing-spaces 2021-04-12 08:29:10 +02:00
Anton Kosyakov
d114f037a1 fix #3847: reconnect ws to server in iframe 2021-04-08 15:57:17 +02:00
Anton Kosyakov
e5cb49247a fix #3797: [code] reconnect to the extension host 2021-04-08 14:19:21 +02:00
Anton Kosyakov
85d629e43d [supervisor-frontend] fix #3759: if running poll ready checks 2021-04-06 13:58:31 +02:00
Anton Kosyakov
110bfc0514 [supervisor] update favicon 2021-03-28 10:09:52 +02:00
Anton Kosyakov
293868d767 fix #3577: poll ready check only if workspace is running 2021-03-28 10:09:52 +02:00
Alex Tugarev
9ccc557b3a fix yarn.lock, typescript, supervisor-api gen, etc. 2021-03-22 18:32:12 +01:00
Sven Efftinge
32da6d9775 [dashboard] v2 initial commit 2021-03-22 18:32:12 +01:00
Anton Kosyakov
483c6bb19e fix #3265: proxy trusted worker script URL 2021-02-26 08:28:36 +01:00