470 Commits

Author SHA1 Message Date
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
Gero Posmyk-Leinemann
5f596bc533 [server] Review comments 2021-12-10 14:26:35 +01:00
Gero Posmyk-Leinemann
0189125c45 [protocol] Rename TraceContext.log* to TraceContext.set* 2021-12-10 14:26:35 +01:00
Gero Posmyk-Leinemann
0846c58a50 [server] Improve API-level tracing
- better distinguish between API errors and "internal" errors
 - use tags instead of log for errors
 - use standarized error fields
2021-12-10 14:26:35 +01:00
Gero Posmyk-Leinemann
7eb60ab608 [server] Don't use "FOLLOW_FROM" references if we have access to the parent context and start actions immediately anyway 2021-12-10 14:26:35 +01:00
Gero Posmyk-Leinemann
cfb8a703ef [server] Avoid unnecessary span.log(...) call 2021-12-10 14:26:35 +01:00
Alex Tugarev
928f7591f6 [projects] make it fly with self-hosted gitlab 2021-12-09 21:10:34 +01:00
Simon Emms
c27d245dfc [server]: add option to read license from a file 2021-12-09 10:03:34 +01:00
Alex Tugarev
a481e8b536 [projects] remove configuration page from wizard
instead of showing the configuration page, let's show a simple `New Workspace` button to start a workspace.

we rescue the auto-inferred configuration or use the existing one to trigger a prebuild right away.

Co-authored-by: Jan Keromnes <janx@linux.com>
Co-authored-by: Alex Tugarev <alex@gitpod.io>
2021-12-08 17:13:33 +01:00
Gero Posmyk-Leinemann
baa41ece4b [server] Fix potential mem leak 2021-12-08 11:53:33 +01:00
Gero Posmyk-Leinemann
c2ce94fde1 [server] Set --max_old_space_size=2048 2021-12-08 11:53:33 +01:00
Mads Hartmann
28bf0e6541 component/gitpod-protocol/tracing: Add version tags to all spans
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-12-08 11:30:33 +01:00
Jan Koehnlein
44c11d1a62 minor code cleanup 2021-12-08 09:44:33 +01:00
Gero Posmyk-Leinemann
56874b6a0f [server, et. al] Add repeat(cb, ms) as replacement for setInterval, and use it across meta components 2021-12-07 18:43:33 +01:00
Gero Posmyk-Leinemann
b7a0264f0f [server] GitHub API: ensure that we don't 2021-12-07 18:43:33 +01:00
Manuel Alejandro de Brito Fontes
537672b058 Enable experimentalNetwork by default 2021-12-07 16:53:33 +01:00
Gero Posmyk-Leinemann
5dc18373ab [server] Review comments 2021-12-07 09:35:32 +01:00
Gero Posmyk-Leinemann
591c7edaef [server] Review comments 2021-12-07 09:35:32 +01:00