Sebastian Malton
0e7704ea3f
Change KubernetesCluster's settings menuItem's icon to a cog ( #4425 )
2021-11-26 08:41:08 -05:00
Roman
448fdd1ef2
Mobx package upgrade ( #4357 )
2021-11-25 12:02:59 -05:00
Roman
4f33dfdfd5
Allow to navigate to created resource details from notification ( #4422 )
...
navigate to created resource details from notification
2021-11-25 18:04:41 +02:00
Panu Horsmalahti
0ca8448d33
Retry watch if timeout set, but request was not retried ( #4388 )
...
* Retry watch if timeout set, but request was not retried.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Cancel current request if retried.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Clarify retried variable/comment
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-11-24 15:56:01 +02:00
Jari Kolehmainen
32dfc74aff
Add unit tests for BaseStore ( #4404 )
...
* fix possible race condition in BaseStore persistence
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup variable names in tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* remove async
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-11-23 19:41:16 +02: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
Jari Kolehmainen
fe4a56ba59
Add keepalive option in JsonApi.getResponse ( #4374 )
...
* add keepalive option in JsonApi.getResponse
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-11-18 09:21:28 -05:00
Jari Kolehmainen
2446b6cf9b
Add tests for KubeApi.watch timeout ( #4367 )
2021-11-17 09:34:05 -05:00
Panu Horsmalahti
14ab00d017
Fix concurrent loadItems in CatalogEntityStore ( #4356 )
...
* Fix concurrent loadItems in CatalogEntityStore
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Add parameter to loadItems.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Remove unnecessary overloading.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-11-17 11:33:42 +02:00
Jari Kolehmainen
ca15919218
Add timeout option to KubeApi.watch ( #4365 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-11-17 10:23:05 +02:00
Sebastian Malton
159c240a80
Display resource load errors seperately from list of items ( #4228 )
2021-11-16 12:41:10 -05:00
chh
2d5b39e0e6
Fix typo KubeObject.nonEditiablePathPrefixes > KubeObject.nonEditablePathPrefixes ( #4351 )
2021-11-16 14:04:12 +02:00
Jari Kolehmainen
385de469ad
allow to call KubeApi.delete without namespace parameter ( #4349 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-11-16 09:14:41 +02:00
Sebastian Malton
e51ff5051f
Fix crash when finding CRD's preferred version ( #4332 )
2021-11-15 11:16:37 -05:00
Jari Kolehmainen
882f216368
Use propagationPolicy=Background by default for delete ( #4337 )
2021-11-15 08:29:22 -05:00
Sebastian Malton
3522485c6f
Improve cluster connection visibility ( #4266 )
2021-11-12 08:49:21 -05:00
Jari Kolehmainen
23d5d40d62
Implement KubeApi.patch ( #4325 )
...
* implement KubeApi.patch
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* keep it backward compatible
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-11-12 11:15:33 +02:00
Jari Kolehmainen
a86b306a48
add possibility to pass non-generic KubeApi to forRemoteCluster ( #4321 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-11-12 09:07:57 +02:00
Roman
38ebbc8b9e
Fix: Catalog's visibility columns menu -> Empty title for Icon ( #4189 )
...
* fix: Catalog -> Columns visibility menu -> Empty title for "Icon"
Signed-off-by: Roman <ixrock@gmail.com >
* moving entity-icon inside name column / fixes
Signed-off-by: Roman <ixrock@gmail.com >
* fix lint
Signed-off-by: Roman <ixrock@gmail.com >
* added vertical alignment for texts in the name column
Signed-off-by: Roman <ixrock@gmail.com >
2021-11-10 14:28:21 +02:00
Sebastian Malton
1ce2e727af
Fix crash in IngressDetails ( #4267 )
...
* Fix crash in IngressDetails
- Adds check in Ingress.getServiceNamePort() for a
.spec.defaultBackend.resource instead of .spec.defaultBackend.service
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* remove undefined
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add comment about RequireExactlyOne
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-09 22:52:36 -05:00
Sebastian Malton
18d695348b
Change base64 functions to be exported not as object children ( #4298 )
2021-11-09 13:43:45 -05:00
Sebastian Malton
200061d386
Use .status.phase instead of computing it for Pod.getStatusMessage ( #4286 )
2021-11-09 09:33:42 -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
Roman
368e2d9a00
Monaco editor refactoring ( #4225 )
...
* monaco editor refactoring
Signed-off-by: Roman <ixrock@gmail.com >
* clean up / responding to comments
Signed-off-by: Roman <ixrock@gmail.com >
* move custom monaco themes to own folder
Signed-off-by: Roman <ixrock@gmail.com >
* fix lint
Signed-off-by: Roman <ixrock@gmail.com >
* removed unused rules from webpack's config (renderer)
Signed-off-by: Roman <ixrock@gmail.com >
2021-11-03 17:19:17 +02:00
Juho Heikka
f820f3df53
Fix lint error ( #4238 )
...
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
2021-11-03 12:31:59 +02: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
Panu Horsmalahti
6b047332c0
Reduce JSON-API logging. ( #4221 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-11-02 13:31:10 +02:00
Sebastian Malton
41863e87ce
Lint: object-curly-spacing (error) ( #4198 )
2021-11-01 08:45:45 -04:00
Sebastian Malton
0759b80435
Lint: space-before-function-paren (error) ( #4199 )
2021-11-01 08:37:49 -04:00
Sebastian Malton
e74f17e8ce
Lint: no-unused-expressions (error) ( #4197 )
2021-11-01 08:37:37 -04:00
Sebastian Malton
4d63ef2878
Use spec.serviceName as an externalIP if nothing else ( #4188 )
...
* Use spec.serviceName as an externalIP if nothing else
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Move using externalName to display logic
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-01 07:23:29 -04:00
Patrick J. McNerthney
6294343b79
Fix the broken ingress metrics, the namespace is needed in the opts. ( #4203 )
...
Signed-off-by: Patrick J McNerthney <pat@mcnerthney.com >
2021-11-01 11:21:13 +03:00
Panu Horsmalahti
be8e350510
Fix IPC race condition. ( #4169 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-10-28 18:46:16 +03: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
Sebastian Malton
5abc1c618c
Add several more util functions and tests ( #4106 )
2021-10-26 09:36:34 -04:00
dependabot[bot] and Sebastian Malton
25c7c1a496
Bump @types/js-yaml from 4.0.2 to 4.0.4 ( #4124 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name >
2021-10-25 16:53:35 -04:00
Sebastian Malton
221ab46540
Handle named ports in probe label renderer ( #4118 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-10-25 10:40:45 -04:00
Panu Horsmalahti
0dab7b8073
Add option for providing request options to watch requests ( #4102 )
...
* Add option for providing request options to watch requests.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Move getRequestOptions to JsonApi.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Style fix
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Make token to be a string or a function
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Fix isFunction import.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Make getRequestOptions async.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Remove commented code.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Only set token if it's truthy.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Review fixes.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Add this.getRequestOptions default
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-10-21 19:18:32 +03:00
Jim Ehrismann
731f119b1b
added port-forward details ( #4080 )
...
* added port-forward details
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* address review comments, plus added toolbar/menu to port-forward details Drawer
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* added getById() to portForwardStore to eliminate direct items access from outside
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2021-10-20 16:02:20 -04:00
Sebastian Malton
1f42a5148e
Remove api lookup in KubeObjectStore ( #4092 )
2021-10-20 10:44:13 -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
b4a4cc6be4
Correctly handle empty string valued secrets in SecretDetails ( #4079 )
2021-10-20 08:51:03 -04:00
Sebastian Malton
38276bbbff
Update helm cache if files have been modified ( #3973 )
2021-10-20 08:50:52 -04:00
Sebastian Malton
64175b24e0
Sort pod names by convering sub-parts ( #3314 )
2021-10-19 10:36:49 -04:00
Sebastian Malton
cbffb85650
Disable kubectl download mirror options when not available ( #3956 )
2021-10-19 09:22:06 -04:00
Sebastian Malton
125a073007
Add context menu into sidebar ( #4044 )
2021-10-19 09:19:25 -04:00
Sebastian Malton
e21888c62c
Fix iter function return values ( #3958 )
2021-10-19 09:02:59 -04:00