452 Commits

Author SHA1 Message Date
Jan Keromnes
439482541c [dashboard] Implement inviting team members 2021-06-15 13:06:39 +02:00
Jan Keromnes
236d81d49a [server] Optimize getTeamMembers (N queries → 1 query) 2021-06-15 13:06:39 +02:00
Christian Weichel
7acbacf839 [gitpod-db] Integrate into version manifest 2021-06-15 08:32:38 +02:00
Gero Posmyk-Leinemann
45c3e32453 [db] Make gitpod-db:dbtest-init self-contained by starting a mysql DB if needed 2021-06-11 15:09:54 +02:00
Jan Keromnes
c5027f0804 [dashboard] Implement Teams UI (selector, creation wizard, members page, project page) 2021-06-10 16:08:19 +02:00
Autofix
e8762f258e Autofix: trailing-spaces 2021-06-09 12:52:57 +02:00
Mads Hartmann
169fd4b807
Extend admin workspace search (#4111)
* Extend workspace admin search

Extend search conditions to include instance UUID and workspace ID

Fixes #3992

* Update placeholder

Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>

* Use title capitalisation for placeholder test

Co-authored-by: Cornelius A. Ludmann <cornelius.ludmann@typefox.io>

Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
Co-authored-by: Cornelius A. Ludmann <cornelius.ludmann@typefox.io>
2021-06-09 09:48:28 +02:00
Gero Posmyk-Leinemann
e541251a7d [dev] Enable all DB tests during CI 2021-06-08 11:47:50 +02:00
Jan Keromnes
4850f7c06f [db] Add 'creationTime' field to d_b_team_membership
Fixes https://github.com/gitpod-io/gitpod/pull/4368#discussion_r645371385
2021-06-06 14:44:17 +02:00
Jan Keromnes
34bbbf4736 [db] Implement new Project and Team entities
Also:
- set up EditorConfig to trim trailing whitespaces
- install Docker VS Code extension by default
2021-06-04 11:49:17 +02:00
Jan Keromnes
d99cc0e0ae [db] Remove unnecessary InitialComSetup migration (all tables already exist in Baseline) 2021-06-04 11:49:17 +02:00
Christian Weichel
015b38ff06 [build] Produce version manifest 2021-06-03 15:17:16 +02:00
jakobhero
52a79bc36e
Enable Product Comm by default for new Signups (#4365) 2021-06-01 13:36:44 +01: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
Gero Posmyk-Leinemann
1d97b90fa1 [db] Fix InitialComSetup 2021-05-26 11:18:45 +02:00
Alex Tugarev
0bf71f1ed3 initial contribution of components/ee/paiment-endpoint 2021-05-26 08:35:36 +02:00
Christian Weichel
d5b943e5e9 [db-sync] Port from gitpod-com 2021-05-25 18:08:38 +02:00
Jan Keromnes
862e3a27b6 Implement incremental prebuilds 2021-05-21 15:53:06 +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
Gero Posmyk-Leinemann
cae15f32dc Typo in transformer.ts
Co-authored-by: Jan Keromnes <jan.keromnes@typefox.io>
2021-05-17 17:06:36 +02:00
Gero Posmyk-Leinemann
03eeaa5264 [db] Adjust typeorm default values to actual table config 2021-05-17 17:06:36 +02:00
Gero Posmyk-Leinemann
294f8a90e6 [db] Turn --explicit-defaults-for-timestamp=OFF explicitly as we rely on this 2021-05-17 17:06:36 +02:00
Christian Weichel
83cc11aee3 [pwc] Add admission constraints to gpctl 2021-05-07 08:23:08 +02:00
Christian Weichel
d063fb7153 [pwc] Support admission constraints
when selecting a workspace cluster for starting a workspace.
2021-05-07 08:23:08 +02:00
Autofix
af51739d34 Autofix: trailing-spaces 2021-04-12 08:29:10 +02:00
Sven Efftinge
d6b5842972 [example] replace flask example 2021-04-05 13:32:31 +02:00
Gero Posmyk-Leinemann
0af1980f8c [gpctl, bridge, db, protocol, server, ws-proxy] Dynamic WorkspaceCluster 2021-04-01 14:47:31 +02:00
Sven Efftinge
c6b7ef4646 [dashboard] pop up directly goes to examples
... when there are no recent projects
2021-03-29 10:37:27 +02:00
Jan Keromnes
e8fb979242 [code] Make VS Code the default IDE for new users 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
Anton Kosyakov
0623a65543 [supervisor-api] fix generate.sh script
and add missing copyrights
2021-03-08 09:48:50 +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
49e977f6b8 [server] implement code sync storage endpoint 2021-02-18 14:53:03 +01:00
Gero Posmyk-Leinemann
d819a6b3b2
[db] Improve performance of DBUserStorageResource.update(...) (#3151)
* [db] UserStorageResource: make userId char(36) instead of varchar(255)

* [db] Use INSERT INTO ... ON DUPLICATE KEY UPDATE for user storage
2021-02-15 16:39:50 +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
Jan Keromnes
589c39a192 [dashboard] Refresh example repositories featured in empty workspaces list 2021-02-09 11:09:04 +01:00
Sven Efftinge
b897e6777f Generate better workspace ids 2021-01-26 18:03:25 +01:00
Christian Weichel
b7dda84ad0 [license] Update license header from TypeFox GmbH to Gitpod GmbH 2021-01-04 15:12:02 +01:00
Christian Weichel
c0eebe46e0 [gitpod-db] Ensure stable script order during dbtest-init 2020-12-17 10:27:00 +01:00
Christian Weichel
f44a3a728b [misc] Add missing license header 2020-12-09 15:05:26 +01:00
Alex Tugarev
dea2e3f4f1 [db/migration] add missing lastModified 2020-12-08 15:03:01 +01:00
Alex Tugarev
906fd2e2d1 [server] integrate ToS flow with authentication
Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
2020-12-07 17:28:24 +01:00
Alex Tugarev
27568b10b9 [server] bump gitlab 2020-12-03 09:20:39 +01:00
Sven Efftinge
be6acc8e9c [db] fix a bug in user_db_impl
Fixes gitpod-io/gitpod#2047
2020-11-24 08:50:30 +01:00
Christian Weichel
b9e6940d39 [db-migration] Fix broken repo whitelist
Fixes #2145
2020-11-18 10:58:59 +01:00
Ed L
fa6cbdb56c
fix: theia listing grammar (#2145)
* fix: theia listing grammar

* [dashboard] Update example repositories

Co-authored-by: Ed L <beartechtalks@gmail.com>

Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2020-11-17 16:48:51 +02:00
Christian Weichel
1cfd7759f7 [server] Respect "feature preview" feature flags
and make the IDE image persist on the instance,
not the workspace.

/werft https
2020-11-17 14:10:21 +01:00
Alex Tugarev
01f1503362 [db-migrations] make blocking migrations idempotent 2020-09-30 11:58:48 +02:00
Alex Tugarev
281f7137b5 [db] condense db migrations 2020-09-28 16:07:30 +02:00
Christian Weichel
6974720578 Create a default Gitpod API token for each workspace 2020-09-22 12:14:07 +02:00