590 Commits

Author SHA1 Message Date
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
Cornelius A. Ludmann
b4fa0fc9ba [server] Serve IDE config via gitpod-protocol 2021-11-30 15:15:26 +01:00
Cornelius A. Ludmann
fa7aadddf5 [gitpod-protocol] Remove HTTP headers from logs
This is to avoid leaking bearer tokens in the logs.

/werft no-preview
2021-11-27 10:17:23 +01:00
Cornelius A. Ludmann
7e92f6036d [dashboard] Add hint to peferences to workspace ready page 2021-11-24 14:00:20 +01:00
Gero Posmyk-Leinemann
e4d2e268bc [server] Add WebsocketClientContext 2021-11-18 10:50:15 +01:00
Cornelius A. Ludmann
44d50bcd48 [server] Add and use supervisor image config 2021-11-18 10:06:15 +01:00
Jean Pierre
b54521de75 More feedback 2021-11-11 11:00:09 +01:00
Jean Pierre
744af29121 Fixes #6514 2021-11-11 11:00:09 +01:00
Pudong Zheng
c715b3521f remove all private repo check 2021-11-09 12:20:07 +01:00
George Tsiolis
0d444a505b Preserve team scope in dashboard 2021-11-05 15:47:04 +01:00
Manuel Alejandro de Brito Fontes
a30a1bff48 Add ExposedPorts message and remove Target and GlobalPort 2021-11-05 10:33:03 +01:00
Gero Posmyk-Leinemann
9575debc94 [server] Build out SnapshotService 2021-11-04 12:18:12 +01:00
Gero Posmyk-Leinemann
b385af4e38 [server, protocl] Introduce 'waitForSnapshot' 2021-11-04 12:18:12 +01:00
Gero Posmyk-Leinemann
d01d008745 [db] Introduce snapshot.state 2021-11-04 12:18:12 +01:00
Manuel Alejandro de Brito Fontes
9b90bd5f6b Update protoc generated code 2021-11-02 15:50:10 +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
Laurie T. Malau
7658c52125 Introduce project slug
Fixes #5847
2021-11-02 11:31:10 +01:00
Gero Posmyk-Leinemann
e5b8c011bb [server] Analytics: catch promises 2021-10-29 10:57:07 +02:00
jakobhero
a89bcf6226 Shift user attributes to indentify calls 2021-10-29 10:57:07 +02:00
Cornelius A. Ludmann
c3f4da4dc2 [server] Pass selected desktop IDE to ws-manager 2021-10-27 14:08:05 +02:00
Cornelius A. Ludmann
75e0a8d60c [server] Add preferences to choose a desktop IDE 2021-10-27 12:05:05 +02:00
Gero Posmyk-Leinemann
46c723781c [server] Add config "experimantalNetwork" which translates to "WORKSPACEKIT_USE_NETNS" 2021-10-26 20:42:04 +02:00
Manuel Alejandro de Brito Fontes
fc0de7566a Fix go dependencies 2021-10-26 08:16:03 +02:00
Jan Keromnes
8e9f612703 Replace /workspaces → /projects as default landing page for both users and teams 2021-10-25 11:14:03 +02:00
Pudong Zheng
40c8138d2b upgrade typescript compiler target to es6 2021-10-21 15:30:59 +02:00