1
0
mirror of https://github.com/lensapp/lens.git synced 2024-11-10 10:36:25 +03:00
Commit Graph

576 Commits

Author SHA1 Message Date
dependabot[bot]
85a0197029
Bump ace-builds from 1.4.11 to 1.4.12 (#2071)
Bumps [ace-builds](https://github.com/ajaxorg/ace-builds) from 1.4.11 to 1.4.12.
- [Release notes](https://github.com/ajaxorg/ace-builds/releases)
- [Changelog](https://github.com/ajaxorg/ace-builds/blob/master/ChangeLog.txt)
- [Commits](https://github.com/ajaxorg/ace-builds/compare/v1.4.11...v1.4.12)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-08 09:58:45 -04:00
dependabot[bot]
4807a193f1
Bump @testing-library/react from 11.1.0 to 11.2.6 (#2416)
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 11.1.0 to 11.2.6.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v11.1.0...v11.2.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-08 09:58:07 -04:00
Alex Andreev
da196387b8
Revert "Wrapping ReactSelect styles into CacheProvider (#2365)" (#2419)
This reverts commit 69200b50c7.

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-31 10:23:43 -04:00
Sebastian Malton
503a49261e
Fix unit tests and make tests fail if a promise rejects after the test harness is finishes (#2034) 2021-03-30 10:14:05 -04:00
Alex Andreev
69200b50c7
Wrapping ReactSelect styles into CacheProvider (#2365)
* Wrap app into emotion CacheProvider to isolate styles

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

* Fix CacheProvider key

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

* Moving CacheProvider into more specific components

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

* Align @emotion/react & @emotion/cache version with ones inside react-select

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

* Covering more components with CacheProvider

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

* Changing emotion versions a bit more

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

* Moving CacheProvider into bootstrap

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

* Updating react-select types

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

* A bit of cleaning up types

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

* Specifying types a bit more

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

* Fix gradients in namespace selector

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

* Importing types separately

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

* Using generic NonceProvider in bootstrap

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-30 12:05:41 +03:00
Sebastian Malton
498c7defe9
release v4.2.0-rc.3 (#2400)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-29 11:28:13 -04:00
Sebastian Malton
34712dd51f
release v4.2.0-rc.2 (#2378)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-24 10:22:35 -04:00
Sebastian Malton
b066fb3527
release v4.2.0-rc.1 (#2339)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-18 10:28:06 -04:00
Roman
aedcc6d70e
Persist local-storage in external json-file (#2279) 2021-03-18 08:36:34 -04:00
Alex Andreev
5c373a886c
Navigation menu in Preferences (#2304) 2021-03-15 08:57:19 -04:00
Sebastian Malton
7d1b5e4627
Release 4.2.0-beta.1 (#2318)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-12 10:29:29 -05:00
Alex
1b0f56f417
VSCode launch configurations for debugging (#2281)
* Add configuration for debugging integration tests

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Add launch configuration for debugging main process

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Continue polishing debug configurations

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Remove unnecessary dependency

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Add debug configuration for unit tests + cleanup vscode tasks

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Update src/renderer/bootstrap.tsx

Add `await` keyword to debugger attachment

Co-authored-by: chh <1474479+chenhunghan@users.noreply.github.com>
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Update src/renderer/bootstrap.tsx

Co-authored-by: chh <1474479+chenhunghan@users.noreply.github.com>
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Use existing  variable to wait for chrome debugger attachment

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Update src/renderer/bootstrap.tsx

Use available helper function instead of raw promise

Co-authored-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Import delay utility

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Move async function to async context (attaching debugger)

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

Co-authored-by: Alex Culliere <alozhkin@mirantis.com>
Co-authored-by: chh <1474479+chenhunghan@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-03-09 17:57:55 +02:00
Sebastian Malton
e69d008d59
Update copyright year (#2286)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-05 12:26:58 -05:00
Sebastian Malton
d9daa94c61
Release 4.2.0-alpha.1 (#2285) 2021-03-05 12:26:36 -05: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
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
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
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
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
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
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
e3e0b272bc
Release v4.1.0-beta.2 (#2106)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-09 19:52:21 +02:00
Roman
741973dd29
Fix: export Dialog to extensions-api (#2105)
Signed-off-by: Roman <ixrock@gmail.com>
2021-02-09 17:33:27 +02:00
Jari Kolehmainen
035dd470ef
Refactor watches to use native k8s api (#2095)
* fix lint

Signed-off-by: Roman <ixrock@gmail.com>

* fixes & refactoring

Signed-off-by: Roman <ixrock@gmail.com>

* fix lint, micro-refactoring

Signed-off-by: Roman <ixrock@gmail.com>

* more refactoring, clean up, responding to comments

Signed-off-by: Roman <ixrock@gmail.com>

* fix: remove extra check for cluster.allowedApi from processing buffered watch-api events

Signed-off-by: Roman <ixrock@gmail.com>

* refactoring, detaching NamespaceStore from KubeObjectStore

Signed-off-by: Roman <ixrock@gmail.com>

* fix: wait for contextReady in NamespaceStore

Signed-off-by: Roman <ixrock@gmail.com>

* refactoring & fixes

Signed-off-by: Roman <ixrock@gmail.com>

* fix lint

Signed-off-by: Roman <ixrock@gmail.com>

* fixes: reloading context stores on NamespaceSelect-change

Signed-off-by: Roman <ixrock@gmail.com>

* optimize loading all resources when "all namespaces" selected -> single request per resource (when have rights)

Signed-off-by: Roman <ixrock@gmail.com>

* use native k8s api watches

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

* retry watch when it makes sense

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

* workaround for browser connection limits

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>

* use always random subdomain for getResponse

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

* resubscribe stores on contextNamespace change

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

* fix

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

* modify watch event before calling callback

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

Co-authored-by: Roman <ixrock@gmail.com>
2021-02-09 15:31:15 +02:00
Jari Kolehmainen
6ded5e73fa
Release v4.1.0-beta.1 (#2101)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-09 13:09:50 +02:00
Lauri Nevala
a0e24e0a4d
In-app survey extension (#1945)
* Initial in-app survey implementation

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

* Add surveyId fetching and store integration

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

* Add empty line

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

* Fix typos

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

* Use async version of machineId + refactoring

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

* Update preferences hint text

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

Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-04 18:22:22 +02:00
Jari Kolehmainen
f56969a64b
Fix snap packaging (#2081)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-04 10:29:35 +02:00
Jari Kolehmainen
2c99cd0429
Release v4.1.0-alpha.2 (#2064)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-03 18:24:12 +02:00
dependabot[bot]
068ab855c1
Bump @typescript-eslint/eslint-plugin from 4.12.0 to 4.14.2 (#2056)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.12.0 to 4.14.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.14.2/packages/eslint-plugin)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-02 10:42:31 -05:00
Carl Reid
88c490ae14
Allow for changing installation directory on Windows (#1978)
Signed-off-by: Carl Reid <carl.reid@bestseller.com>
2021-02-02 15:09:32 +02:00
Jari Kolehmainen
b5e7be7591
Initial command palette feature (#1957)
* wip: command palette

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

* register shortcut to global menu

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

* introduce openCommandDialog & closeCommandDialog

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

* fix ipc broadcast to frames from renderer

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

* tweak

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

* add more commands

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

* cleanup

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

* ipc fix

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

* add integration tests

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

* ipc fix

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

* implement workspace edit

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

* workspace edit fixes

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

* make tests green

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

* fixes from code review

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

* cleanup ipc

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

* cleanup CommandRegistry

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

* ipc fix

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

* fix ClusterManager cluster auto-init

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

* ensure cluster view is active before sending a command

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

* switch to last active cluster when workspace change

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

* tweak integration tests

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

* run integration tests serially

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

* cleanup

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

* fixes based on code review

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

* cleanup

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

* cleanup more

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

* cleanup

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

* add workspace fixes

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

* cleanup

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-02 12:34:13 +02:00
Jari Kolehmainen
1599ee4f6a
Add deb & rpm packages (#2053)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-01 16:51:27 +02:00
Jari Kolehmainen
a102ebad62
Bundle kubectl 1.18.15 (#2028)
* bundle kubectl v1.18.15

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

* bump kubectl version map

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-27 20:09:11 +02:00
Jari Kolehmainen
227a149782
Release v4.1.0-alpha.1 (#2026)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-27 20:04:50 +02:00
Alex Andreev
a157eb03e6
Generic logs view with Pod selector (#1984)
* Adding LogTabStore

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

* Adding Pod selector in logs tab

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

* Refresh containers on pod change

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

* Adding <LogResourceSelector /> tests

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

* Adding LogTabStore tests

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

* Clearn getPodsByOwnerId method

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

* Extracting dummy pods into mock file

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

* Eliminating containers and initContainers from store

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

* Refreshing tab pods if pod amount is changed in store

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

* A bit of cleaning up, fixing tests

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

* Fix lint newline errors

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

* Return getPodsByOwner() method

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

* Rename log tab when pod changes

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-01-27 17:20:02 +03:00
dependabot[bot]
09dc2790db
Bump make-plural from 6.2.1 to 6.2.2 (#1982)
Bumps [make-plural](https://github.com/eemeli/make-plural/tree/HEAD/packages/plurals) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/eemeli/make-plural/releases)
- [Changelog](https://github.com/eemeli/make-plural/blob/master/packages/plurals/CHANGELOG.md)
- [Commits](https://github.com/eemeli/make-plural/commits/make-plural@6.2.2/packages/plurals)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 13:36:35 -05:00
dependabot[bot]
3a4da87933
Bump marked from 1.1.0 to 1.2.7 (#1976)
Bumps [marked](https://github.com/markedjs/marked) from 1.1.0 to 1.2.7.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v1.1.0...v1.2.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 13:00:23 -05:00
Lauri Nevala
1e8359851c
Upgrade shell-env to 3.0.1 (#1994)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-01-20 13:17:16 +02:00
dependabot[bot]
487338269a
Bump @types/hapi from 18.0.3 to 18.0.5 (#1963)
Bumps [@types/hapi](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/hapi) from 18.0.3 to 18.0.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/hapi)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 15:03:22 +02:00
dependabot[bot]
bb96511a34
Bump @typescript-eslint/eslint-plugin from 4.0.0 to 4.12.0 (#1912)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.0.0 to 4.12.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.12.0/packages/eslint-plugin)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-08 13:39:45 -05:00
Sebastian Malton
d5467208c4
bump uuid and @types/uuid to 8.3.x (#1913)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-01-08 10:06:29 -05:00
dependabot[bot]
9be17582f7
Bump circular-dependency-plugin from 5.2.0 to 5.2.2 (#1656)
Bumps [circular-dependency-plugin](https://github.com/aackerman/circular-dependency-plugin) from 5.2.0 to 5.2.2.
- [Release notes](https://github.com/aackerman/circular-dependency-plugin/releases)
- [Changelog](https://github.com/aackerman/circular-dependency-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aackerman/circular-dependency-plugin/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-07 14:13:59 -05:00
Jari Kolehmainen
fa94773bf3
Electron 9.4.0 (#1799)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-29 17:42:01 +02:00
Jari Kolehmainen
b7d97e6b5b
Helm 3.4.2 (#1801)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-29 17:16:15 +02:00
Jari Kolehmainen
a03da3c572
Remove lingui (#1874)
* remove lingui

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

* babelless

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

* tweak ts-loader options

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

* tweak renderer webpack config

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-29 14:53:34 +02:00
Alex Andreev
5d746cdff5
Dock tabs context menu (#1863)
* Adding context menu to dock tabs

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

* Allowing to open menu by contextmenu event

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

* Adding DockTab tests with fine-tuning jest config

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

* Adding disable state to menu items

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

* Removing empty lines

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

* Moving jest-canvas-mock to dev dependencies

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-28 15:18:03 +03:00
Jari Kolehmainen
24b5d2dff9
Optimise Cluster.getAllowedResources() (#1830)
* optimise Cluster.getAllowedResources()

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

* make it faster (max 5 concurrent requests)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-22 16:09:52 +02:00
Roman
be4e1aa15c
Navigation refactoring, handling extension page params (#1651)
* decentralizing page url-params management -- PoC / tsc 4.1 random fixes

Signed-off-by: Roman <ixrock@gmail.com>

* fixes, tweak example-extension for demo

Signed-off-by: Roman <ixrock@gmail.com>

* lint fixes, revert tests

Signed-off-by: Roman <ixrock@gmail.com>

* removed occasional changes related to typescript 4.1

Signed-off-by: Roman <ixrock@gmail.com>

* updated example with 2 menu-items targeting same page with different params

Signed-off-by: Roman <ixrock@gmail.com>

* fix: merge page url chunks with native URL()-api, simplified default page-params registration

Signed-off-by: Roman <ixrock@gmail.com>

* fix: make lint happy

Signed-off-by: Roman <ixrock@gmail.com>

* fix: unit-tests

Signed-off-by: Roman <ixrock@gmail.com>

* renaming by jim's request: UrlParam => PageParam (type), createUrlParam => createPageParam (helper)

Signed-off-by: Roman <ixrock@gmail.com>

* fix: reverting NamespaceStore public-api breaking changes

Signed-off-by: Roman <ixrock@gmail.com>

* lint fix

Signed-off-by: Roman <ixrock@gmail.com>

* fine-tuning

Signed-off-by: Roman <ixrock@gmail.com>

* yes, lint always unhappy

Signed-off-by: Roman <ixrock@gmail.com>

* fix build

Signed-off-by: Roman <ixrock@gmail.com>

* small fixes

Signed-off-by: Roman <ixrock@gmail.com>

* fix merge-conflicts

Signed-off-by: Roman <ixrock@gmail.com>

* removed `isSystem` page-param's init field exposed to extensions-api

Signed-off-by: Roman <ixrock@gmail.com>
2020-12-22 15:29:25 +02:00
Roman
d281ff4a21
Fix: missing dependent types for Select and Slider components (#1828)
* Types for Select and Slider components are not fully exported, fix #1824

Signed-off-by: Roman <ixrock@gmail.com>

* remove unused @types/material-ui package

Signed-off-by: Roman <ixrock@gmail.com>
2020-12-22 14:38:06 +02:00
Jari Kolehmainen
2efd176780
Bundle kubectl v1.17.15 (#1800)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-18 08:18:05 +02:00
Jari Kolehmainen
a9a27a13ed
Switch master branch version to 4.1.0-alpha.0 (#1766)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-15 08:44:48 +02:00
Jari Kolehmainen
ec7703e509
Release v4.0.0-rc.3 (#1644)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-03 19:57:19 +02:00
Jari Kolehmainen
217361dd65
Release v4.0.0-rc.2 (#1614)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-02 15:13:06 +02:00
Sebastian Malton
f3f9f08c0a
lint whole repo (#1600)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-12-02 17:22:10 +08:00
Sebastian Malton
320bd05d5a
bump eslint-plugin-unused-imports to 1.0.1 (#1577)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-11-30 13:00:13 -05:00
Jari Kolehmainen
245eab0120
Electron 9.3.5 (#1562)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-30 09:14:05 +02:00
Sebastian Malton
686cb122a3
add step to verify docs on area/documentation PRs (#1528)
* add step to verify docs on area/documentation PRs

* use GH actions to run the verification

* add check if label is set to area/documentation

* fix broken links in docs with WIP files

* add generating API docs before verifying

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-11-27 10:13:53 -05:00
Sebastian Malton
7451869c25
add no-unused and react/recommended to eslint (#1523)
* add no-unused-vars and no-unused-imports

* added quotes: double, and remove ignore pattern

* move itif and describeif into utils

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-11-27 08:48:38 -05:00
Panu Horsmalahti
263d56b3c1
Disable Uninstall and Enable/Disable buttons while uninstalling. Add Notification for uninstall. (#1539)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-11-27 10:23:12 +02:00
Jari Kolehmainen
d9faba9444
Include *.yml* files from in-tree extensions (#1545)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-27 09:19:55 +02:00
Jari Kolehmainen
69d27dd53c
Release v4.0.0-rc.1 (#1525)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-26 21:17:05 +02:00
chh
95d7ff847e
Use webpack instead of tsc to output extension-api.ts (#1499)
* Use webpack instead of tsc to output extension-api.ts

* Move tsconfig.extension.json into ts-loader's compilerOptions

Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2020-11-26 16:12:53 +08:00
Panu Horsmalahti
4e02e086a9
Remove extension when folder is removed during runtime (#1518)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-11-26 09:40:37 +02:00
Roman
7243dfdce4
Installing extensions UI improvements (#1522)
Signed-off-by: Roman <ixrock@gmail.com>
2020-11-25 16:42:19 +02:00
Roman
77ae31550a
Allow to install packed extensions from URL or local file (#1456)
* Option to install an extension from filesystem/url #1227 -- part 1 (UI)

Signed-off-by: Roman <ixrock@gmail.com>

* DropFileInput: common component to handle droped files (replaced also in add-cluster-page)

Signed-off-by: Roman <ixrock@gmail.com>

* fix: install via url-string on input.submit

Signed-off-by: Roman <ixrock@gmail.com>

* ui tweaks & minor fixes

Signed-off-by: Roman <ixrock@gmail.com>

* more ui/ux tweaks & fixes

Signed-off-by: Roman <ixrock@gmail.com>

* layout fixes

Signed-off-by: Roman <ixrock@gmail.com>

* component renaming: `copy-to-click` => `copy-to-clipboard` => `clipboard`

Signed-off-by: Roman <ixrock@gmail.com>

* reworks -- part 1

Signed-off-by: Roman <ixrock@gmail.com>

* fix downloading file, added common/utils/downloadFile

Signed-off-by: Roman <ixrock@gmail.com>

* confirm before install, unpack tar first steps

Signed-off-by: Roman <ixrock@gmail.com>

* installation flow, extracting .tgz

Signed-off-by: Roman <ixrock@gmail.com>

* clean up, fix lint issues

Signed-off-by: Roman <ixrock@gmail.com>

* update .azure-pipelines.yml

Signed-off-by: Roman <ixrock@gmail.com>

* fixes & refactoring

Signed-off-by: Roman <ixrock@gmail.com>

* fix lint harder :/

Signed-off-by: Roman <ixrock@gmail.com>

* fix validation

Signed-off-by: Roman <ixrock@gmail.com>

* fix validation harder

Signed-off-by: Roman <ixrock@gmail.com>

* responding to comments, fixed package validation

Signed-off-by: Roman <ixrock@gmail.com>

* common/utils/tar.ts: reject with Error-type

Signed-off-by: Roman <ixrock@gmail.com>

* fix: unit-tests

Signed-off-by: Roman <ixrock@gmail.com>
2020-11-25 09:55:28 +02:00
Panu Horsmalahti
2a8cfe5e67
Add React Developers Tools (#1410)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-11-24 12:45:12 +02:00
Panu Horsmalahti
c79cee0311
Watch for added/removed local extensions (#1482)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-11-24 10:48:40 +02:00
Sebastian Malton
daade3b899
add extensions to lint & lint:fix (#1490)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-11-23 12:55:00 -05:00
Jari Kolehmainen
2f17a7ec67
Replace support-page extension with a link to the documentation support page (#1469)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-23 13:01:40 +02:00
Jari Kolehmainen
5fd1abe99d
Release v4.0.0-beta.4 (#1462)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-20 13:01:12 +02:00
Panu Horsmalahti
0b182ccf6f Add a few missing folders to be linted.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-11-19 17:05:30 +02:00
Panu Horsmalahti
1477bb8274 Enforce semicolons in eslint
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-11-19 16:35:04 +02:00
Jari Kolehmainen
246227168a
Release v4.0.0-beta.3 (#1395)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-16 19:31:35 +02:00
Jari Kolehmainen
596e60a6f3
Generate extension-api .d.ts and .js files using tsc (#1387)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-16 15:09:16 +02:00
Sebastian Malton
4d3204766b
add retry cap to handleStaticFile to prevent an infitite loop (#1373)
* add retry cap to handleStaticFile to prevent an infitite loop

* 'yarn -> yarn run' for node_module dependencies

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-11-13 15:45:57 -05:00
Jari Kolehmainen
14425fb14e
Release v4.0.0-beta.2 (#1372)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-13 22:01:36 +02:00
Sebastian Malton
648dbfee98
Remove Makefile from all intree extensions (#1312)
* Remove Makefile from all intree extensions

- Makefiles are not really common (rightly so) in JS projects and script
  entries in the package.json are good enough and what they're there
  for.

- Move to using yarn for installing dependencies and running scripts as
  that is what we mostly use for the rest of the project.

- Move from using make syntax to a dedicated script for building and
  testing extensions.

- add jest as extension devDep, go back to using makefile foreach syntax

- add correct exit code

- add yarn check call to install-deps

- add yarn invokation to find deps

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-11-13 12:32:15 -05:00
Jari Kolehmainen
dc983a757c
Release v4.0.0-beta.1 (#1351)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-12 18:30:37 +02:00
Jari Kolehmainen
469b723469
Generate extension api reference docs using library mode (#1307)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-11 09:02:26 +02:00
Lauri Nevala
85c4a10114
Implement KubeObjectStatusText extension API (#1188)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-11-11 08:57:15 +02:00
Jari Kolehmainen
cb57e4ed7d
Release v4.0.0-alpha.5 (#1311)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-10 19:21:48 +02:00
chh
3eeb395a78
Remove hard-source-webpack-plugin (#1305)
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2020-11-10 12:13:01 +02:00
Alex Andreev
b2f3cdd0d2
Keeping Icon focus state only for keyboard (#1234)
* Passing toolbar prop into action menus

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

* Toggling .mouse-intent

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

* Icon focus restyling

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

* Adding what-input dependency

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-10 12:36:06 +03:00
Mario Sarcher
de85229512 Generate API Reference documentation using typedocs and gh-actions
Signed-off-by: Mario Sarcher <msarcher@mirantis.com>
2020-11-10 09:36:28 +01:00
chh
85f0ef8c2e
Add webpack hot-reload/cache plugins to improve Lens DX (#1250)
* Add webpack-dev-server (for hot module replacement) to serve statics, add HardSourceWebpackPlugin to improve re-compiling speed

* Serve statics using webpack-dev-server instead of lens-proxy, redirect request of Lens.html/Lens.js to webpack-dev-server

* Add react-refresh-webpack-plugin and its dep for hot-reload

* Add hot-reload plugin, and make proxy redirects requests to webpackdevserver

* Add hard-source webpack plugin to main process

* Remove parameter 'path' of handleStaticFile

* Upgarde webpack to v4 latest stable

* Fix build error: plugins shouldnt be null

Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2020-11-09 21:04:41 +08:00
Mario Sarcher
3bc45218c1
Documentation (MKDOCS) (#1230)
Co-authored-by: Steve Richards <srichards@mirantis.com>
Co-authored-by: Mario Sarcher <msarcher@mirantis.com>
Co-authored-by: steve richards <steve.james.richards@gmail.com>
Co-authored-by: Paul Williams <pawilliams@mirantis.com>
Co-authored-by: pauljwil <pauljwil@gmail.com>
2020-11-05 16:38:56 +02:00
Lauri Nevala
d5214e47c1
Release v4.0.0-alpha.4 (#1224)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-11-04 17:16:48 +02:00
chh
484de2ec21
Add +/- buttons in scale deployment popup screen (#1191)
* Add @testing-library/jest-dom and @testing-library/react for writing test cases

* Make eslint check __mocks__/*.ts files

* Mock electron.ipcRenderer.on to prevent errors in React compoment test cases

* Mock <Trans /> from @lingui/macro as a component simplely returns children components

* Use optional chaining operator (?.) to avoid TypeError: Cannot read property 'replicas' of undefined

* Add jest-fetch-mock for mocking global.fetch, activate for all test cases in jest.setup.ts

* Add basic tests for <DeploymentScaleDialog /> to ensure it initialises/renders without errors

* Add +/- button for changing desired replicas, and its test cases

* Adjust the styles of +/- buttons container to make sure it aligns with the slider

* Refactor after rebase from master

* Use var defined in vars.scss

* Add flex align-center to slider-container and remove margin-top: -4px

* Use <Icon /> to replace <i/>

* Add flex gaps to plus-minus-container

Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2020-11-03 20:30:36 +08:00
Jari Kolehmainen
e570f6ac3b
Release v4.0.0-alpha.3 (#1197)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-03 08:05:23 +02:00
Roman
32ca885596
License extension (#1174)
* License menu item should come from an extension #1141

Signed-off-by: Roman <ixrock@gmail.com>

* fix: expose `Util.openExternal` via extensions-api

Signed-off-by: Roman <ixrock@gmail.com>

* move LICENSE back to root

Signed-off-by: Roman <ixrock@gmail.com>
2020-11-02 13:03:00 +02:00
Jari Kolehmainen
e933d171a7
Release v4.0.0-alpha.2 (#1168)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-28 14:34:09 +02:00
Jari Kolehmainen
15406c4897
Release v4.0.0-alpha.1 (#1159)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-27 21:54:08 +02:00
Roman
334815f71a
Tray icon (#1005)
* Tray icon #833 -- part 1

Signed-off-by: Roman <ixrock@gmail.com>

* Tray icon #833 -- part 2

Signed-off-by: Roman <ixrock@gmail.com>

* Tray icon #833 -- part 3

Signed-off-by: Roman <ixrock@gmail.com>

* Tray icon #833 -- part 4

Signed-off-by: Roman <ixrock@gmail.com>

* fix: lint / linux build failed

Signed-off-by: Roman <ixrock@gmail.com>

* allow to disable tray from preferences

Signed-off-by: Roman <ixrock@gmail.com>

* allow to tweak svg-icon before applying as tray-icon

Signed-off-by: Roman <ixrock@gmail.com>

* add checkbox indication, setActive workspace on cluster select

Signed-off-by: Roman <ixrock@gmail.com>

* fix build version (cannon find module 'react')

Signed-off-by: Roman <ixrock@gmail.com>

* - 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>

* fix: refresh icon after turning on/off + switching dark-mode

Signed-off-by: Roman <ixrock@gmail.com>

* allow to close main window and re-open from dock or tray icon

Signed-off-by: Roman <ixrock@gmail.com>

* small fix

Signed-off-by: Roman <ixrock@gmail.com>

* fix: ensure main-window from global menu

Signed-off-by: Roman <ixrock@gmail.com>

* chore

Signed-off-by: Roman <ixrock@gmail.com>

* fix: hide traffic-light buttons for tray window

Signed-off-by: Roman <ixrock@gmail.com>

* removed redundant tray window

Signed-off-by: Roman <ixrock@gmail.com>

* removed delay from base-store

Signed-off-by: Roman <ixrock@gmail.com>

* adding cluster fix (reverted changes from master)

Signed-off-by: Roman <ixrock@gmail.com>

* - 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>

* handle quit app action from tray menu

Signed-off-by: Roman <ixrock@gmail.com>

* moved generating tray icons to build step

Signed-off-by: Roman <ixrock@gmail.com>

* 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>

* fix-build: invisible app icon when there are more files within "build/icons/*.png"

Signed-off-by: Roman <ixrock@gmail.com>

* chore

Signed-off-by: Roman <ixrock@gmail.com>

* yarn i18n.extract

Signed-off-by: Roman <ixrock@gmail.com>

* clean-up

Signed-off-by: Roman <ixrock@gmail.com>

* 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>

* Ignore namespace query param on integration tests (#1109)

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

* merge-conflicts fixes

Signed-off-by: Roman <ixrock@gmail.com>

* support page fixes

Signed-off-by: Roman <ixrock@gmail.com>

* make eslint happy again

Signed-off-by: Roman <ixrock@gmail.com>

Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2020-10-27 15:25:29 +02:00
Jari Kolehmainen
67b8410a2c
npm package publish preparations (#1150)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-27 13:02:31 +02:00
Jari Kolehmainen
62ae7771df
Allow extensions to define cluster features (#1125)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-26 08:21:22 +02:00
Roman
f3a0059355
Extension support page (#1112)
Signed-off-by: Roman <ixrock@gmail.com>
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
2020-10-24 09:24:54 +03:00
Jari Kolehmainen
99db7aca19
Allow extensions to register kube-object menus + details (#1108)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-22 21:41:20 +03:00
Jari Kolehmainen
c566c85351
Move tracker to telemetry extension (#1092)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-19 11:56:08 +03:00
Jari Kolehmainen
a00d26149c Merge branch 'master' into extensions-api
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-16 07:58:47 +03:00
Lauri Nevala
3a6b499fe3 Merge branch 'extensions-api' of github.com:lensapp/lens into extensions-api 2020-10-14 09:15:46 +03:00
Jari Kolehmainen
45abc740e9
Initial telemetry extension (#1067)
* initial telemetry extension

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

* Fix preferences saving and default value

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

Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-10-13 12:57:38 +03:00
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
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
Jari Kolehmainen
4f98a01a8b
Improve how extension-api is exposed/loaded (#1055)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-09 14:12:40 +03:00
Jari Kolehmainen
aa864fc199
Support extensions in main process (#1032)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-08 11:52:45 +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
Lauri Nevala
0f57ea91b1 Merge branch 'master' into extensions-api 2020-10-06 14:52:27 +03:00
Jari Kolehmainen
2b6f283e1b
Allow extensions to have external dependencies (#1018)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-05 16:39:58 +03:00
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
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
Jari Kolehmainen
de3849d22c Merge branch 'master' into extensions-api 2020-09-30 19:47:13 +03:00
Jari Kolehmainen
62afdc7415
Cleanup production build (#1002)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-09-30 11:34:35 +03:00
Jari Kolehmainen
82c4177cb9
Move in-tree extensions to top-level folder (#993)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-09-29 16:45:42 +03:00
Roman
5ec6751ab4
Extensions api types (#985)
Signed-off-by: Roman <ixrock@gmail.com>
2020-09-29 07:37:25 +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
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
Roman
91b4823ec6 Merge branch 'master' into extensions-api
# Conflicts:
#	src/renderer/components/app.tsx
#	src/renderer/components/cluster-manager/clusters-menu.scss
#	src/renderer/components/cluster-manager/clusters-menu.tsx
#	src/renderer/components/layout/main-layout.tsx
#	src/renderer/components/layout/sidebar.tsx
2020-09-23 11:49:16 +03: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
Lauri Nevala
bddc6b33e3
Release v3.6.3 (#925)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-18 15:36:36 +03:00
Lauri Nevala
f5d41c645c
Release v3.6.2 (#901)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-17 09:26:38 +03:00
Lauri Nevala
61b1c9c5e9
v3.6.1 (#899)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-16 23:26:50 +03:00
Lauri Nevala
09074e764c
Fix windows installer when app directory removed manually (#893)
* Fix windows installer when app directory removed manually

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-16 21:44:08 +03:00
Jari Kolehmainen
c2afd026cc
Inject Host header to k8s client requests (#887)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-09-16 20:54:36 +03:00
Lauri Nevala
6246a3034f
v3.6.0 (#870)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-14 13:57:23 +03:00
Lauri Nevala
d370805d01
Release v3.6.0-rc.3 (#864)
* v3.6.0-rc.3

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-14 10:08:30 +03:00
Roman
a3dc928430 Merge branch 'master' into extensions-api
# Conflicts:
#	package.json
#	src/common/cluster-store.ts
#	src/renderer/bootstrap.tsx
#	src/renderer/components/cluster-manager/clusters-menu.tsx
#	static/RELEASE_NOTES.md
#	webpack.dll.ts
2020-09-11 12:29:38 +03:00
Sebastian Malton
8d1f0efe80
remove make-syncronous and file-type calls from migration (#844)
* remove make-syncronous and file-type calls from migration

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

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-09-09 16:41:25 -04:00
Lauri Nevala
763b07b7fc
v3.6.0-rc.2 (#841)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-09 23:07:36 +03:00
Roman
f1b03990ea
Extensions loading (#795)
Signed-off-by: Roman <ixrock@gmail.com>

Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-09 13:00:25 +03:00
Sebastian Malton
295333d055
add progress bar for webpack compilation (#794)
Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-09-08 08:44:34 -04:00
Lauri Nevala
09079799a5
v3.6.0-rc.1 (#812)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-07 14:04:12 +03:00
Alex Andreev
06b4bfe363
Removing DEBUG env from package.json commands (#810)
* Removing DEBUG env from dev processes

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

* Removing cross-env dependency

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

* Updating lock file

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-09-07 12:10:35 +03:00
Sebastian Malton
8f94f4a3da
add drag and drop capabilities for the order of cluster icons on the side bar (#623)
* add drag and drop capabilities for the order of cluster icons on the side bar

* add type annotations for better clarity

* fix clusters staying in previously icon reordered workspaces

* add some tests to cluster-store

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

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-09-04 13:32:27 -04:00
Lauri Nevala
4db06087b1
Bump versions of bundled binaries (#781)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-02 08:27:04 +03:00
Lauri Nevala
993b601f74
Release v3.6.0-beta.2 (#782)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-02 07:47:07 +03:00
Sebastian Malton
8c0ee5dc37
upgrade eslint typescript parser (#773)
Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-09-01 09:27:39 -04:00
Lauri Nevala
9e4155bab4
Release v3.6.0-beta.1 (#762)
* 3.6.0-beta.1

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-28 11:20:35 +03:00
Sebastian Malton
a12aa8a04f
add cluster icon migration code (#673)
Signed-off-by: Sebastian Malton <smalton@mirantis.com>
2020-08-25 16:42:30 +03:00
Lauri Nevala
b75cac4546
Fix windows dev env (#722)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

Co-authored-by: Trevor Nichols <trevor@ml.net.au>
2020-08-25 11:08:46 +03:00
Roman
5163ede4f1
package.json: upgrade typescript to 4.x (#725)
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-20 21:01:33 +03:00
Roman
5670312c47
Migrating Vue components to React and stores refactoring (#585)
Signed-off-by: Roman <ixrock@gmail.com>

Co-authored-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Sebastian Malton <smalton@mirantis.com>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-08-20 08:53:07 +03:00
Jari Kolehmainen
81796af508
Update copyright, eula and contact details (#690)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-08-14 16:05:57 +03:00
Roman
b7974827d2
Lens restructure (#540)
Signed-off-by: Roman <ixrock@gmail.com>
2020-06-30 14:35:16 +03:00
Jussi Nummelin
d55803d0c7
Bump master to 3.6.0-dev (#470)
Signed-off-by: Jussi Nummelin <jussi.nummelin@gmail.com>
2020-06-18 10:38:21 +03:00
Lauri Nevala
8c471daab6
Update Helm to 3.2.4 (#487)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-17 20:58:10 +03:00
Jari Kolehmainen
bc91df6192
Release v3.5.0 (#463)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-15 20:33:01 +03:00
Jari Kolehmainen
5c5454166f
Release v3.5.0-rc.1 (#446)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-11 16:59:21 +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
Jari Kolehmainen
ffb521071f
Release v3.5.0-beta.1 (#403)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-05 09:51:41 +03:00
Jari Kolehmainen
fb287c435c
Release v3.4.0 (#356)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-09 10:21:36 +03:00
Jari Kolehmainen
2a4704716d
Release v3.4.0-rc.1 (#347)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-06 21:01:24 +03:00
Jari Kolehmainen
29cd171d0f
Release v3.4.0-beta.2 (#330)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-30 18:14:23 +03:00
Jari Kolehmainen
d6b173840b
Release v3.4.0-beta.1 (#320)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-29 08:29:34 +03:00
Jari Kolehmainen
c7f92494e0
Release v3.3.1 (#279)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-20 18:15:58 +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
Jari Kolehmainen
799482b3c4
Release v3.3.0 (#265)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-17 07:49:36 +03:00
Jari Kolehmainen
1b3c8e22fd
Electron 6.1.10 (#263)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-16 17:13:51 +03:00
Jari Kolehmainen
5a47298591
Release v3.3.0-rc.1 (#248)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-15 16:16:40 +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
8b3acf2ded
Release v3.2.0 (#228)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-09 18:25:00 +03:00
Jari Kolehmainen
f1795307f9
Release v3.2.0-rc.2 (#223)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-07 17:34:02 +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
1c2298f2af
Release v3.2.0-rc.1 (#215)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-03 20:51:20 +03:00
Jari Kolehmainen
04b652910a
Release v3.1.0 (#173)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-29 18:46:21 +03:00
Jari Kolehmainen
f70be1da70
Release v3.1.0-rc.1 (#169)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-28 14:41:18 +02:00
Jari Kolehmainen
4971a8a558
Release v3.1.0-beta.2 (#164)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-27 08:25:32 +02:00
David Birks
4e6dad53d2
Add license to package.json (#163)
Signed-off-by: David Birks <david@birks.dev>
2020-03-27 07:38:52 +02:00
Jari Kolehmainen
4ead24bd9d
Windows build fix (#159)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-26 20:40:36 +02:00
Jari Kolehmainen
d7c22c8dc5
Release v3.1.0-beta.1 (#153)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-25 07:40:37 +02:00
Jari Kolehmainen
1aaa695cfe
Refactor dashboard server logic to electron main (#146)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-24 07:37:47 +02:00
inductor
e54b79b56a
Add engine to strict node version in package.json (#144)
Signed-off-by: inductor <kohei.ota@zozo.com>
2020-03-23 16:31:28 +02:00
Jari Kolehmainen
4a5f66be03 electron 6.1.9
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-17 16:42:11 +02:00
Jari Kolehmainen
cb9c7fd4eb fix repo org in links
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-15 09:59:27 +02:00
Jari Kolehmainen
1d0815abd2
Lens app source code (#119)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-15 09:52:02 +02:00