452 Commits

Author SHA1 Message Date
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
Jan Keromnes
9103431794 [dashboard] Disallow team names that might conflict with dashboard URLs 2021-08-10 20:03:09 +02:00
Manuel Alejandro de Brito Fontes
026665efbf [gitpod-db] Fix invalid table name in query 2021-08-10 10:06:09 +02:00
Jan Keromnes
f46609f473 [dashboard] Don't list deleted user projects 2021-08-09 11:12:08 +02:00
Alex Tugarev
8448f30fe2 [projects/prebuilds] get rid of findProjectByInstallationId 2021-08-05 17:52:04 +02:00
Jan Keromnes
90d53721a9 [dashboard] Allow Projects for Individuals 2021-08-04 12:58:03 +02:00
Jan Keromnes
0a8553d057 [dashboard] Minor Teams & Projects UI fixes 2021-07-26 16:25:30 +02:00
Alex Tugarev
d306bacf6a review comments 2021-07-26 16:23:30 +02:00
Alex Tugarev
4b5694618e Add Prebuilds page 2021-07-26 16:23:30 +02:00
Jan Keromnes
1ef71614b0 Implement project configurator 2021-07-22 12:58:26 +02:00
Christian Weichel
9c2c831ed2 [gitpod-db] Don't count stopping instances as running 2021-07-22 12:19:26 +02:00
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