567 Commits

Author SHA1 Message Date
Mads Hartmann
dd8b5b728a Remove OWNERS related files
Fixes https://github.com/gitpod-io/ops/issues/844
2022-02-08 09:15:30 +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
29c3a7d8cb [server] Replace nextTick with setImmediate 2022-02-07 14:05:29 +01:00
Christian Weichel
e94cb93ae7 [server] Keep pushing env vars until supervisor is up to date 2022-02-04 15:43:26 +01:00
Christian Weichel
d8847a9c12 [server] Use envvar OTS to ship user/prj env vars 2022-02-04 15:43:26 +01:00
Gero Posmyk-Leinemann
3bd683e6ea [server] Run 'yarn lint' on every build 2022-02-04 14:29:26 +01:00
Gero Posmyk-Leinemann
fdd353d9c5 [server] lint: "no-floating-promises" 2022-02-04 14:29:26 +01:00
Christian Weichel
5b74af7518 [server] Tie increased resource access to payment status 2022-02-02 18:46:24 +01:00
Christian Weichel
ecf598ac0e [ws-manager-api] Introduce start cluster preference sets 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
cd36b56224 [server] Generalize HeadlessLogService 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
Jan Keromnes
3240f516c8 [server] Support 'git@{host}:{user}/{repo}.git' format in context URLs 2022-02-01 17:32:23 +01:00
Laurie T. Malau
4d9d49d81c Allow project search and show project detail 2022-02-01 15:20:24 +01:00
Jan Keromnes
b7d359d581 [server] Ensure incremental prebuilds always use the latest config 2022-01-31 13:15:22 +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
Anton Kosyakov
dea0999778 [server] add JB plugins as client types for tracing 2022-01-27 10:15:19 +01:00
Simon Emms
f9ec0f8cc6 [dashboard]: create a settings tab inside admin 2022-01-26 15:53:19 +01:00
George Tsiolis
31dfc5bd6b Update WebApp team label in component owners 2022-01-26 10:17:18 +01:00
Jan Koehnlein
d30815e685 [owners] rename team meta to webapp 2022-01-26 08:27:17 +01:00
Gero Posmyk-Leinemann
5d721fc81d [server] Fix case where we might close ws connections too frequently 2022-01-25 13:07:17 +01:00
Simon Emms
18259dc5b8 Create installation admin controller 2022-01-25 12:26:17 +01:00
Sven Efftinge
4d47f0b761 [prebuilds] no update status for pending prebuild
fixes #7794
2022-01-25 09:12:17 +01:00
Anton Kosyakov
b571eefeef [server] add referrer prefix to control IDE option 2022-01-24 13:32:16 +01:00
Anton Kosyakov
9a0c9088fc [server] add JB Gateway plugin as ouath2 client 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
Sven Efftinge
ac0eeeecee [server] fix commit check 2022-01-18 17:36:24 +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
f9885645ab [server] Print # of ws connections 2022-01-17 14:58:10 +01:00
Gero Posmyk-Leinemann
a6fa43b917 [server] Rename WsPingPongHandler -> WsConnectionHandler 2022-01-17 14:58: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
0a2fdf731d [server] Add experimental ws closing 2022-01-17 13:17:10 +01:00
Gero Posmyk-Leinemann
907ca5d3d3 [server] Avoid bubbling up any errors into ws.close(...) 2022-01-17 13:17:10 +01:00
Anton Kosyakov
ac4526ea3f fix #7054: fix disposing of listeners 2022-01-15 16:41:08 +01:00
Laurie T. Malau
ea76aec273 Add metric and plug in 2022-01-13 15:52:06 +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
Gero Posmyk-Leinemann
469d0b2aef [server] Add client.version and .origin (workspaceId/instanceId) to websocket spans 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
Alex Tugarev
aa474282f7 [server/telepresence] fix telepresence hack
Co-authored-by: Alex Tugarev <alex@gitpod.io>
Co-authored-by: Simon Emms <simon@gitpod.io>
2022-01-10 12:27: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
7bf18989e4 [server] WsHandler: Take only upgrade first matching websocket route 2022-01-07 09:28:00 +01:00
Gero Posmyk-Leinemann
562ee68cd7 [server] Switch to per-server heartbeating for websockets
fixup! [server] Switch to per-server heartbeating for websockets
2022-01-07 09:28:00 +01:00