1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Commit Graph

1614 Commits

Author SHA1 Message Date
Jim Ehrismann
b4e84dda2b release v5.2.7
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-09 16:20:56 -05:00
Jim Ehrismann
3dd861c767 keep electron on the 12.2 track, bump to latest 12.2.2
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-09 16:20:56 -05:00
chh
c20d13b0d3 Prevent injection of expired "DST Root CA X3" from host CA stores; Electron to 13.6 (#4185)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-09 16:20:56 -05:00
Sebastian Malton
07c9bd7336 Make ws:// authentication more timing safe (#4297)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-09 16:20:55 -05:00
Sebastian Malton
5d42477424 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>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
# Conflicts:
#	src/main/index.ts
2021-11-08 19:37:05 -05:00
Jim Ehrismann
a64579dc08
Merge pull request #4231 from lensapp/release/v5.2.6
Release/v5.2.6
2021-11-04 12:59:10 -04:00
Jim Ehrismann
35891a6a6b release v5.2.6
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-04 09:27:37 -04:00
Sebastian Malton
f2b2c34fe0 Check object instanceof on all detail panels (#4054)
* Check object instanceof on all detail panels

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix unit tests

- Remove prettier as snapShot testing is too tight of a bound

Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-04 09:26:04 -04:00
Sebastian Malton
9782c37d11 Use the served and storage version of a CRD instead of the first (#3999)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-03 11:57:11 -04:00
Sebastian Malton
7c9e367db5 Catch metadata being undefined at KubeObject creation (#3960)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-03 11:57:11 -04:00
Jim Ehrismann
b27a2654e4 Use JSON patch for editing components (#3674)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-03 11:53:54 -04:00
Jim Ehrismann
96223a49fb
Merge pull request #4217 from lensapp/release/v5.2.6-beta.1
Release/v5.2.6 beta.1
2021-11-02 10:40:13 -04:00
Jim Ehrismann
507f61249c release v5.2.6-beta.1
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-02 08:50:03 -04:00
Jim Ehrismann
af17194d05 disable generateUpdatesFilesForAllChannels
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-02 08:50:03 -04:00
Jari Kolehmainen
c381a6d863 disable sentry in cluster frame (#4161)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-01 19:08:58 -04:00
Jari Kolehmainen
2b3b40192a Remove iframe completely on disconnect (#4116)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-11-01 19:08:57 -04:00
Jari Kolehmainen
6ee234619d remove unnecessary global watches in cluster view (#4073)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-11-01 19:08:57 -04:00
Jari Kolehmainen
87e4a18bb0 fix watch leak on window unload (#3858)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-11-01 19:08:57 -04:00
Jim Ehrismann
689014a0c8 Revert "Electron 13.4.0 (#3820)"
This reverts commit 65d7fca691.

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-01 19:08:57 -04:00
Jim Ehrismann
5cc663c18b
Merge pull request #4214 from lensapp/release/v5.2.6-beta.0
Release/v5.2.6 beta.0
2021-11-01 17:08:47 -04:00
Jim Ehrismann
948d21c252 make sure ubuntu-16 images are no longer used
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-01 14:26:33 -04:00
Jim Ehrismann
8327546ed7 release v5.2.6-beta.0
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-01 12:44:19 -04:00
Jari Kolehmainen
b00ca67d70 use random api prefix on kubectl-proxy (#4137)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-11-01 12:29:32 -04:00
Jari Kolehmainen
213b556014 remove cors headers from LensProxy (#4126)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-11-01 12:29:32 -04:00
Jari Kolehmainen
65d7fca691 Electron 13.4.0 (#3820)
* electron 13.4.0

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* electron 13.4.0

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* refactor deprecated window event handler

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-01 12:29:16 -04:00
Jim Ehrismann
89ee7ef8ac checkout appropriate commit of lens-ide for lens 5.2
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-01 11:54:28 -04:00
Jari Kolehmainen
bc36d48677
Release v5.2.5 (#3926)
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-10-01 17:12:01 -04:00
Panu Horsmalahti
f54fc628cf
Update electron to 12.2.1 (#3924)
* Update electron

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Update .yarnrc

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Update ubuntu version for tests.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2021-10-01 11:45:03 +03:00
Jim Ehrismann
edc7849307
Release/v5.2.4 (#3876)
* Fix long name layout in Cluster Settings (#3854)

* Fix long name layout in Cluster Settings

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Clean up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* fix missing query parameter (#3875)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* Disable log file writing on renderer (#3874)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* release v5.2.4

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-09-23 12:33:27 -04:00
Jari Kolehmainen
0485b74cf0
Merge pull request #3848 from lensapp/release/v5.2.3
Release v5.2.3
2021-09-21 10:54:43 +03:00
Jari Kolehmainen
b34230ff2c v5.2.3
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-09-21 08:38:49 +03:00
Sebastian Malton
9c516cbde4 Fix error due to async validators for <Input> (#3823)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-09-21 08:38:15 +03:00
Jari Kolehmainen
ae726f936e Fix node-fetch load on renderer (#3836)
* fix node-fetch load on renderer

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* cleanup

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* cleanup

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-09-21 08:37:17 +03:00
Sebastian Malton
249abfad67 Fix reference error when opening cluster view (#3824)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-09-21 08:36:58 +03:00
Lauri Nevala
b89a357feb
Release v5.2.2 (#3828)
* Revert "Fix check for user exec command (#3664)" (#3827)

This reverts commit 056b818ceb.

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* release v5.2.2

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-09-17 12:41:01 +03:00
Jim Ehrismann
20ca49327e
Release/v5.2.1 (#3819)
* Use PATCH verb to scale deployments and statefulsets (#3744)

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* Stop Sentry from capturing console.error and logger.error (#3785)

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* Sidebar cluster avatar (#3765)

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* Second click on list item closes the details view (#3809)

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* Fix fallback to bundled kubectl (#3812)

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* Fix cluster's accessibleNamespaces being reset on restarting Lens (#3817)

Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* Don't change permissions when deleting a cluster (#3798)

Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* Draggable region on macOS should be the same as the main header (#3800)

Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* Fix check for user exec command (#3664)

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* Fix shell connection readiness heuristic (#3795)

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* release v5.2.1

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* Fix test action

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: chh <1474479+chenhunghan@users.noreply.github.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Juho Heikka <juho.heikka@gmail.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-09-16 19:20:41 -04:00
Jim Ehrismann
a06f0c1ab4
release v5.2.0 (#3755)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-09-08 14:35:18 -04:00
Sebastian Malton
d72158cc63
Fix local cluster delete flow (#3473)
* Fix local cluster delete flow

- Now checks for the cluster being the current cluster and confirms the
  action

- <ConfirmDialog> is fixed to work with several confirmations happinging
  at once

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Custom delete cluster dialog

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Saving kubeconfig file refactoring

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Switching current-context from dialog

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Cleaning up css styles

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Show Delete menu item only for local cluster

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Make all dialogs rounded

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Releasing kubeconfig file after lock

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adding delete cluster dialog tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Cleaning up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Delete cluster dialog refactoring

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fixing typo

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Removing temp file on error

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Updating tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Do not switch context if select is hidden

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Removing spread symbols

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Moving cluster delete event from catalog initializer to ipc

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Refactor warning messages

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Getting spread (...) back to fix Select render

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Using async form without promises

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Do not show context switcher if no contexts left

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Updating the tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* don't allow delete of the active cluster before setting to new active cluster (#3749)

* don't allow user to delete the active cluster before setting to new active cluster

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* fix lint issues

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* Show delete button if no more contexts available

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
2021-09-08 15:06:14 +03:00
Jari Kolehmainen
b9aec3ad9f
don't add active entity automatically to a hotbar (#3753)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-09-08 12:06:53 +02:00
Alex Andreev
ffdf4a03cd
Use entity name as cluster name in sidebar (#3751)
* Using entity name as cluster name in sidebar

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Use entity name if preferences name is empty

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* simplify

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-09-08 12:44:23 +03:00
K.C.Ashish Kumar
9ae84182a1
Add namespace to the message. (#3732)
Signed-off-by: K.C.Ashish Kumar <ashish-kumar.kothapally-chandrakanth@broadcom.com>
2021-09-07 18:00:25 +03:00
Alex Andreev
16c4656a7d
TopBar home icon (#3740)
* Adding home button

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Highlight catalog entity on route match

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Wait for general entites to load

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adding WelcomePage catalog entity

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Highlight general entities in hotbar if their route matches

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fixing tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Moving active entities sync to helper function

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix welcome page test

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-09-07 15:18:46 +03:00
chh
995cdac328
Slow down the carousel (default is 4000 ms (#3742) 2021-09-06 16:25:21 +03:00
Jari Kolehmainen
fab2bd8c39
release v5.2.0-beta.4 (#3731)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

Co-authored-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-09-03 11:54:22 +03:00
chh
d6d66682f6
Make back/forward/refresh work the same as the arrow button in topbar (#3720)
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-09-02 14:21:36 +03:00
chh
40a2d9e05c
Fix the back/forward button on topbar (#3719)
* Check only webcontent type === 'window' instead of using webContents.getFocusedWebContents(), as other webview can capture focus

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>

* Update test

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-09-02 14:21:17 +03:00
dependabot[bot]
fd1d9c6d35
Bump serializr from 2.0.3 to 2.0.5 (#3710)
Bumps [serializr](https://github.com/mobxjs/serializr) from 2.0.3 to 2.0.5.
- [Release notes](https://github.com/mobxjs/serializr/releases)
- [Changelog](https://github.com/mobxjs/serializr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mobxjs/serializr/compare/v2.0.3...v2.0.5)

---
updated-dependencies:
- dependency-name: serializr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-02 13:28:02 +03:00
chh
366a2f99a1
Make ipc.boradcast not stopping at uncaught exceptions, improve typing, improve error logs (#3717)
* Improve typing, print better error message instead of stop at throwing at view.getType(); continue to send to subframe even if one throws

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>

* Remove console.log

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>

* Remove extra line

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-09-02 13:20:18 +03:00
dependabot[bot]
56c35da046
Bump @types/react-window from 1.8.2 to 1.8.5 (#3689)
Bumps [@types/react-window](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-window) from 1.8.2 to 1.8.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-window)

---
updated-dependencies:
- dependency-name: "@types/react-window"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-02 11:30:18 +03:00
dependabot[bot]
9f19fb4e22
Bump @types/module-alias from 2.0.0 to 2.0.1 (#3690)
Bumps [@types/module-alias](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/module-alias) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/module-alias)

---
updated-dependencies:
- dependency-name: "@types/module-alias"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-02 11:02:40 +03:00