Sven Efftinge
d2b220f11c
[server] remove Project.userId ( #18391 )
...
We no longer support user-owned projects.
This removes related leftovers.
2023-07-31 21:27:26 +08:00
Sven Efftinge
8b4fbb4ff5
[server] relationship updates ( #18369 )
2023-07-28 20:35:30 +08:00
Milan Pavlik
ecbb418b11
[server] Use public services endpoint for webhooks ENG-524 ( #18367 )
...
* [server] Use public services endpoint for webhooks & config
* fix
* fix
2023-07-28 15:14:29 +08:00
Manuel Alejandro de Brito Fontes
54c2040632
Update go modules to 1.20 ( #18360 )
2023-07-27 22:24:29 +08:00
Alex Tugarev
afac02330b
Downgrade grpc-js ( #18346 )
...
Current version seems to have issues with tearing down the node processes.
2023-07-26 17:46:42 +08:00
Alex Tugarev
6d703bdc48
Revert "[server] remove definitely-gp ( #18278 ) ( #18316 )" ( #18335 )
...
This reverts commit aeb688404b41ac9a4d2e8b0dbb96dbbd21c7a546.
2023-07-25 15:31:41 +08:00
Sven Efftinge
98aff7f782
[server] clean up DB tests ( #18333 )
2023-07-25 02:38:40 +08:00
Sven Efftinge
aeb688404b
[server] remove definitely-gp ( #18278 ) ( #18316 )
2023-07-20 17:50:36 +08:00
Alex Tugarev
7f82c15f0f
[jsonrpc] fix missing data fields ( #18304 )
2023-07-20 15:52:36 +08:00
Manuel Alejandro de Brito Fontes
482412147f
Revert "[server] remove definitely-gp ( #18278 )" ( #18306 )
...
This reverts commit 0ea1b3acefaf1441c67a39b8616085f9ec4f89db.
Co-authored-by: Christian Weichel <chris@gitpod.io>
2023-07-19 16:59:35 +08:00
Sven Efftinge
0ea1b3acef
[server] remove definitely-gp ( #18278 )
2023-07-14 03:00:30 +08:00
Milan Pavlik
34002592b1
[server] Broadcast headless updates to subscribers WEB-598, WEB-600 ( #18215 )
...
* [server] Publish events during workspace starter
* retest
* fix
* fix
* retest
* retest
* retest
* retest
* retest
* retest
* retest
* [server] Broadcast prebuild updates from redis
* [server] Broadcast headless updates to subscribers
* Fix
* Fix
* Fix
* fix
* fix
* retest
2023-07-12 22:59:29 +08:00
Milan Pavlik
0d745ca20b
[server] Publish events in workspace starter - WEB-622 ( #18234 )
...
* [server] Publish events during workspace starter
* add copy comment
* retest
* fix
* fix
* fix
* fix
* fix
* retest
* retest
* try?
2023-07-12 20:22:28 +08:00
Milan Pavlik
06916a12a0
[server] Broadcast prebuild updates from redis WEB-599, WEB-593 ( #18214 )
...
* retest
* retest
* [server] Broadcast prebuild updates from redis
* register
* fix
* Fix
* retest
2023-07-11 16:22:27 +08:00
Milan Pavlik
a095ddb3a2
[ws-man-bridge] Publish ownerID for WorkspaceInstance updates ( #18211 )
2023-07-10 21:58:27 +08:00
Sven Efftinge
3e215bcd61
[server] more org service ( #18174 )
2023-07-06 21:07:23 +08:00
Jean Pierre
d57a39dbad
[public-api] Update getWorkspace api response implementation ( #17821 )
...
* Update getWorkspace api response implementation
* Only implement recent_folders
* Add additional tests
2023-07-06 01:24:22 +08:00
Sven Efftinge
075e14c47f
[build] enabled some eslint rules ( #18165 )
2023-07-04 22:32:21 +08:00
Thomas Schubart
3185a1f88f
[server] Set maximum workspace lifetime ( #17919 )
2023-07-04 22:22:21 +08:00
Milan Pavlik
56d95d7fab
[ws-man-bridge] Publish ws-instance-update - WEB-592 ( #18162 )
...
* [ws-man-bridge] Publish ws-instance-update
* tests
* fix
* fix
2023-07-04 21:51:21 +08:00
Sven Efftinge
d7aa23ed03
[server, ws-bridge, protocol, db] added eslint ( #18147 )
2023-07-04 20:21:21 +08:00
Gero Posmyk-Leinemann
a10b412446
[server, bridge] Small messagebus cleanup ( #18153 )
2023-07-04 16:41:21 +08:00
Gero Posmyk-Leinemann
d7acfb662a
Updated outdated dependencies to avoid CVEs ( #18144 )
...
* Update grpc/grpc-js
* Update http-cache-semantics
* decode-uri-component
2023-07-04 16:40:21 +08:00
Sven Efftinge
0aff5b1c77
[server] perm-check and test project service ( #18111 )
2023-07-03 23:34:20 +08:00
Sven Efftinge
2920a3b6c7
[server] organization service ( #18099 )
2023-07-03 22:20:20 +08:00
Gero Posmyk-Leinemann
cc52d25280
Upgrade yarn packages ( #18128 )
...
* [ts] Pin mimimatch and minimist
* [server] Update minio
* [ts] Remove superfluous node-pre-gyp dep
* [ts] Pin jsonwebtoken to 9.0.0
* [grpc] Update grpc-toolsis
* [ts] Upgrade from mocha-typescript to @testdeck/mocha
* fix rimraf
2023-07-03 14:47:19 +08:00
Milan Pavlik
2933eeef54
Upgrade ts-node to 10.4 WEB-575, WEB-576 ( #18102 )
...
* Upgrade ts-node to 10.4
* [server] Make typings work in workspace AND leeway
* [leeway] Increase node heap size to 8GB
---------
Co-authored-by: Gero Posmyk-Leinemann <gero@gitpod.io>
2023-06-30 20:26:48 +08:00
Sven Efftinge
b766c9146e
[server] Use our own error type ( #18113 )
2023-06-30 15:27:48 +08:00
Sven Efftinge
caf26b812d
[server] remove getUserProjects ( #18093 )
2023-06-29 16:30:47 +08:00
Anton Kosyakov
e2068d6b6b
ts scrubbing initial ( #17915 )
2023-06-29 14:43:47 +08:00
Pudong
f74ba1cbc3
Add organization id in claims ( #17954 )
...
* add OrganizationId in claims.
* Update components/gitpod-protocol/go/gitpod-service.go
* fix
2023-06-26 16:37:50 +08:00
Sven Efftinge
248a00eaa8
[server] clean up org-only migration code ( #17939 )
2023-06-22 15:03:12 +08:00
Milan Pavlik
0777246800
Remove getContentBlob Upload/Download URL ( #17983 )
...
* Remove getContentBlob Upload/Download URL
* fix
2023-06-21 16:18:11 +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
Milan Pavlik
5aa001f763
[server] Remove hasPermission from go API client ( #17990 )
2023-06-20 22:47:10 +08:00
Milan Pavlik
cf84bf01a7
[server] Remove hasPermission rpc ( #17981 )
2023-06-20 21:24:11 +08:00
Gero Posmyk-Leinemann
54307a551e
[server] Remove dead permissions code ( #17918 )
2023-06-19 17:45:10 +08:00
Gero Posmyk-Leinemann
1f42bd03d9
Allow user env vars for GitLab subgroups ( #17831 )
...
* [server] Move from owner/repo to potentially longer env var patterns
* review suggestions
* fix and double-wildcard
* Adjust TestsEnvVarService for double wild card
2023-06-15 22:52:06 +08:00
Sven Efftinge
097d178910
[server] remove user relation from gitpod_token ( #17923 )
2023-06-14 03:53:04 +08:00
Alex Tugarev
4fd4f66667
Remove unused workspace port auth ( #17870 )
...
* remove unused worspace port auth
* fix
2023-06-13 14:27:03 +08:00
Brad Harris
27f539cbad
track a verificaitonId during phone verification ( #17898 )
...
* track a verificaitonId during phone verification
* use snake case property names for tracking
* validate verificationId is uuid
* move validation into service
* typo in error msg
2023-06-12 22:42:02 +08:00
Wouter Verlaek
a18361e5a0
Return and show error when stopping workspace in maintenance mode ( #17880 )
...
* Show error when stopping workspace in maintenance mode
* Fix import
* Feedback
* Fix return
* Fix mutate error catch, use try/catch for stopWs
2023-06-12 21:55:03 +08:00
Pudong
4aede056ab
[IDP] set email_verified to false if user is not org-owned user ( #17896 )
...
* set email_verified to false if user is not org-owned user
* update test
2023-06-12 18:46:03 +08:00
Alex Tugarev
c44e74cd7a
User.getPrimaryEmail to return email of SSO identity – WEB-437 ( #17897 )
...
* User.getPrimaryEmail to return email of SSO identity
* fixing issue with email not being editable
---------
Co-authored-by: Brad Harris <bmharris@gmail.com>
2023-06-10 02:04:00 +08:00
Gero Posmyk-Leinemann
f0f3dfe7bb
[server] Removed deprecated api.getEnvVars ( #17832 )
2023-06-07 19:01:58 +08:00
Alex Tugarev
f7fd787088
Read email from SSO profile – WEB-437 ( #17819 )
...
* [protocol] remove unnecessary User.censor
* Read email from SSO profile
* [gitpod-db] Add Identity.lastSigninTime
* revert useOIDCClientsQuery changes
* make use of lastSigninTime on Account page
* [server] update lastSigninTime on signin
* fixup tests
* fixup update of lastSigninTime
2023-06-06 16:50:57 +08:00
Anton Kosyakov
3f3ece10e0
don't log http headers ( #17827 )
...
to avoid leaking tokens in logs
2023-06-06 16:37:56 +08:00
Alex Tugarev
9f6b6c0943
Validate cloneUrl agains accessible repositories – WEB-402 ( #17809 )
...
* [orgs] Disallow creating Projects under User
* [Projects] Validate cloneUrl against accessible repositories
* fixup condition in createProject
2023-06-05 20:49:56 +08:00
Alex Tugarev
6436f44274
[gitpod-db] remove deprected/unused tokens column – WEB-400 ( #17813 )
...
* [gitpod-db] remove deprected/unused `tokens` column
* fix db model
2023-06-02 19:08:07 +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