1187 Commits

Author SHA1 Message Date
Gero Posmyk-Leinemann
f9885645ab [server] Print # of ws connections 2022-01-17 14:58:10 +01:00
Gero Posmyk-Leinemann
a6fa43b917 [server] Rename WsPingPongHandler -> WsConnectionHandler 2022-01-17 14:58:10 +01:00
Gero Posmyk-Leinemann
779f8d1c56 [server] Make sure we close websockets on write errors 2022-01-17 14:58:10 +01:00
Gero Posmyk-Leinemann
0a2fdf731d [server] Add experimental ws closing 2022-01-17 13:17:10 +01:00
Gero Posmyk-Leinemann
907ca5d3d3 [server] Avoid bubbling up any errors into ws.close(...) 2022-01-17 13:17:10 +01:00
Anton Kosyakov
ac4526ea3f fix #7054: fix disposing of listeners 2022-01-15 16:41:08 +01:00
Laurie T. Malau
ea76aec273 Add metric and plug in 2022-01-13 15:52:06 +01:00
Sven Efftinge
1c3b62d584 [server] allow prevent merge on failed prebuilds
fixes #7518
2022-01-12 17:44:05 +01:00
Gero Posmyk-Leinemann
f8218bda23 [server] Refer to connection TraceContext when sending notifications to websocket clients 2022-01-12 12:39:05 +01:00
Gero Posmyk-Leinemann
469d0b2aef [server] Add client.version and .origin (workspaceId/instanceId) to websocket spans 2022-01-12 12:39:05 +01:00
Jan Koehnlein
1c75ffbac4 [server] removed unused branding from config 2022-01-11 15:21:05 +01:00
Jan Koehnlein
506dcc5e7b [server] remove GraphQL API 2022-01-11 09:34:04 +01:00
Gero Posmyk-Leinemann
28597c5342 Revert "[server, protocol] Remove GithubAppConfig.addCheck"
This reverts commit a62ce4a2c0f9ddf23463d2043257e241034b129f.
2022-01-10 16:02:04 +01:00
Gero Posmyk-Leinemann
89e94030f9 Revert "[server, et al] Remove PrebuildStatusMaintainer and subsequent unused code"
This reverts commit 6dfe5520fc96757387d52237f35df9cf8a77943e.
2022-01-10 16:02:04 +01:00
Alex Tugarev
aa474282f7 [server/telepresence] fix telepresence hack
Co-authored-by: Alex Tugarev <alex@gitpod.io>
Co-authored-by: Simon Emms <simon@gitpod.io>
2022-01-10 12:27:04 +01:00
Gero Posmyk-Leinemann
63aba9a32e [server, protocol] Remove GithubAppConfig.addCheck
We can remove this without prior deprecationg because it has never been part of the externak interface (gitpod-schema.json)
2022-01-07 15:05:01 +01:00
Gero Posmyk-Leinemann
84b0fbee7a [server, et al] Remove PrebuildStatusMaintainer and subsequent unused code 2022-01-07 15:05:01 +01:00
Sven Efftinge
f8086b9a25 [server] use owner and repo name for workspace id
This change introduces optional arguments in generateWorkspaceId
for the first two segments. And makes use of it in workspace factory
using the repos org/group and name.

fixes https://github.com/gitpod-io/gitpod/issues/4129
2022-01-07 10:33:00 +01:00
Gero Posmyk-Leinemann
7bf18989e4 [server] WsHandler: Take only upgrade first matching websocket route 2022-01-07 09:28:00 +01:00
Gero Posmyk-Leinemann
562ee68cd7 [server] Switch to per-server heartbeating for websockets
fixup! [server] Switch to per-server heartbeating for websockets
2022-01-07 09:28:00 +01:00
Gero Posmyk-Leinemann
226951c18b [tracing] Set status_code to improve honeycomb reporting 2022-01-07 09:28:00 +01:00
Christian Weichel
fa0178de8a Add dotfile repo support 2022-01-06 08:44:59 +01:00
Filip Troníček
b3fa44b7c1 Make analytic event casing consistent 2022-01-05 17:32:59 +01:00
George Tsiolis
9b0eebd867 Rename editor preference section heading 2022-01-04 17:15:58 +01:00
Alex Tugarev
911d00e57d [projects] enable webhook registration for bitbucket.org and self-hosted gitlab 2022-01-04 16:42:58 +01:00
Sven Efftinge
46d55a770d [server] infer extensions and add a comment
This commit adds vcode extensions to the inferred .gitpod.yml
and adds a comment to the top, that links to the documentation.
2022-01-04 15:40:58 +01:00
Jan Koehnlein
c643d974e4 [server] dispose pingpong timer when ws is closing/closed
Fixes #7082
2022-01-03 14:54:57 +01:00
William Ghelfi
34ed8e276f [server] set default branch for BitBucket provider
closes #7325
2022-01-03 11:56:57 +01:00
Sven Efftinge
91c09f7c2b [server] derive configuration when no explicit one
Fixes https://github.com/gitpod-io/gitpod/issues/6921
2021-12-30 14:45:53 +01:00
Sven Efftinge
de80cb931c removed unused dependency 2021-12-30 14:45:53 +01:00
Simon Emms
0cdb50e75c [server]: allow auth provider config to be passed in via file path
This allows for the values to be injected via a Kubernetes secret, reducing the
exposure of sensitive data in configuration
2021-12-21 17:17:45 +01:00
Laurie T. Malau
254a3c4664 Link to user profile 2021-12-21 15:12:45 +01:00
Alex Tugarev
556c03ce7c Mention username who added project in a team
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
Co-authored-by: Laurie T. Malau <laurie@gitpod.io>
Co-authored-by: Alex Tugarev <alex.tugarev@typefox.io>
2021-12-20 09:16:44 +01:00
Pudong
fb99a9f5eb [ide] add user-agent header to ws connection to server 2021-12-20 07:21:44 +01:00
Gero Posmyk-Leinemann
44c805d4cd [server] Have global pingPongTimer counter 2021-12-18 12:03:42 +01:00
Gero Posmyk-Leinemann
d2d5757f7d [server] Debug output for dangling ws connections 2021-12-18 12:03:42 +01:00
Alex Tugarev
0cb0f38cad [bitbucket] enable projects 2021-12-17 14:59:41 +01:00
Gero Posmyk-Leinemann
22d6adaa5c [server] Debug logging for automatic OSS subscription 2021-12-16 10:32:40 +01:00
Jean Pierre
66ea406a00 Add endpoint to generate session cookie and python integration test 2021-12-15 16:14:40 +01:00
Gero Posmyk-Leinemann
af137395fb [server] Trace websocket connections as parent of API calls 2021-12-15 10:42:39 +01:00
Gero Posmyk-Leinemann
1fc9d31098 [server] Refactor: Push methods into RpcConnectionHandler 2021-12-15 10:42:39 +01:00
Gero Posmyk-Leinemann
6be4928bc3 [server] Share ClientMetadata and trace clientType 2021-12-15 10:42:39 +01:00
Gero Posmyk-Leinemann
9972d25505 [server] Trace ws rate limiter (429s) and access guards (403s) 2021-12-15 10:42:39 +01:00
Gero Posmyk-Leinemann
c9a48a49a4 [server] Trace OWI on updates 2021-12-15 10:42:39 +01:00
Gero Posmyk-Leinemann
665f2ee526 [messagebus] .finish() spans created from messages 2021-12-15 10:42:39 +01:00
Gero Posmyk-Leinemann
fa62003417 [db, server] Implement OSS whitelist 2021-12-15 08:41:40 +01:00
Jan Keromnes
704c4678a6 Address review feedback
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
Co-authored-by: Gero Posmyk-Leinemann <gero@gitpod.io>
2021-12-14 08:42:38 +01:00
Jan Keromnes
7305418f21 [server] Refactor setProjectConfiguration + updateProjectSettings → updateProjectPartial 2021-12-14 08:42:38 +01:00
Jan Keromnes
945a8080cc Allow enabling/disabling Incremental Prebuilds in a Project's settings 2021-12-14 08:42:38 +01:00
Gero Posmyk-Leinemann
48da3cf7af [server] Pin oci-tool to 0.1.1 2021-12-13 15:54:38 +01:00