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

158 Commits

Author SHA1 Message Date
Roman
b8eaa657a2 added tooltip to cluster-icon.tsx, continue debugging windows-manager...
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-14 15:55:04 +03:00
Roman
79e5d6eddc fixes / refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-14 15:39:35 +03:00
Roman
fbcb2fd281 apis / clusters-menu refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-14 15:04:26 +03:00
Roman
4e88715b8d PoC: first run
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-13 19:32:55 +03:00
Roman
a2b5ebb1dc api-fixes
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-13 12:00:13 +03:00
Roman
002176ac25 clean up
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-12 14:30:22 +03:00
Roman
aab91863fc auto-refresh status only for active (selected) cluster
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-12 13:41:05 +03:00
Roman
e7fc6b4a35 kubeconfig-manager.ts fixes / refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-12 12:49:11 +03:00
Roman
40da87c0ef port.ts refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-12 10:40:37 +03:00
Roman
62eb0fa592 fixes
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-11 19:22:34 +03:00
Roman
35f081eaf4 refactoring / fixes
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-11 19:09:22 +03:00
Roman
186d69dfc6 router refactoring / added more types
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-11 16:42:36 +03:00
Roman
5eca8bc01c clean up / fixes
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-11 16:19:38 +03:00
Roman
e72e28ddab refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-11 11:32:29 +03:00
Roman
8bb3954700 clean up, debugging
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-10 23:48:57 +03:00
Roman
33d7036939 refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-10 19:39:47 +03:00
Roman
6df56b5471 cluster-manager view
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-10 12:47:50 +03:00
Roman
b05ed9822d window-manager tweaks
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-10 05:15:56 +03:00
Roman
25e904d2d5 night insomnia clean-up, part 2
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-10 02:22:53 +03:00
Roman
e1acf7e3d0 night insomnia clean-up
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-10 01:17:00 +03:00
Roman
0e8187c2b0 window-manager refactoring -- part 2
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-09 21:38:39 +03:00
Roman
cac4896517 window-manager refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-09 20:15:15 +03:00
Roman
ce1cccc965 upgrade electron to latest version
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-09 17:24:13 +03:00
Roman
a440f60ea3 clusters-menu
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-09 12:29:46 +03:00
Roman
ba4f5cb47d workspaces: extract bottom-bar to separated component
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-09 10:53:01 +03:00
Roman
507e2dcfee refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-08 22:59:33 +03:00
Roman
4a06f65cb8 added workspaces layout, more refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-08 17:22:53 +03:00
Roman
b9089a7c5e more react dummy files
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-08 13:32:47 +03:00
Roman
434f26f17f added dummy react files for replacing vue-components
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-08 12:58:49 +03:00
Roman
1f26f0b3a7 epic: getting rid of vue -- part 2
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-08 12:12:11 +03:00
Roman
63de5fce3c epic: getting rid of vue -- part 1
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-08 01:37:31 +03:00
Roman
cf00debb33 added tracking cluster-manager's ipc events
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-07 21:13:23 +03:00
Roman
f474a20904 cluster-store refactoring -- part 3
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-07 20:46:46 +03:00
Roman
bde60b1625 added common/ipc-helpers
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-07 15:10:43 +03:00
Roman
17cd886ce6 cluster-store refactoring -- part 2
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-06 17:07:17 +03:00
Roman
9f9701544b fix type imports
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-06 14:35:11 +03:00
Roman
afb54694f4 cluster-store refactoring -- part 1
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-06 14:31:34 +03:00
Roman
d4bbaf4f34 workspace-store refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-06 11:33:51 +03:00
Roman
a27ce9cf8b use common/base-store for config-file based stores (e.g. user-store)
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-06 10:33:14 +03:00
Roman
5c8dd89a88 incorrect seen context update -- fixed vue-store mutation
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-05 23:00:19 +03:00
Roman
9244e8f58e user-store: more fixes 2
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-05 22:45:39 +03:00
Roman
397d7c5137 user-store: more fixes
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-05 21:10:31 +03:00
Roman
9d42b2c025 user-store: more debug logging
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-05 20:54:29 +03:00
Roman
387bc07dbc fix errors
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-05 20:50:06 +03:00
Roman
deea97ec5c added "logger" to user-store
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-05 20:19:47 +03:00
Roman
4270ec4240 tracker / user-store refactoring, part 1
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-05 17:16:50 +03:00
Roman
c9fb015bcf master-merge fixes
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-04 13:01:15 +03:00
Roman
f9c0c5d825 Merge remote-tracking branch 'origin/master' into vue_react_migration
# Conflicts:
#	src/common/cluster-store.ts
#	src/common/cluster-store_spec.ts
2020-07-04 12:50:23 +03:00
Roman
e7975ec71f clean up
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-03 17:33:59 +03:00
Roman
776fc4462c use common/utils/singleton class for the stores
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-03 16:57:31 +03:00
Jussi Nummelin
55687b7d35
Kubeconfigs as file references (#466)
Signed-off-by: Jussi Nummelin <jussi.nummelin@gmail.com>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-07-03 16:53:23 +03:00
Roman
d7cffeb7a8 store migrations refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-03 14:15:35 +03:00
Lauri Nevala
c15aa7972c
Remove redundant applyHeaders method (#469)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-07-03 11:22:58 +03:00
Jari Kolehmainen
69778d5dcc
Show devtools always in menu (#559)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-07-03 11:13:53 +03:00
Jari Kolehmainen
097776411f
Use LensDev on development environment (#557)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-07-03 08:32:12 +03:00
Roman
5f4e1253a9
Replace webview tag to iframe (#554)
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-02 17:31:59 +03:00
Roman
d90be46a1f
use common vars in router, minor clean up (#551)
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-02 17:21:38 +03:00
Roman
b7974827d2
Lens restructure (#540)
Signed-off-by: Roman <ixrock@gmail.com>
2020-06-30 14:35:16 +03:00
Lauri Nevala
907e96c7a0
Fix lint issue (#516) 2020-06-24 13:43:12 +03:00
Jim Ehrismann
cd66a985cc
modified Kubectl.checkBinary() to test the binary for the right version instead of using the eTag (#510)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2020-06-23 15:54:18 +03:00
Sebastian Malton
f620b3198f
Fix pasting unicode into terminal sometimes not working (#492)
* add LANG env with UTF-8 specified

* fix precedence of union of env objects

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-06-23 08:37:35 -04:00
Lauri Nevala
b8c1d78157
Open external links in web browser (#506) 2020-06-22 23:27:49 +03:00
Sebastian Malton
bce7aec87d
Fix parseAPI not working with non-"namespaces" pathnames. (#450)
* fix parseApi not accepting versions that don't start with 'v'
* add unit tests

Signed-off-by: Sebastian Malton <smalton@mirantis.com>
Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-06-16 10:51:39 -04:00
Jari Kolehmainen
47082adecd
Fix shell env cache (#461)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-15 14:02:44 +03:00
Sebastian Malton
8f0c785f58
Revert "Fix parseApi not accepting versions that don't start with 'v' (#441)" (#448)
This reverts commit 00557c9940.
2020-06-12 07:34:07 +03:00
Sebastian Malton
00557c9940
Fix parseApi not accepting versions that don't start with 'v' (#441)
* fix parseApi not accepting versions that don't start with 'v'

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-06-11 13:19:01 -04:00
Jari Kolehmainen
8e514df70e
Track telemetry pref changed event (#445)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-11 13:50:43 +03:00
Lauri Nevala
78eeef2805
Close proxy server on app quit (#413)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-10 17:00:17 +03:00
Jari Kolehmainen
deb4bf2f7b
Integration tests using spectron (#410)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-09 13:18:24 +03:00
Lauri Nevala
af24da976b
Kill shell process by pid on Windows (#411)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-09 13:16:39 +03:00
Jari Kolehmainen
ac03982c80
Change community slack urls (#405)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-05 09:11:35 +03:00
Jon Stelly
9b680640c9
Add arch node selector for hybrid clusters (#400)
Signed-off-by: Jon Stelly <967068+jonstelly@users.noreply.github.com>
2020-06-05 08:41:08 +03:00
Jari Kolehmainen
a7cb8d2d04
Dynamic dashboard UI based on RBAC rules (#366)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-05 08:38:56 +03:00
dave93cab
0248189c45
typo/translation correction: transit to transmit (#359)
Signed-off-by: Dave Thomas <davejonthomas@gmail.com>
2020-06-04 12:44:08 +03:00
Jari Kolehmainen
50dfd4fa63
Unify scrollbars/paddings across supported OS (#367)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-01 15:42:34 +03:00
Jari Kolehmainen
ac32a3686e
Remove Kontena reference from Lens logo (#357)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-12 20:36:58 +03:00
Adam Malcontenti-Wilson
e21e0b577b
Replace admin check with check for access (#297)
Signed-off-by: Adam Malcontenti-Wilson <adman.com@gmail.com>
2020-05-09 18:25:34 +03:00
Jari Kolehmainen
5cd00bd77a
Prometheus provider/path related ui fixes (#354)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-09 09:04:38 +03:00
Lauri Nevala
bba6eb743d
Add support for Prometheus api prefix (#341)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-05-06 20:37:32 +03:00
Jari Kolehmainen
5c1974f07b
Auto-detect prometheus installation (#343)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-06 18:55:49 +03:00
Alexis Deruelle
6412d73a5a
Fix port availability test (#333)
* Let OS allocate port number

Port availability might be tricky if some port is already in use on the
'all' interface '0.0.0.0'.

The proposed solution is to let the OS allocate the port for us using 0
as port specifier :

- first create a server instance to allocate a port number
- save port number
- close the server
- return the port number to the caller

This should be safe granted the OS doesn't reuse the port numbers on
consecutive port allocations.

see :
- about Node.js Net module : https://nodejs.org/docs/latest-v12.x/api/net.html#net_server_listen_port_host_backlog_callback
- about safety around reusing port number : https://unix.stackexchange.com/a/132524

Signed-off-by: Alexis Deruelle <alexis.deruelle@gmail.com>
2020-05-05 07:31:58 +03:00
Jari Kolehmainen
8d2e8bbe62
Delay webview create on cluster page (#332)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-03 10:29:32 +03:00
Jari Kolehmainen
03aab714d8
Fix no-drag css (#331)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-01 10:39:53 +03:00
Lauri Nevala
724cf0c687
Allow to select Prometheus query style (#312)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-05-01 09:37:05 +03:00
Jari Kolehmainen
b371e8e9f8
Fix node shell session regression (#326)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-30 17:05:45 +03:00
Jari Kolehmainen
0f708c7fc5
improve dashboard reload (#327)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-30 16:52:04 +03:00
Jari Kolehmainen
260de08c72
Update metrics feature components (#301)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-28 08:41:04 +03:00
Jari Kolehmainen
b8fd4040a1
Terminal tab auto-close fixes (#314)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-28 08:31:22 +03:00
Jari Kolehmainen
105021509c
Cleanup cluster webview loading (#313)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-28 08:26:27 +03:00
Jari Kolehmainen
81c7590732
Cache terminall shell env (#274)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-21 19:49:23 +03:00
Lauri Nevala
01e2ef50b1
Update @kubernetes/client-node to 0.11.1 (#278)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-04-20 16:17:59 +03:00
Lauri Nevala
ac552087d5
Do not timeout watch requests (#273)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-04-19 17:48:14 +03:00
Jari Kolehmainen
298636b8f1
Fix default workspace remove (#242)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-13 18:21:25 +03:00
Jari Kolehmainen
d80e956870
Fix use of bundled kubectl (#241)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-11 17:48:29 +03:00
Miska Kaipiainen
758034f61a
Clean up legacy references to Kontena (#216)
Signed-off-by: Miska Kaipiainen <miska.kaipiainen@gmail.com>
2020-04-11 14:38:53 +03:00
Jari Kolehmainen
806d8c6716
Initial port-forward implementation for services (#231)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-10 11:05:37 +03:00
Jari Kolehmainen
8c348f076e
Fix bundled helm3 binary on windows (#233)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-09 17:58:12 +03:00
Jari Kolehmainen
f23da9ccad
Bundle helm3 binary (#220)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-06 18:18:18 +03:00
Jari Kolehmainen
2593f70184
Always end watch stream if connection to kube-api ends (#217)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-04 18:26:42 +03:00
Lauri Nevala
b95e45b75b
Catch ipc errors on proxy exit (#214)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-04-03 19:50:41 +03:00