181 Commits

Author SHA1 Message Date
Gero Posmyk-Leinemann
bcf031498e Revert "Create an index for contextURL column"
This reverts commit e0f7bfe976924005a4591ed9d3eb9e919111336a.
2022-02-14 17:51:35 +01:00
Alex Tugarev
ebf351edf1 [github-app] change findInstallation semantics
to return any non-uninstalled record which may now be used to identify the installer of an GitHub App installation.
2022-02-11 17:49:32 +01:00
Gero Posmyk-Leinemann
07e013ecc2 [server, db] AuthProviderEntry: Introduce oauthRevision to avoid repeated materialization of encrypted data 2022-02-11 16:44:33 +01:00
Laurie T. Malau
e0f7bfe976 Create an index for contextURL column 2022-02-09 13:25:30 +01:00
Alex Tugarev
e9cd644893 [server] fix wrong order of tokens to select from 2022-02-08 15:11:29 +01:00
Mads Hartmann
dd8b5b728a Remove OWNERS related files
Fixes https://github.com/gitpod-io/ops/issues/844
2022-02-08 09:15:30 +01:00
Gero Posmyk-Leinemann
3bd683e6ea [server] Run 'yarn lint' on every build 2022-02-04 14:29:26 +01:00
Gero Posmyk-Leinemann
6c0c82ce0f [server] Change PeriodicDeleter interval: 2s->30s 2022-02-03 13:21:25 +01:00
Gero Posmyk-Leinemann
1c4cd73f47 [db] Add index for all queries on DBPrebuildWorkspaceUpdatable 2022-02-03 11:52:25 +01:00
Christian Weichel
dbeeafafd0 [workspace cluster] Remove admission preferences 2022-02-02 18:46:24 +01:00
Gero Posmyk-Leinemann
ce802b8841 [image-builder, et. al] Return the public workspace URL for all imagebuilds (incl. extra headers to access said URL) and store it in workspace 2022-02-02 17:35:24 +01:00
Laurie T. Malau
4d9d49d81c Allow project search and show project detail 2022-02-01 15:20:24 +01:00
Jan Keromnes
0736b3bbde [dashboard][server] Make Project Overview page faster by pre-fetching and caching Git provider data (branches) 2022-01-31 11:23:22 +01:00
Simon Emms
f9ec0f8cc6 [dashboard]: create a settings tab inside admin 2022-01-26 15:53:19 +01:00
Alex Tugarev
d7f06d0e9d [server] allow having +1 active tokens
We've seen cases where more than one active token is persisted in the DB, which might be cased by db-sync issues. Given that this case is quite rare, this PR drops the hard assertion and replaces it by logging a warning. This is a mitigation for #7196.

Fixes #7196
2022-01-26 14:14:18 +01:00
George Tsiolis
31dfc5bd6b Update WebApp team label in component owners 2022-01-26 10:17:18 +01:00
Jan Koehnlein
d30815e685 [owners] rename team meta to webapp 2022-01-26 08:27:17 +01:00
Simon Emms
18259dc5b8 Create installation admin controller 2022-01-25 12:26:17 +01:00
Jan Keromnes
c7ba9832d7 Fix DB migration order 2022-01-18 09:30:11 +01:00
Jan Keromnes
bb809461b5 Address code review feedback
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
Co-authored-by: jldec <jurgen@gitpod.io>
2022-01-17 19:37:10 +01:00
Jan Keromnes
11c092b8b3 [db][server][dashboard] Allow censoring Project environment variables out of Workspaces 2022-01-17 19:37:10 +01:00
Jan Keromnes
1c0ee09cdc [db][server][dashboard] Implement Project-level environment variables 2022-01-17 19:37:10 +01:00
Gero Posmyk-Leinemann
89e94030f9 Revert "[server, et al] Remove PrebuildStatusMaintainer and subsequent unused code"
This reverts commit 6dfe5520fc96757387d52237f35df9cf8a77943e.
2022-01-10 16:02:04 +01:00
Gero Posmyk-Leinemann
84b0fbee7a [server, et al] Remove PrebuildStatusMaintainer and subsequent unused code 2022-01-07 15:05:01 +01:00
Jan Keromnes
9ab23fe0f8 [db] Remove dropped table d_b_payment_source_info from db-sync 2022-01-06 09:42:59 +01:00
Jan Koehnlein
2479e48549 [db] use blocklist to filter team names 2022-01-05 08:59:58 +01:00
championshuttler
8d20205e86 Remove FORBIDDEN_SLUGS 2022-01-05 08:59:58 +01:00
Gero Posmyk-Leinemann
46df01a04e [db] DROPT TABLE d_b_payment_source_info 2022-01-04 13:07:58 +01:00
Christian Weichel
329c0eafa1 [build] Enable SLSA provenance 2022-01-03 17:17:57 +01:00
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