1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/main
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
..
__test__ Fix cluster frame display issue (#5518) 2022-06-20 22:23:15 -04:00
app-paths Introduce way to install update directly from tray. Make application updater unit testable... (#5433) 2022-06-03 11:21:36 +03:00
application-update Improved metrics for updating application (#5607) 2022-06-16 09:05:00 -04:00
ask-boolean modify app test rendering to include status bar (#5630) 2022-06-15 07:40:13 +03:00
catalog Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
catalog-sources Fix cluster frame display issue (#5518) 2022-06-20 22:23:15 -04:00
catalog-sync-to-renderer Introduce way to install update directly from tray. Make application updater unit testable... (#5433) 2022-06-03 11:21:36 +03:00
child-process Turn on strict mode in tsconfig.json, some helpful lints, and required cleanup where strictness necessitates it (#5195) 2022-05-16 07:17:57 -04:00
cluster-detectors Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
context-handler Fix cluster server path being duplicated by proxy (#5550) 2022-06-07 16:13:06 -04:00
create-cluster Fix cluster frame display issue (#5518) 2022-06-20 22:23:15 -04:00
electron-app Improved metrics for updating application (#5607) 2022-06-16 09:05:00 -04:00
extension-loader Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
helm Stop using HelmCli from Renderer (#4861) 2022-06-13 11:42:53 +03:00
ipc Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
kube-auth-proxy Stop using HelmCli from Renderer (#4861) 2022-06-13 11:42:53 +03:00
kubeconfig-manager Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
kubectl Stop using HelmCli from Renderer (#4861) 2022-06-13 11:42:53 +03:00
lens-proxy Enable csp on lens proxy (#5581) 2022-06-09 13:39:37 +03:00
menu Improved metrics for updating application (#5607) 2022-06-16 09:05:00 -04:00
navigate-to-route Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
navigate-to-url Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
prometheus Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
protocol-handler Fix memory leak in unit tests (#5597) 2022-06-13 11:00:07 -04:00
router Add @types/hapi__call and @types/hapi__subtext (#5574) 2022-06-13 11:00:18 -04:00
routes Stop using HelmCli from Renderer (#4861) 2022-06-13 11:42:53 +03:00
shell-session Remove all manual uses of v8 serialization (#5548) 2022-06-06 07:34:03 -04:00
start-main-application Prevent duplicate app windows (#5533) 2022-06-15 16:40:34 -04:00
theme Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
tray Fix download percentages not updating in tray (#5697) 2022-06-22 15:37:13 +03:00
utils Helper to resolve proxy from URL in any environment, or using extension-API (#5690) 2022-06-22 16:09:24 +03:00
catalog-pusher.ts Fix catalog syncer long delay (#4911) 2022-02-23 06:52:43 +02:00
cluster-manager.injectable.ts Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
cluster-manager.ts Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
get-metrics.injectable.ts Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
getDi.ts Show extension preferences in separate page (#5284) 2022-06-21 11:11:31 -04:00
getDiForUnitTesting.ts Helper to resolve proxy from URL in any environment, or using extension-API (#5690) 2022-06-22 16:09:24 +03:00
index.ts Fix not starting with sentryDSN configured (#5629) 2022-06-15 07:38:54 +03:00
k8s-request.injectable.ts Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
logger.ts Shorten license header to reduce amount of clutter in top of the files (#4709) 2022-01-18 10:18:10 +02:00
resource-applier.ts Turn on strict mode in tsconfig.json, some helpful lints, and required cleanup where strictness necessitates it (#5195) 2022-05-16 07:17:57 -04:00
shell-sync.ts Shorten license header to reduce amount of clutter in top of the files (#4709) 2022-01-18 10:18:10 +02:00
stop-services-and-exit-app.injectable.ts Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
stores-apis-can-be-created.injectable.ts Turn on strict mode in tsconfig.json, some helpful lints, and required cleanup where strictness necessitates it (#5195) 2022-05-16 07:17:57 -04:00