dependabot[bot]
36196ed3be
Bump immer from 9.0.14 to 9.0.15 ( #5621 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-14 12:23:17 -04:00
dependabot[bot]
a3c79ecf7c
Bump type-fest from 2.13.0 to 2.13.1 ( #5616 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-14 12:23:06 -04:00
Sebastian Malton
f8b6c4a427
release 5.6.0-alpha.1 ( #5618 )
2022-06-14 12:03:28 -04:00
Sebastian Malton
1a6c42844a
Update copyright to 2022 ( #5624 )
2022-06-14 11:22:38 -04:00
Sebastian Malton
dc1f1ab7f8
Update release creation script ( #5617 )
2022-06-13 16:20:43 -04:00
dependabot[bot] and Sebastian Malton
0dfd03e6df
Bump mobx from 6.5.0 to 6.6.0 ( #5570 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name >
2022-06-13 16:17:44 -04:00
dependabot[bot]
e13183f60e
Bump @typescript-eslint/eslint-plugin from 5.27.1 to 5.28.0 ( #5615 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 16:17:29 -04:00
dependabot[bot]
727fe59836
Bump marked from 4.0.16 to 4.0.17 ( #5614 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 16:16:11 -04:00
dependabot[bot]
b43947fc53
Bump ts-node from 10.7.0 to 10.8.1 ( #5613 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 16:16:00 -04:00
dependabot[bot]
e2320141a4
Bump esbuild from 0.14.42 to 0.14.43 ( #5584 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 14:30:44 -04:00
dependabot[bot]
532b39d864
Bump webpack-dev-server from 4.9.1 to 4.9.2 ( #5583 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 14:30:33 -04:00
dependabot[bot] and Sebastian Malton
9cfc34e547
Bump typescript from 4.6.4 to 4.7.3 ( #5571 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name >
2022-06-13 14:30:24 -04:00
Sebastian Malton
808875f491
Add @types/hapi__call and @types/hapi__subtext ( #5574 )
2022-06-13 11:00:18 -04:00
Sebastian Malton
3058bea88f
Fix memory leak in unit tests ( #5597 )
2022-06-13 11:00:07 -04:00
Janne Savolainen
2eb585e88e
Fix merge conflict with async validators ( #5606 )
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2022-06-13 15:19:37 +03:00
Janne Savolainen and Mikko Aspiala
1393cc303d
Stop using HelmCli from Renderer ( #4861 )
...
* Introduce way for execute file
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make typing of HelmRepo shared
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce way to get Helm environment values
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce function to read YAML file
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce competition for listing active helm repositories in preferences
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make sense in name of injectable
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce helper for opening and selecting values of select
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce competition for activating, deactivating public helm repositories in preferences
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce competition for deactivating helm repository from list of active repositories
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Add missing global overrides
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make some tests more deterministic by mocking tooltips
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce competition for activating custom helm repository in preferences
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Update snapshots
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove old implementation made redundant with competition for preferences of helm repositories
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Add success notification for activating custom helm repository
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce way to get single active helm repository
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Extract responsibilities from god-class and switch to getting helm repositories using competition instead of another god class
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove dead code
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Add TODO
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Tweak position of spinner
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Start handling errors when accessing helm repositories
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Handle error about no helm repositories when updating repositories
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove unwarranted function configuration
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Add missing global overrides
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove duplication how to acquire binary path for helm
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove redundant comment
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Consolidate naming to match Helm's internal
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Relocate file closer to it's relatives
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2022-06-13 11:42:53 +03:00
Sebastian Malton
5420780ae0
Fix changes to InputValidator to resolve accidental breaking changes ( #5403 )
...
* Fix changes to InputValidator to resolve accidental breaking changes
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Show changes working by removing no longer required empty props objects
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* fix type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix async validation errors not being displayed
- And fix validation errors sometimes being displayed multiple times
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Simplify builders for validators
- Replace the boolean type params on `function inputValidator` with a
new builder `function inputValidatorWithRequiredProps` to make the
code easier to read
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Introduce unionizing functions for input validators
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Remove RequiredProps type param
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-06-10 06:41:29 -04:00
Roman
3d64425df2
allow to load images with data:base64 urls ( #5599 )
2022-06-10 13:23:25 +03:00
Sebastian Malton
c54d59f205
Fix cluster.k8s.io/v1alpha1/clusters CRD not being marked as Namespaced ( #5593 )
2022-06-09 16:55:01 -04:00
Janne Savolainen and Mikko Aspiala
ef6f4a5bfa
Bump injectable for faster unit tests ( #5587 )
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2022-06-09 15:12:57 +03:00
Jari Kolehmainen
240dfad167
Enable csp on lens proxy ( #5581 )
...
* enable csp on lens proxy
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* move csp default value to package.json
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2022-06-09 13:39:37 +03:00
Sebastian Malton
2b5d54e8d9
Revert breaking the types of DrawerTitle ( #5573 )
2022-06-08 10:01:07 -04:00
dependabot[bot]
647e798093
Bump @types/node from 16.11.38 to 16.11.39 ( #5577 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 09:52:25 -04:00
Jari Kolehmainen
72c82c443e
Disable nativeWindowOpen on webviews ( #5582 )
2022-06-08 09:37:57 -04:00
dependabot[bot]
d1a5487384
Bump @typescript-eslint/eslint-plugin from 5.27.0 to 5.27.1 ( #5569 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 09:28:27 -04:00
Sebastian Malton
17c7b6a1bf
Add reactive tray icon for when update is available ( #5567 )
2022-06-08 08:37:19 -04:00
Jari Kolehmainen
db65a89ee0
Electron v15.5.7 ( #5562 )
...
* electron v15.5.7
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* change pipelines to use node 16
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* bump @types/node
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* update yarn.lock
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* use fs.ObjectEncodingOptions
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2022-06-08 09:55:17 +03:00
Sebastian Malton
e1152790c3
Fix cluster server path being duplicated by proxy ( #5550 )
2022-06-07 16:13:06 -04:00
chh
1b7dd717a5
Allow using custom https.Agent instance ( #5564 )
...
* Allow using custom https.Agent instance
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com >
* Use .constructor(agentOptions)
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com >
* Revert
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com >
2022-06-07 20:06:58 +08:00
dependabot[bot]
b31112c36c
Bump webpack from 5.72.1 to 5.73.0 ( #5560 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-06 15:28:34 -04:00
dependabot[bot]
b57a154668
Bump sass from 1.52.1 to 1.52.2 ( #5561 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-06 15:28:17 -04:00
dependabot[bot]
da71745b04
Bump ws from 8.6.0 to 8.7.0 ( #5559 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-06 15:27:59 -04:00
dependabot[bot]
08f363f2eb
Bump react-refresh from 0.12.0 to 0.13.0 ( #5558 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-06 15:27:23 -04:00
Roman
55a977554d
Custom terminal fonts support ( #5414 )
...
Fixes #5132 #5133
- bundled 7 new monospaced fonts for terminal
- fix: refresh terminal font after changing in the preferences / keep cluster iframe accessible in DOM while not active/focused
- display terminal's custom font preview with font-name in the select-box + live-preload for current `fontSize`, fix lint
* Fixes for <Input/>:
- remove duplicated error messages for sync validators
- don't propagate invalid values on change (uncontrolled components only)
- more informative error message for numeric input with min/max info
2022-06-06 18:03:12 +03:00
Sebastian Malton
fae6bff6fb
Remove all manual uses of v8 serialization ( #5548 )
...
* Remove all manual uses of v8 serialization
- Seems that sometimes the is a versioning mismatch within the binary
format causes cluster screen the go grey
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* handle ping
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-06-06 07:34:03 -04:00
dependabot[bot]
327978dbc8
Bump typedoc from 0.22.16 to 0.22.17 ( #5551 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-03 14:17:12 -04:00
dependabot[bot]
e6dda075b1
Bump playwright from 1.21.1 to 1.22.2 ( #5552 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-03 14:16:55 -04:00
dependabot[bot]
ec94bd1263
Bump @typescript-eslint/parser from 5.23.0 to 5.27.0 ( #5553 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-03 14:16:33 -04:00
dependabot[bot]
b5bd6ed044
Bump react-refresh-typescript from 2.0.4 to 2.0.5 ( #5554 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-03 14:16:06 -04:00
Sebastian Malton
fba5892c8a
Fix Tooltip not showing when switching hotbars ( #5519 )
2022-06-03 08:55:11 -04:00
b414f9e06d
Introduce way to install update directly from tray. Make application updater unit testable... ( #5433 )
...
* Extract product name as injectable
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make tray items comply with Open Closed Principle
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Replace duplicated overrides with global
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Add behaviour for navigating to preferences using tray
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce a tray item for updating application
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Tweak naming
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Tweak more naming
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove redundant indirection
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Tweak more naming
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce injectable for package.json being side-effect
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Relocate file to directory containing feature
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Switch to using injectable for limiting side effect
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Add missing injection token for implementation of tray item
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove resetting state for update is ready to be installed for being unclear
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Kill dead code
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make label of tray item reactive
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Extract updating is enabled to separate injectable
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce competition for tray
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Expand scope of behaviour for updating using tray also contain checking for updates
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove dead code
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Kill dead code
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Implement checking of updates from multiple update channels
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Start installing updates automatically when quitting application
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Show application window when checking of updates has happened
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Show notifications and dialog for downloading update
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Implement naive notifications for version updates
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Implement checking of Electron specific updates as responsibility
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Implement downloading of Electron specific updates as responsibility
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce competition for channel abstraction
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove redundant global override
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Fix typing after enabling strict mode
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce abstraction for a state that is shared between environments
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Extract states of application update to be usable from all environments
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Handle failing download of update
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make code for window visibility actually work
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Consolidate code for sending messages between processes to a window
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Split bloated dependency in smaller pieces
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make state of download progress accessible from all environments
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Rename files for accuracy
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Move channel abstraction to more global directory
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Enhance typing of channels and sync-box
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Consolidate channel abstraction types
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Update asyncFn to support strict mode
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Fix snapshot after rebase
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Add missing global override
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce injection token for channels to allow injecting all of them at once
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Add notifications about change in update status
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Rename property for accuracy
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Tweak code style
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make notifications unit testable in behaviours
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Add implementation for asking boolean over processes
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Reorganize responsibilities for checking updates
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Reorganize tests for installing update under separate scenarios
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make stuff happening when root frame is rendered unit testable
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce periodical check for updates
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Allow downgrading app versions
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Switch to using competition for checking of updates in application menu
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Kill dead code
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make test less prone to fail for wrong reason
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove redundant boilerplate
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make tests for specific migrations less prone to failing for wrong reason
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Move shared stuff under common
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Switch to using single source of truth for selected update channel
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Extract tests for installing update from different update channels to separate scenario
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Add missing global override
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Switch to using release channel of installed application version as default value for selected update channel
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Consolidate usage of channel abstraction to same implementation
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make Channel abstraction support return values
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Fix direct calling of runnables
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Synchronize initial values of sync boxes when window starts
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Add missing global override
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Tweak message of question from user
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Consolidate names of directories
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Add TODO
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove unimplemented scenario from test
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Simplify test
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Improve name of test
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove redundant overrides
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Fix code style
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make Animate deterministic in unit tests
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Simplify naming
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Simplify more naming
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Simplify even more naming
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Simplify more and more naming
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Add todo for cleaning unacceptable code encountered
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Improve name of behaviour
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make unit test more strict
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Enhance name of behaviour
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Introduce dependency to get random IDs
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make asking of boolean value from user not require explicit ID for question
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Simplify code for asking of boolean value from user
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make setting of initial state for sync boxes not trigger irrelevant messaging to main
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make a channel have default type for sent and returned message
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Introduce higher order function to log errors in decorated functions
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Export type for error logging
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Tweak test name
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce higher order function for suppressing errors
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Relocate some explicit error handlings to proper level of abstraction
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make higher order function for logging errors support asynchronous rejecting with non error instance
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make overridden version of application exactly the one required by unit test
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Mark injectable causing side effects
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Revert not required changes
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make code for asserting a promise more strict
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make dependencies readonly
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove duplication for disposers
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Implement initial values for sync-boxes
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Separate concept of message and request channels
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Introduce tests for requesting from channel in renderer
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Implement requesting from renderer in main
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Revert "Implement requesting from renderer in main"
This reverts commit d3e7899d7900516f3dbfacdb317a453202318305.
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Tweak typing of request channel listeners to get rid of unexpected undefined
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove unused variable
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Tweak timing of sentry setup
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Require messages for MessageChannels be JsonValues for serialization
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Require requests and responses for RequestChannels be JsonValues for serialization
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make different MessageChannels not require explicit "extends JsonObject"
Note: Non-escaped lint breaks type here for forcing interface over type. Reasonable effort brought no understanding for what is the relevant difference between the two.
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make a primitive argument an object for readability
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make typing of higher order function for error suppression not lie
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Serialize messages in channels to make IPC not blow up
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce a way to make intentional orphan promises uniform, controllable and deliberate
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make downloading of update and what follows more deliberate as orphan promise
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Move utility function under directory
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Move another utility function under directory
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Fix incorrect name of file
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove redundant code
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Kill dead code
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Round percentage of update download progress in tray
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Fix rebase conflicts
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Fix CheckForUpdate type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Co-authored-by: Iku-turso <mikko.aspiala@gmail.com >
Co-authored-by: Sebastian Malton <sebastian@malton.name >
2022-06-03 11:21:36 +03:00
Sebastian Malton
e1c1e00a2b
Fix downloading cluster specific kubectl ( #5399 )
2022-06-02 18:40:30 -04:00
Sebastian Malton
ac27077ef9
Fix *.modules.scss that don't get correctly typed ( #5532 )
2022-06-02 08:59:38 -04:00
Sebastian Malton
d4fbab7176
Remove legacy renderBooleans prop ( #5483 )
2022-06-02 08:59:23 -04:00
dependabot[bot]
b86d409c92
Bump mobx-react from 7.4.0 to 7.5.0 ( #5544 )
...
Bumps [mobx-react](https://github.com/mobxjs/mobx ) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/mobxjs/mobx/releases )
- [Commits](https://github.com/mobxjs/mobx/compare/mobx-react@7.4.0...mobx-react@7.5.0 )
---
updated-dependencies:
- dependency-name: mobx-react
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-01 22:23:57 -04:00
dependabot[bot]
833650195a
Bump cli-progress and @types/cli-progress ( #5543 )
...
Bumps [cli-progress](https://github.com/npkgz/cli-progress ) and [@types/cli-progress](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/cli-progress ). These dependencies needed to be updated together.
Updates `cli-progress` from 3.11.0 to 3.11.1
- [Release notes](https://github.com/npkgz/cli-progress/releases )
- [Changelog](https://github.com/npkgz/cli-progress/blob/master/CHANGES.md )
- [Commits](https://github.com/npkgz/cli-progress/compare/v3.11.0...v3.11.1 )
Updates `@types/cli-progress` from 3.9.2 to 3.11.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/cli-progress )
---
updated-dependencies:
- dependency-name: cli-progress
dependency-type: direct:development
update-type: version-update:semver-patch
- dependency-name: "@types/cli-progress"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-01 22:23:22 -04:00
dependabot[bot]
65d0bab0b4
Bump react-table and @types/react-table ( #5542 )
...
Bumps [react-table](https://github.com/tannerlinsley/react-table ) and [@types/react-table](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-table ). These dependencies needed to be updated together.
Updates `react-table` from 7.7.0 to 7.8.0
- [Release notes](https://github.com/tannerlinsley/react-table/releases )
- [Commits](https://github.com/tannerlinsley/react-table/compare/v7.7.0...v7.8.0 )
Updates `@types/react-table` from 7.7.11 to 7.7.12
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-table )
---
updated-dependencies:
- dependency-name: react-table
dependency-type: direct:development
update-type: version-update:semver-minor
- dependency-name: "@types/react-table"
dependency-type: direct:development
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-06-01 22:22:58 -04:00
dependabot[bot]
6dc4350541
Bump @typescript-eslint/eslint-plugin from 5.26.0 to 5.27.0 ( #5541 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.26.0 to 5.27.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.27.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-01 22:21:48 -04:00
Sebastian Malton
06db3119a6
Fix ERR_FAILED for splash screen on windows sometimes ( #5539 )
2022-06-01 16:25:33 -04:00
Sebastian Malton
ec1df4717d
Fix type error in kube-object-menu.test.tsx ( #5540 )
2022-06-01 15:28:02 -04:00