]> Git [git.vados.ru] :: Repos - Mikrotiks/ros.vados.ru.git/commitdiff
Autocommit in repo: ros.vados.ru, generated by owner: root, in 00:30:03 01.05.2026.
authorvados-dev <192440777+vados-dev@users.noreply.github.com>
Thu, 30 Apr 2026 21:30:03 +0000 (00:30 +0300)
committervados-dev <192440777+vados-dev@users.noreply.github.com>
Thu, 30 Apr 2026 21:30:03 +0000 (00:30 +0300)
html/AM-GlobalFunc.rsc
html/mod/AM-TG-Notifications.rsc
html/mod/AM-TG-Notifications.rsc.diff

index 7d6d1868c81378c99cdde41e152a1f94608d0ab7..8afe83fd0bcf65697fecc347ac68a4025c343aa6 100644 (file)
@@ -17,9 +17,9 @@
 :global GlobalFuncReady false;
 
 # Git commit id & info, expected configuration version
-:global CommitId "main/317/bda7131a";
+:global CommitId "main/318/cc6455ca";
 :global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 00:25:03 01.05.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 00:30:03 01.05.2026.";
 
 # The variables are received right here.
 :global GlobalConfVersion 138;
index 73ad0d5eb0d1e98ae79b1fbe516a966342f2c352..63bc2b292f8e0b0a365212c8ad81b16e8c223899 100644 (file)
     :local Text [ :tostr $1 ];
     :local Mode [ :tostr $2 ];
     :local Excl [ :tostr $3 ];
+
     :global CharacterReplace;
     :global IfThenElse;
+
     :local Chars {
        "body"={ "\\"; "`" };
       "plain"={ "_"; "*"; "["; "]"; "("; ")"; "~"; "`"; ">";
index 143cb549f971eade0f54948b5f0112d125711ae1..63a688a445e807c6c5a176b5a4d9474c5a26dd5c 100644 (file)
 < :global ExitOnError; $ExitOnError $0 $Err;
 ---
 >   :global ExitOnError; $ExitOnError $0 $Err;
-95a107
-> 
-105a118
-> 
-113a127
-> 
-117a132
-> 
-119a135
-> 
-130c146,150
+107d117
+<   :global CertificateAvailable;
+108a119
+>   :global CertificateAvailable;
+135c146,150
 <     :if ($Mode = "body") do={:return ("```\n" . $Text . "\n```")}
 ---
 > 
@@ -46,9 +40,9 @@
 >       :return ("```\n" . $Text . "\n```");
 >     }
 > 
-132a153
+137a153
 > 
-139,140c160,168
+144,145c160,168
 <   :if ([ :len $TokenId ] = 0 || [ :len $ChatId ] = 0) do={:return false}
 <   :if ([ :typeof $TelegramMessageIDs ] = "nothing") do={:set TelegramMessageIDs ({})}
 ---
 >     :set TelegramMessageIDs ({});
 >   }
 > 
-151c179,181
+156c179,181
 <   } else={:set Text ($Text . [ $EscapeMD ($Notification->"message") "body" ])}
 ---
 >   } else={
 >     :set Text ($Text . [ $EscapeMD ($Notification->"message") "body" ]);
 >   }
-161a192
+166a192
 > 
-176c207,210
+181c207,210
 <     :if ([ :typeof $TelegramQueue ] = "nothing") do={:set TelegramQueue ({})}
 ---
 > 
 >     :if ([ :typeof $TelegramQueue ] = "nothing") do={
 >       :set TelegramQueue ({});
 >     }
-191a226
+196a226
 > 
-198a234
+203a234
 > 
-200,201c236,238
+205,206c236,238
 < } do={:global ExitOnError; $ExitOnError $0 $Err}
 < }
 ---
 > } do={
 >   :global ExitOnError; $ExitOnError $0 $Err;
 > } }
-205a243
+210a243
 > 
-206a245
+211a245
 >