Lauri Nevala
2650cdc1c6
Merge branch 'master' into feature/tray
2020-10-22 09:30:00 +03:00
Jim Ehrismann
4a15e65fea
fix cluster page integration test ( #1088 )
...
(make it independent of prometheus metrics install)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2020-10-17 09:36:48 +03:00
steve richards
c0b8d472a0
Add LoadBalancer information to the Ingress view ( #1064 )
...
Signed-off-by: Steve Richards <srichards@mirantis.com >
2020-10-16 17:13:18 +03:00
steve richards
bf20a15819
Added Last Status information for Container ( #1041 )
...
Signed-off-by: Steve Richards <srichards@mirantis.com >
2020-10-16 17:12:13 +03:00
Lauri Nevala
bdd0f0b604
Fetch Helm available repositories from Artifact HUB cache ( #1090 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-10-16 17:10:37 +03:00
Roman
457171dd00
navigation refactoring, move out buildUrl to common/utils so react and react-router not required as package.json dependecies in runtime (main)
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-16 13:58:20 +03:00
Alex Andreev
073b8a43f2
Preloading previous logs on scroll ( #1079 )
...
* Preload logs when scrolled to top
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding JumpToBottom button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Moving jump-to-bottom button to right
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding old/new logs separator
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Increase font-size in jump to bottom button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Moving newLogsSince determination out of component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move newLogSince from storage data to observable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove notiifications on log loading errors
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Transform logs into array in store
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove excessive join('\n\)s
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding pod and namespace data to log controls panel (#1083 )
* Move log controls into separate file
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Changing prev container logs icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing 'Logs' from the tab title
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove unused string template quotes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Hide JumpToBottom btn on error
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove mention about dialog
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-10-16 12:46:16 +03:00
Roman
8097ca5af8
clean-up
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-16 12:28:41 +03:00
steve richards and Steve Richards
6e4fa31a49
Sort Pod environment values in alphabetical order ( #1075 )
...
* Sort Pod environment values in alphabetical order
Fixes : #739
Signed-off-by: Steve Richards <srichards@mirantis.com >
* Consolidated to a single lodash import. Corrected Lint failure
- Removed the additional import of flatten and updated as needed;
- Changed the variabled `orderedEnv` to be a const;
Signed-off-by: Steve Richards <srichards@mirantis.com >
Co-authored-by: Steve Richards <srichards@mirantis.com >
2020-10-16 10:46:30 +03:00
Roman
b111b76109
yarn i18n.extract
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-15 15:27:55 +03:00
Roman
b0d192309a
Merge remote-tracking branch 'origin/master' into feature/tray
...
# Conflicts:
# locales/en/messages.po
# locales/fi/messages.po
# locales/ru/messages.po
2020-10-15 15:26:53 +03:00
Roman
aeac903c23
chore
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-15 15:23:41 +03:00
Sebastian Malton
087ebf6aec
extract internationalizations ( #1086 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-10-14 12:44:16 -04:00
Roman
78b199b719
fix-build: invisible app icon when there are more files within "build/icons/*.png"
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-14 18:12:13 +03:00
Lauri Nevala and Sebastian Malton
00f8f030d5
Fix integration tests ( #1080 )
...
* Fix integration tests
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Update integration/helpers/utils.ts
Co-authored-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
Co-authored-by: Sebastian Malton <sebastian@malton.name >
2020-10-14 17:33:28 +03:00
Roman
3c668c47bf
moved generating tray icons to build step
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-14 17:29:15 +03:00
Lauri Nevala
81575b333a
Fix KubeAuthProxy unit tests ( #1084 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-10-14 17:10:58 +03:00
Sebastian Malton
770c6b80f1
move autobind and debouncePromise to common/utils ( #1081 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-10-14 14:36:19 +03:00
Jari Kolehmainen
78f6f8ef54
Fix bundled kubectl path on dev env ( #981 )
...
* fix bundled kubectl path on dev env
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix specs
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-10-14 14:35:33 +03:00
steve richards and Steve Richards
db9af88d91
Updated regex for isUrl to allow for an empty string ( #1049 )
...
Updated regex for isUrl to allow for an empty string aswell as a correct URL.
Signed-off-by: Steve Richards <srichards@mirantis.com >
Co-authored-by: Steve Richards <srichards@mirantis.com >
2020-10-14 14:34:04 +03:00
Lauri Nevala
38796e582b
Fix integration test teardown ( #1082 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-10-14 14:26:09 +03:00
Roman
1b38e6cda6
handle quit app action from tray menu
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-12 18:54:31 +03:00
Roman
5c9db14f4b
- hide icon in dock when main-window closed (mac-os only)
...
- added preferences checkbox to open app at system start-up
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-12 18:41:46 +03:00
Alex Andreev
83b8fa9d98
Ability to show previous terminated container logs ( #1074 )
...
* Show previous terminated container logs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix for parsing error object
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-10-12 15:58:18 +03:00
Roman
52b447948d
adding cluster fix (reverted changes from master)
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-12 14:05:28 +03:00
Roman
2b37fe3cc1
removed delay from base-store
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-12 13:50:32 +03:00
Roman
addc220b9f
removed redundant tray window
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-12 13:46:56 +03:00
Roman
be6f0180e1
Merge remote-tracking branch 'origin/master' into feature/tray
...
# Conflicts:
# src/renderer/components/+add-cluster/add-cluster.tsx
# src/renderer/components/+cluster-settings/cluster-settings.tsx
2020-10-12 12:14:40 +03:00
steve richards and Steve Richards
4fcac6b0d0
Added additional checks on the command used in the Exec plugin in a kubeconfig ( #1013 )
...
- Added check to see if the program being referenced in the command field of the
exec object in the User construct exists. If it doesn't an error will be raised.
If more than 1 context is selected when adding a kubeconfig then valid contexts
will be added and any with an error will not be.
Signed-off-by: Steve Richards <srichards@mirantis.com >
Co-authored-by: Steve Richards <srichards@mirantis.com >
2020-10-12 10:20:08 +03:00
Lauri Nevala
daa4992f2b
Start authentication proxy when opening cluster settings ( #1063 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-10-12 10:10:30 +03:00
Alex Andreev
dc07d646ec
Align NamespaceSelect and SearchField ( #1073 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-10-12 10:08:57 +03:00
Alex Andreev
f4f0cba6ca
Moving Pod logs into Dock panel ( #1043 )
...
* Moving pod logs into Dock
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Always set up default container
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Open existent tab if fount
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Moving logs load and properties into store
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Setting a refresher
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding showButtons prop to InfoPanel
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Hiding sequence number in log tabs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing PodLogsDialog
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing unused PodLogsDialog import
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Tiny cleaning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* A bit of cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Hiding drawer when opening logs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-10-11 19:36:19 +03:00
Roman
a3b6efd937
fix: hide traffic-light buttons for tray window
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-11 17:34:43 +03:00
Sebastian Malton
0960259279
Add some basic unit tests for the following files: ( #1050 )
...
* Add some basic unit tests for cluster, kube-auth-proxy, and kubeconfig-manager
- src/main/cluster.ts
- src/main/kube-auth-proxy.ts
- src/main/kubeconfig-manager.ts
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-10-09 11:25:20 -04:00
Roman
c458b685a0
chore
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-08 10:13:02 +03:00
Roman
fb8c57b898
fix: ensure main-window from global menu
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-07 23:37:31 +03:00
Roman
a2c39358ef
small fix
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-07 23:31:52 +03:00
Roman
aac4eb1a3e
allow to close main window and re-open from dock or tray icon
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-07 21:09:54 +03:00
Roman
1a0b5c1d79
Merge remote-tracking branch 'origin/master' into feature/tray
...
# Conflicts:
# src/renderer/components/cluster-manager/cluster-view.tsx
2020-10-07 15:52:45 +03:00
Lauri Nevala
abe6a4e0b1
Fix cluster dashboard opening when cluster is initally offline ( #1042 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-10-07 15:27:48 +03:00
Roman
fc20733dde
fix: refresh icon after turning on/off + switching dark-mode
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-07 14:01:20 +03:00
Roman
43ea13cfc3
- switching dark/light icon depending on os-x theme settings
...
- optimization: don't re-create tray icon on menu udpates (avoid blinking)
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-07 13:21:09 +03:00
Lauri Nevala
44ce51613b
Release v3.6.6 ( #1033 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-10-07 10:17:31 +03:00
Sebastian Malton
21bdc6ba8f
add resizing capabilities to the side bar ( #1009 )
...
* add resizing capabilities to the side bar
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-10-06 13:33:23 -04:00
Roman
ec50c411a4
fix build version (cannon find module 'react')
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-06 16:47:11 +03:00
Roman
6e975fa4b6
add checkbox indication, setActive workspace on cluster select
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-06 16:31:14 +03:00
Roman
fdb5368914
allow to tweak svg-icon before applying as tray-icon
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-06 15:17:26 +03:00
Sebastian Malton and Sebastian Malton
87061cee9e
Refactor testing harness to use defaults ( #808 )
...
* Refactor testing harness to use defaults
- Move tests into defaultly named test folders
- Use default test suffix of ".test" instead of "_test"
- Make cluster-store tests unit tests by adding more
nesting, so that order of tests doesn't matter
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Co-authored-by: Sebastian Malton <smalton@mirantis.com >
2020-10-02 10:05:59 -04:00
Roman
8797f0af6f
allow to disable tray from preferences
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-02 15:55:02 +03:00
Alex Andreev
14d3d88278
Fix: check for location bevore navigate ( #1016 )
...
* 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 >
2020-10-02 14:33:29 +03:00