512 Commits

Author SHA1 Message Date
Alex Tugarev
e205b485c3 [server] add basic support for BitBucket Server 2022-02-16 21:04:56 +01:00
Alex Tugarev
236523ee1c [server] disable perMessageDeflate on websockets
... which should improve memory usage.
2022-02-15 16:33:55 +01:00
Jan Keromnes
bb9474a456 [server] Order suggested repository URLs case-insensitively 2022-02-15 11:08:36 +01:00
Gero Posmyk-Leinemann
ec35e4f86b [protocol, server] Move "toPermissionSet" into protocol 2022-02-15 10:37:36 +01:00
Gero Posmyk-Leinemann
ddc7aaa72c Revert "[server, db] AuthProviderEntry: Introduce oauthRevision to avoid repeated materialization of encrypted data"
This reverts commit 07e013ecc2808240b768710886ff52fac0f921bd.
2022-02-14 20:35:35 +01:00
Jan Koehnlein
f8e3369bc9 prevent users from deleting their login auth provider 2022-02-14 17:52:36 +01:00
Gero Posmyk-Leinemann
4feee36008 [server] Instead of FOLLOWS_FROM, enhance notifications with clientMetadata directly 2022-02-14 16:17:35 +01:00
Gero Posmyk-Leinemann
24551594b9 [server] tracing: Avoid using FOLLOWS_FROM references due to lots of errors 2022-02-14 16:17:35 +01:00
Gero Posmyk-Leinemann
087d569306 [server] Trace userAgent 2022-02-14 16:17:35 +01:00
Alex Tugarev
c4b09831a8 [server/ide-config] update only, if file was modified
... but ignore frequent file accesses.
2022-02-14 09:34:35 +01:00
Pudong Zheng
43c2767909 [server] only resolve image by content changed or interval 2022-02-14 09:34:35 +01:00
Gero Posmyk-Leinemann
07e013ecc2 [server, db] AuthProviderEntry: Introduce oauthRevision to avoid repeated materialization of encrypted data 2022-02-11 16:44:33 +01:00
Gero Posmyk-Leinemann
80d7969a73 [server] AuthProviderService.getAllAuthProviders: avoid O(n^2) 2022-02-11 16:44:33 +01:00
Gero Posmyk-Leinemann
0d827257af [server] Minor performance improvement to generic auth provider 2022-02-11 16:44:33 +01:00
Sven Efftinge
0ef0c9f781 [server] Disable inference of extensions 2022-02-11 13:49:33 +01:00
Alex Tugarev
f8151d217f [server] fix value of Env Vars 2022-02-11 09:28:32 +01:00
Alex Tugarev
98b589b5c9 Revert "Revert "[server] Keep pushing env vars until supervisor is up to date""
This reverts commit 12b17292d9ab348fc5fbe75a52a7777aa7b6aa6e.
2022-02-11 09:28:32 +01:00
Alex Tugarev
a82c4d1cdb Revert "Revert "[server] Use envvar OTS to ship user/prj env vars""
This reverts commit 9e445656233f4aad1bc826869e3fb8349baf2dbc.
2022-02-11 09:28:32 +01:00
Gero Posmyk-Leinemann
5ff578ed67 [server, dashboard] Never fail when parsing ContextURL
Additionally:
 - always prefer `ws.context.normalizedContextURL` over `ws.contextURL`
 - if `normalizedContextURL` is not set, always try to normalize it
2022-02-09 15:51:31 +01:00
Jan Keromnes
1cf235791a [server] Implement a RepositoryProvider.getUserRepos() method 2022-02-08 14:48:30 +01:00
Jan Keromnes
5f2133da78 [server] Get repository suggestions from all auth providers 2022-02-08 14:48:30 +01:00
Jan Keromnes
63f613704e [server][dashboard] Improve 'New Workspace' modal with a search input, keyboard navigation, and a new context URL suggestion API 2022-02-08 14:48:30 +01:00
Alex Tugarev
9e44565623 Revert "[server] Use envvar OTS to ship user/prj env vars"
This reverts commit d8847a9c12e0a29a1d801bfa48dec5dd8452e317.
2022-02-08 10:34:29 +01:00
Alex Tugarev
12b17292d9 Revert "[server] Keep pushing env vars until supervisor is up to date"
This reverts commit e94cb93ae70821dd7b1ec9fb6fa34df694de2def.
2022-02-08 10:34:29 +01:00
Pudong Zheng
22f346c17b allow user select eap version of JetBrains IDE 2022-02-08 09:27:29 +01:00
Gero Posmyk-Leinemann
d955ce10f0 [server, dashboard] Do basic rate limiting on startWorkspace 2022-02-07 18:54:29 +01:00
Gero Posmyk-Leinemann
29c3a7d8cb [server] Replace nextTick with setImmediate 2022-02-07 14:05:29 +01:00
Christian Weichel
e94cb93ae7 [server] Keep pushing env vars until supervisor is up to date 2022-02-04 15:43:26 +01:00
Christian Weichel
d8847a9c12 [server] Use envvar OTS to ship user/prj env vars 2022-02-04 15:43:26 +01:00
Gero Posmyk-Leinemann
fdd353d9c5 [server] lint: "no-floating-promises" 2022-02-04 14:29:26 +01:00
Christian Weichel
5b74af7518 [server] Tie increased resource access to payment status 2022-02-02 18:46:24 +01:00
Christian Weichel
ecf598ac0e [ws-manager-api] Introduce start cluster preference sets 2022-02-02 18:46:24 +01:00
Gero Posmyk-Leinemann
51568c7497 [server] Stream imagebuild logs from headless workspace directly 2022-02-02 17:35:24 +01:00
Gero Posmyk-Leinemann
cd36b56224 [server] Generalize HeadlessLogService 2022-02-02 17:35:24 +01:00
Gero Posmyk-Leinemann
ce802b8841 [image-builder, et. al] Return the public workspace URL for all imagebuilds (incl. extra headers to access said URL) and store it in workspace 2022-02-02 17:35:24 +01:00
Jan Keromnes
3240f516c8 [server] Support 'git@{host}:{user}/{repo}.git' format in context URLs 2022-02-01 17:32:23 +01:00
Laurie T. Malau
4d9d49d81c Allow project search and show project detail 2022-02-01 15:20:24 +01:00
Jan Keromnes
0736b3bbde [dashboard][server] Make Project Overview page faster by pre-fetching and caching Git provider data (branches) 2022-01-31 11:23:22 +01:00
Anton Kosyakov
dea0999778 [server] add JB plugins as client types for tracing 2022-01-27 10:15:19 +01:00
Simon Emms
f9ec0f8cc6 [dashboard]: create a settings tab inside admin 2022-01-26 15:53:19 +01:00
Gero Posmyk-Leinemann
5d721fc81d [server] Fix case where we might close ws connections too frequently 2022-01-25 13:07:17 +01:00
Simon Emms
18259dc5b8 Create installation admin controller 2022-01-25 12:26:17 +01:00
Anton Kosyakov
b571eefeef [server] add referrer prefix to control IDE option 2022-01-24 13:32:16 +01:00
Anton Kosyakov
9a0c9088fc [server] add JB Gateway plugin as ouath2 client 2022-01-24 13:32:16 +01:00
Anton Kosyakov
2f72df6f19 [server] allow to fetch owner token 2022-01-24 13:32:16 +01:00
Jean Pierre
4e2c57e672 Use space character instead of u+00a0 2022-01-21 08:13:13 +01:00
Jan Keromnes
11c092b8b3 [db][server][dashboard] Allow censoring Project environment variables out of Workspaces 2022-01-17 19:37:10 +01:00
Jan Keromnes
1c0ee09cdc [db][server][dashboard] Implement Project-level environment variables 2022-01-17 19:37:10 +01:00
Gero Posmyk-Leinemann
f9885645ab [server] Print # of ws connections 2022-01-17 14:58:10 +01:00
Gero Posmyk-Leinemann
a6fa43b917 [server] Rename WsPingPongHandler -> WsConnectionHandler 2022-01-17 14:58:10 +01:00