50 Commits

Author SHA1 Message Date
Alicia Sykes
e85fe755c0 ️ Improve compatibility of status checks 2026-07-25 18:36:13 +01:00
Alicia Sykes
c38f4a4d47 🐛 Fixes bug in continous status check rounding if less than 5 2026-07-25 15:16:39 +01:00
Alicia Sykes
cc94f223a7 🔂 Merge branch 'master' of github.com:lissy93/dashy into ref/small-upgrades 2026-07-25 15:01:51 +01:00
Alicia Sykes
463930689b 🚚 Moves / organises service utils into sub-directories 2026-07-25 12:05:51 +01:00
Alicia Sykes
3974f20efe 🔀 Merge branch 'master' of github.com:lissy93/dashy into feat/drag-n-drop-editing 2026-07-23 11:49:54 +01:00
Alicia Sykes
2b90a24c4f ⬆️ Big dependency bumps throughout 2026-07-22 22:12:36 +01:00
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
9003859c94 🧪 Tests for drag-and-drop of items/sections 2026-07-10 18:07:38 +01:00
Alicia Sykes
a08491e25a 🛂 Adds option to disable server-side OIDC checks 2026-07-09 20:31:20 +01:00
Alicia Sykes
77b39b1053 🧪 Update tests for custom widget number formatting 2026-07-09 09:48:49 +01:00
Alicia Sykes
b2e8871622 Adds scale, prefix and remap for custom-api widget (#2232) 2026-07-09 09:42:20 +01:00
Alicia Sykes
3c4a9446e4 Configurable number formatting for custom-api (#2232) 2026-07-09 09:22:27 +01:00
Alicia Sykes
7a5b20f750 🧪 Tests for OIDC token checking (#2217) 2026-07-02 12:51:15 +01:00
Alicia Sykes
aa8279d53f 🛂 Option for overriding allowed issuers (#2210) 2026-06-16 10:54:56 +01:00
Alicia Sykes
1406587087 🔀 Merge pull request #2209 from lissy93/feat/api
First version of REST API
2026-06-15 12:20:31 +01:00
Alicia Sykes
1500839ef5 REST API for dashboard management (#2011) 2026-06-14 18:22:17 +01:00
Alicia Sykes
265685dfc4 🧪 Tests for OIDC admin lookup (#2202) 2026-06-12 11:05:28 +01: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
Alicia Sykes
8ff1c44471 🔀 Merge pull request #2193 from lissy93/sec/apply-host-blocklist-on-redirects
Re-check host blocklist on redirects and in status-check
2026-06-10 15:26:32 +01:00
Alicia Sykes
5f013449f9 🔒 Re-check host blocklist on redirects and in status-check 2026-06-10 15:03:14 +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
f34b7fb650 🛂 Server protects yaml as well as yml 2026-06-04 10:07:16 +01:00
Alicia Sykes
eb969e6c42 🧪 Tests for search functionality 2026-05-22 15:11:00 +01:00
Alicia Sykes
702e884418 🛂 Skip 401 for root config OIDC, return empty instead 2026-05-21 21:34:08 +01:00
Alicia Sykes
9218ab5822 🧪 Tests the bootstrap config has the flag 2026-05-21 20:58:38 +01:00
Alicia Sykes
85e1ce73a6 🛂 Stricter config access for OIDC/Keycloak 2026-05-18 12:55:58 +01:00
Alicia Sykes
63574b2308 🌐Removed dead translation keys 2026-05-16 14:42:59 +01:00
Alicia Sykes
72aacc234b 🧪 Adds test/lint/coverage script for i18n files 2026-05-16 12:55:33 +01:00
Alicia Sykes
93f7633a7d 🔐 Applies server-side authentication to all internal routes when OIDC/KC enabled 2026-05-15 13:50:56 +01:00
Alicia Sykes
19bd665d2a 🩺 Updates healthz endpoint usage 2026-05-02 19:10:05 +01:00
Alicia Sykes
5fdf50ceb5 🥅 Catch + pass down any upstream/API errors 2026-04-29 17:10:46 +01:00
Alicia Sykes
31a1cbf278 🦖 Adds env var parsing for backward compatibility widget tokens 2026-04-26 15:36:40 +01:00
Alicia Sykes
ee099aa3a7 💥 Removes all in-app rebuild functionality 2026-04-26 14:33:16 +01:00
Alicia Sykes
f9b80f7837 🧪 Fix test for item link 2026-04-25 23:44:53 +01:00
Alicia Sykes
382f37abce All multi view, config, section paths working 2026-04-20 14:30:10 +01:00
Alicia Sykes
4eab074172 💥 Removes default footer, if not configured by user 2026-04-19 18:29:03 +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
8bf2f8e02d 🔄️ Merge branch 'master' of github.com:lissy93/dashy into migration/vue3-upgrade 2026-04-13 14:52:49 +01:00
Alicia Sykes
81f949e772 🐳 Endpoint check to docker smoketest 2026-04-12 19:44:12 +01:00
Alicia Sykes
999bc97ac4 🧪 Tests for all the node endpoints 2026-04-12 19:21:40 +01:00
Alicia Sykes
b55f32fbf0 🚨 Makes linter happy 2026-04-10 16:12:06 +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
70f0ed1e13 🚨 Fixes CI failure from unused imports, resolves deepscan checks 2026-03-08 16:51:13 +00:00
Alicia Sykes
7fb485ecf2 👷 Adds CI for running tests 2026-03-08 16:33:24 +00:00
Alicia Sykes
099e6e4c00 🧪 Adds Docker smoke test 2026-03-08 16:32:27 +00:00
Alicia Sykes
57fd489480 🚛 Robustness improvments 2026-01-13 12:55:02 +00:00