1018 Commits

Author SHA1 Message Date
Cornelius A. Ludmann
42ee644f98 [github-auth-provider] Prefer pass list email over primary email 2021-06-01 11:27:04 +02:00
jakobhero
be192ca1cb
Analytics tracking signups and notifications (#4300) 2021-05-31 15:08:36 +01:00
Manuel Alejandro de Brito Fontes
944cb93a49 [server] Enable kube-rbac-proxy 2021-05-31 07:02:09 -04:00
Christian Weichel
d04b53a612 [docker-up] Don't kill slirp4netns 2021-05-28 17:49:44 +02:00
Christian Weichel
2dbb3915de Revert "[ws-manager] mknod /dev/net/tun"
This reverts commit 44a47ef48e5edd0d4b239138fb6ff9fb949c67bd.
2021-05-28 17:49:44 +02:00
Jan Keromnes
360176f75d [content-init] Don't fail when origin is empty 2021-05-28 16:52:06 +02:00
Mads Hartmann
b43fbfa22f
Add tests for findAllWorkspaceAndInstances (#4120)
* Add test for findAllWorkspaceAndInstances

The test is currently failing with a missing database error. I think
this is a problem with the test database setup rather than the specific
test

* Resolve failing test

Turns out that TypeORM column names are case sensitive when used for
ordering. The error message is terrible

    Cannot read property 'databaseName' of undefined

In this case we used contextUrl and it should have been contextURL.

While column names in mysql are case insensitive I also fixed one other
occurrence of contextUrl even though it is not necessary; but using the
column names makes it easier to find when searching for references etc.

* Add a launch configuration for db-test

* Add more assertions to the test
2021-05-28 13:58:32 +02:00
Christian Weichel
1812b56998 [content-service] Fix nil-deref in error log 2021-05-28 10:11:57 +02:00
Alex Tugarev
3d0ab49212 [proxy] fix api-server config 2021-05-27 15:39:49 +02:00
Jan Keromnes
62e3aa3543 [dashboard] Fix page titles 2021-05-27 11:30:47 +02:00
Jan Keromnes
1a1b198446 [dashboard] Support multiple recent projects with the same title 2021-05-27 10:00:05 +02:00
Alex Tugarev
e42cb0d129 [server] fix getAuthProviders 2021-05-26 16:39:20 +02:00
Christian Weichel
0851301c52 [supervisor] Skip flaket title tests 2021-05-26 16:02:23 +02:00
Christian Weichel
53b73efd58 [analytics] Limit failure blast radius 2021-05-26 16:02:23 +02:00
Gero Posmyk-Leinemann
1ca6b44d06 [analytics] Fix segment assertion error 2021-05-26 14:40:41 +02:00
Anton Kosyakov
57f1670a88 [tunnel] close the tunnel if at least one side is dropped 2021-05-26 13:11:06 +02:00
Christian Weichel
515316a162 [ws-daemon] Properly handle git status for FWB workspaces 2021-05-26 13:10:54 +02:00
Christian Weichel
a2c08bc8dc [supervisor] Force gitpod user during Git init 2021-05-26 13:10:54 +02:00
Christian Weichel
1646d5cc2a [ws-daemon] Force fuse fsshift for FWB 2021-05-26 13:10:54 +02:00
Manuel Alejandro de Brito Fontes
9d4f213d24 Bind mounting /workspace in ring1 only if not running FWB 2021-05-26 13:10:54 +02:00
Manuel Alejandro de Brito Fontes
295572e418 Refactor Buildtarbal 2021-05-26 13:10:54 +02:00
Manuel Alejandro de Brito Fontes
001fde1661 [ws-daemon] Refactor full workspace backup 2021-05-26 13:10:54 +02:00
Gero Posmyk-Leinemann
1d97b90fa1 [db] Fix InitialComSetup 2021-05-26 11:18:45 +02:00
Anton Kosyakov
ccc2f8e9de [local-app] api to observe tunnels 2021-05-26 10:44:33 +02:00
Christian Weichel
1e5ca9da08 [server] Fix EE workspce starter 2021-05-26 09:25:03 +02:00
Christian Weichel
41ddfe37f8 [server] Don't use FWB FF for prebuilds 2021-05-26 08:47:36 +02:00
Christian Weichel
f5f9926787 move payment endpoint proxy config 2021-05-26 08:35:36 +02:00
Alex Tugarev
0bf71f1ed3 initial contribution of components/ee/paiment-endpoint 2021-05-26 08:35:36 +02:00
Manuel Alejandro de Brito Fontes
cb2dd80d1c [ws-manager] Remove deprecated annotation 2021-05-25 12:25:01 -04:00
Christian Weichel
d5b943e5e9 [db-sync] Port from gitpod-com 2021-05-25 18:08:38 +02:00
Sven Efftinge
0878c9444d [gp cli] fix gp init
fixes #3975
2021-05-25 10:53:56 +02:00
Cornelius A. Ludmann
cacf3ed66e [image-builder] Support imagebuild/ context prefix
Forces the build of the workspace image.
2021-05-25 09:33:25 +02:00
rl-gitpod
84026073ff
[local-app] Use new OAuth endpoint for login (#4267)
Use correct scope for all workspaces
Allow a range of ports to avoid clashes
Use tcp4 and 127.0.0.1 to avoid IPV6 issues
2021-05-25 09:24:57 +10:00
Jan Keromnes
6e5b4c719b [content-init] If re-applying stashed changes from an unclean prebuild after checkout fails, throw them away instead of leaving merge conflicts in the workspace 2021-05-21 15:53:06 +02:00
Jan Keromnes
2365ba45ac [content-init] Make 'GitInitializer.realizeCloneTarget' always checkout the correct revision, even for older clones (e.g. incremental prebuild)
We previously assumed that a prebuild snapshot holds the latest commits,
but this changes with incremental prebuilds (where an older prebuild
doesn't have the latest commits, but 'origin' does).

Fixes https://github.com/gitpod-io/gitpod/pull/4167#issuecomment-839570136
2021-05-21 15:53:06 +02:00
Jan Keromnes
d1ab4959fe Implement a '#/incremental-prebuild/' manual prefix 2021-05-21 15:53:06 +02:00
Jan Keromnes
862e3a27b6 Implement incremental prebuilds 2021-05-21 15:53:06 +02:00
Manuel Alejandro de Brito Fontes
b8129fae69 [dashboard] Update Caddy and enable pre-compressed files 2021-05-21 08:28:53 -04:00
Manuel Alejandro de Brito Fontes
c6f96378b5 [proxy] Cleanup caddy plugin build 2021-05-21 08:07:34 -04:00
Jan Koehnlein
8ade31b57b
[code] upgrade to version 1.56.2 (#4257)
* [code] upgrade to version 1.56.2

Commit in vscode is 37f3ceefb1
2021-05-21 13:46:22 +02:00
rl-gitpod
f96392a1e4
[server] add OAuth2 server endpoints (behind a feature flag) (#4222)
to manage client application access to users Gitpod workspaces
2021-05-21 21:23:08 +10:00
George Tsiolis
617b98a16e
[dashboard] Typo in install GitHub app modal (#4252) 2021-05-21 14:00:50 +03:00
Jan Keromnes
7f8e5571df [server][ws-manager] Allow setting customTimeoutAnnotation for headless workspace pods 2021-05-21 09:23:35 +02:00
Jan Keromnes
c997daf0a1 [ws-manager] When a workspace times out, log the expected timeout instead of the actual time spent 2021-05-21 09:23:35 +02:00
Anton Kosyakov
f7b2e37cbd [supervisor] support tunneled ports 2021-05-20 09:49:33 +02:00
Anton Kosyakov
53e708f1f7 [code] local support
- suppress version mismatch error for now
- heartbeating
- local auth provider
2021-05-20 09:49:33 +02:00
Anton Kosyakov
4b357b2220 [local-app] fix nil deref for stopping/stopped ws 2021-05-20 09:49:33 +02:00
Manuel Alejandro de Brito Fontes
dd0826cc0d [proxy] Configure Caddy 2021-05-19 19:46:57 -04:00
Manuel Alejandro de Brito Fontes
4b952bdc6a Remove NGINX configuration 2021-05-19 19:46:57 -04:00
Christian Weichel
a9354173d5 [ws-daemon] Update runc 2021-05-19 22:03:46 +02:00