414 Commits

Author SHA1 Message Date
Anton Kosyakov
b571eefeef [server] add referrer prefix to control IDE option 2022-01-24 13:32:16 +01:00
Anton Kosyakov
2f72df6f19 [server] allow to fetch owner token 2022-01-24 13:32:16 +01:00
Jean Pierre
e899a4c30c Fix incorrect type in GithubAppPrebuildConfig 2022-01-21 09:07:13 +01:00
Jean Pierre
4e2c57e672 Use space character instead of u+00a0 2022-01-21 08:13:13 +01:00
Pudong Zheng
b58cb5984b Automatic rollout latest Jetbrains IDE 2022-01-19 22:38:12 +01:00
Jan Keromnes
11c092b8b3 [db][server][dashboard] Allow censoring Project environment variables out of Workspaces 2022-01-17 19:37:10 +01:00
Jan Keromnes
1c0ee09cdc [db][server][dashboard] Implement Project-level environment variables 2022-01-17 19:37:10 +01:00
Gero Posmyk-Leinemann
9cbfc06eb4 [tracing] Filter out spans with missing spanIds 2022-01-17 16:23: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
94f3b38615 [dashboard] Fix broken client.dispose() 2022-01-17 09:10:10 +01:00
Jan Koehnlein
5550be1eb2 [protocol] use owner and repo in lower case in ws IDs 2022-01-14 16:13:07 +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
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
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
Filip Troníček
4cf94168d0 Add git command analytics 2022-01-07 11:07:00 +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
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
Victor Nogueira
f85494006d [supervisor] Provide port Name and Description along with the port status 2021-12-20 18:42:44 +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
38c3d8e52f [server] tracing: fix creation of "FOLLOWS_FROM" reference 2021-12-15 13:31:39 +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
fa62003417 [db, server] Implement OSS whitelist 2021-12-15 08:41:40 +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
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
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
34e4dcb03b [tracing] Use instanceof as safer alternative to typeof
Co-authored-by: Jan Keromnes <jan.keromnes@typefox.io>
2021-12-08 15:01:33 +01:00
Gero Posmyk-Leinemann
fdc317a89b [tracing] Fix null/undefined handling and be more resilient in general 2021-12-08 15:01:33 +01:00
Gero Posmyk-Leinemann
fccd4a7e8a [protocol] Code cleanup 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
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
Pudong Zheng
f153cbb1b2 [gp-cli] allow to create snapshot 2021-12-07 14:06:32 +01:00
Gero Posmyk-Leinemann
9443de8154 [server, protocol] Improve tracing II
- add TraceContext.setOWI to trace context info just like for Go components, including sessionId
  - change TraceContext.addJsonRPCParameters to accept shapes
 - switch to opt-in tracing for a) parameter names, and b) easier filtering for PII
2021-12-07 09:35:32 +01:00
Gero Posmyk-Leinemann
6207940ffe [tracing] TS: Add addNestedTags to replace jaegerClient.addTags 2021-12-07 09:35:32 +01:00
Gero Posmyk-Leinemann
8e111f6604 [server] Add all arguments to API span 2021-12-01 17:34:27 +01:00
Gero Posmyk-Leinemann
93efd2c8d4 [server] Follow tracing convetions for errors 2021-12-01 17:34:27 +01:00
Gero Posmyk-Leinemann
3a71d2ea07 [server] Use generic API-level TraceContext 2021-12-01 17:34:27 +01:00
Gero Posmyk-Leinemann
67ff0e4f8f [server] Create and inject TraceContext into every API method 2021-12-01 17:34:27 +01:00