12 Commits

Author SHA1 Message Date
Ben
d39e322c31 Add Live Tennis widget
Adds a live-tennis-scores widget, backed by the public LiveTennisAPI.

Each match renders as a two-row scoreboard: per-set game scores, the
current game points, a serve indicator, and the winner once a match is
done. The `status` option switches between live, upcoming and completed
matches.

The API sends `Access-Control-Allow-Origin: *` and answers preflight, so
this fetches browser-side with no proxy configuration. Refreshes every
60s by default, to stay inside the free plan's 30 req/min limit.

Registers `live-tennis` in WidgetBase, adds the endpoint to
widgetApiEndpoints, documents the widget, and covers the rendering and
the null-score / stale-server edge cases with unit tests.
2026-07-22 10:37:22 +03:00
Alicia Sykes
fc95e8ef2d Completes body/header parsing of custom api widget (#2191) 2026-06-11 13:51:15 +01:00
Alicia Sykes
9d1737900f 🧪 Tests and docs for custom api widget (#2191) 2026-06-11 12:57:49 +01:00
Benjamin GILLET
daa576d30c 🔀 feat: add ICMP ping check support to item (#2180)
* 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.
2026-06-06 12:54:17 +01:00
Alicia Sykes
f9b80f7837 🧪 Fix test for item link 2026-04-25 23:44:53 +01:00
Alicia Sykes
ba0c967c01 🚚 Updates util imports 2026-04-19 12:21:48 +01:00
Alicia Sykes
eb3d720882 Builds toast plugin, updates usage across app 2026-04-18 22:46:07 +01:00
Alicia Sykes
a85fd0ab45 🔂 Merge branch 'master' of github.com:lissy93/dashy into migration/vue3-upgrade 2026-04-07 10:55:22 +01:00
Alicia Sykes
63952fb030 🚚 Replace instances of Axios with new request handlers across everywhere 2026-03-31 21:31:57 +01:00
Alicia Sykes
3ba0d7521a 👽 Begin the Vue 2 --> Vue 3 migration 2026-03-09 13:01:03 +00:00
Alicia Sykes
7fb485ecf2 👷 Adds CI for running tests 2026-03-08 16:33:24 +00:00
Alicia Sykes
57fd489480 🚛 Robustness improvments 2026-01-13 12:55:02 +00:00