Gero Posmyk-Leinemann
09dbf29160
[db] Remove DeletedEntryGC and all references
2022-06-27 15:41:36 +05:30
Jan Keromnes
59cbf53956
[gitpod-db][server] Refactor workspace instance 'attributedTeamId' to an explicit, not-team-specific 'usageAttributionId'
2022-06-24 14:38:33 +05:30
Alex Tugarev
eb79aefea4
[db] fix adminGetWorkspaces/findAllWorkspaceAndInstances
2022-06-24 12:07:32 +05:30
Jan Keromnes
71813fe752
[db] Persist attributed teamId on workspace instances (for usage analytics / billing purposes)
2022-06-16 12:58:25 +05:30
Alex Tugarev
9f247ca70f
[prebuild] cap updateables to be processed
...
Also, mark updatable as resolved if commit is gone.
2022-06-15 15:31:24 +05:30
Pavel Tumik
db51bdd623
fix index on volume snapshot table
2022-06-15 02:37:25 +05:30
Pavel Tumik
dc111f3996
add limit to volume snapshot GC
2022-06-15 02:37:25 +05:30
Pavel Tumik
7a7792f531
volume snapshot delete and restore support, garbage collection
2022-06-15 02:37:25 +05:30
André Duarte
ff84252286
Fix tests
2022-06-08 14:49:18 +05:30
André Duarte
04683e038a
Add migration
2022-06-08 14:49:18 +05:30
André Duarte
3374a43a22
Add workspace class to workspace instance
2022-06-08 14:49:18 +05:30
Jan Keromnes
7c0ecdbf86
[db][payment][server] Implement TeamSubscription2.excludeFromMoreResources
2022-06-01 16:37:50 +05:30
Milan Pavlik
d0f11b876c
[worspace-instance] Deprecate deployedTime field
2022-06-01 13:59:50 +05:30
Pavel Tumik
c6910dac35
tie snapshot volumes to workspace instance id
2022-05-25 13:17:39 +05:30
Alex Tugarev
1420b9ca54
Managed cloneURL column.
2022-05-19 15:33:33 +05:30
Sven Efftinge
1bf277a17f
[prebuilds] no prebuilds for inactive repos
2022-05-19 15:33:33 +05:30
Alex Tugarev
38b975c18b
[db] enable overriding of expiryDate on tokens
2022-05-18 20:42:33 +05:30
Alex Tugarev
680932745a
Revert "[prebuilds] no prebuilds for inactive repos"
...
This reverts commit 72aa5e0aa8c30b4e000f86d65f2c14667d13de1d.
2022-05-12 13:23:27 +05:30
Alex Tugarev
ec513bf636
[gitpod-db] fix periodic db deleter
2022-05-12 12:15:27 +05:30
Sven Efftinge
72aa5e0aa8
[prebuilds] no prebuilds for inactive repos
2022-05-11 23:12:26 +05:30
Christian Weichel
7b86b04a7a
[db-test] Take DB init scripts from installer
2022-05-11 21:10:26 +05:30
Jan Keromnes
f40d0cf0aa
[db][protocol] Implement TeamSubscription2 DB shapes and migration
2022-05-09 23:07:25 +05:30
Pavel Tumik @ GitPod
f1c142b9fb
[gitpod-db] add new DB entity for VolumeSnapshot
2022-05-09 20:08:24 +05:30
mustard
1f3919ea76
Fix gateway referrer won't set default IDE
2022-04-29 17:10:15 +05:30
mustard
32434b5ee3
feat: ide awareness during onboarding
...
Co-authored-by: mustard <huiwen@gitpod.io>
Co-authored-by: andreafalzetti <andrea@gitpod.io>
2022-04-28 12:26:14 +05:30
Gero Posmyk-Leinemann
424152c597
[gitpod-db] Email domain blocklist: Add suffix matching capability
2022-04-20 12:22:32 +05:30
Gero Posmyk-Leinemann
9a7958bd6c
[gitpod-db] Rename DomainFilterDB.filter to isBlocked
2022-04-20 12:22:32 +05:30
Gero Posmyk-Leinemann
1987cb3d6b
[server] Fix EMailDomainService.isBlocked
2022-04-19 20:15:32 +05:30
Thomas Schubart
176fbcfe50
Randomize token generation
2022-04-18 22:17:31 +05:30
Thomas Schubart
9650abfa98
Add agent-smith token to preview environment
2022-04-18 22:17:31 +05:30
Jan Keromnes
ed30d9696f
Stop running prebuilds for inactive projects (10+ weeks)
...
Fixes https://github.com/gitpod-io/gitpod/issues/8911
Fixes prebuild rate limit
2022-04-12 22:37:25 +05:30
Alex Tugarev
f27efb7716
[server] fix infinite init loop of dynamic providers
...
... which is caused by casing mismatch.
2022-04-12 19:46:25 +05:30
Anton Kosyakov
a78f4efa61
[server] add vscode(-insiders) ouath2 clients
2022-04-12 13:12:25 +05:30
Milan Pavlik
55933f389b
[db] Type Prebuild.statusVersion as string due to bigint db represenation
2022-04-07 18:42:21 +05:30
Jan Keromnes
81a79af4ec
[gitpod-db] Don't consider garbage-collected prebuilds as potential bases for incremental prebuilds
2022-04-05 18:58:19 +05:30
Milan Pavlik
5d9be03d7d
fix
2022-04-05 13:52:18 +05:30
Milan Pavlik
da4a9b38da
add migrations
2022-04-05 13:52:18 +05:30
Milan Pavlik
bb216d29b8
fix tests
2022-04-05 13:52:18 +05:30
Milan Pavlik
a05badbd15
fix
2022-04-05 13:52:18 +05:30
Milan Pavlik
c8c0847193
[db] Add stateVersion to prebuilds to track status version
2022-04-05 13:52:18 +05:30
Alex Tugarev
bf3bddf141
[auth] fix missing updates to dynamic login providers
...
this primarily affects self-hosted installation where the `ownerId` is about to change during the initial setup of the login/git provider.
2022-03-31 20:08:14 +05:30
Gero Posmyk-Leinemann
01f4897c53
[db] Fix findPrebuildsWithWorkpace
2022-03-18 16:43:24 +05:30
Tarun Pothulapati
b800a43aa4
[gitpod-db] add index on workspaceDB.Type Column
...
For Telemetry queries to be less intensive on the CPU, We need to
build Indexes to make the querying faster
Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
2022-03-17 17:41:23 +05:30
Gero Posmyk-Leinemann
405966efc7
[db] Add missing Workspace index (id, deleted)
2022-03-15 15:37:22 +05:30
Milan Pavlik
845e66c56b
Format components/gitpod-db with prettier
2022-03-14 21:48:21 +05:30
mustard
4f1c3922b4
[server] remove setting sync record with limit
2022-03-12 02:26:18 +05:30
Sven Efftinge
53668f1253
[server] fix compile error
2022-03-10 17:37:17 +05:30
Sven Efftinge
cc2f3b30fe
[multi-repo] Support prebuilds on multi-repo setup
2022-03-10 15:46:17 +05:30
Andrew Farries
54a765d321
Add rate limits for prebuilds
...
Prebuilds are rate-limited to N in the last S seconds on a rolling
window basis.
By default, 50 prebuilds are allowed in a 1 minute window.
A configuration property `prebuildLimiter` is added which controls
default rate limit but allows for explicit overrides by cloneURL.
2022-03-08 19:40:15 +05:30
Gero Posmyk-Leinemann
740092ec97
[server] Introduce TeamSubscription.excludeFromMoreResources
2022-03-07 22:07:14 +05:30