Wallos: Open-source, self-hostable personal subscription tracker. Visualize your recurring expenses, manage your budget, and save money.
feat: add mattermost notifications (#923) (#934)
Miguel Ribeiro5629a319bc5e
diff --git a/includes/i18n/cs.php b/includes/i18n/cs.phpindex d2a75f8..5daeb8f 100644--- a/includes/i18n/cs.php+++ b/includes/i18n/cs.php@@ -196,6 +196,10 @@ $i18n = ["telegram_chat_id" => "ID chatu v Telegramu","pushplus" => "Pushplus","pushplus_token" => "Pushplus Token",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "WebHook URL",+ "mattermost_bot_username" => "Uživatelské jméno služby Mattermost Bot",+ "mattermost_bot_icon_emoji" => "Emoji ikony bota","webhook" => "Webhook","webhook_url" => "Adresa URL webhooku","request_method" => "Metoda požadavku",diff --git a/includes/i18n/da.php b/includes/i18n/da.phpindex 9bceb0d..4a34c04 100644--- a/includes/i18n/da.php+++ b/includes/i18n/da.php@@ -196,6 +196,10 @@ $i18n = ["telegram_chat_id" => "Telegram Chat ID","pushplus" => "Pushplus","pushplus_token" => "Pushplus Token",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "Mattermost Webhook URL",+ "mattermost_bot_username" => "Mattermost Bot Brugernavn",+ "mattermost_bot_icon_emoji" => "Emoji til bot-ikon","webhook" => "Webhook","webhook_url" => "Webhook URL","request_method" => "Request-metode",diff --git a/includes/i18n/de.php b/includes/i18n/de.phpindex 2e8312d..396edda 100644--- a/includes/i18n/de.php+++ b/includes/i18n/de.php@@ -195,6 +195,10 @@ $i18n = ["telegram_chat_id" => "Telegram Chat ID","pushplus" => "Pushplus","pushplus_token" => "Pushplus Token",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "Mattermost Webhook URL",+ "mattermost_bot_username" => "Mattermost Bot Benutzername",+ "mattermost_bot_icon_emoji" => "Emoji zum Bot-Icon","webhook" => "Webhook","webhook_url" => "Webhook URL","request_method" => "Request Methode",diff --git a/includes/i18n/el.php b/includes/i18n/el.phpindex 5ac49c5..d0eba81 100644--- a/includes/i18n/el.php+++ b/includes/i18n/el.php@@ -195,6 +195,10 @@ $i18n = ["telegram_chat_id" => "Τηλεγραφήματα Chat ID","pushplus" => "Pushplus","pushplus_token" => "Pushplus Token",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "Mattermost WebHook URL",+ "mattermost_bot_username" => "Mattermost Bot Όνομα χρήστη",+ "mattermost_bot_icon_emoji" => "Emoji εικονιδίου bot","webhook" => "Webhook","webhook_url" => "Webhook URL","request_method" => "Μέθοδος αίτησης",diff --git a/includes/i18n/es.php b/includes/i18n/es.phpindex 86b919b..7216953 100644--- a/includes/i18n/es.php+++ b/includes/i18n/es.php@@ -195,6 +195,10 @@ $i18n = ["telegram_chat_id" => "ID del Chat de Telegram","pushplus" => "Pushplus","pushplus_token" => "Token de Pushplus",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "URL del Webhook de Mattermost",+ "mattermost_bot_username" => "Nombre de usuario del Bot de Mattermost",+ "mattermost_bot_icon_emoji" => "Emoji del Icono del Bot","webhook" => "Webhook","webhook_url" => "URL del Webhook","request_method" => "Método de Solicitud",diff --git a/includes/i18n/fr.php b/includes/i18n/fr.phpindex a51275d..e9af423 100644--- a/includes/i18n/fr.php+++ b/includes/i18n/fr.php@@ -195,6 +195,10 @@ $i18n = ["telegram_chat_id" => "ID de chat Telegram","pushplus" => "Pushplus","pushplus_token" => "Jeton Pushplus",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "URL du webhook Mattermost",+ "mattermost_bot_username" => "Nom d'utilisateur du bot Mattermost",+ "mattermost_bot_icon_emoji" => "Emoji de l'icône du bot Mattermost","webhook" => "Webhook","webhook_url" => "URL du webhook","request_method" => "Méthode de requête",diff --git a/includes/i18n/id.php b/includes/i18n/id.phpindex db93f15..19c40bd 100644--- a/includes/i18n/id.php+++ b/includes/i18n/id.php@@ -196,6 +196,10 @@ $i18n = ["telegram_chat_id" => "ID Obrolan Telegram","pushplus" => "Pushplus","pushplus_token" => "Token Pushplus",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "URL Webhook Mattermost",+ "mattermost_bot_username" => "Nama Pengguna Bot Mattermost",+ "mattermost_bot_icon_emoji" => "Emoji Ikon Bot Mattermost","webhook" => "Webhook","webhook_url" => "URL Webhook","request_method" => "Metode Permintaan",diff --git a/includes/i18n/it.php b/includes/i18n/it.phpindex 4113904..4c6d35b 100644--- a/includes/i18n/it.php+++ b/includes/i18n/it.php@@ -203,6 +203,10 @@ $i18n = ["telegram_chat_id" => "Telegram Chat ID","pushplus" => "Pushplus","pushplus_token" => "Pushplus Token",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "Mattermost Webhook URL",+ "mattermost_bot_username" => "Mattermost Bot Nome utente",+ "mattermost_bot_icon_emoji" => "Mattermost Bot Icon Emoji","webhook" => "Webhook","webhook_url" => "Webhook URL","request_method" => "Metodo di richiesta",diff --git a/includes/i18n/jp.php b/includes/i18n/jp.phpindex c555ed8..c4283a9 100644--- a/includes/i18n/jp.php+++ b/includes/i18n/jp.php@@ -196,6 +196,10 @@ $i18n = ["telegram_chat_id" => "TelegramチャットID","pushplus" => "Pushplus","pushplus_token" => "Pushplusトークン",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "Mattermost Webhook URL",+ "mattermost_bot_username" => "Mattermost Bot ユーザー名",+ "mattermost_bot_icon_emoji" => "Mattermost Bot アイコン絵文字","webhook" => "Webhook","webhook_url" => "Webhook URL","request_method" => "リクエストメソッド",diff --git a/includes/i18n/ko.php b/includes/i18n/ko.phpindex 6c858b6..c54cdca 100644--- a/includes/i18n/ko.php+++ b/includes/i18n/ko.php@@ -195,6 +195,10 @@ $i18n = ["telegram_chat_id" => "텔레그램 채팅 ID","pushplus" => "Pushplus","pushplus_token" => "Pushplus 토큰",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "Mattermost 웹훅 URL",+ "mattermost_bot_username" => "Mattermost 봇 유저명",+ "mattermost_bot_icon_emoji" => "Mattermost 봇 아이콘 이모지","webhook" => "웹훅","webhook_url" => "웹훅 URL","request_method" => "요청 메서드",diff --git a/includes/i18n/nl.php b/includes/i18n/nl.phpindex f789b57..d4df203 100644--- a/includes/i18n/nl.php+++ b/includes/i18n/nl.php@@ -196,6 +196,10 @@ $i18n = ["telegram_chat_id" => "Telegram Chat ID","pushplus" => "Pushplus","pushplus_token" => "Pushplus Token",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "Mattermost Webhook URL",+ "mattermost_bot_username" => "Mattermost Bot Gebruikersnaam",+ "mattermost_bot_icon_emoji" => "Mattermost Bot Icon Emoji","webhook" => "Webhook","webhook_url" => "Webhook URL","request_method" => "Request Methode",diff --git a/includes/i18n/pl.php b/includes/i18n/pl.phpindex fecbc12..7d3b4b7 100644--- a/includes/i18n/pl.php+++ b/includes/i18n/pl.php@@ -195,6 +195,10 @@ $i18n = ["telegram_chat_id" => "ID czatu","pushplus" => "Pushplus","pushplus_token" => "Token Pushplus",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "URL webhooka Mattermost",+ "mattermost_bot_username" => "Nazwa użytkownika bota Mattermost",+ "mattermost_bot_icon_emoji" => "Emoji ikony bota Mattermost","webhook" => "Webhook","webhook_url" => "URL webhooka","request_method" => "Metoda żądania",diff --git a/includes/i18n/pt_br.php b/includes/i18n/pt_br.phpindex e1388fd..7261fee 100644--- a/includes/i18n/pt_br.php+++ b/includes/i18n/pt_br.php@@ -195,6 +195,10 @@ $i18n = ["telegram_chat_id" => "Chat ID","pushplus" => "Pushplus","pushplus_token" => "Token do Pushplus",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "Mattermost URL do Webhook",+ "mattermost_bot_username" => "Mattermost Bot Nome de Usuário",+ "mattermost_bot_icon_emoji" => "Mattermost Bot Ícone Emoji","webhook" => "Webhook","webhook_url" => "URL do Webhook","request_method" => "Método de requisição",diff --git a/includes/i18n/ru.php b/includes/i18n/ru.phpindex d795a90..e8b9f24 100644--- a/includes/i18n/ru.php+++ b/includes/i18n/ru.php@@ -195,6 +195,10 @@ $i18n = ["telegram_chat_id" => "Telegram Chat ID","pushplus" => "Pushplus","pushplus_token" => "Токен Pushplus",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "Mattermost Webhook URL",+ "mattermost_bot_username" => "Mattermost Bot Имя пользователя",+ "mattermost_bot_icon_emoji" => "Mattermost Bot Иконка Emoji","webhook" => "Webhook","webhook_url" => "Webhook URL","request_method" => "Метод запроса",diff --git a/includes/i18n/sl.php b/includes/i18n/sl.phpindex 48f2a94..f8f4584 100644--- a/includes/i18n/sl.php+++ b/includes/i18n/sl.php@@ -195,6 +195,10 @@ $i18n = ["telegram_chat_id" => "ID klepeta Telegrama","pushplus" => "Pushplus","pushplus_token" => "Pushplus žeton",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "Mattermost Webhook URL",+ "mattermost_bot_username" => "Mattermost Bot Uporabniško ime",+ "mattermost_bot_icon_emoji" => "Mattermost Bot Ikona Emoji","webhook" => "Webhook","webhook_url" => "Webhook URL","request_method" => "Metoda zahteve",diff --git a/includes/i18n/sr.php b/includes/i18n/sr.phpindex 5909f87..4de1b21 100644--- a/includes/i18n/sr.php+++ b/includes/i18n/sr.php@@ -195,6 +195,10 @@ $i18n = ["telegram_chat_id" => "Телеграм чет ID","pushplus" => "Pushplus","pushplus_token" => "Pushplus токен",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "Mattermost Webhook URL",+ "mattermost_bot_username" => "Mattermost Bot Име корисника",+ "mattermost_bot_icon_emoji" => "Mattermost Bot Икона Emoji","webhook" => "Вебхук","webhook_url" => "Вебхук URL","request_method" => "Метод захтева",diff --git a/includes/i18n/sr_lat.php b/includes/i18n/sr_lat.phpindex 60857cb..e25f21b 100644--- a/includes/i18n/sr_lat.php+++ b/includes/i18n/sr_lat.php@@ -195,6 +195,10 @@ $i18n = ["telegram_chat_id" => "Telegram chat ID","pushplus" => "Pushplus","pushplus_token" => "Pushplus token",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "Mattermost Webhook URL",+ "mattermost_bot_username" => "Mattermost Bot Korisničko ime",+ "mattermost_bot_icon_emoji" => "Mattermost Bot Ikona Emoji","webhook" => "Webhook","webhook_url" => "Webhook URL","request_method" => "Metod zahteva",diff --git a/includes/i18n/tr.php b/includes/i18n/tr.phpindex 4429032..12e6463 100644--- a/includes/i18n/tr.php+++ b/includes/i18n/tr.php@@ -195,6 +195,10 @@ $i18n = ["telegram_chat_id" => "Telegram Chat ID","pushplus" => "Pushplus","pushplus_token" => "Pushplus Token",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "Mattermost Webhook URL",+ "mattermost_bot_username" => "Mattermost Bot Kullanıcı Adı",+ "mattermost_bot_icon_emoji" => "Mattermost Bot İkon Emoji","webhook" => "Webhook","webhook_url" => "Webhook URL","request_method" => "İstek Metodu",diff --git a/includes/i18n/uk.php b/includes/i18n/uk.phpindex 6eb63cf..db9e8ae 100644--- a/includes/i18n/uk.php+++ b/includes/i18n/uk.php@@ -195,6 +195,10 @@ $i18n = ["telegram_chat_id" => "Telegram Chat ID","pushplus" => "Pushplus","pushplus_token" => "Pushplus токен",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "Mattermost Webhook URL",+ "mattermost_bot_username" => "Mattermost Bot Ім'я користувача",+ "mattermost_bot_icon_emoji" => "Mattermost Bot Ікона Emoji","webhook" => "Webhook","webhook_url" => "Webhook URL","request_method" => "Метод запиту",diff --git a/includes/i18n/vi.php b/includes/i18n/vi.phpindex d8705dd..10dd176 100644--- a/includes/i18n/vi.php+++ b/includes/i18n/vi.php@@ -196,6 +196,10 @@ $i18n = ["telegram_chat_id" => "ID cuộc trò chuyện Telegram","pushplus" => "Pushplus","pushplus_token" => "Mã thông báo Pushplus",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "Mattermost Webhook URL",+ "mattermost_bot_username" => "Mattermost Bot Tên người dùng",+ "mattermost_bot_icon_emoji" => "Mattermost Bot Biểu tượng Emoji","webhook" => "Webhook","webhook_url" => "URL Webhook","request_method" => "Phương thức yêu cầu",diff --git a/includes/i18n/zh_cn.php b/includes/i18n/zh_cn.phpindex 307feb8..11fa605 100644--- a/includes/i18n/zh_cn.php+++ b/includes/i18n/zh_cn.php@@ -204,6 +204,10 @@ $i18n = ["telegram_chat_id" => "Telegram 聊天 ID","pushplus" => "Pushplus","pushplus_token" => "消息令牌或者是用户令牌",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "Mattermost Webhook URL",+ "mattermost_bot_username" => "Mattermost Bot 用户名",+ "mattermost_bot_icon_emoji" => "Mattermost Bot 表情图标","webhook" => "Webhook","webhook_url" => "Webhook URL","request_method" => "请求方法",diff --git a/includes/i18n/zh_tw.php b/includes/i18n/zh_tw.phpindex e3639f2..d4d2330 100644--- a/includes/i18n/zh_tw.php+++ b/includes/i18n/zh_tw.php@@ -196,6 +196,10 @@ $i18n = ["telegram_chat_id" => "Telegram 聊天 ID","pushplus" => "PushPlus","pushplus_token" => "消息令牌或者是用户令牌",+ "mattermost" => "Mattermost",+ "mattermost_webhook_url" => "Mattermost Webhook 網址",+ "mattermost_bot_username" => "Mattermost Bot 使用者名稱",+ "mattermost_bot_icon_emoji" => "Mattermost Bot 表情圖示","webhook" => "Webhook","webhook_url" => "Webhook 網址","request_method" => "請求方法",diff --git a/includes/version.php b/includes/version.phpindex 98e3de3..750fec7 100644--- a/includes/version.php+++ b/includes/version.php@@ -1,3 +1,3 @@<?php-$version = "v4.3.0";+$version = "v4.4.0";?>\ No newline at end of filediff --git a/settings.php b/settings.phpindex 5e3bfea..8d5d9ab 100644--- a/settings.php+++ b/settings.php@@ -626,7 +626,7 @@ $userData['currency_symbol'] = $currencies[$main_currency]['symbol'];<section class="account-notifications-section"><header class="account-notification-section-header" onclick="openNotificationsSettings('mattermost');"><h3>- <i class="fa-solid fa-bell"></i>+ <i class="fa-solid fa-gauge-simple-high"></i><?= translate('mattermost', $i18n) ?></h3></header>