242 Commits

Author SHA1 Message Date
Gero Posmyk-Leinemann
ec35e4f86b [protocol, server] Move "toPermissionSet" into protocol 2022-02-15 10:37:36 +01:00
Gero Posmyk-Leinemann
ddc7aaa72c Revert "[server, db] AuthProviderEntry: Introduce oauthRevision to avoid repeated materialization of encrypted data"
This reverts commit 07e013ecc2808240b768710886ff52fac0f921bd.
2022-02-14 20:35:35 +01:00
Gero Posmyk-Leinemann
4feee36008 [server] Instead of FOLLOWS_FROM, enhance notifications with clientMetadata directly 2022-02-14 16:17:35 +01:00
Gero Posmyk-Leinemann
24551594b9 [server] tracing: Avoid using FOLLOWS_FROM references due to lots of errors 2022-02-14 16:17:35 +01:00
Gero Posmyk-Leinemann
07e013ecc2 [server, db] AuthProviderEntry: Introduce oauthRevision to avoid repeated materialization of encrypted data 2022-02-11 16:44:33 +01:00
Gero Posmyk-Leinemann
5ff578ed67 [server, dashboard] Never fail when parsing ContextURL
Additionally:
 - always prefer `ws.context.normalizedContextURL` over `ws.contextURL`
 - if `normalizedContextURL` is not set, always try to normalize it
2022-02-09 15:51:31 +01:00
Jan Keromnes
913d96392c [protocol] Make ContextURL.parseToURL support the newly-accepted 'git@{host}:{user}/{repo}.git' format
Fixes https://github.com/gitpod-io/gitpod/issues/8097
Companion to https://github.com/gitpod-io/gitpod/pull/7951
2022-02-09 10:17:31 +01:00
Jan Keromnes
63f613704e [server][dashboard] Improve 'New Workspace' modal with a search input, keyboard navigation, and a new context URL suggestion API 2022-02-08 14:48:30 +01:00
Pudong Zheng
22f346c17b allow user select eap version of JetBrains IDE 2022-02-08 09:27:29 +01:00
Gero Posmyk-Leinemann
d955ce10f0 [server, dashboard] Do basic rate limiting on startWorkspace 2022-02-07 18:54:29 +01:00
Gero Posmyk-Leinemann
fdd353d9c5 [server] lint: "no-floating-promises" 2022-02-04 14:29:26 +01:00
Jan Koehnlein
28e4c1c613 [gitlab] support nested repos in envvar patterns 2022-02-03 12:54:25 +01:00
Christian Weichel
b67e3ecdb7 [workspace-cluster] Introduce has-more-resources constraint 2022-02-02 18:46:24 +01:00
Christian Weichel
dbeeafafd0 [workspace cluster] Remove admission preferences 2022-02-02 18:46:24 +01:00
Gero Posmyk-Leinemann
51568c7497 [server] Stream imagebuild logs from headless workspace directly 2022-02-02 17:35:24 +01:00
Gero Posmyk-Leinemann
ce802b8841 [image-builder, et. al] Return the public workspace URL for all imagebuilds (incl. extra headers to access said URL) and store it in workspace 2022-02-02 17:35:24 +01:00
Laurie T. Malau
4d9d49d81c Allow project search and show project detail 2022-02-01 15:20:24 +01:00
Jan Keromnes
0736b3bbde [dashboard][server] Make Project Overview page faster by pre-fetching and caching Git provider data (branches) 2022-01-31 11:23:22 +01:00
Simon Emms
f9ec0f8cc6 [dashboard]: create a settings tab inside admin 2022-01-26 15:53:19 +01:00
Simon Emms
18259dc5b8 Create installation admin controller 2022-01-25 12:26:17 +01:00
Anton Kosyakov
f3ed7e4a91 [ide] desktop client installation steps 2022-01-24 13:32:16 +01:00
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
4e2c57e672 Use space character instead of u+00a0 2022-01-21 08:13:13 +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
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
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