Commit graph

5 commits

Author SHA1 Message Date
SoftFever
e97ab55e83 Fix webview freezing issue 2023-09-04 20:02:26 +08:00
SoftFever
80082464cb Add support for PrusaLink webview 2023-08-30 23:38:33 +08:00
Branden Cash
c675d979a7
fix(macos): disable App Transport Security (#1157)
* feat(webview): enable context menu

This enables the ability (at least on MacOS) to reload the webview.

* fix(webview): add handler for webview error

Adding this un-covered the following error when trying to load a the printer page using http and hostname:
```
OnError: error loading page about:blank  wxWEBVIEW_NAV_ERR_OTHER The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.

```

* fix(macos): disable App Transport Security policy

Disables the [App Transport Security](https://developer.apple.com/documentation/bundleresources/information_property_list/nsapptransportsecurity) policy that blocks loading http urls (via hostname...ip addresses were fine because ip addresses can't have certs, so they would be excluded from the ATS restriction).

Resolves #791
2023-06-01 00:14:47 +08:00
SoftFever
1a371a9417 fix a small UI glitch caused by printer viewer 2022-11-02 21:19:46 +08:00
SoftFever
ff760815ca Device view for third party printers 2022-10-23 16:37:34 +08:00