feat: add discord and pushover as notification agents (#300)

fix: most error messages of the notifications endpoints would not reach the frontend
This commit is contained in:
Miguel Ribeiro
2024-05-06 18:55:10 +02:00
committed by GitHub
parent 4199d4c3e7
commit 899482982e
40 changed files with 2317 additions and 23 deletions
+1
View File
@@ -46,6 +46,7 @@
<link rel="stylesheet" href="styles/themes/yellow.css?<?= $version ?>" id="yellow-theme" <?= $colorTheme != "yellow" ? "disabled" : "" ?>>
<link rel="stylesheet" href="styles/barlow.css">
<link rel="stylesheet" href="styles/font-awesome.min.css">
<link rel="stylesheet" href="styles/brands.css">
<script type="text/javascript" src="scripts/all.js?<?= $version ?>"></script>
<script type="text/javascript" src="scripts/common.js?<?= $version ?>"></script>
<script type="text/javascript">
+5
View File
@@ -132,6 +132,11 @@ $i18n = [
"variables_available" => "Verfügbare Variablen",
"gotify" => "Gotify",
"token" => "Token",
"discord" => "Discord",
"discord_bot_username" => "Bot Benutzername",
"discord_bot_avatar_url" => "Bot Avatar URL",
"pushover" => "Pushover",
"pushover_user_key" => "Pushover User Key",
"categories" => "Kategorien",
"save_category" => "Kategorie speichern",
"delete_category" => "Kategorie löschen",
+5
View File
@@ -132,6 +132,11 @@ $i18n = [
"variables_available" => "Διαθέσιμες μεταβλητές",
"gotify" => "Gotify",
"token" => "Token",
"discord" => "Discord",
"discord_bot_username" => "Discord Bot Username",
"discord_bot_avatar_url" => "Discord Bot Avatar URL",
"pushover" => "Pushover",
"pushover_user_key" => "Pushover User Key",
"categories" => "Κατηγορίες",
"save_category" => "Αποθήκευση κατηγορίας",
"delete_category" => "Διαγραφή κατηγορίας",
+5
View File
@@ -132,6 +132,11 @@ $i18n = [
"variables_available" => "Variables available",
"gotify" => "Gotify",
"token" => "Token",
"discord" => "Discord",
"discord_bot_username" => "Discord Bot Username",
"discord_bot_avatar_url" => "Discord Bot Avatar URL",
"pushover" => "Pushover",
"pushover_user_key" => "Pushover User Key",
"categories" => "Categories",
"save_category" => "Save Category",
"delete_category" => "Delete Category",
+5
View File
@@ -132,6 +132,11 @@ $i18n = [
"variables_available" => "Variables disponibles",
"gotify" => "Gotify",
"token" => "Token",
"discord" => "Discord",
"discord_bot_username" => "Nombre de usuario del bot",
"discord_bot_avatar_url" => "URL del avatar del bot",
"pushover" => "Pushover",
"pushover_user_key" => "Clave de usuario",
"categories" => "Categorías",
"save_category" => "Guardar Categoría",
"delete_category" => "Eliminar Categoría",
+5
View File
@@ -132,6 +132,11 @@ $i18n = [
"variables_available" => "Variables disponibles",
"gotify" => "Gotify",
"token" => "Jeton",
"discord" => "Discord",
"discord_bot_username" => "Nom d'utilisateur du bot Discord",
"discord_bot_avatar_url" => "URL de l'avatar du bot Discord",
"pushover" => "Pushover",
"pushover_user_key" => "Clé utilisateur Pushover",
"categories" => "Catégories",
"save_category" => "Enregistrer la catégorie",
"delete_category" => "Supprimer la catégorie",
+5
View File
@@ -137,6 +137,11 @@ $i18n = [
"variables_available" => "Variabili disponibili",
"gotify" => "Gotify",
"token" => "Token",
"discord" => "Discord",
"discord_bot_username" => "Nome utente del bot",
"discord_bot_avatar_url" => "URL dell'avatar del bot",
"pushover" => "Pushover",
"pushover_user_key" => "Chiave utente",
'categories' => 'Categorie',
'save_category' => 'Salva categoria',
'delete_category' => 'Elimina categoria',
+5
View File
@@ -132,6 +132,11 @@ $i18n = [
"variables_available" => "利用可能な変数",
"gotify" => "Gotify",
"token" => "トークン",
"discord" => "Discord",
"discord_bot_username" => "Discordボットユーザー名",
"discord_bot_avatar_url" => "DiscordボットアバターURL",
"pushover" => "Pushover",
"pushover_user_key" => "Pushoverユーザーキー",
"categories" => "カテゴリ",
"save_category" => "カテゴリを保存",
"delete_category" => "カテゴリを削除",
+5
View File
@@ -132,6 +132,11 @@ $i18n = [
"variables_available" => "Dostępne zmienne",
"gotify" => "Gotify",
"token" => "Token",
"discord" => "Discord",
"discord_bot_username" => "Nazwa użytkownika bota",
"discord_bot_avatar_url" => "URL awatara bota",
"pushover" => "Pushover",
"pushover_user_key" => "Klucz użytkownika",
"categories" => "Kategorie",
"save_category" => "Zapisz kategorię",
"delete_category" => "Usuń kategorię",
+5
View File
@@ -132,6 +132,11 @@ $i18n = [
"variables_available" => "Variáveis Disponíveis",
"gotify" => "Gotify",
"token" => "Token",
"discord" => "Discord",
"discord_bot_username" => "Nome de Utilizador do Bot",
"discord_bot_avatar_url" => "URL do Avatar do Bot",
"pushover" => "Pushover",
"pushover_user_key" => "Chave de Utilizador Pushover",
"categories" => "Categorias",
"save_category" => "Guardar Categoria",
"delete_category" => "Apagar Categoria",
+5
View File
@@ -130,6 +130,11 @@ $i18n = [
"variables_available" => "Variáveis disponíveis",
"gotify" => "Gotify",
"token" => "Token",
"discord" => "Discord",
"discord_bot_username" => "Nome do Bot",
"discord_bot_avatar_url" => "URL do Avatar",
"pushover" => "Pushover",
"pushover_user_key" => "Chave do Usuário",
"categories" => "Categorias",
"save_category" => "Salvar categoria",
"delete_category" => "Excluir categoria",
+5
View File
@@ -132,6 +132,11 @@ $i18n = [
"variables_available" => "Доступне променљиве",
"gotify" => "Готифи",
"token" => "Токен",
"discord" => "Дискорд",
"discord_bot_username" => "Дискорд бот корисничко име",
"discord_bot_avatar_url" => "Дискорд бот URL аватара",
"pushover" => "Пушовер",
"pushover_user_key" => "Пушовер кориснички кључ",
"categories" => "Категорије",
"save_category" => "Сачувај категорију",
"delete_category" => "Избриши категорију",
+5
View File
@@ -132,6 +132,11 @@ $i18n = [
"variables_available" => "Dostupne promenljive",
"gotify" => "Gotify",
"token" => "Token",
"discord" => "Discord",
"discord_bot_username" => "Discord bot korisničko ime",
"discord_bot_avatar_url" => "Discord bot URL avatara",
"pushover" => "Pushover",
"pushover_user_key" => "Pushover korisnički ključ",
"categories" => "Kategorije",
"save_category" => "Sačuvaj kategoriju",
"delete_category" => "Izbriši kategoriju",
+5
View File
@@ -132,6 +132,11 @@ $i18n = [
"variables_available" => "Kullanılabilir Değişkenler",
"gotify" => "Gotify",
"token" => "Token",
"discord" => "Discord",
"discord_bot_username" => "Discord Bot Kullanıcı Adı",
"discord_bot_avatar_url" => "Discord Bot Avatar URL",
"pushover" => "Pushover",
"pushover_user_key" => "Pushover Kullanıcı Anahtarı",
"categories" => "Kategoriler",
"save_category" => "Kategoriyi Kaydet",
"delete_category" => "Kategoriyi Sil",
+5
View File
@@ -139,6 +139,11 @@ $i18n = [
"variables_available" => "可用变量",
"gotify" => "Gotify",
"token" => "令牌",
"discord" => "Discord",
"discord_bot_username" => "Discord 机器人用户名",
"discord_bot_avatar_url" => "Discord 机器人头像 URL",
"pushover" => "Pushover",
"pushover_user_key" => "Pushover 用户密钥",
"categories" => "分类",
"save_category" => "保存分类",
"delete_category" => "删除分类",
+5
View File
@@ -132,6 +132,11 @@ $i18n = [
"variables_available" => "可用變數",
"gotify" => "Gotify",
"token" => "令牌",
"discord" => "Discord",
"discord_bot_username" => "Discord 機器人使用者名稱",
"discord_bot_avatar_url" => "Discord 機器人頭像 URL",
"pushover" => "Pushover",
"pushover_user_key" => "Pushover 使用者金鑰",
"categories" => "分類",
"save_category" => "儲存分類",
"delete_category" => "刪除分類",
+1 -1
View File
@@ -1,3 +1,3 @@
<?php
$version = "v1.24.0";
$version = "v1.25.0";
?>