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
Sebastian Malton
5abc1c618c
Add several more util functions and tests ( #4106 )
2021-10-26 09:36:34 -04:00
Jari Kolehmainen
f1c2023533
use random api prefix on kubectl-proxy ( #4137 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-10-26 14:59:36 +03:00
Jim Ehrismann
353b79ab76
Support port forwarding https protocol ( #4119 )
...
* added support for port-forwarding https
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* added protocol to the port-forward list and details page. Added the port-forward address to the details page title
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* predict the protocol based on the port name, some cleanup
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* address review comments
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* code reorg
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* fix lint
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2021-10-25 11:25:37 -04:00
Jari Kolehmainen
bd7ba9ff43
remove cors headers from LensProxy ( #4126 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-10-25 17:42:28 +03:00
Sebastian Malton
5bdebfda43
Add better error message if the proxy test fails ( #3913 )
...
* Add better error message if the proxy test fails
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* resolve pr comment
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-10-20 22:33:28 -04:00
Sebastian Malton
32562b11a4
Remove ClusterStore.removedClusters and correctly delete lens storage file ( #4077 )
2021-10-20 08:51:26 -04:00
Sebastian Malton
38276bbbff
Update helm cache if files have been modified ( #3973 )
2021-10-20 08:50:52 -04:00
Sebastian Malton
cbffb85650
Disable kubectl download mirror options when not available ( #3956 )
2021-10-19 09:22:06 -04:00
Sebastian Malton
5998b4ca84
Upgrade js-yaml to 4.X ( #3623 )
2021-10-18 10:03:10 -04:00
Sebastian Malton
86da6260b6
Don't attempt to sync files larger than 2MiB or non UTF-8 files ( #3985 )
...
* Don't attempt to sync files larger than 16MiB
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add handling for invalid utf-8
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Increase max size limit for single file syncs
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-10-15 23:27:34 -04:00
Sebastian Malton
246305cd63
Fix accessible namespaces notification not navigating to correct settings ( #4048 )
2021-10-15 09:06:24 -04:00
Sebastian Malton
9d5689ce69
Only allow extensions to use non-lens specific cluster phases ( #4036 )
2021-10-14 10:25:48 -04:00
Sebastian Malton
3988229a6c
Fix auto-update channel checking and pinning ( #4030 )
2021-10-13 14:48:47 -04:00
Sebastian Malton
9c94c19a4f
Add ability to configure lens release channel ( #3971 )
2021-10-12 08:32:06 -04:00
Sebastian Malton
5a25c44de6
Catch and display errors for release details ( #3905 )
2021-10-12 08:28:32 -04:00
chh
58ac856c89
Use entity.status.phase when updating cluster state ( #4009 )
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com >
2021-10-12 08:07:39 +03:00
Alex Andreev
b2b3c44695
Closing dock tabs with cmd+w on mac ( #3849 )
...
* Change Close menu item accelerator
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Listening global keydown event in <Dock/>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Prevent terminal to fire custom event
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refresh tooltip hint
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Make Tab line gray if Dock isn't focused
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-10-11 10:06:43 +03:00