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

2490 Commits

Author SHA1 Message Date
Iku-turso
6b28f9e9c3
Bump injectable to 5.1.2 (#5010) 2022-03-17 08:15:21 -04:00
Alex Andreev
8c8bab540c
Fix: overlapped pod logs (#5029) 2022-03-17 08:15:04 -04:00
dependabot[bot]
3cc12d9599
Bump marked from 4.0.10 to 4.0.12 (#5016)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-16 09:09:18 -04:00
dependabot[bot]
d5ea6beb50
Bump @testing-library/jest-dom from 5.16.1 to 5.16.2 (#5015)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-16 09:08:38 -04:00
dependabot[bot]
7ac87953e3
Bump dompurify from 2.3.4 to 2.3.6 (#5014)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-16 09:08:18 -04:00
Jim Ehrismann
86ba61dc99
moving release guide out of OpenLens repo (#5012) 2022-03-15 11:48:04 -04:00
dependabot[bot]
db581073c5
Bump chokidar from 3.5.2 to 3.5.3 (#5008)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-15 11:47:45 -04:00
dependabot[bot]
00966a88e6
Bump @types/react from 17.0.34 to 17.0.40 (#5007)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-15 11:47:12 -04:00
dependabot[bot]
df5f5e6e02
Bump @types/circular-dependency-plugin from 5.0.4 to 5.0.5 (#5009)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-15 11:46:46 -04:00
Sebastian Malton
4d1c69094b
Fix spacing and layout of registered TopBar items (#4991) 2022-03-15 08:36:14 -04:00
dependabot[bot]
132f0a9c88
Bump @types/color from 3.0.2 to 3.0.3 (#5004)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 12:39:24 -04:00
dependabot[bot]
ee82abce14
Bump react-select-event from 5.1.0 to 5.3.0 (#5001)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 08:59:40 -04:00
dependabot[bot]
5dc84dc180
Bump sass-loader from 12.4.0 to 12.6.0 (#5002)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 08:59:31 -04:00
dependabot[bot]
070db0d097
Bump winston from 3.3.3 to 3.6.0 (#5000)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 08:59:18 -04:00
dependabot[bot]
08a577643a
Bump electron-builder from 22.14.5 to 22.14.13 (#4998)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-11 12:38:15 -05:00
dependabot[bot]
ebd011de00
Bump css-loader from 6.5.1 to 6.7.1 (#4995)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-11 08:26:10 -05:00
dependabot[bot]
39deac47ae
Bump @types/url-parse from 1.4.5 to 1.4.8 (#4994)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-11 08:25:50 -05:00
dependabot[bot]
53c7fd559e
Bump @typescript-eslint/eslint-plugin from 5.10.1 to 5.14.0 (#4993)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-11 08:24:05 -05:00
Janne Savolainen
38af26efc9
Make routes in back-end comply to Open Closed Principle (#4859)
* Make registration of back-end routes happen using injectable

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for list charts

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for get chart

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for get chart values

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for installing chart

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for updating release

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for rollbacking release

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for listing releases

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for getting release

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for getting release values

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for getting release history

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for deleting release

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Remove HelmRoute for not being used anymore

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for applying resource

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for patching resource

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for stopping current port forward

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for getting current port forward

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Consolidate start port forward route to use injection token for registering route

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for metrics

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for getting service account

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for getting version

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Add global override for reading file to make it not required where not interesting

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for serving static files

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Make adding routes private for router

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Make routes wait until all asynchronous stuff are done

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Introduce healthy abstraction between back-end routes and route handlers

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Make response of route typed

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Fix incorrect return value of updateRelease

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Make typing of routes support synchronous values

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Make code cleaner

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Rename test for accuracy

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Add test for throwing route handler

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Remove duplicate license header

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Make mechanism of creating HTTP response an implementation detail

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Remove not needed properties from test

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Fix code style

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Fix typing and codestyle

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Fix typing error

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Fix merge conflicts

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Organize all router related files under directory

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-03-11 12:20:00 +02:00
Alex Andreev
772e879b81
Fix "logs from" date (#4987) 2022-03-10 16:13:22 -05:00
dependabot[bot]
613d107545
Bump @sentry/types from 6.15.0 to 6.18.2 (#4981)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-10 15:11:32 -05:00
dependabot[bot]
e9c2f273c8
Bump type-fest from 1.0.2 to 1.4.0 (#4985)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-10 15:05:52 -05:00
Jim Ehrismann
bba3199bb5
Remove listener for online event (#4970) 2022-03-10 11:08:31 -05:00
Jim Ehrismann
98235d17ac
fixed non-virtual list row rendering (#4983) 2022-03-10 09:05:05 -05:00
Sebastian Malton
8b6f8e5dc3
Fix HelmChart validator requiring digest field (#4920)
* Fix HelmChart validator requiring digest field

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

* fix tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-03-10 07:06:47 -05:00
dependabot[bot]
65ba094d97
Bump nanoid from 3.1.30 to 3.2.0 (#4736)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-10 14:47:54 +03:00
dependabot[bot]
a37bcf36b2
Bump simple-get from 4.0.0 to 4.0.1 (#4772)
Bumps [simple-get](https://github.com/feross/simple-get) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/feross/simple-get/releases)
- [Commits](https://github.com/feross/simple-get/compare/v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: simple-get
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-10 13:57:09 +03:00
dependabot[bot]
aaad9262ed
Bump url-parse from 1.5.3 to 1.5.10 (#4921)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.10)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-10 13:53:34 +03:00
dependabot[bot]
070ef31220
Bump follow-redirects from 1.14.7 to 1.14.8 (#4857)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-10 13:47:21 +03:00
Sebastian Malton
a19f094a0d
Consolidate downloading binaries into one script (#4942)
* Consolidate downloading binaries into one script

- Upgrade lens-k8s-proxy to 0.1.5 which allows us to remove the trailing
  slash in KubeAuthProxy

- Consolidate nromalizing arch and os strings

- Remove LensBinary as HelmCli is not just a raw object since it is
  always bundled

- Introduce OnceCell and use it for the binary paths

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

* Fully remove helmCli, move associated variable to vars

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

* Fix helm downloading on windows

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

* Don't download binaries for unsupported windows

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

* Arch specific paths

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

* Fix downloading helm on windows

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

* rename once-cell file to lazy-initialized

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-03-09 17:51:51 -05:00
Alex Andreev
dd5dfb393d
Add 'Sync with computer' theme option (#4973) 2022-03-09 08:08:24 -05:00
Jari Kolehmainen
a4954b9f8d
Webpack quality of life improvements for dev mode (#4980) 2022-03-08 09:48:16 -05:00
Carlos René Mederos Arias
adf3b8dc60
Fix annotation for cronjob when is manually triggered (#4976)
Signed-off-by: Carlos René Mederos Arias <krlosmederos@gmail.com>
2022-03-08 07:04:25 -05:00
Jim Ehrismann
e59cb04d5a
quick fix for logs not showing in tabs after first tab (#4964)
* quick fix for logs not showing in tabs after first tab

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

* proper fix

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-03-04 07:02:29 -05:00
Dmitriy Noa
769a9441f8
Fix unselect. Add unit tests (#4961)
* Fix unselect. Add unit tests

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* Cleanup

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* Add additional test for undefined

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
2022-03-04 10:09:15 +01:00
Janne Savolainen
125a47a56d
Replace WorkloadsOverviewDetailRegistry with reactive solution (#4817)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-03-04 10:04:38 +02:00
Jari Kolehmainen
8dbc0b82f8
Fix api-manager kubeobject types (#4959)
* loosen api-manager kubeobject types

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

* less any

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

* less any

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

* fix typings

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

* fix typings

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2022-03-03 19:26:56 +02:00
Janne Savolainen
54b87efd89
Replace KubeObjectStatusRegistry with reactive solution (#4815) 2022-03-03 07:55:57 -05:00
Sebastian Malton
d72ebac5f3
Bump lens-k8s-proxy to v0.1.5 (#4946)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-03-02 17:21:32 -05:00
dependabot[bot]
e6d4b05e42
Bump plist from 3.0.2 to 3.0.4 (#4952)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 13:55:49 -05:00
Sebastian Malton
1077a949ec
Cherry Pick from master to release/v5.4 (#4945) (#4955) 2022-03-02 08:58:52 -05:00
Sebastian Malton
0b32775d40
Enforce some naming conventions (#4813) 2022-03-01 13:06:53 -05:00
Sebastian Malton
dc6615f98f
Cherry Pick commits from master to release/5.4 (#4943) 2022-03-01 11:11:39 -05:00
Sebastian Malton
ff14603be6
Fix formatDuration test to be stable (#4944) 2022-03-01 11:05:32 -05:00
Sebastian Malton
5196ffa55d
Fix Editor's Font Family preference not being editable (#4938) 2022-03-01 10:53:44 -05:00
Jari Kolehmainen
c04a3b8d33
Replace kubectl-proxy with lens-k8s-proxy (#4924) 2022-02-28 09:37:29 -05:00
Sebastian Malton
f5a7d64551
Reduce cluster logging on quit (#4935) 2022-02-28 08:34:45 -05:00
Janne Savolainen
b65f6e00ec
Update injectable library (#4842)
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
2022-02-25 11:10:13 -05:00
Mellow993
e8ca1ddf87
Bump concurrently version to fix windows 10 builds (#4871) 2022-02-25 10:39:10 -05:00
Roman
476ca252fb
Updated typescript target to ES2019 (#4869) 2022-02-25 10:20:22 -05:00