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

319 Commits

Author SHA1 Message Date
Sebastian Malton
df47d1713c
Fix auto-update to use Lens notifications, and add update confirmation (#1831)
- Add auto-update and pre-release update user settings

- Add settings in user preferences for auto-updating (default false) and
  for allowing pre-release versions (default false)

- Use in-Lens notifications instead of OS notifications as those were
  found to be flaky

- Add rudimentary main->renderer notification system.

- Remove options, always confirm, never auto prelease

- Changed "yes later" to "yes on quit"

- move register IpcHandlers

- use moment instead of dateformat

- moved formatting notification buttons to renderer

- move to RenderButtons as function component

- explicitly only send notifications to main view

- move delay to utils, always retry even if check failed

- fix notification rendering and disabled the auto-updater for integration tests

- update integration runner to output logs on failure

- pin minikube version

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-01-11 09:08:47 -05:00
Lauri Nevala
1a4b6cddb5
Release v3.6.9 (#1470)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-11-21 12:08:42 +02:00
Lauri Nevala
1f59171241
Use latest alpine version (3.12) for shell sessions (#1384) (#1468)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

Co-authored-by: techknowlogick <matti@mdranta.net>
2020-11-20 13:58:10 +02:00
Lauri Nevala
0eeb53aa2b
kube-auth-proxy: accept only target cluster hostname (#1466)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-20 13:04:40 +02:00
Lauri Nevala
6a815edecd
Add app focus event tracking (#1464)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-11-20 13:04:12 +02:00
Lauri Nevala
a50fb348b1
Fix TypeError: Cannot read property 'stopServer' of undefined (#1467)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-20 13:03:48 +02:00
Lauri Nevala
c92d1e614a
Catch errors when responding from proxy error (#1465)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-11-20 13:03:22 +02:00
Lauri Nevala
5d077b0bb4
Release v3.6.8 (#1309)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-11-10 17:06:21 +02:00
Lauri Nevala
b4ded19341
Fix UI staleness after network issues (#1192) (#1306)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-10 13:09:01 +02:00
Lauri Nevala
ca8a28d58f
Fix proxy upgrade socket timeouts (#1190) (#1249)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-06 15:29:14 +02:00
Lauri Nevala
c4804de6f6
Test is user cluster admin on cluster activate (#1122)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-10-23 20:35:16 +03:00
Lauri Nevala
ffc1f0b2e5
Fetch Helm available repositories from Artifact HUB cache (#1121)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-10-23 20:34:51 +03:00
Lauri Nevala
3281803e1e
Start authentication proxy when opening cluster settings (#1063) (#1120)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-10-23 20:34:19 +03:00
Lauri Nevala
59f2661395
Release v3.6.7 (#1045)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-10-08 13:09:57 +03:00
Lauri Nevala
57f013d102
Fix cluster dashboard opening when cluster is initially offline (#1044)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-10-07 15:42:46 +03:00
Lauri Nevala
62e1829242
Release v3.6.6 (#1031)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-10-06 14:49:34 +03:00
Lauri Nevala
757505f8e9
Fix: check for location bevore navigate (#1026)
* Check for location before navigate

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

* Handling every location type

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

Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-06 08:41:07 +03:00
Lauri Nevala
f0f7885971
Adding space after drawer badges (#1025)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-06 08:40:35 +03:00
Lauri Nevala
eba395c39e
Fix cluster dashboard opening and state refreshing (#1008)
* Fix cluster dashboard opening and state refreshing (#1006) 

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-10-02 15:00:41 +03:00
Lauri Nevala
f9b5ba6980
Release v3.6.5 (#1004)
* Release v3.6.5

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-30 21:54:12 +03:00
Alex Andreev
3d0b843891
Preventing drawer close on secret's click (#1003)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-09-30 16:54:21 +03:00
Jakub Štiller
f596b3c45c
Fix CPU/Memory usage metrics when using prometheus operator. (#632)
Cluster CPU and Memory usage cannot be sum by node as it is rendered as single cluster metrics. Without this changes, the cluster graphs (standard and pie) shows data only from first (or latest) nodes.

For pod specific metrics, when we use prometheus operator the `container_` metics are doubled. Restric search to get those have image tag.

Signed-off-by: Jakub Štiller <stiller@2n.cz>

Co-authored-by: Jakub Štiller <stiller@2n.cz>
2020-09-30 14:56:22 +03:00
Jari Kolehmainen
8823c6f5f2
Terminal: set NO_PROXY env for localhost communication (#982)
* terminal: set NO_PROXY env for localhost communication

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-30 14:08:42 +03:00
Lauri Nevala
c049918d25
Add support for Docker Enterprise Container Cloud metrics (#998)
* Add support for Docker Enterprise Container Cloud metrics

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-30 14:02:18 +03:00
Sebastian Malton
c542ad0348
refactor overview statuses to be more DRY (#912)
* refactor overview statuses to be more DRY

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-09-29 11:25:29 -04:00
Alex Andreev
459742556b
Fix CRD conditions rendering (#994)
* Using reason field if no type provided

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

* Lowecasing condition badge class

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-09-29 10:58:16 +03:00
Sebastian Malton
34e141e517
make namespace filter multi select and change onChange (#987)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-09-28 10:30:23 -04:00
Yangjun Wang
bc228c9e36
display last-applied-configuration annotation in detail-view, but filter it in search fields still (#943)
Signed-off-by: Yangjun Wang <yangjun.wang@wartsila.com>

Co-authored-by: Yangjun Wang <yangjun.wang@wartsila.com>
2020-09-28 17:24:54 +03:00
Jim Ehrismann
6b231c97aa
adding more integration tests (#890)
* adding more integration tests
reorganized tests, added ability to skip cluster tests if minikube is not ready
introduced INTEGRATION_TESTS namespace for sandboxing the cluster tests
added cluster page tests

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2020-09-28 08:40:55 -04:00
Alex Andreev
163b34463b
Removing pre-defined input type (#984)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-09-28 14:59:35 +03:00
Lauri Nevala
9702c645b4
Release v3.6.5-rc.1 (#974)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-28 09:19:01 +03:00
Lauri Nevala
13b99afa21
Add migration to fix kubeconfig paths that point to snap config dir (#972)
* Add migration to fix kubeconfig paths that point to snap config dir

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-25 15:13:20 +03:00
Lauri Nevala
950fd6528f
Fix kubeconfig fetching for service account (#966)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-25 15:04:48 +03:00
Jari Kolehmainen
1168abfa32
Helm 3.3.4 (#964)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-09-25 13:08:06 +03:00
Lauri Nevala
265aa41968
Fix reading CRD conditions (#967)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-25 12:59:12 +03:00
Lauri Nevala
d0f1d7b74b
Do not filter contexts when adding new clusters (#969)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-25 12:58:38 +03:00
Jari Kolehmainen
51b21347da
cleanup proxy upgrade handler (#963)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-09-24 18:14:57 +03:00
Sebastian Malton
5401c99298
Helm components should always use version information (#949)
* clean up code to catch rejections

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-09-24 09:54:26 -04:00
Jari Kolehmainen
d20f890ddb
Fix spdy proxy (#962)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-09-24 16:53:49 +03:00
Sebastian Malton
5b6b19036d
dropdowns should have 'cursor: pointer;' (#956)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-09-24 09:21:56 -04:00
Jari Kolehmainen
11ea9d2098
Fix iframe ipc flakyness after cluster is removed (#954)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-09-24 15:24:39 +03:00
Lauri Nevala
386e7c63bb
Convert bytes in memory BarChart properly (#947)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-24 14:54:09 +03:00
Lauri Nevala
fe4a63a955
Allow to add the same cluster to multiple workspaces (#961)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-24 14:30:44 +03:00
Sebastian Malton
b88c0d4fbf
Make download dir option consistent with other settings (#875)
* make download dir option consitent with other settings

* make path to kubectl setting consistent

Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-23 08:57:51 -04:00
Sebastian Malton
2f53e76060
reduce height on draggable-top and only render it on macos (#942)
* reduce height on draggable-top and only render it on macos

* move drag bar out of app and into bootstrap

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-09-23 08:57:34 -04:00
Sebastian Malton
7f6ae6e8c3
Auto select one and only cluster from pasted config (#888)
* Auto select one and only cluster from pasted config

- Disable add button with tooltip if no clusters are selected
- Add functionality to tooltip to display correctly over disabled
  elements

* feature should work of any method of adding kube config

Signed-off-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-09-21 16:11:43 -04:00
Lauri Nevala
c82b54d5d7
Release v3.6.4 (#941)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-21 22:33:53 +03:00
Yangjun Wang
cb3ab09b42
fix side bar scrolls after clicking on lower item (#928)
* fix bug: side bar scrolls after clicking on lower item

Signed-off-by: Yangjun Wang <yangjun.wang@wartsila.com>

* fix issue main area missing issue, add mobx observer to TabLayout

Signed-off-by: Yangjun Wang <yangjun.wang@wartsila.com>

Co-authored-by: Yangjun Wang <yangjun.wang@wartsila.com>
2020-09-21 22:18:41 +03:00
Sebastian Malton
9a10db837e
fix Notifications blocking items not visually under them from being interacted with (#915)
* fix Notifications blocking items not visually under them from being interacted with

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-09-21 14:47:44 -04:00
Lauri Nevala
78ab6f016b
Fix background of What's New page with white theme (#940)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-21 16:47:51 +03:00