Alex Andreev
e837e6f1db
Removing unused chart files ( #2238 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-03-01 11:35:00 +02:00
Sebastian Malton
b3176a6fc4
fix protocol log line grammer ( #2234 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-26 09:33:47 -05:00
Lauri Nevala
a2ce429f22
Pass Lens wslenvs to terminal session on Windows ( #2198 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2021-02-26 14:56:51 +02:00
Christoph Meier
5a9bf6c55a
Fix(rbac): pdp should have policy group ( #2132 )
...
For rbac the `PodDisruptionBudget` should use the `policy` group.
Signed-off-by: Christoph MEIER <top@foyer.lu >
2021-02-26 08:39:54 +02:00
Jari Kolehmainen
090a3c2bf5
Flush response headers always when proxy gets a response ( #2229 )
...
* flush response header always when proxy gets a response
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* force flush only when watch param exists
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-26 07:34:54 +02:00
pashevskii and Pavel Ashevskiy
3acbdcfd60
Extract chart version ignoring numbers in chart name ( #2226 )
...
Signed-off-by: Pavel Ashevskiy <pavel.ashevskiy@ifellow.ru >
Co-authored-by: Pavel Ashevskiy <pavel.ashevskiy@ifellow.ru >
2021-02-25 18:09:07 +03:00
Sebastian Malton
1470103fd4
Add lens:// protocol handling with a routing mechanism ( #1949 )
...
- Add lens:// protocol handling with a routing mechanism
- document the methods in an extension guide
- remove handlers when an extension is deactivated or removed
- make sure that the found extension when routing a request is currently enabled (as a backup)
- added documentation about the above behaviour to the guide
- tweaked the naming convention so that it is clearer that the router uses extension names as not IDs (which currently are folder paths)
- Convert the extension API to use an array for registering handlers
- switch design to execute both main and renderer handlers simultaneously, without any overlap checking
- change open to be a dev dep
- improve docs, export types for extensions, skip integration tests
- switch to event emitting renderer being ready
- Add logging and fix renderer:loaded send to main
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-25 09:32:40 -05:00
Jim Ehrismann
38c3734d5c
the select all checkbox should not select disabled items ( #2151 )
...
* the select all checkbox should not select disabled items
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* remove improper bullet-proofing
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* added default for customizeTableRowProps
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2021-02-25 09:09:39 -05:00
Lauri Nevala
f18d8618cd
Fix loading all namespaces for users with limited cluster access ( #2217 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2021-02-24 16:10:47 +02:00
Sebastian Malton
92dfd80889
StatusBarRegistration's component field must be optional for backwards compatability ( #2211 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-24 09:05:14 -05:00
Violetta
0d3505cfac
Add persistent volumes info to storage class submenu ( #2160 )
...
Signed-off-by: vshakirova <vshakirova@mirantis.com >
2021-02-24 11:02:39 +03:00
Alex Andreev
6876d774a5
Fix: deprecated helm chart filtering ( #2158 )
...
* Refactor of excludeDeprecated helm service method
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Pick first helm chart from the list on load
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing helm filtering in UI
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up type definitions
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding sorting charts by version
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding tests for methods that manipute chart listing
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up tests a bit
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding semver coercion before comparing versions
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-02-24 10:20:06 +03:00
Lauri Nevala
103467d31b
Display environment variables coming from secret in pod details ( #2167 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2021-02-23 15:47:40 +02:00
Sebastian Malton
5258aab0d2
Fix removal of langci from repo ( #2204 )
...
- Move all strings of the form {`...`} to use just ""
- Fix RoleBindingDetails not rendering the name of the role binding
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-23 08:13:46 -05:00
Steven Martin
83d7e4550c
Fix Heading spelling ( #2202 )
...
Repositories was misspelled in Managing Helm Repositories
Signed-off-by: stevenGravy <steven@gravitational.com >
2021-02-23 14:05:44 +02:00
Sebastian Malton
5559c166d0
Fix auto update on quit with newer version ( #2128 )
...
- Fix auto update on quit with newer version
- If the user specifies that Lens should auto update on quit to a specific version, and before they quit the auto-updater finds a newer version. Then disregard the previous request to update
- reset broadcast-ed version if failed to broadcast
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-22 16:53:34 -05:00
Roman
9bb9e23d55
fix: allow scrolling in main-layout's content area ( #2201 )
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-02-22 20:29:26 +02:00
Sebastian Malton
b2d4311e94
fix RoleBindings Namespace and Bindings field not displaying the correct data ( #2203 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-22 12:18:48 -05:00
Roman
25f4833117
- fix: don't reset selected "all namespaces" on page reload ( #2185 )
...
- fix: don't reload namespaces on every page visit / NamespaceSelect.render()
Signed-off-by: Roman <ixrock@gmail.com >
2021-02-22 14:44:21 +02:00
Roman
82d8181938
Fix: proper sorting resources by age column ( #2182 )
...
* - fix: proper sorting for resource age column
- use Date.now() instead of new Date().getTime() (#2141 follow-up)
Signed-off-by: Roman <ixrock@gmail.com >
* fix: proper bar-chart tooltip callback
Signed-off-by: Roman <ixrock@gmail.com >
* fix: sorting in cronjobs, more Date.now() replacements
Signed-off-by: Roman <ixrock@gmail.com >
2021-02-19 14:21:07 +02:00
Jari Kolehmainen
e87bb850fb
Bump master version to v4.2.0-alpha.0 ( #2184 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-18 19:30:18 +02:00
Jari Kolehmainen
06c131f860
Fix duplicate cluster iframes ( #2190 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-18 19:20:58 +02:00
Rafed Ramzi
41f1cdff65
Fix Documentation: fix broken link in getting-started page ( #2155 )
...
Signed-off-by: Rafed Ramzi <rafedramzi@gmail.com >
2021-02-18 09:42:23 -05:00
Jari Kolehmainen
9f15bb9626
Wait for cluster to be ready before loading iframe ( #2183 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-18 15:11:03 +02:00
Jari Kolehmainen
4ce618b4d4
Trigger quitAndInstall after update-downloaded event ( #2181 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-18 13:36:35 +02:00
Roman
5029196d15
Fix: events sorting with compact=true is broken ( #2141 )
...
* fix: use default sorting for <Events/> as on "timeline" (fresh on top)
Signed-off-by: Roman <ixrock@gmail.com >
* responding to comments
Signed-off-by: Roman <ixrock@gmail.com >
* convert comments to jsdoc (table.tsx)
Signed-off-by: Roman <ixrock@gmail.com >
2021-02-18 12:21:41 +02:00
dependabot[bot]
4d6cba4741
Bump xterm from 4.6.0 to 4.10.0 ( #2072 )
...
Bumps [xterm](https://github.com/xtermjs/xterm.js ) from 4.6.0 to 4.10.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/4.6.0...4.10.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-18 08:36:29 +02:00
Lauri Nevala
67395253be
Add test for re-registering store ( #2161 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2021-02-18 07:31:40 +02:00
Jari Kolehmainen
32908883f8
Windows: use SHELL for terminal if set ( #2168 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-18 07:30:48 +02:00
Jari Kolehmainen
174bba98d7
Fix isLoadingAll within KubeObjectStore.loadItems ( #2174 )
...
* fix isLoadingAll within KubeObjectStore.loadItems
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix isLoadingAll within KubeObjectStore.loadItems
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-17 22:28:33 +02:00
Roman
b8c78cd18f
fix: keep last selected row during navigation in the details panel ( #2165 )
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-02-17 13:39:27 +02:00
Sebastian Malton
0724819915
return undefined instead of localhost from getClusterIdFromHost ( #2143 )
...
* return undefined instead of localhost from getClusterIdFromHost
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-16 13:11:25 -05:00
Jari Kolehmainen
8692bdefa2
Release v4.1.0 ( #2162 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-16 19:25:38 +02:00
Alex Andreev
2c196ec3ad
Fix: load releases for all namespaces at once ( #2139 )
...
* Load releases for all namespaces at once
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Check for accessibleNamespaces length
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Replacing loadAll() to loadFromContextNamespaces()
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-02-16 16:53:11 +02:00
Sebastian Malton
436bb7683d
Listen for before-quit-for-update to allow will-quit to use default flow ( #2147 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-16 16:50:11 +02:00
Alex Andreev
d3cedb49aa
Adding paddings to auto-update notification elements ( #2163 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-02-16 16:49:27 +02:00
Lauri Nevala
3f2d912816
Register existing store with new apiBase when re-registering Kube API ( #2157 )
...
* Update store key after api's apiBase change
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Re-register existing store when registering API
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Revert kube-api changes
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2021-02-16 14:49:51 +02:00
Jari Kolehmainen
1e5d682b9b
Release v4.1.0-rc.2 ( #2154 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-15 11:29:04 +02:00
Sebastian Malton
8d74f1c759
Fix tailCount renderering in removeItemsDialog ( #2148 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-15 07:25:34 +02:00
Jari Kolehmainen
f4a3074926
Fix events list default sort column ( #2149 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-13 09:33:04 +02:00
Lauri Nevala
ebf9177098
Activate survey extension only on main renderer ( #2145 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2021-02-12 19:04:12 +02:00
Sebastian Malton
4513a08b1f
don't use list all optimization when operating in accessible namespaces mode ( #2142 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-12 10:59:58 -05:00
Jari Kolehmainen
557d96d484
Handle suspend/resume error from watch stream read ( #2136 )
...
* handle suspend/resume error from stream read
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* add missing types
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-12 16:37:41 +02:00
Jari Kolehmainen
4bc4fe3a24
Fix accessible namespaces reset on cluster disconnect ( #2140 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-12 16:24:02 +02:00
Jari Kolehmainen
317c4cf072
Fix accessible namespaces functionality under restrictive RBAC ( #2138 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-12 14:25:17 +02:00
Alex Andreev
d40bd0c7d0
Making error boundary layout responsive ( #2124 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-02-12 10:19:52 +03:00
Jari Kolehmainen
f7f2d445a1
Release v4.1.0-rc.1 ( #2129 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-12 07:35:12 +02:00
Jari Kolehmainen
f14f3b3287
Cleanup iframe when cluster is disconnected ( #2120 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-11 17:36:47 +02:00
Jari Kolehmainen
d7d4be7375
Improve kube watch error handling ( #2112 )
...
* improve kube watch error handling
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* review fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* no more object.assign
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* keep only items from non-loaded namespaces
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix sleep/resume
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fallback retry only on error
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-11 17:34:14 +02:00
Roman
b873ba76bd
Fix: compact-mode for Workloads overview -> Events ( #2113 )
...
fix: proper event-type column + default sorting by warning events
Signed-off-by: Roman <ixrock@gmail.com >
2021-02-11 13:56:20 +02:00