ArthurSens
4543a07760
Fix db-migration order
...
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-07-20 14:59:24 +02:00
Gero Posmyk-Leinemann
be64af383f
[db, bridge] Review comments
2021-07-20 11:31:24 +02:00
Christian Weichel
d63f0f4585
[bridge] Set stoppingTime when workspace is stopping
...
there's no need to include the time our workspaces take to stop into account
when computing workspace runtime (which is accounting relevant).
2021-07-20 11:31:24 +02:00
Alex Tugarev
313fc79b91
remove custom Without type
2021-07-20 10:42:24 +02:00
Alex Tugarev
556897d9ca
[db/server] Link workspaces and projects
...
Co-authored-by: Jan Keromnes <janx@linux.com>
2021-07-20 10:42:24 +02:00
Prince Rachit Sinha
2d6c3e1782
[database] Rename migration file name ( #4834 )
...
Due to the incorrect order of migration and file name the db-sync operation was failing. This commit renames the file which should migrate later.
2021-07-15 18:12:22 +05:30
Christian Weichel
c8eb943822
[prow] Add OWNERS files
2021-07-15 11:29:47 +02:00
Alex Tugarev
9ffcfd487f
Fix prebuilds for projects
2021-07-14 07:55:36 +02:00
Moritz Eysholdt
d6f448b27e
Make TypeORM accessible
2021-07-13 16:47:11 +02:00
Cornelius A. Ludmann
92c30adf65
Revert "[server] support separate commit email"
...
This reverts commit e59e14df235c3d957bbd69ccf72b619109b04990.
2021-07-13 14:46:08 +02:00
Cornelius A. Ludmann
264982140f
Revert "[typeorm] Catch JSON error in SIMPLE_JSON transformer"
...
This reverts commit 1e78c6c96e6d5c6367ba4f7a6ab73d6e9a389cde.
2021-07-13 14:46:08 +02:00
Cornelius A. Ludmann
640d07a55e
Revert "[gitpod-db] Fix migration timestamp for IdentityTokensToEmails"
...
This reverts commit 14c36e65564ddde857cacf673f965ad67edd59c2.
2021-07-13 14:46:08 +02:00
Cornelius A. Ludmann
14c36e6556
[gitpod-db] Fix migration timestamp for IdentityTokensToEmails
2021-07-08 19:39:41 +02:00
Cornelius A. Ludmann
1e78c6c96e
[typeorm] Catch JSON error in SIMPLE_JSON transformer
2021-07-08 17:21:51 +02:00
philschatz
e59e14df23
[server] support separate commit email
2021-07-08 17:21:51 +02:00
Geoffrey Huntley
4f590816d1
feat(db): update examples in the dashboard ( #4698 )
2021-07-08 12:13:06 +10:00
Jan Keromnes
00622db04d
[dashboard] Improve team members page
...
- Fix memberSince date
- Replace paths /{new,join}-team with /teams/{new,join}
- Implement minimal top menu layout for full-page forms (e.g. new team/project)
- Implement removing members & leaving teams
- Implement member search & role filter
- Implement changing team member roles
2021-06-25 21:46:47 +02:00
Alex Tugarev
8552d9e67c
Add New Project page and GH App installation
2021-06-23 15:36:22 +02:00
Moritz Eysholdt
fa8c626c7e
Fix db-migrations
2021-06-23 10:44:46 +02:00
Moritz Eysholdt
903c8545e5
Add script for convenient db-migrations in GCP
2021-06-23 09:29:39 +02:00
Geoffrey Huntley
f563295d2c
feat(db): update examples in the dashboard ( #4447 )
...
Co-authored-by: Mike Nikles <mikenikles@gmail.com>
2021-06-21 18:19:43 +10:00
Christian Weichel
eaa6e80038
[build] Tag images with commit hash instead of leeway pkg version
2021-06-16 18:34:51 +02:00
Sven Efftinge
99ec2a5c57
[teams] Use invites that can be reset
2021-06-15 13:06:39 +02:00
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