44 Commits

Author SHA1 Message Date
Alex Tugarev
29ace4982b
[server] Remove obsolete (Theia) User Storage Resource (#18377)
* [server] Remove obsolete (Theia) User Storage Resource

* more cleanup
2023-08-01 15:48:26 +08:00
Sven Efftinge
98aff7f782
[server] clean up DB tests (#18333) 2023-07-25 02:38:40 +08:00
Sven Efftinge
0aff5b1c77
[server] perm-check and test project service (#18111) 2023-07-03 23:34:20 +08:00
Gero Posmyk-Leinemann
909955d2c4
[db, ts] Introduce a generic db.transaction() (#17980)
* [ts] Upgrade inversify 5.0.1 -> 6.0.1

* [server, db] Introduce TransactionalDB for User, Workspace, Projects

* Fix tests
2023-06-21 16:12:11 +08:00
Sven Efftinge
79752d785f
[job] drop job state feature (#17948) 2023-06-15 18:52:05 +08:00
Sven Efftinge
fb3f55ad51
[db/server] cache the user object using redis (#17906) 2023-06-14 13:50:04 +08:00
Milan Pavlik
a05ea2c9eb
[server] Remove self-hosted installation admin telemetry endpoint (#17787)
* [server] Remove self-hosted installation admin telemetry endpoint

* Fix

* fix

* fix

* fix

* Fix

* fix
2023-06-02 16:15:07 +08:00
Sven Efftinge
2ff6e6ae76
[jobs] support passing state between job runs (#17734) 2023-05-25 15:03:59 +08:00
Sven Efftinge
85d958450b
[db] remove db-based distributed lock (#17652)
we are using redis for this now
2023-05-17 23:28:51 +08:00
Sven Efftinge
dc7fa38db4
remove long-running migrations (#17638) 2023-05-17 21:23:51 +08:00
Sven Efftinge
8e952fe821
Update stripe customers during migration (#17574) 2023-05-15 21:14:00 +08:00
Gero Posmyk-Leinemann
3a284fac8a
[db] Remove all Chargebee-related DB models (#17287)
* [yarn] Fix dirty yarn.lock

* [db] Remove models for Subscription, AccountEntry, TeamSubscription/2 and PendingGithubEvent

* [db] Adjust DB model for TeamMembership
2023-04-19 20:54:51 +08:00
Gero Posmyk-Leinemann
ae37d8c1ab
Remove api.isStudent and all connected code/DB (#17275)
* [server, dashboard] Remove isStudent

* [server] Remove hasEducationalInstitutionSuffix and swot-js

* [db] Clean EduEmailDomainDB model

* [db] Drop d_b_edu_email_domain

* [yarn] Remove swot-js from yarn.lock

* [db] Remove d_b_edu_email_domain from tables.ts

* Fix
2023-04-19 15:58:51 +08:00
Milan Pavlik
311568460c
[server] Remove license db model - WEB-171 (#17264)
* [server] Remove license db model

* fix
2023-04-18 22:23:50 +08:00
Milan Pavlik
eab2cfebd5
[db] Remove user message view db model - WEB-172 (#17258)
* [db] Remove user message view db model

* Fix

* retest
2023-04-18 18:08:50 +08:00
Milan Pavlik
296efd61d4
[db] Remove theia plugin db model - WEB-168 (#17255)
* [db] Remove theia plugin db model

* retest
2023-04-18 17:38:50 +08:00
Milan Pavlik
43a00d5b39
[server] Remove terms acceptance db model - WEB-167 (#17253)
* [server] Remove terms acceptance db model

* fix

* retest
2023-04-18 17:16:50 +08:00
Jan Keromnes
f7101c5aed
Implement user account verification with LinkedIn during onboarding (#17074)
* Implement user account verification with LinkedIn during onboarding

* updating connect with linked-in banner

* removing unused imports

* Store token, fix binding

* Refactor LinkedInToken to LinkedInProfile

* Actually write the LinkedIn secret to the server config

* Fetch LinkedIn user profile and email address

* Add creationTime column to d_b_linked_in_profile

* Add more debug logging

* Fix LinkedIn API calls, mount LinkedInProfileDB

* Also bind LinkedInProfileDB

* Add LinkedIn scope r_liteprofile

* Enhance LinkedIn profile retrieval, store the profile, ensure uniqueness

* Align with UX spec and complete onboarding flow

* Prevent the LinkedIn button from auto-submitting the onboarding form

* Address nits (LinkedInService to /src and minor spacing)

---------

Co-authored-by: Brad Harris <bmharris@gmail.com>
2023-04-12 16:39:52 +02:00
Milan Pavlik
e0e052d894
[server] Remove OSS check (WEB-91) (#17133)
* [server] Remove OSS check

* fix

* Fix

* Fix

* fix
2023-04-07 13:12:47 +02:00
Sven Efftinge
df16e84434 [db/long migration] organizationId on workspace 2023-02-10 09:35:15 +01:00
Sven Efftinge
73f2a268ea synchronize migration 2023-01-30 11:17:37 +01:00
Sven Efftinge
3af4edc46c [server] migrate individual usage to teams 2023-01-13 09:11:52 +01:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Milan Pavlik
ff3298b63b [db] Define PersonalAccessToken model for TypeORM 2022-11-28 11:00:57 -03:00
Andrew Farries
35b569302c Delete supporting files for d_b_email table 2022-09-27 13:38:27 +02:00
Sven Efftinge
74bc751ec7 [cost center] Add save API 2022-09-09 11:25:24 +02:00
Alex Tugarev
7057101a4d [db][protocol] Implement a CostCenter entity to attribute workspace usage to 2022-07-20 04:05:15 -03:00
Alex Tugarev
6c395b5881 Record webhook events 2022-07-15 10:58:02 +02:00
Andrew Farries
edc3d0214c Add new DB entity and supporting classes
Add the new BlockedRepository entity and its interface and
implementation.
2022-06-30 21:23:38 +05:30
Gero Posmyk-Leinemann
09dbf29160 [db] Remove DeletedEntryGC and all references 2022-06-27 15:41:36 +05:30
Jan Keromnes
f40d0cf0aa [db][protocol] Implement TeamSubscription2 DB shapes and migration 2022-05-09 23:07:25 +05:30
Milan Pavlik
845e66c56b Format components/gitpod-db with prettier 2022-03-14 21:48:21 +05:30
Simon Emms
18259dc5b8 Create installation admin controller 2022-01-25 12:26:17 +01:00
Gero Posmyk-Leinemann
fa62003417 [db, server] Implement OSS whitelist 2021-12-15 08:41:40 +01:00
Gero Posmyk-Leinemann
9e41eb0526 [db] Allow to share transaction across DB impls 2021-11-26 12:20:22 +01:00
Jan Keromnes
34bbbf4736 [db] Implement new Project and Team entities
Also:
- set up EditorConfig to trim trailing whitespaces
- install Docker VS Code extension by default
2021-06-04 11:49:17 +02:00
Alex Tugarev
0bf71f1ed3 initial contribution of components/ee/paiment-endpoint 2021-05-26 08:35:36 +02:00
rl-gitpod
f96392a1e4
[server] add OAuth2 server endpoints (behind a feature flag) (#4222)
to manage client application access to users Gitpod workspaces
2021-05-21 21:23:08 +10:00
Autofix
af51739d34 Autofix: trailing-spaces 2021-04-12 08:29:10 +02:00
Gero Posmyk-Leinemann
0af1980f8c [gpctl, bridge, db, protocol, server, ws-proxy] Dynamic WorkspaceCluster 2021-04-01 14:47:31 +02:00
Anton Kosyakov
49e977f6b8 [server] implement code sync storage endpoint 2021-02-18 14:53:03 +01:00
Christian Weichel
b7dda84ad0 [license] Update license header from TypeFox GmbH to Gitpod GmbH 2021-01-04 15:12:02 +01:00
Alex Tugarev
906fd2e2d1 [server] integrate ToS flow with authentication
Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
2020-12-07 17:28:24 +01:00
gitpod-init
24f7b609bf initial commit 2020-08-25 09:25:15 +00:00