974 Commits

Author SHA1 Message Date
Sven Efftinge
edca0d50f1
[dashboard] unique project links (#18618) 2023-08-29 21:34:55 +02:00
Alex Tugarev
c7e492b6ef
update node to 18.17.1 (#18525)
* update node to 18.17.1

* use new dev image

* fix webpack in supervisor-frontend

* bump webpack to 5.88.2 in dashboard

* streamline webpack versions

* Fix craco config

* streamline eslint versions

* Update eslint config and disable for now

* Enable eslint again

* Update vscode-jsonrpc for browser implementation

* Polyfill setimmeadiate

* Remove NODE_OPTIONS env var from supervisor front end scripts

* Fix css

* Fix css 2

* Fix checkboxchecked

* Add comment

* Fix yarn.lock

---------

Co-authored-by: Jean Pierre <jeanp413@hotmail.com>
2023-08-24 13:41:50 +02:00
Brad Harris
25c949e976
Incremental repo searching (#18566)
* Wiring up api repo searching for bitbucket server

* adding lodash.debounce dep

* add lodash.debounce types

* Hiding account for bitbucket server

* print host only

* adjust loading state to not be totally blocking

* adjust filtering and query key

* support fetching recent repos

* use search params instead of strings

* adjusting loading component

* cleanup

* wrap incremental search code w/ feature flag

* yarn lock updates

* adding a limit to grab only the first 100 repos

* rename for clarity

* change to call in series to reduce rate limit chances

* renaming cap => maxPages

* fixing some stuttering widths changing as things load

* add alert message for bbs searching
2023-08-24 00:36:49 +02:00
Brad Harris
adf4e66cf6
Add CreateAndStartWorkspace to public-api (#18515)
* setting up CreateAndStartWorkspace handler

* adjust args

* adding createWorkspace scope for desktop app

* add getToken scope to desktop app oauth client

* remove for now

* adding region

* adding getToken while in here
2023-08-23 16:06:49 +02:00
Gero Posmyk-Leinemann
2419f896f6
[fga] Devx improvements (#18574)
* [server] Inject process.env.HOST_URL into feature flag attributes

* [dev] unblock-user + make-user-admin: Restart server+redis after DB changes
2023-08-23 08:33:49 +02:00
Manuel Alejandro de Brito Fontes
64994160d9
Remove FUSE support (#18536)
* Remove FUSE support

* Update docs

* Remove fuse-overlayfs

* Fix installer validation
2023-08-18 16:13:44 +02:00
Sven Efftinge
820ca180ff
[fga] project visibility and prebuild perms (#18540) 2023-08-18 14:41:44 +02:00
Filip Troníček
112eefcc56
[papi] List editor options (#18530)
* options.init

* Respond with options

* Move to editor service

* Unused imports

* Mount ot the correct service

* Sort by orderkey

* Simplify enum name

* Add tests

* Options -> `result` for consistency

* fix result field
2023-08-18 11:19:44 +02:00
Alex Tugarev
3ba583c710
[server] add searchString to getRepositoriesForAutomatedPrebuilds – EXP-461 (#18533)
* [server] add `searchString` to `getRepositoriesForAutomatedPrebuilds`

* reintroduce and fix paginated requests

* using a default cap at 10 requests per paginated request

* make getProviderRepositoriesForUser cancellable
2023-08-17 15:04:43 +02:00
Jean Pierre
b95a4687bf
[fga] Introduce EnvVarService (#18503) 2023-08-16 22:12:42 +02:00
Anton Kosyakov
e69acdf556
remove definetly-gp support (#18492)
compare to previous attempts it does not remove anything related to ExternalImageConfigFile
2023-08-15 17:40:42 +02:00
Filip Troníček
614007dde5
[papi]: Add GetSuggestedRepoURLs (#18514)
* [papi]: Add `GetSuggestedRepos`

* Rename method

* req to be consistent

* Move to SCMService

* Remove usr impl

* Add tests

* Revert billing test change

* Revert user changes

* --
2023-08-15 13:55:41 +02:00
Alex Tugarev
9e5a2be333
[new-workspace] Fix recent repositories for BBS – EXP-411 (#18497)
* [new-workspace] Fix recent repositories for BBS

* fixup remove log

* fixup test
2023-08-14 11:34:40 +02:00
Sven Efftinge
667bd2f005
[usage] add optional UserID to filter usage (#18449) 2023-08-08 07:46:33 +02:00
Gero Posmyk-Leinemann
9acc185fe5
[server] Merge WorkspaceDeletionService into WorkspaceGC (#18410)
* [server] Merge WorkspaceDeletionService into WorkspaceGC

* [server] WorkspaceService.getOwnerToken + .getIDECredentials

* review comments

* [server] Cleanup around EntitlementService and BillingMode
2023-08-07 13:38:32 +08:00
Gero Posmyk-Leinemann
0d36c68390
[fga] Workspace: create, get, stop and delete (#18403)
* [server] Cleanup to make tests pass

* [server] Introduce WorkspaceService with:
 - createWorkspace
 - getWorkspace
- stopWorkspace
- deleteWorkspace
- hardDeleteWorkspace

* add log info

* fix after rebase

* review comments

* address review comment: system user
2023-08-04 21:48:29 +08:00
Anton Kosyakov
b3ae12f956
git real time (#18323) 2023-08-03 20:51:28 +08:00
Alex Tugarev
436130bf26
Fix listeners leaks – EXP-206 (#18321)
* [server] fix leaking prebuild update listeners

- check for client be defined in gitpod-server-impl
- add prebuild subscribers only if the thing is not disposed yet
   - this might have happened frequently on very short living workspacePageClose events

* [server] fix metric registration

don't override default registry, which breaks other metrics.

* fixup for getMetricsAsArray

* [server] bump prom-client
2023-08-02 18:28:27 +08:00
Filip Troníček
c5059f2dc3
Filter by organizationId in ListWorkspaces (#18402)
Remove `IncludeWithoutProject`
2023-08-02 05:20:27 +08:00
Sven Efftinge
ded77f3a44
[server] don't error on project not_found (#18400) 2023-08-01 21:51:26 +08:00
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
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