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
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
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
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
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
8e111f6604
[server] Add all arguments to API span
2021-12-01 17:34:27 +01:00
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
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
a31c1122d5
Revert some unneeded changes
2021-11-11 11:00:09 +01:00