feat: add Uptime Kuma integration with periodic ping task and configuration options

This commit is contained in:
Christian Krakau-Louis
2025-04-01 22:44:46 +02:00
parent 4ba34e2cbc
commit ceaed1a081
19 changed files with 921 additions and 525 deletions
+7 -9
View File
@@ -34,16 +34,14 @@
{{ item.name }}
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
{% if debug_enabled %}
{% if item.value is none %}
<span class="text-gray-400">NULL</span>
{% elif item.value == "" %}
<span class="text-gray-400">(empty string)</span>
{% else %}
{{ item.value }}
{% endif %}
{% if item.value is none %}
<span class="text-gray-400">NULL</span>
{% elif item.value == "" %}
<span class="text-gray-400">(empty string)</span>
{% elif item.value == "********" %}
<span class="text-gray-400">********</span>
{% else %}
<span class="text-gray-400">*** hidden in non-debug mode ***</span>
{{ item.value }}
{% endif %}
</td>
<td class="px-6 py-4 whitespace-nowrap">
+2
View File
@@ -44,6 +44,8 @@
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14" />
{% elif provider.icon == "microsoft" %}
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
{% elif provider.icon == "activity" %}
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z" />
{% else %}
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
{% endif %}