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
Laurie T. Malau
c869cd0531
[db] Fix string booleans to be booleans
...
Fixes #5328
2021-09-20 10:37:45 -03:00
Sven Efftinge
240197f239
[server] remove prebuilt time limit
2021-09-14 15:37:39 +05:30
Sven Efftinge
e7362834bb
[server] fix false positive error logs
...
'Found subscription which GitHub does
not know off. Ending subscription.'
2021-09-08 10:28:14 +02:00
Alex Tugarev
e163990ebb
[db-sync] add d_b_prebuild_info
2021-09-02 16:12:08 +02:00
Alex Tugarev
254e3788a6
[db-migration] update timestamp of UpdateDevxAndOnboardingMail
2021-09-02 15:05:08 +02:00
Laurie T. Malau
56f3952d53
[db] Subscribe existing users to DevXMail
...
Users who were subscribed to Changelog will also be subscribed
to Changelog.
Fixes #5315
2021-09-02 13:15:08 +02:00
Alex Tugarev
83cc8d31f9
[db-migration] fix timestamp of AddPrebuildInfo
2021-09-02 09:29:31 +02:00
Alex Tugarev
46feeac4c9
[projects] Add Prebuild Events
2021-09-01 04:27:30 -03:00
Anton Kosyakov
f66598c82c
[local-app] fix #5368 : gracefully handle invalid tokens
2021-08-31 05:33:29 -03:00
Laurie T. Malau
8aab84e62d
[dashboard] Allow onboarding mail
...
Fixes #5327
2021-08-26 11:22:25 -03:00
Alex Tugarev
1a9492c582
[db] remove "on update" from "creationTime" columns
2021-08-25 10:33:23 +02:00
Laurie T. Malau
78c54c1a20
Replace also if additionalData is null
2021-08-17 13:58:16 +02:00
Laurie T. Malau
9b965a4c3b
Remove more references
2021-08-17 13:58:16 +02:00
Laurie T. Malau
6acd4f4a90
Remove references to allowsMarketingCommunication in test setups
2021-08-17 13:58:16 +02:00
Laurie T. Malau
c408324585
Create migration file to drop allowsMarketingCommunication column
2021-08-17 13:58:16 +02:00
Laurie T. Malau
aa679016e6
[dashboard/notifications] improve email preference handling
2021-08-17 13:58:16 +02:00
Simon Emms
f35e762354
[workspace]: add force-stop check on stopping workspaces
...
Since #4910 stopped counting "stopping" workspaces for billing purposes,
any workspace caught in a "stopping" phase would never be force-stopped.
This adds a conditional "includeStopping" boolean (defaulting to `false`)
to the DB implementation and the meta-instance-controller simply includes
that phase in the search.
It was discovered that ~200 workspaces were caught in this phase (90%
prebuilds) so this phase is necessary to force-stop.
2021-08-13 13:12:12 +02:00