126 Commits

Author SHA1 Message Date
ArthurSens
a8da492f24 Introduce gitpod_server_topic_read_total counter metrics, which counts the amount of times that server reads messagebus topic for each workspace.
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-04-07 13:55:46 -03:00
Manuel Alejandro de Brito Fontes
1569e1a3ba Update generated code 2021-04-07 07:39:04 -04:00
Anton Kosyakov
653de5b4de [github] remove read:user from default scopes 2021-04-07 10:35:42 +02:00
Jan Keromnes
abb0e38175 [dashboard] Re-implement a RepositoryNotFoundView to help troubleshoot missing permissions 2021-04-06 11:46:40 +02:00
Sven Efftinge
89e8374f57 [dashboard] github app installation 2021-04-01 19:57:34 +02:00
Gero Posmyk-Leinemann
0af1980f8c [gpctl, bridge, db, protocol, server, ws-proxy] Dynamic WorkspaceCluster 2021-04-01 14:47:31 +02:00
Anton Kosyakov
5e39b06cb5 [gitpod-cli/protocol] remove dependency to common-go 2021-03-29 16:10:34 +02:00
Anton Kosyakov
4ebbcc1d62 fix #3162: decouple gp env from theia 2021-03-29 16:10:34 +02:00
Jan Koehnlein
49d3aa83f0 [git] notify a user about missing scopes on git actions
Fixes https://github.com/gitpod-io/gitpod/issues/2810
2021-03-27 09:47:44 +01:00
Alex Tugarev
40112700f9 Add Git Integrations
closes https://github.com/gitpod-io/gitpod/issues/3333
2021-03-26 14:55:30 +01:00
Jan Keromnes
8920df5c7d [dashboard] Fix Bitbucket case and Login button icon 2021-03-26 11:33:51 +01:00
Jan Keromnes
110ada68a6 [server] Fix async access guards 2021-03-24 19:32:32 +01:00
Jan Keromnes
864b83c8ec [server] Ensure that parsing EXPERIMENTAL_FEATURE_FLAGS always returns an Array
Co-authored-by: Alex Tugarev <alex@gitpod.io>
2021-03-24 11:10:33 +01:00
Cornelius A. Ludmann
e56ed09ccb [server] Use content-service 2021-03-23 21:03:26 +01:00
Jan Keromnes
e8fb979242 [code] Make VS Code the default IDE for new users 2021-03-22 18:32:12 +01:00
Jan Keromnes
857a8464b4 [code] Graduate VS Code out of Feature Preview 2021-03-22 18:32:12 +01:00
Alex Tugarev
f932dfa926 [server] disable tos check on signup 2021-03-22 18:32:12 +01:00
Alex Tugarev
72de8397c7 add login page (50%) 2021-03-22 18:32:12 +01:00
Alex Tugarev
c4fd26d110 disable tos temporarily 2021-03-22 18:32:12 +01:00
Alex Tugarev
9ccc557b3a fix yarn.lock, typescript, supervisor-api gen, etc. 2021-03-22 18:32:12 +01:00
Jan Koehnlein
9da787cab7
[server] enable auth for snapshot creation (#3444) 2021-03-18 14:00:40 +01:00
Cornelius A. Ludmann
a713cb13d5 [server] Fix workspace download for GCP storage
Fixes #3152
/werft storage=gcp
2021-03-17 09:59:23 +01:00
Anton Kosyakov
91cc264260 [code] github auth provider 2021-03-12 10:41:43 +01:00
Sven Efftinge
186e76ee96 [github] added read:user 2021-03-12 10:41:43 +01:00
Jan Keromnes
48dfd9faae [server] Use 'new Probot({ logLevel })' instead of the deprecated 'LOG_LEVEL' environment variable
Fixes https://github.com/gitpod-io/gitpod/issues/3181
2021-03-09 16:11:45 +01:00
Alex Tugarev
e62a02efbf [protocol] fold in com aspects
fixes #3307
2021-03-04 10:50:27 +01:00
Alex Tugarev
fcfe58468b improve authenticator
Signed-off-by: Alex Tugarev <alex@gitpod.io>
2021-03-02 17:14:49 +01:00
Anton Kosyakov
fb4f001f29 [code-sync] keep only one revision of machines resource 2021-02-26 14:00:00 +01:00
Anton Kosyakov
00cc0b3557 [server] sync user data from Theia if missing in Code 2021-02-26 08:18:36 +01:00
Anton Kosyakov
1a5059683d [server] fix #3045: support external extensions 2021-02-23 13:50:24 +01:00
Anton Kosyakov
613c2995f3 [content-service] allow to restrict the access to the signed URL 2021-02-22 14:04:23 +01:00
Cornelius A. Ludmann
44ad77ab02 [server] Allow to disable definitely gp 2021-02-19 10:33:10 +01:00
Anton Kosyakov
623d438ded [code-sync] enable rate limiter 2021-02-18 14:53:03 +01:00
Anton Kosyakov
a93a80abe4 [server] http RED metrics 2021-02-18 14:53:03 +01:00
Anton Kosyakov
49e977f6b8 [server] implement code sync storage endpoint 2021-02-18 14:53:03 +01:00
Christian Weichel
1046faf0f9 [registry-facade] Remove feature flag
and enable registry-facade by default.
2021-02-18 09:25:56 +01:00
Christian Weichel
5b6325f0de Remove privileged feature flag and permission
now that we have user-namespaced workspaces the privileged flag
has become even more of a nuisance and technical debt.

Fixes gitpod-io/gitpod#3058
2021-02-12 09:19:48 +01:00
Christian Weichel
f3f67fcafd [server] Add missing license header 2021-02-12 09:19:48 +01:00
Alex Tugarev
3a0ca242f2 [env-var-context] fix parsing of env vars from context
Signed-off-by: Alex Tugarev <alex@gitpod.io>
2021-02-12 09:06:59 +01:00
Christian Weichel
ab00cd07be [admin] Introduce audit logs for admin API calls 2021-02-11 11:11:38 +01:00
Cornelius A. Ludmann
55564b66cf [server] Add API rate limiter and API Prometheus metrics 2021-02-10 18:12:39 +01:00
Gero Posmyk-Leinemann
e42f7c8dec
[server-ee] Fix wrong injection of GitHupApp (#3088) 2021-02-03 16:25:05 +01:00
Alex Tugarev
e8adb24ecc [server/dashboard] stop moving identities
* allow our users to disconnect provider identities from their accounts

* when a user tries to connect with a provider, for which there is already a connection to anther account, we redirect to an assistance page. a summary should help to review both accounts. in the end, any user may decide to move to a single account by disconnecting the provider identities from the other account.
  this way we can guarantee to not automagically lock out users from accounts with subscriptions or any meaningful data.

* show `Connected as`

* update terms renderer

Signed-off-by: Alex Tugarev <alex@gitpod.io>
2021-02-01 08:06:11 +01:00
Alex Tugarev
0bb6ab6629 [server/auth] avoid creating duplicate accounts
in a situation where the browser agent might submit the terms form more than once, we should avoid creating new accounts. instead, we need to select the recently created account for a login in a parallel session.
2021-02-01 08:06:11 +01:00
Alex Tugarev
3644d93db9 [gitlab] Allow adding Git Provider using a relative URL
Signed-off-by: Alex Tugarev <alex@gitpod.io>
2021-01-29 08:50:18 +01:00
Cornelius A. Ludmann
70fe39a8ba [content-store] Add a content-store component with blobs API 2021-01-28 14:15:31 +01:00
ArthurSens
aae2e4544b Add metric for login requests
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-01-27 14:26:04 -03:00
Sven Efftinge
b897e6777f Generate better workspace ids 2021-01-26 18:03:25 +01:00
Gero Posmyk-Leinemann
1ac8fbeef3
[server] Bump dependencies avoid pulling 'agent-base' < 6.0.0 (#2388)
* [server] Bump dependencies avoid pulling 'agent-base' < 6.0.0

* [server] Remove patch-agent-base and references

* [server] Cleanup: yarn.lock
2021-01-15 18:06:40 +01:00
Cornelius A. Ludmann
225e102dbc [admin panel] Add delete user button 2021-01-13 15:39:22 +01:00