iobroker.telegram 3.5.2 → 3.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -39,6 +39,9 @@ Use telegram service to communicate with ioBroker
39
39
  Placeholder for the next version (at the beginning of the line):
40
40
  ### **WORK IN PROGRESS**
41
41
  -->
42
+ ### 3.5.3 (2024-06-18)
43
+ * (foxriver76) escape all unallowed characters when sending with notification manager
44
+
42
45
  ### 3.5.2 (2024-06-16)
43
46
  * (foxriver76) escape more unallowed characters when sending with notification manager
44
47
 
@@ -52,11 +55,6 @@ Use telegram service to communicate with ioBroker
52
55
  ### 3.4.1 (2024-06-09)
53
56
  * (klein0r) Blockly 9 compatibility for new ask block
54
57
 
55
- ### 3.4.0 (2024-06-08)
56
- * (klein0r) Updated Blockly definitions
57
- * (klein0r) Added Blockly block to ask questions
58
- * (klein0r) Remove keyboard on answer (or timeout)
59
-
60
58
  ## License
61
59
 
62
60
  The MIT License (MIT)
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "telegram",
4
- "version": "3.5.2",
4
+ "version": "3.5.3",
5
5
  "news": {
6
+ "3.5.3": {
7
+ "en": "(foxriver76) escape all unallowed characters when sending with notification manager",
8
+ "de": "(foxriver76) entkommen alle unallowed zeichen beim senden mit benachrichtigungsmanager",
9
+ "ru": "(foxriver76) избегают всех неразрешенных персонажей при отправке с менеджером уведомлений",
10
+ "pt": "(foxriver76) escapar de todos os caracteres não permitidos ao enviar com o gerenciador de notificações",
11
+ "nl": "(foxriver76) ontsnappen aan alle niet toegestane tekens bij het verzenden met notificatiebeheerder",
12
+ "fr": "(foxriver76) échappe à tous les caractères non autorisés lors de l'envoi avec le gestionnaire de notification",
13
+ "it": "(foxriver76) sfuggire a tutti i caratteri non consentiti durante l'invio con gestore di notifiche",
14
+ "es": "(foxriver76) escape todos los caracteres no autorizados al enviar con el administrador de notificación",
15
+ "pl": "(foxriver76) uniknąć wszystkich niedozwolonych znaków podczas wysyłania z menedżerem powiadomień",
16
+ "uk": "(foxriver76) втекти всі незрівняні символи при надсиланні повідомлення менеджера",
17
+ "zh-cn": "(foxriver76) 与通知管理器一起发送时, 逃脱所有未分配字符"
18
+ },
6
19
  "3.5.2": {
7
20
  "en": "(foxriver76) escape more unallowed characters when sending with notification manager",
8
21
  "de": "(foxriver76) entfliehen sie unallowed zeichen beim senden mit benachrichtigungsmanager",
@@ -80,19 +93,6 @@
80
93
  "pl": "stały problem z obsługą serwera www",
81
94
  "uk": "виправлена проблема з використанням вебсервера",
82
95
  "zh-cn": "处理 web 服务器的固定问题"
83
- },
84
- "3.3.1": {
85
- "en": "Dependencies have been updated - especially 'node-telegram-bot-api'\nsee https://github.com/yagop/node-telegram-bot-api/blob/master/CHANGELOG.md",
86
- "de": "Die Abhängigkeiten wurden aktualisiert - insbesondere 'node-telegram-bot-api '\nsiehe https://github.com/yagop/node-telegram-bot-api/blob/master/CHANGELOG.md",
87
- "ru": "Зависимости были обновлены - особенно «node-telegram-bot-api \"\nhttps://github.com/yagop/node-telegram-bot-api/blob/master/CHANGELOG.md",
88
- "pt": "As dependências foram atualizadas - especialmente \"node-telegram-bot-api '\nver https://github.com/yagop/node-telegram-bot-api/blob/master/CHANGELOG.md",
89
- "nl": "Afhankelijkheden zijn bijgewerkt - vooral 'node-telegram-bot-api' '\nzie https://github.com/yagop/node-telegram-bot-api/blob/master/CHANGLOG.md",
90
- "fr": "Les dépendances ont été mises à jour - notamment 'node-telegram-bot-api '\nvoir https://github.com/yagop/node-telegram-bot-api/blob/master/CHANGELOG.md",
91
- "it": "Le dipendenze sono state aggiornate - soprattutto 'node-telegram-bot-api '\nvedi https://github.com/yagop/node-telegram-bot-api/blob/master/CHANGELOG.md",
92
- "es": "Las dependencias se han actualizado - especialmente 'node-telegram-bot-api '\nvéase https://github.com/yagop/node-telegram-bot-api/blob/master/CHANGELOG.md",
93
- "pl": "Zaktualizowano zależności - szczególnie \"node- telegram - bot- api '\nzob. https: / / github.com / yagop / node- telegram- bot- api / blob / master / CHANGELOG.md",
94
- "uk": "Оновлено залежність - особливо 'node-telegram-bot-api Р\nhttps://github.com/yagop/node-telegram-bot-api/blob/master/CHANGELOG.md",
95
- "zh-cn": "依赖关系已经更新 - 特别是“ node- telegram- bot- api ” '\n见https://github.com/yagop/node-telegram-bot-api/blob/master/CHANGELOG.md"
96
96
  }
97
97
  },
98
98
  "messages": [
package/main.js CHANGED
@@ -2085,7 +2085,7 @@ ${readableInstances.join('\n')}
2085
2085
  * @returns {string}
2086
2086
  */
2087
2087
  function replaceReservedCharacters(text) {
2088
- return text.replace(/([.!()-])/g, '\\$1');
2088
+ return text.replace(/([.!()-_*[\]~`><&#+=|{}])/g, '\\$1');
2089
2089
  }
2090
2090
 
2091
2091
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "iobroker.telegram",
3
3
  "description": "The adapter allows to send and receive telegram messages from ioBroker and to be a broker.",
4
- "version": "3.5.2",
4
+ "version": "3.5.3",
5
5
  "author": {
6
6
  "name": "bluefox",
7
7
  "email": "dogafox@gmail.com"