Introduce an optional per-item localUrl (e.g. a LAN address) that is
preferred over the regular url when reachable from the browser. A
background probe (default 10s interval, 5s timeout) checks
reachability of localUrl and falls back to url when unreachable,
enabling seamless remote/LAN switching without manual config changes.
- ItemMixin: add effectiveUrl computed + probe lifecycle (mount/destroy)
- Item/SubItem: expose localUrl-driven effective url to templates
- ConfigSchema: add localUrl, localUrlTimeout, localUrlCheckInterval
- docs/configuring.md: document the new properties
ClosesLissy93/dashy#1313
* feat: add ICMP ping check support to item
* Replaced ping package with pingman package to be compliant with Dashy CI NodeJS version (20).
Fixed a behavior bug in status indicator component which didn't changed icon to yellow when checking.
Made otherStatusText a computed field to make it reflecting dynamically a new check request.
Added more examples to default conf.yml
* Removed a forgotten trace to console
* Made changes requested by Lissy after review of the PR.
Corrected tests using localhost which is not a valid host for pingman.
Added a Validator.js file in src/utils with function to check validity of hosts.
Reverted conf.yml file to the original version.
* Fixed a problem in configuration of pingman call after adding support of IPV6 addresses.
* Updated Dockerfile to pass Docker smoke tests in CI
* Revert to latest version of `user-data/conf.yml` from `master`
* Removed the duplicated feature line for ping check and just added `hosts` to the existing one
* Removed the unused `shouldEnabledPingCheck` function
* Add the ping system package and give rights to use to the node user so the pingman module can work in Docker container
* Remove `src/utils/Validator.js` file. Rely on `pingman` internal validation of hostname instead to avoid command injection.
Adds a new config option (`appConfig.statusCheckAccessibility`) which will
display status check indicators as distinct shapes, for easier
distinction for colorblind users.
This change uses oidc-client-ts to enable dashy to authenticate with as OIDC client. It populates the groups and roles so that it can be used the same as keycloak for showing/hiding elements on the dashboard.
Please accept this PR because these fixes are really necessary.
Without them, I tried to figure them out by spending hours trying many possibilities, which is really painful.