452 Commits

Author SHA1 Message Date
Gero Posmyk-Leinemann
fec0a0a87f [db, payment] Remove DBPaymentSource 2021-12-20 16:05:44 +01:00
Alex Tugarev
556c03ce7c Mention username who added project in a team
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
Co-authored-by: Laurie T. Malau <laurie@gitpod.io>
Co-authored-by: Alex Tugarev <alex.tugarev@typefox.io>
2021-12-20 09:16:44 +01:00
Gero Posmyk-Leinemann
28bc525cc3 [db] Fix broken table name 2021-12-16 10:32:40 +01:00
Gero Posmyk-Leinemann
fa62003417 [db, server] Implement OSS whitelist 2021-12-15 08:41:40 +01:00
Gero Posmyk-Leinemann
996148641b [db] Cleanup 2021-12-15 08:41:40 +01:00
Jan Koehnlein
cd67ddf1c5 [db] Allow to update PaymentSourceInfos
See #7171
2021-12-14 11:13:39 +01:00
Jan Keromnes
7305418f21 [server] Refactor setProjectConfiguration + updateProjectSettings → updateProjectPartial 2021-12-14 08:42:38 +01:00
Jan Keromnes
945a8080cc Allow enabling/disabling Incremental Prebuilds in a Project's settings 2021-12-14 08:42:38 +01:00
Gero Posmyk-Leinemann
0189125c45 [protocol] Rename TraceContext.log* to TraceContext.set* 2021-12-10 14:26:35 +01:00
Mads Hartmann
28bf0e6541 component/gitpod-protocol/tracing: Add version tags to all spans
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-12-08 11:30:33 +01:00
Gero Posmyk-Leinemann
56874b6a0f [server, et. al] Add repeat(cb, ms) as replacement for setInterval, and use it across meta components 2021-12-07 18:43:33 +01:00
Gero Posmyk-Leinemann
f79aceb465 [db] Fix indexExists 2021-11-30 09:33:26 +01:00
Gero Posmyk-Leinemann
9e41eb0526 [db] Allow to share transaction across DB impls 2021-11-26 12:20:22 +01:00
Gero Posmyk-Leinemann
cad1b9e7d0 [payment-endpoint] Fix deletion of pending GitHub events 2021-11-26 12:20:22 +01:00
Gero Posmyk-Leinemann
348d534a07
Revert "[db] Make hand-written transformers more robust against odd DB values" (#6889)
This reverts commit 3be943540e07c453cb611a887c008929d2a371de.
2021-11-25 11:57:09 +01:00
Gero Posmyk-Leinemann
3be943540e [db] Make hand-written transformers more robust against odd DB values 2021-11-24 13:57:21 +01:00
Gero Posmyk-Leinemann
a92f4be204 [db] Licence headers 2021-11-23 10:10:19 +01:00
Gero Posmyk-Leinemann
cf38facd88 [db] Better index DBWorkspace
- ind_creationTime: creationTime
- ind_contentDeletion: (contentDeletedTime, creationTime)
- ind_softDeletion: (softDeletedTime, softDeleted)
2021-11-23 10:10:19 +01:00
Gero Posmyk-Leinemann
6081ee1dad [db] Index DBPrebuiltWorkspace.projectId 2021-11-23 10:10:19 +01:00
Gero Posmyk-Leinemann
2eebfc92df [db] Index Subscription.teamSubscriptionSlotId 2021-11-23 10:10:19 +01:00
Gero Posmyk-Leinemann
26a5c3178f [db] Index DBTokenEntry.expiryDate 2021-11-23 10:10:19 +01:00
Gero Posmyk-Leinemann
885665e4c7 [db] Return type cleanup 2021-11-19 14:08:16 +01:00
Laurie T. Malau
5d751e330d Remove team when sole owner and remove projects
Fixes #6655
2021-11-18 18:22:15 +01:00
Gero Posmyk-Leinemann
6acd3752f2 [db] Fix 'migrations' migration for GCP case 2021-11-09 10:30:07 +01:00
Gero Posmyk-Leinemann
0705c644da [db] Fix migrations config 2021-11-09 09:14:07 +01:00
Gero Posmyk-Leinemann
9038ae9d9d [db] Move migrations from *.sql to TS 2021-11-08 16:20:06 +01:00
Laurie T. Malau
de09b5f828 Include subgroups
Fixes #6068
2021-11-05 13:08:03 +01:00
Gero Posmyk-Leinemann
61ea972c23 [db] Bump migration timestamp 2021-11-04 12:18:12 +01:00
Gero Posmyk-Leinemann
9575debc94 [server] Build out SnapshotService 2021-11-04 12:18:12 +01:00
Gero Posmyk-Leinemann
d01d008745 [db] Introduce snapshot.state 2021-11-04 12:18:12 +01:00
Gero Posmyk-Leinemann
1f37107343 [db] Automatically migrate the 'migrations' table
Issue: https://github.com/typeorm/typeorm/issues/4941#issuecomment-706222653
2021-11-03 16:33:11 +01:00
Gero Posmyk-Leinemann
04031886f2 [db] Fix updateUserPartial 2021-11-03 13:41:11 +01:00
Gero Posmyk-Leinemann
7abe78c917 [dev] Upgrade to node.js v16 and all major TS libs
This commit includes the following commits:
 - @iqqbot update dev image to nodejs v16lts
 - @iqqbot update dev-environment-image to use nodejs v16
 - @iqqbot update component to nodejs v16 lts
 - [licensor] Adjust to v16
 - [ts] Bump @types/node to ^16.11.0 accordingly
 - @aledbf Update typescript dependencies
 - @aledbf Update typescript configuration
 - @aledbf / @geropl Update typescript code
 - [server] Fix express/passport types
 - [db] typeorm upgrade 0.1.20 -> 0.2.22: fix compile and runtime issues
 - [db] typeorm upgrade 0.2.22 -> 0.2.38: fix compile and runtime issues
 - [dev] Upgrade amqplib and smaller libs
 - [dev] Upgrade uuid
 - [dev] Update probot
 - [dev] Final yarn.lock
2021-11-02 13:59:10 +01:00
Laurie T. Malau
7658c52125 Introduce project slug
Fixes #5847
2021-11-02 11:31:10 +01:00
Pudong Zheng
40c8138d2b upgrade typescript compiler target to es6 2021-10-21 15:30:59 +02:00
Gero Posmyk-Leinemann
de773037b3 [db] Make workspace DB tests run reliably
At some point we used db.transaction(...) for all tests, which is not necessary, and also breaks certain queries
2021-10-21 04:04:58 -03:00
Gero Posmyk-Leinemann
b463ee43dc [admin] Optimize adminGetWorkspaces 2021-10-21 04:04:58 -03:00
Laurie T. Malau
f800c5ae9e [teams] Can create new team with deleted team name
Fixes #6211
2021-10-18 11:36:05 -03:00
Christian Weichel
9605e0b386 [wsman-bridge] Introduce admission preferences 2021-10-14 06:00:00 -03:00
Christian Weichel
8efac73cba [prow] Add labels to OWNERS files 2021-10-12 09:01:58 -03:00
Simon Emms
90b0629e5c [database]: allow configuring of db username with DB_USERNAME envvar 2021-10-12 07:18:58 -03:00
Gero Posmyk-Leinemann
fcff8ee871 [db] Add index 'ind_dbsync' on d_b_code_sync_resource 2021-10-04 11:24:51 -03:00
Laurie T. Malau
6ff888883e [dashboard] Team settings page
Fixes #5066
2021-10-04 11:20:51 -03:00
Alex Tugarev
200952a5fa [teams] don't show error if already in team 2021-10-01 05:43:48 -03:00
Jan Keromnes
bbbc3c1f98 [server] Allow re-triggering failed Prebuilds 2021-10-01 04:12:48 -03:00
Jan Keromnes
aba5c6cd84 [db] Sync and GC d_b_team_membership_invite 2021-10-01 04:09:48 -03:00
Gero Posmyk-Leinemann
a1b01eaaa1 [db] Create index ind_buildWorkspaceId on d_b_prebuild_workspace_info 2021-09-29 05:56:46 -03:00
Sven Efftinge
1223b62396 [gitpod-db] added more tests 2021-09-28 05:48:45 -03:00
Sven Efftinge
a8032856a4 [t&p] add workspaces to teams
fixes #4921
2021-09-27 11:48:44 -03:00
Laurie T. Malau
1a91123cba Fix timestamp 2021-09-21 09:08:46 -03:00