uptime-kuma/src/pages
SGprooo 1d9a28e9ab
feat: Tailscale ping monitor (#3178)
* Add boilerplate for tailscale ping

* tailscale initial commit draft

* Refactor TailscalePing & better error handling

Split check function into two methods and added async/await syntax for readability/modularity
Switched to promise-based error handling (takes into account different types of error such as "Execution error", "Error in output", "no matching peer", and "is local Tailscale IP") and throws them as JavaScript errors.

* Minor update

* minor update (again)

* Update server/monitor-types/tailscale-ping.js

Co-authored-by: Frank Elsinga <frank@elsinga.de>

* Update server/monitor-types/tailscale-ping.js

Co-authored-by: Frank Elsinga <frank@elsinga.de>

* Update server/monitor-types/tailscale-ping.js

Co-authored-by: Frank Elsinga <frank@elsinga.de>

* Update server/monitor-types/tailscale-ping.js

Co-authored-by: Frank Elsinga <frank@elsinga.de>

* timeout revision

* JSDoc

* Removed long explainers

* eslint tailscale-ping.js --fix

* reran eslint

* Fix: Use hostname rather than url

* Fixed NaN on monitor interval

now interval value is correctly passed to runTailscalePing

* Add warning message

---------

Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2023-07-19 20:58:21 +08:00
..
AddStatusPage.vue Added JSDoc for src/pages/* 2022-06-02 13:46:44 +01:00
Dashboard.vue Tidy up 2022-09-17 22:09:09 +08:00
DashboardHome.vue Tidy up 2022-09-17 22:09:09 +08:00
Details.vue feat: json-query monitor added (#3253) 2023-07-13 23:37:26 +08:00
EditMaintenance.vue Merge branch 'master' into group-monitors 2023-05-31 20:51:33 +02:00
EditMonitor.vue feat: Tailscale ping monitor (#3178) 2023-07-19 20:58:21 +08:00
Entry.vue Fix theme color that do not apply to status page with a custom domain 2022-04-10 13:46:00 +08:00
List.vue Fix: misc. layout fix on mobile 2022-06-14 22:43:44 +08:00
MaintenanceDetails.vue Added JSDoc for src/ 2023-01-05 22:55:51 +00:00
ManageMaintenance.vue add keys for translation 2023-02-05 01:07:20 +01:00
ManageStatusPage.vue Fix logo height in the status page list 2022-06-21 15:46:22 +08:00
NotFound.vue Update NotFound.vue 2023-06-13 16:10:41 +03:00
Settings.vue Drop unused code 2023-07-03 14:50:30 +08:00
Setup.vue Fix change language issue in the setup page 2023-02-06 22:35:56 +08:00
StatusPage.vue Fix: Incorrect data type for DateTime component 2023-06-29 04:17:47 +08:00