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
Sebastian Malton
df297613ca
Fix trying to download kubectl from [object Object] ( #4215 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-03 07:44:28 -04:00
Sebastian Malton
c6dce043a7
Lint: comma-spacing (error) & comma-dangle (error) ( #4200 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-02 17:38:20 -04:00
chh
b06c33383b
Prevent injection of expired "DST Root CA X3" from host CA stores; Electron to 13.6 ( #4185 )
2021-11-02 18:16:10 +02:00
Sebastian Malton
7ba359be03
Only offer app version downgrade if updateChannel differs from current version ( #4212 )
2021-11-02 12:07:50 -04:00
Sebastian Malton
41863e87ce
Lint: object-curly-spacing (error) ( #4198 )
2021-11-01 08:45:45 -04:00
Sebastian Malton
c6dab62e99
Lint: no-template-curly-in-string (error) ( #4196 )
2021-11-01 08:37:29 -04:00
Sebastian Malton
b32e841bd2
Increase maxBuffer size when getting helm release details ( #4164 )
2021-10-28 08:33:16 -04:00
Sebastian Malton
f297407156
Stop using @electron/remote to obtain app.getPath() ( #4078 )
...
* Stop using remote to obtain app.getPath()
- Initialize entire map in bootstrap()
- Updated unit tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Resolve PR comments
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix test
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix build
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Ensure that init can only be called once and catch errors
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Replace basically all uses of app.getPath() with AppPaths.get()
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix unit tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-10-27 21:07:41 -04:00
Jim Ehrismann
65b6908bf1
improved port-forward error reporting ( #4155 )
...
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2021-10-27 18:19:03 -04:00
Sebastian Malton
27a0b02ce2
Close windows before trying to update ( #4142 )
2021-10-26 14:38:08 -04:00