567 Commits

Author SHA1 Message Date
Gero Posmyk-Leinemann
ad8b7f0f48 [server] Log API connections without user-agent 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
Gero Posmyk-Leinemann
662bb20388 [server] GitpodServerImpl: Remove superfluous generics 2021-12-01 17:34:27 +01:00
Jan Keromnes
5a5f33d114 [server] When adding a project to a team, install the prebuild webhook as the adding user, not as a (random) team owner 2021-12-01 13:10:27 +01:00
Geoffrey Huntley
0bb6650e35 test scenario passing 2021-12-01 11:08:27 +01:00
Geoffrey Huntley
3827d33ce7 correct syntax for the test token 2021-12-01 11:08:27 +01:00
Geoffrey Huntley
feffc7ea09 add hint about test.only 2021-12-01 11:08:27 +01:00
Geoffrey Huntley
166ba1485e document how to run integration tests 2021-12-01 11:08:27 +01:00
Geoffrey Huntley
8a4b9390b4 sample-repository has been renamed to integration-tests 2021-12-01 11:08:27 +01:00
Geoffrey Huntley
42ea796f5b add test case for feature/JIRA-123-summary 2021-12-01 11:08:27 +01:00
Cornelius A. Ludmann
b4fa0fc9ba [server] Serve IDE config via gitpod-protocol 2021-11-30 15:15:26 +01:00
Jan Keromnes
f2aa8967c9 [server] Prevent blocked users from starting new prebuilds 2021-11-28 18:49:24 +01:00
Jan Keromnes
473274c157 [dashboard][server] Make all project slugs unique within a team or user account by adding a unique suffix 2021-11-26 15:50:22 +01:00
Gero Posmyk-Leinemann
ed030eb08f [server, content-service] Make sure to re-use ContentService clients 2021-11-26 11:43:22 +01:00
Laurie T. Malau
5d751e330d Remove team when sole owner and remove projects
Fixes #6655
2021-11-18 18:22:15 +01:00
Gero Posmyk-Leinemann
e4d2e268bc [server] Add WebsocketClientContext 2021-11-18 10:50:15 +01:00
Gero Posmyk-Leinemann
c494a0ba63 [server] Move websocket-connection-manager.ts 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
Gero Posmyk-Leinemann
399fd2b2fd [server] LocalMessageBroker: add listenForWorkspaceInstanceUpdates 2021-11-17 16:56:15 +01:00
Gero Posmyk-Leinemann
4b6926cab2 [server] Introduce LocalMessageBroker 2021-11-17 16:56:15 +01:00
Gero Posmyk-Leinemann
6954bbdfe7 [server] Cleanup around messagebus and EE split 2021-11-17 16:56:15 +01:00
Jan Keromnes
490d0faa07 [server] Allow all team members to cancel a team prebuild 2021-11-16 16:45:13 +01:00
Jean Pierre
17ac184851 💄 2021-11-11 11:00:09 +01:00
Jean Pierre
b54521de75 More feedback 2021-11-11 11:00:09 +01:00
Jean Pierre
8f496730ad 💄 2021-11-11 11:00:09 +01:00
Jean Pierre
a31c1122d5 Revert some unneeded changes 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
jakobhero
e3ab9d795c Introduces function to strip surrounding quotes of cookie w/ anonmymous_id if they exist 2021-11-09 09:28:07 +01:00
Laurie T. Malau
de09b5f828 Include subgroups
Fixes #6068
2021-11-05 13:08:03 +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
2f55599b1e [ws-daemon] Make 'takeSnapshot' return early
The motivation here is to get the URL as identifiable attribute back to the caller so we can make this look re-entrant from the outside.
For backwards compatibilities sake, there is a "returnImmediately" flag on the call that needs to be set for the early return.
2021-11-04 12:18:12 +01:00
Christian Weichel
b3275c3320 [server] Respond on debug log level endpoint 2021-11-04 10:39:12 +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
Alex Tugarev
93693cfe1e [dashboard] Improve email address already in use
1. Advertise to use another identity provider.
2. Handle same error in New Project wizard.

Fixes #5975
2021-11-02 11:56:10 +01:00
Laurie T. Malau
7658c52125 Introduce project slug
Fixes #5847
2021-11-02 11:31:10 +01:00
Pudong Zheng
5b38a4a85b make prebuild webhook install async 2021-11-02 11:07:10 +01:00
Gero Posmyk-Leinemann
e5b8c011bb [server] Analytics: catch promises 2021-10-29 10:57:07 +02:00
jakobhero
bdacc7f7c2 refactored analytics code for server and signup to analytics.ts 2021-10-29 10:57:07 +02:00
jakobhero
1e1680a030 mask IPs 2021-10-29 10:57:07 +02:00
jakobhero
2eb5353907 Include anonymousId in signup's identify call 2021-10-29 10:57:07 +02:00
jakobhero
32acfdeb94 analytics code in login completion handler is extracted to trackLogin method 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
Pudong Zheng
98e2742974 fix gitlab prebuild stucks in some case 2021-10-27 10:57:04 +02:00
Christian Weichel
1ff04f7872 [server] Make workspace starts backwards compatible 2021-10-26 21:48:04 +02:00