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

2666 Commits

Author SHA1 Message Date
Janne Savolainen
05ef1495e7
Update more snapshots
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-28 13:16:05 +03:00
Janne Savolainen
d1ee523a87
Remove dead code
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-28 12:39:02 +03:00
Janne Savolainen
fbf5cfb3f2
Update snapshots
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-28 12:36:23 +03:00
Janne Savolainen
3665b5ffdf
Fix restarting and installing update when pressing update button
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-28 12:30:30 +03:00
Janne Savolainen
05a6916d9f
Remove tests that are covered by behaviour
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-28 12:14:56 +03:00
Janne Savolainen
66bd8d3a17
Remove dead code
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-28 12:11:40 +03:00
Janne Savolainen
2c39b9019f
Make update warning level completely reactive and responsibility of a renderer
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-28 12:11:13 +03:00
Janne Savolainen
5a8ffdf191
Remove usage of legacy global causing trouble in unit tests
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-28 10:53:10 +03:00
Alex Andreev
a0bd4c003a Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-28 10:23:14 +03:00
Alex Andreev
4d852b9e02 Check for severe warning level
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-28 08:38:29 +03:00
Alex Andreev
d89f238d48 Fix jest.advanceTimersByTime usage
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-28 08:33:57 +03:00
Alex Andreev
6c6c9e8c13 Merge branch 'master' into compare-update-and-release-dates 2022-06-27 18:40:27 +03:00
dependabot[bot]
de8cc559cd
Bump winston from 3.7.2 to 3.8.0 (#5733)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 10:25:32 -04:00
dependabot[bot]
20d36a31ac
Bump @types/jest from 28.1.1 to 28.1.3 (#5734)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 10:20:16 -04:00
dependabot[bot]
895008adbc
Bump sharp from 0.30.6 to 0.30.7 (#5732)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 08:32:37 -04:00
Alex Andreev
188c6d2cb2 Add Update button dropdown tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-27 13:01:36 +03:00
Alex Andreev
5aa8718f90 Add sync box files allowing to restart & install
update from renderer process

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-27 13:01:00 +03:00
Alex Andreev
6284e6cd9a Updating snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-27 10:12:10 +03:00
Alex Andreev
cd2d2f97e4 Make UpdateButton warning prop observable
by using computed() structure

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-27 10:11:54 +03:00
Alex Andreev
4e9d81dbea Move updateWarningLevelInjectable
to /common subfolders from /main

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-27 10:11:13 +03:00
Janne Savolainen
2b9c2ad69e
Re-export types for notifications store to revert accidental breaking… (#5715)
* Re-export types for notifications store to revert accidental breaking change

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

* Tweak exports for notifications to provide same API contract

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-27 09:06:02 +03:00
Alex Andreev
cd2cd0cbf0 Render TopBar inside ApplicationBuilder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-27 07:43:38 +03:00
Alex Andreev
1683218444 Unoverriding topbar injectables
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-27 07:37:28 +03:00
dependabot[bot]
85781cfeac
Bump type-fest from 2.13.1 to 2.14.0 (#5726)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-24 15:06:53 -04:00
Alex Andreev
09465f439c Remove previous implementation files
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-24 15:48:15 +03:00
Alex Andreev
e6c8e41033 Temporarily set noop for UpdateButton update()
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-24 15:45:33 +03:00
Alex Andreev
ab51b6068c Permit side effects in injectable
periodicalCheckForUpdateWarningInjectable

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-24 15:44:54 +03:00
dependabot[bot]
959db79322
Bump electron-builder from 23.0.3 to 23.1.0 (#5719)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-24 08:32:36 -04:00
dependabot[bot]
ed41ea4372
Bump eslint-plugin-react from 7.30.0 to 7.30.1 (#5720)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-24 08:32:16 -04:00
dependabot[bot]
08e8bc39ae
Bump sass from 1.52.3 to 1.53.0 (#5721)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-24 08:32:02 -04:00
Alex Andreev
85cad0d6c9 Refactor AppUpdateWarning class using injectables
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-24 15:20:20 +03:00
Alex Andreev
3827202e5f Initial tests for installing update using topbar button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-24 15:14:35 +03:00
dependabot[bot]
d5ee13c993
Bump @typescript-eslint/eslint-plugin from 5.28.0 to 5.29.0 (#5710)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-23 16:10:30 -04:00
dependabot[bot]
e7e3c3820c
Bump esbuild from 0.14.43 to 0.14.47 (#5718)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-23 16:10:16 -04:00
Janne Savolainen
49e0a0286d
release 5.6.0-alpha.4 (#5701) 2022-06-23 15:14:26 -04:00
dependabot[bot]
cdbd19ce04
Bump ts-loader from 9.3.0 to 9.3.1 (#5709)
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 9.3.0 to 9.3.1.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v9.3.0...v9.3.1)

---
updated-dependencies:
- dependency-name: ts-loader
  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-23 14:52:55 -04:00
dependabot[bot]
3e363d402f
Bump @typescript-eslint/parser from 5.28.0 to 5.29.0 (#5708)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-23 14:52:13 -04:00
Alex Andreev
28174f0ad1 Merge branch 'master' into compare-update-and-release-dates 2022-06-23 11:07:51 +03:00
dependabot[bot]
b95ab425ba
Bump @types/semver from 7.3.9 to 7.3.10 (#5693)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 15:43:26 -04:00
dependabot[bot]
cdd511123b
Bump tailwindcss from 3.1.3 to 3.1.4 (#5694)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 15:43:15 -04:00
dependabot[bot]
ab2f367fdd
Bump eslint from 8.17.0 to 8.18.0 (#5696)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 15:43:05 -04:00
Janne Savolainen
fc770b4b44
Revert accidental breaking change (#5703) 2022-06-22 09:48:09 -04:00
Iku-turso
71427da02d
Helper to resolve proxy from URL in any environment, or using extension-API (#5690)
* Permit modular directory structures for behaviours in spirit of "Screaming Architecture"

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>

* Implement env-agnostic helper to resolve proxy from URL

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>

* Implement way to resolve a proxy, that is not reliant on existing windows

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>

* Restore reliancy on existing windows for resolving proxy for fears of Electron events misbehaving because of a temp-window used in case no windows are open

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>

* Make resolving a proxy throw if no browser window is available

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>

* Extract minimal abstraction for specifically logging error instead of also warn, info, etc.

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>

* Make decorator for error logging not create orphan promise for easier controllability

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>

* Add error logging to resolving of proxy

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>

* Expose resolving of proxy in extension-API

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>

* Add missing general override

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>

* Add test to add documentation

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>

* Disperse implementation of resolve-proxy back to conventional directory structure instead of an experimental one

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>

* Revert "Permit modular directory structures for behaviours in spirit of "Screaming Architecture""

This reverts commit 75e1231b0e61b74d030d12365352226e7f1ce500.

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>

* Rename a helper for less ambiguity

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>

* Add tsdoc for "resolveSystemProxy" exposed in Extension-API

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2022-06-22 16:09:24 +03:00
Janne Savolainen
fa23b5cd3f
Fix download percentages not updating in tray (#5697)
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-22 15:37:13 +03:00
Lauri Nevala
666d90dd3c
Do not crash if ingress is missing status.loadbalancer.ingress property (#5665) 2022-06-21 11:24:02 -04:00
Alex Andreev
0784085bf4
Show extension preferences in separate page (#5284)
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-21 11:11:31 -04:00
dependabot[bot]
91ee7bd785
Bump @types/node from 16.11.40 to 16.11.41 (#5686)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-21 08:02:26 -04:00
dependabot[bot]
30cd2a32c9
Bump @side/jest-runtime from 1.0.0 to 1.0.1 (#5685)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-21 08:02:16 -04:00
dependabot[bot]
b3cd43fee6
Bump typescript from 4.7.3 to 4.7.4 (#5684)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-21 08:01:58 -04:00
dependabot[bot]
cf6e68decb
Bump @hapi/subtext from 7.0.3 to 7.0.4 (#5683)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-21 08:01:38 -04:00