Juho Heikka
9284741df5
Show splash window until bundled extensions have been loaded ( #4570 )
...
* Show splash window until bundled extensions have been loaded
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
* Remove unnecessary variable.
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
* Refactor autoInitExtensions
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
* Add timeout to waiting for bundled extensions to load
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
2021-12-23 11:00:18 +02:00
Jari Kolehmainen
43277d2af6
Less noisy metrics-not-available error logging ( #4602 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-12-22 16:11:06 +02:00
Sebastian Malton
e9d99d8485
Replace all uses of promiseExec with promiseExecFile ( #4514 )
2021-12-17 10:29:09 -05:00
Sebastian Malton
bde0a9ef91
Change isEnabledForCluster to use KubernetesCluster instead of Cluster ( #4584 )
2021-12-17 08:28:47 -05:00
Janne Savolainen
3418c0acfe
Merge pull request #4527 from jansav/make-menu-registry-obsolete
...
Remove MenuRegistry in favour of dependency injection
2021-12-16 15:11:30 +02:00
Janne Savolainen
c0a0127d2d
Merge pull request #4557 from lensapp/remove-weird-whitespace
...
Remove all 'NonBreakingSpace' characters from the repo
2021-12-16 08:38:55 +02:00
Janne Savolainen
2189679a30
Merge remote-tracking branch 'upstream/master' into make-menu-registry-obsolete
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2021-12-15 16:14:08 +02:00
Janne Savolainen
9f7515db0e
Revert "Introduce a way to start replacing usages of Singleton base-class with no changes required on use places"
...
This reverts commit 34a47f5f
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2021-12-15 15:37:37 +02:00
Janne Savolainen
c92c8f8a11
Replace global state usages of ExtensionLoader with DI
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2021-12-15 15:37:36 +02:00
Alex Andreev
637f26ae1e
Custom title controls on Windows ( #4528 )
...
* Add context menu in topbar
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding windows title buttons
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding win sandwitch icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Hide windows controls behind the flags
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix topbar layout
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using topbar as draggable area
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix sandwich icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Mark no-draggable areas
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove ipcMainOn window calls
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Explicitly hide main window menu
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix tests more
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Restore linux native view
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Not removing menu in linux
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Showing custom window buttons in Linux
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove frame on linux and windows
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move open context menu event handler to initializers
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Set x, y context menu position explicitly
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-12-14 19:01:57 +02:00
Sebastian Malton
d775d53078
Fix not being able to clear set cluster icon ( #4555 )
2021-12-14 11:38:31 -05:00
Sebastian Malton
56e72b3a74
Fix ERR_UNSAFE_PORT from LensProxy ( #4558 )
...
* Fix ERR_UNSAFE_PORT from LensProxy
- Use the current list of ports from chromium as it is much easier to
just reject using one of those instead of trying to handle the
ERR_UNSAFE_PORT laod error from a BrowserWindow.on("did-fail-load")
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Move all port handling into LensProxy
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* don't use so many exceptions
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-12-14 12:38:35 +02:00
Sebastian Malton
c0e0408c9b
Remove all 'NonBreakingSpace' characters from the repo
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-12-10 13:06:33 -05:00
Sebastian Malton
b665a2efe7
Fix freeze after closing terminal on windows ( #4536 )
2021-12-09 15:52:27 -05:00
Alex Andreev
3dd6b432c9
Export KubeJsonApi to extensions ( #4496 )
...
* Export KubeJsonApi to extensions
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Make forCluster() to consume clusterId as arg
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix lint
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-12-09 15:11:34 +03:00
Janne Savolainen
34a47f5f44
Introduce a way to start replacing usages of Singleton base-class with no changes required on use places
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2021-12-09 08:09:49 +02:00
Janne Savolainen
41837e86bb
Remove forgotten console.log used for debug
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2021-12-08 14:17:15 +02:00
Janne Savolainen
717b62d2e6
Remove obsolete code
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2021-12-08 13:10:50 +02:00
Janne Savolainen and Mikko Aspiala
67c24cac9a
Switch to getting menu items by observing change in extensions instead local state
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
2021-12-08 13:10:50 +02:00
dependabot[bot] and Sebastian Malton
8055ba261b
Bump @types/url-parse from 1.4.4 to 1.4.5 ( #4494 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name >
2021-12-03 08:59:18 -05:00
Jim Ehrismann
f78d9c5fc2
add debug for locating startup issues ( #4481 )
2021-12-02 09:34:06 -05:00
Sebastian Malton
80eeffc229
Log cluster model if adding a cluster fails when syncing from catalog ( #4463 )
2021-12-01 08:08:48 -05:00
Jan Jansen
120134a084
Prefer usage of preference over autoselection ( #4436 )
2021-11-30 13:51:41 -05:00
Sebastian Malton
f0274d08a4
Add Check-For-Updates in menu and some notifications ( #4437 )
2021-11-30 10:30:42 -05:00
Sebastian Malton
2ab9aeb83c
Correctly handle promises and rejections around cluster connection ( #4216 )
2021-11-30 09:05:34 -05:00
Jim Ehrismann
0673c98f4e
Add a query param for filtering port forwards by clusterId ( #4441 )
...
* Add a query param for filtering port forwards by clusterId
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* pass clusterId query as param
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* pass queries as params for other apiBase calls, for consistency
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2021-11-29 12:21:45 -05:00
Marc Bachmann
b3723de3ec
Add more file system metrics to the pod and container graphs ( #3961 )
2021-11-26 10:03:12 -05:00
Jari Kolehmainen
820b2d1b7a
Revert "Broadcast cluster's disconnected state before stopping KubeAuthProxy ( #4273 )" ( #4412 )
...
This reverts commit 8081d35f9c .
2021-11-24 16:18:30 +03:00
Sebastian Malton
5d172b89db
Cleanup Prometheus detection ( #4316 )
2021-11-23 14:34:45 -05:00
Sebastian Malton
8081d35f9c
Broadcast cluster's disconnected state before stopping KubeAuthProxy ( #4273 )
2021-11-23 14:34:37 -05:00
Sebastian Malton
8c9e3b2fdc
Fix cwd not being respected for local shells on windows ( #4395 )
2021-11-23 14:34:18 -05:00
Sebastian Malton
7c5a0a9a6d
Improve local shell CWD setting ( #4396 )
2021-11-23 08:35:16 -05:00
Sebastian Malton
885af07d0b
Improve bootstrap logging for help with iframe debugging ( #4020 )
2021-11-18 16:54:43 -05:00
Sebastian Malton and Jari Kolehmainen
0f2801552f
Fix handling of PTYs when renderer is reloaded ( #4346 )
...
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-11-17 13:48:46 -05:00
Sebastian Malton
b550ea9178
Reduce logging on failure to get cluster metrics ( #4284 )
2021-11-12 08:51:37 -05:00
Sebastian Malton
a71a6dcaff
Always override PATH when syncing from shell ( #4132 )
2021-11-12 08:50:57 -05:00
Sebastian Malton
3522485c6f
Improve cluster connection visibility ( #4266 )
2021-11-12 08:49:21 -05:00
Sebastian Malton
de4c7e4cff
Fix race condition in refreshViews ( #4094 )
2021-11-10 12:07:55 -05:00
Jari Kolehmainen
8846b5c96f
handle aborted responses in lens proxy ( #4308 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-11-10 13:47:36 +02:00
Sebastian Malton
c37a8aee0a
Correctly catch and notify user about NodeShell pod failures ( #4244 )
...
* Correctly catch and notify user about NodeShell pod failures
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix error throwing sometimes during Terminal.detach
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-09 22:52:46 -05:00
Sebastian Malton
81b972a2d0
Make ws:// authentication more timing safe ( #4297 )
2021-11-09 14:24:32 -05:00
Sebastian Malton
e5bf5920fc
Keep shell processes alive between network offline periods ( #4258 )
2021-11-09 12:30:55 -05:00
Sebastian Malton
5eb1b8553d
Support window nodes for node-shells ( #3624 )
...
* Support window nodes for node-shells
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Also check beta.kubernetes/os label
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add comment about linux fallback
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-08 20:11:40 -05:00
Sebastian Malton
c09a57370e
Block shell websocket connections from non-lens renderers ( #4285 )
...
* Block shell websocket connections from non-lens renderers
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add IPC based authentication tokens
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix race condition on tab start
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-08 19:02:10 -05:00
Jim Ehrismann
e99f2f0502
log kubectl port-forward stderr output as debug
...
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2021-11-05 15:21:08 -04:00
Sebastian Malton
43845ed145
Fix auto update not working for AppImage ( #4256 )
2021-11-04 12:11:08 -04:00
Sebastian Malton
526b7c46be
Fix impl of 'Fix metrics configuration via catalog' ( #4255 )
2021-11-04 10:55:23 -04:00
Jan Jansen
0e1df10488
Fix metrics configuration via catalog ( #4252 )
2021-11-04 09:33:52 -04:00
Sebastian Malton
a93108c103
Fix auto-update on macOS not working ( #4248 )
2021-11-03 16:29:50 -04:00
Sebastian Malton
28e182a2a3
Properly propagate promises in Kubectl.ensureKubectl to avoid UnhandledPromiseRejections ( #4243 )
2021-11-03 12:28:12 -04:00