1478 Commits

Author SHA1 Message Date
Sven Efftinge
e667765a18
[spicedb] generate ts definitions (#18308) 2023-07-20 15:30:36 +08:00
Kyle Brennan
ac43f4cdda
[server] log when resolve image is unsuccessful (#18301)
Related to https://www.gitpodstatus.com/incidents/86797qj4xnfj
2023-07-19 17:29:35 +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
8dd7c7e7ab
[server] use org service in iam-session-app (#18280) 2023-07-19 14:08:35 +08:00
Filip Troníček
2adf1e0d21
Add Gitpod Desktop OAuth client (#18296)
* Add Gitpod Desktop OAuth client

* fix typo
2023-07-19 04:12:34 +08:00
Sven Efftinge
0ea1b3acef
[server] remove definitely-gp (#18278) 2023-07-14 03:00:30 +08:00
jakobhero
3e8e55f9aa
remove date from input for cookieless hash (#18154) 2023-07-14 02:37:30 +08:00
Sven Efftinge
e5bba0ffef
[server] extract tested usage-service (#18260)
* [server] extract tested usage-service

* Fix runner removal script

---------

Co-authored-by: Alejandro de Brito Fontes <aledbf@gmail.com>
2023-07-14 00:49:31 +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
b797ea6488
[server] Broadcast workspace instance update to listeners WEB-597 (#18212)
* [server] Broadcast workspace instance update to listeners

* retest
2023-07-10 22:57:27 +08:00
Milan Pavlik
5a2ace684a
[server] Gauge for registered listeners (#18208)
* [server] Gauge for registered listeners

* [server] Gauge for registered listeners
2023-07-10 21:57:27 +08:00
Milan Pavlik
aec9e48577
[server] Use a text feature flag to toggle which message updates come from redis and messagebus (#18209) 2023-07-10 20:22:27 +08:00
Milan Pavlik
21c16d27d7
[server] Register redis update listeners (#18202) 2023-07-10 15:52:26 +08:00
Milan Pavlik
44b1c35ca9
[server] Report client-side metrics for all spicedb operations (#18199) 2023-07-10 15:51:26 +08:00
Milan Pavlik
9912fdca56
[server] Do not log OTS id (#18200) 2023-07-07 21:08:24 +08:00
Milan Pavlik
f87ab032f9
[server] Subscribe to redis updates WEB-597 (#18164)
* [server] Subscribe to redis updates

* fix

* fix

* fix

* fix

* fix

* Fix

* fix

* fix

* Fix

* fix

* Fix
2023-07-07 20:40:24 +08:00
Sven Efftinge
86647b5b8a
[spicedb] added installation and admin permission (#18179) 2023-07-07 19:57:24 +08:00
Sven Efftinge
5355eb70df
[server] move usage -> org, stripe -> billing (#18194) 2023-07-07 17:12:24 +08:00
Sven Efftinge
4a55b1ecbb
[server] improved testing infrastructure (#18183) 2023-07-07 16:29:23 +08:00
Sven Efftinge
3e215bcd61
[server] more org service (#18174) 2023-07-06 21:07:23 +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
Sven Efftinge
66e0cf2946
[server] more project service (#18157)
- more testing
- throw 404 instead of undefined
- more permission checks
2023-07-04 20:35: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
Sven Efftinge
97c3272764
[server] Org service does member handling (#18125)
* [server] Org service does member handling

* [db] allow cross-dao transactions
2023-07-04 00:13:20 +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
Alex Tugarev
f5e0c54312
[server] replace is-reachable with fetch (#18116)
* [server] replace is-reachable with fetch

* fixup – HEAD returns 404

> (await fetch("https://gitlab.gitpod-dev.com/", { method: "HEAD"})).status
404
2023-06-30 19:19:48 +08:00
Sven Efftinge
b766c9146e
[server] Use our own error type (#18113) 2023-06-30 15:27:48 +08:00
Sven Efftinge
0c6b015422
[server] explicit declaration merging (f. node-ts) (#18114)
node-ts doesn't eagerly load all typescritp files, so we need to point it
to the additional global types
2023-06-30 15:00:48 +08:00
Sven Efftinge
caf26b812d
[server] remove getUserProjects (#18093) 2023-06-29 16:30:47 +08:00
Milan Pavlik
6ba6c776c9
[perms] Implement organization delete (#18096)
* [perms] Compose org updates

* Fix

* fix

* [perms] Implement organization delete

* fix

* fix

* fix

* Fix
2023-06-29 03:02:46 +08:00
Milan Pavlik
f20e116e1e
[perms] Compose org updates (#18094)
* [perms] Compose org updates

* Fix

* fix
2023-06-28 20:43:46 +08:00
Sven Efftinge
bd8674bdc5
[perms] Implement getTeams WEB-501 (#18087) 2023-06-28 19:09:46 +08:00
Sven Efftinge
82d96677e9
[auth] refactor auth API (#18085) 2023-06-28 18:58:46 +08:00
Milan Pavlik
3683679d97
[server] Use chainguard node image WEB-575 (#18062)
* [server] Use chainguard node image

* Fix

* Fix

* fix

* fix

* Fix

* remove heapdump

* fix

* fix
2023-06-28 18:26:46 +08:00
Milan Pavlik
49226d8e15
[perms] Read/write billing - WEB-541, WEB-542, WEB-543, WEB-544, WEB-545, WEB-546, WEB-547 (#18056)
* [perms] Read/write billing

* fix
2023-06-26 22:34:50 +08:00
Gero Posmyk-Leinemann
c94224bfb4
Revert "[perms] Implement getTeams WEB-501 (#18039)" (#18057)
This reverts commit 01117568d7f49971572cf588ea8f8b78035090ff.
2023-06-26 21:07:50 +08:00
Gero Posmyk-Leinemann
8a2be48db9
[server] Make sure to re-add project -> org relation on failed deletion (#18055) 2023-06-26 20:12:51 +08:00
Milan Pavlik
01117568d7
[perms] Implement getTeams WEB-501 (#18039)
* [perms] Implement getTeams

* fix
2023-06-26 19:09:50 +08:00
Gero Posmyk-Leinemann
427ed104de
[server] Guard org authProvider-related API calls centralizedPermissions (#18041)
* [spicedb] Introduce read-/write_git_provider permissions

* [server] Guard org authProvider-related API calls centralizedPermissions
2023-06-26 17:54:49 +08:00
Gero Posmyk-Leinemann
f49be2267c
[server] Add/remove project -> org relation on creation/deletion (#18037) 2023-06-26 15:21:16 +08:00
Milan Pavlik
50ba64bbb7
[perms] Check & Update relationships on removeTeamMember (#18008) 2023-06-23 21:25:13 +08:00
Milan Pavlik
dd4b30c7c3
[perms] Grant owner/member on role change WEB-505, WEB-507 (#17993)
* fix

* fix

* fix

* fix

* fix

* fix

* fix?

* fix

* fix

* fix

* fix

* fix

* Fix

* fix

* fix

* fix

* fix

* fix

* fix

* remove migration

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2023-06-23 20:22:13 +08:00
Sven Efftinge
7248f9b40f
[server] private members cleanup (#18027) 2023-06-23 18:22:13 +08:00