@chat21/chat21-ionic 2.0.14 → 3.0.5-8.1

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.
Files changed (699) hide show
  1. package/.github/workflows/docker-community-push-latest.yml +22 -0
  2. package/.github/workflows/docker-image-tag-community-tag-push.yml +21 -0
  3. package/CHANGELOG.md +531 -212
  4. package/Dockerfile +1 -2
  5. package/LICENSE +21 -661
  6. package/README.md +31 -9
  7. package/angular.json +230 -0
  8. package/browserslist +12 -0
  9. package/config.xml +60 -47
  10. package/deploy_pre.sh +14 -12
  11. package/deploy_prod.sh +13 -34
  12. package/env.sample +26 -9
  13. package/ionic.config.json +2 -2
  14. package/karma.conf.js +31 -0
  15. package/nginx.conf +1 -1
  16. package/package.json +91 -105
  17. package/publish_pre.sh +33 -0
  18. package/publish_prod.sh +33 -0
  19. package/resources/Android/icon/drawable-hdpi-icon.png +0 -0
  20. package/resources/Android/icon/drawable-ldpi-icon.png +0 -0
  21. package/resources/Android/icon/drawable-mdpi-icon.png +0 -0
  22. package/resources/Android/icon/drawable-xhdpi-icon.png +0 -0
  23. package/resources/Android/icon/drawable-xxhdpi-icon.png +0 -0
  24. package/resources/Android/icon/drawable-xxxhdpi-icon.png +0 -0
  25. package/resources/Android/icon.png +0 -0
  26. package/resources/Android/splash/drawable-land-hdpi-screen.png +0 -0
  27. package/resources/Android/splash/drawable-land-ldpi-screen.png +0 -0
  28. package/resources/Android/splash/drawable-land-mdpi-screen.png +0 -0
  29. package/resources/Android/splash/drawable-land-xhdpi-screen.png +0 -0
  30. package/resources/Android/splash/drawable-land-xxhdpi-screen.png +0 -0
  31. package/resources/Android/splash/drawable-land-xxxhdpi-screen.png +0 -0
  32. package/resources/Android/splash/drawable-port-hdpi-screen.png +0 -0
  33. package/resources/Android/splash/drawable-port-ldpi-screen.png +0 -0
  34. package/resources/Android/splash/drawable-port-mdpi-screen.png +0 -0
  35. package/resources/Android/splash/drawable-port-xhdpi-screen.png +0 -0
  36. package/resources/Android/splash/drawable-port-xxhdpi-screen.png +0 -0
  37. package/resources/Android/splash/drawable-port-xxxhdpi-screen.png +0 -0
  38. package/resources/Android/splash.png +0 -0
  39. package/src/app/app-routing.module.ts +86 -0
  40. package/src/app/app.component.html +23 -0
  41. package/src/app/app.component.scss +6 -0
  42. package/src/app/app.component.spec.ts +47 -0
  43. package/src/app/app.component.ts +865 -129
  44. package/src/app/app.module.ts +306 -135
  45. package/src/app/chatlib/conversation-detail/conversation-content/conversation-content.component.html +143 -0
  46. package/src/app/chatlib/conversation-detail/conversation-content/conversation-content.component.scss +335 -0
  47. package/src/app/chatlib/conversation-detail/conversation-content/conversation-content.component.spec.ts +179 -0
  48. package/src/app/chatlib/conversation-detail/conversation-content/conversation-content.component.ts +303 -0
  49. package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.html +149 -0
  50. package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.scss +193 -0
  51. package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.spec.ts +24 -0
  52. package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.ts +92 -0
  53. package/src/app/chatlib/conversation-detail/message/avatar/avatar.component.html +17 -0
  54. package/src/app/chatlib/conversation-detail/message/avatar/avatar.component.scss +83 -0
  55. package/src/app/chatlib/conversation-detail/message/avatar/avatar.component.spec.ts +27 -0
  56. package/src/app/chatlib/conversation-detail/message/avatar/avatar.component.ts +43 -0
  57. package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.html +71 -0
  58. package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.scss +51 -0
  59. package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.spec.ts +84 -0
  60. package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.ts +170 -0
  61. package/src/app/chatlib/conversation-detail/message/buttons/action-button/action-button.component.html +3 -0
  62. package/src/app/chatlib/conversation-detail/message/buttons/action-button/action-button.component.scss +83 -0
  63. package/src/app/chatlib/conversation-detail/message/buttons/action-button/action-button.component.spec.ts +25 -0
  64. package/src/app/chatlib/conversation-detail/message/buttons/action-button/action-button.component.ts +37 -0
  65. package/src/app/chatlib/conversation-detail/message/buttons/link-button/link-button.component.html +24 -0
  66. package/src/app/chatlib/conversation-detail/message/buttons/link-button/link-button.component.scss +61 -0
  67. package/src/app/chatlib/conversation-detail/message/buttons/link-button/link-button.component.spec.ts +25 -0
  68. package/src/app/chatlib/conversation-detail/message/buttons/link-button/link-button.component.ts +30 -0
  69. package/src/app/chatlib/conversation-detail/message/buttons/text-button/text-button.component.html +3 -0
  70. package/src/app/chatlib/conversation-detail/message/buttons/text-button/text-button.component.scss +47 -0
  71. package/src/app/chatlib/conversation-detail/message/buttons/text-button/text-button.component.spec.ts +25 -0
  72. package/src/app/chatlib/conversation-detail/message/buttons/text-button/text-button.component.ts +29 -0
  73. package/src/app/chatlib/conversation-detail/message/frame/frame.component.html +3 -0
  74. package/{bin/chat21-ionic → src/app/chatlib/conversation-detail/message/frame/frame.component.scss} +0 -0
  75. package/src/app/chatlib/conversation-detail/message/frame/frame.component.spec.ts +25 -0
  76. package/src/app/chatlib/conversation-detail/message/frame/frame.component.ts +33 -0
  77. package/src/app/chatlib/conversation-detail/message/image/image.component.html +9 -0
  78. package/src/app/chatlib/conversation-detail/message/image/image.component.scss +34 -0
  79. package/src/app/chatlib/conversation-detail/message/image/image.component.spec.ts +35 -0
  80. package/src/app/chatlib/conversation-detail/message/image/image.component.ts +59 -0
  81. package/src/app/chatlib/conversation-detail/message/info-message/info-message.component.html +2 -0
  82. package/src/app/chatlib/conversation-detail/message/info-message/info-message.component.scss +15 -0
  83. package/src/app/chatlib/conversation-detail/message/info-message/info-message.component.spec.ts +27 -0
  84. package/src/app/chatlib/conversation-detail/message/info-message/info-message.component.ts +35 -0
  85. package/src/app/chatlib/conversation-detail/message/message-attachment/message-attachment.component.html +56 -0
  86. package/src/app/chatlib/conversation-detail/message/message-attachment/message-attachment.component.scss +169 -0
  87. package/src/app/chatlib/conversation-detail/message/message-attachment/message-attachment.component.spec.ts +33 -0
  88. package/src/app/chatlib/conversation-detail/message/message-attachment/message-attachment.component.ts +80 -0
  89. package/src/app/chatlib/conversation-detail/message/return-receipt/return-receipt.component.html +18 -0
  90. package/src/app/chatlib/conversation-detail/message/return-receipt/return-receipt.component.scss +27 -0
  91. package/src/app/chatlib/conversation-detail/message/return-receipt/return-receipt.component.spec.ts +25 -0
  92. package/src/app/chatlib/conversation-detail/message/return-receipt/return-receipt.component.ts +24 -0
  93. package/src/app/chatlib/conversation-detail/message/text/text.component.html +5 -0
  94. package/src/app/chatlib/conversation-detail/message/text/text.component.scss +26 -0
  95. package/src/app/chatlib/conversation-detail/message/text/text.component.spec.ts +33 -0
  96. package/src/app/chatlib/conversation-detail/message/text/text.component.ts +56 -0
  97. package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.html +124 -0
  98. package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.scss +358 -0
  99. package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.spec.ts +24 -0
  100. package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.ts +116 -0
  101. package/src/app/chatlib/list-conversations-component/list-conversations/list-conversations.component.html +46 -0
  102. package/src/app/chatlib/list-conversations-component/list-conversations/list-conversations.component.scss +200 -0
  103. package/src/app/chatlib/list-conversations-component/list-conversations/list-conversations.component.spec.ts +27 -0
  104. package/src/app/chatlib/list-conversations-component/list-conversations/list-conversations.component.ts +135 -0
  105. package/src/app/components/authentication/login/login.component.html +65 -0
  106. package/src/app/components/authentication/login/login.component.scss +85 -0
  107. package/src/app/components/authentication/login/login.component.spec.ts +24 -0
  108. package/src/app/components/authentication/login/login.component.ts +173 -0
  109. package/src/app/components/contacts-directory/contacts-directory.component.html +22 -0
  110. package/src/app/components/contacts-directory/contacts-directory.component.scss +123 -0
  111. package/src/app/components/contacts-directory/contacts-directory.component.spec.ts +24 -0
  112. package/src/app/components/contacts-directory/contacts-directory.component.ts +109 -0
  113. package/src/app/components/conversation-detail/bubble-day-message/bubble-day-message.component.html +3 -0
  114. package/src/app/components/conversation-detail/bubble-day-message/bubble-day-message.component.scss +21 -0
  115. package/src/app/components/conversation-detail/bubble-day-message/bubble-day-message.component.spec.ts +24 -0
  116. package/src/app/components/conversation-detail/bubble-day-message/bubble-day-message.component.ts +14 -0
  117. package/src/app/components/conversation-detail/bubble-my-message/bubble-my-message.component.html +54 -0
  118. package/src/app/components/conversation-detail/bubble-my-message/bubble-my-message.component.scss +98 -0
  119. package/src/app/components/conversation-detail/bubble-my-message/bubble-my-message.component.spec.ts +24 -0
  120. package/src/app/components/conversation-detail/bubble-my-message/bubble-my-message.component.ts +84 -0
  121. package/src/app/components/conversation-detail/bubble-others-message/bubble-others-message.component.html +30 -0
  122. package/src/app/components/conversation-detail/bubble-others-message/bubble-others-message.component.scss +83 -0
  123. package/src/app/components/conversation-detail/bubble-others-message/bubble-others-message.component.spec.ts +24 -0
  124. package/src/app/components/conversation-detail/bubble-others-message/bubble-others-message.component.ts +68 -0
  125. package/src/app/components/conversation-detail/bubble-system-message/bubble-system-message.component.html +3 -0
  126. package/src/app/components/conversation-detail/bubble-system-message/bubble-system-message.component.scss +10 -0
  127. package/src/app/components/conversation-detail/bubble-system-message/bubble-system-message.component.spec.ts +24 -0
  128. package/src/app/components/conversation-detail/bubble-system-message/bubble-system-message.component.ts +14 -0
  129. package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.html +68 -0
  130. package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.scss +149 -0
  131. package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.spec.ts +24 -0
  132. package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.ts +112 -0
  133. package/src/app/components/conversation-detail/message-text-area/message-text-area.component.html +63 -0
  134. package/src/app/components/conversation-detail/message-text-area/message-text-area.component.scss +119 -0
  135. package/src/app/components/conversation-detail/message-text-area/message-text-area.component.spec.ts +25 -0
  136. package/src/app/components/conversation-detail/message-text-area/message-text-area.component.ts +644 -0
  137. package/src/app/components/conversation-detail/option-header/option-header.component.html +13 -0
  138. package/src/app/components/conversation-detail/option-header/option-header.component.scss +0 -0
  139. package/src/app/components/conversation-detail/option-header/option-header.component.spec.ts +24 -0
  140. package/src/app/components/conversation-detail/option-header/option-header.component.ts +24 -0
  141. package/src/app/components/conversation-info/advanced-info-accordion/advanced-info-accordion.component.html +64 -0
  142. package/src/app/components/conversation-info/advanced-info-accordion/advanced-info-accordion.component.scss +135 -0
  143. package/src/app/components/conversation-info/advanced-info-accordion/advanced-info-accordion.component.spec.ts +24 -0
  144. package/src/app/components/conversation-info/advanced-info-accordion/advanced-info-accordion.component.ts +53 -0
  145. package/src/app/components/conversation-info/conversation-info.module.ts +13 -0
  146. package/src/app/components/conversation-info/info-content/info-content.component.html +18 -0
  147. package/src/app/components/conversation-info/info-content/info-content.component.scss +5 -0
  148. package/src/app/components/conversation-info/info-content/info-content.component.spec.ts +24 -0
  149. package/src/app/components/conversation-info/info-content/info-content.component.ts +395 -0
  150. package/src/app/components/conversation-info/info-direct/info-direct.component.html +57 -0
  151. package/src/app/components/conversation-info/info-direct/info-direct.component.scss +62 -0
  152. package/src/app/components/conversation-info/info-direct/info-direct.component.spec.ts +24 -0
  153. package/src/app/components/conversation-info/info-direct/info-direct.component.ts +67 -0
  154. package/src/app/components/conversation-info/info-group/info-group.component.html +115 -0
  155. package/src/app/components/conversation-info/info-group/info-group.component.scss +80 -0
  156. package/src/app/components/conversation-info/info-group/info-group.component.spec.ts +24 -0
  157. package/src/app/components/conversation-info/info-group/info-group.component.ts +218 -0
  158. package/src/app/components/conversation-info/info-support-group/info-support-group.component.html +6 -0
  159. package/src/app/components/conversation-info/info-support-group/info-support-group.component.scss +0 -0
  160. package/src/app/components/conversation-info/info-support-group/info-support-group.component.spec.ts +24 -0
  161. package/src/app/components/conversation-info/info-support-group/info-support-group.component.ts +29 -0
  162. package/src/app/components/ddp-header/ddp-header.component.html +31 -0
  163. package/src/app/components/ddp-header/ddp-header.component.scss +26 -0
  164. package/src/app/components/ddp-header/ddp-header.component.spec.ts +24 -0
  165. package/src/app/components/ddp-header/ddp-header.component.ts +31 -0
  166. package/src/app/components/utils/avatar-profile/avatar-profile.component.html +5 -0
  167. package/src/app/components/utils/avatar-profile/avatar-profile.component.scss +29 -0
  168. package/src/app/components/utils/avatar-profile/avatar-profile.component.spec.ts +24 -0
  169. package/src/app/components/utils/avatar-profile/avatar-profile.component.ts +24 -0
  170. package/src/app/components/utils/user-presence/user-presence.component.html +2 -0
  171. package/src/app/components/utils/user-presence/user-presence.component.scss +24 -0
  172. package/src/app/components/utils/user-presence/user-presence.component.spec.ts +24 -0
  173. package/src/app/components/utils/user-presence/user-presence.component.ts +159 -0
  174. package/src/app/directives/autofocus.directive.ts +41 -0
  175. package/src/app/directives/html-entities-encode.pipe.spec.ts +8 -0
  176. package/src/app/directives/html-entities-encode.pipe.ts +17 -0
  177. package/src/app/directives/marked.pipe.spec.ts +8 -0
  178. package/src/app/directives/marked.pipe.ts +27 -0
  179. package/src/app/directives/safe-html.pipe.ts +16 -0
  180. package/src/app/pages/authentication/login/login-routing.module.ts +17 -0
  181. package/src/app/pages/authentication/login/login.module.ts +39 -0
  182. package/src/app/pages/authentication/login/login.page.html +8 -0
  183. package/src/app/pages/authentication/login/login.page.scss +5 -0
  184. package/src/app/pages/authentication/login/login.page.spec.ts +24 -0
  185. package/src/app/pages/authentication/login/login.page.ts +187 -0
  186. package/src/app/pages/contacts-directory/contacts-directory-routing.module.ts +17 -0
  187. package/src/app/pages/contacts-directory/contacts-directory.module.ts +42 -0
  188. package/src/app/pages/contacts-directory/contacts-directory.page.html +19 -0
  189. package/src/app/pages/contacts-directory/contacts-directory.page.scss +0 -0
  190. package/src/app/pages/contacts-directory/contacts-directory.page.spec.ts +24 -0
  191. package/src/app/pages/contacts-directory/contacts-directory.page.ts +125 -0
  192. package/src/app/pages/conversation-detail/conversation-detail-routing.module.ts +17 -0
  193. package/src/app/pages/conversation-detail/conversation-detail.module.ts +69 -0
  194. package/src/app/pages/conversation-detail/conversation-detail.page.html +189 -0
  195. package/src/app/pages/conversation-detail/conversation-detail.page.scss +492 -0
  196. package/src/app/pages/conversation-detail/conversation-detail.page.spec.ts +24 -0
  197. package/src/app/pages/conversation-detail/conversation-detail.page.ts +1431 -0
  198. package/src/app/pages/conversations-list/conversations-list-routing.module.ts +17 -0
  199. package/src/app/pages/conversations-list/conversations-list.module.ts +43 -0
  200. package/src/app/pages/conversations-list/conversations-list.page.html +91 -0
  201. package/src/app/pages/conversations-list/conversations-list.page.scss +139 -0
  202. package/src/app/pages/conversations-list/conversations-list.page.spec.ts +24 -0
  203. package/src/app/pages/conversations-list/conversations-list.page.ts +824 -0
  204. package/src/app/pages/details/details-routing.module.ts +17 -0
  205. package/src/app/pages/details/details.module.ts +21 -0
  206. package/src/app/pages/details/details.page.html +28 -0
  207. package/src/app/pages/details/details.page.scss +23 -0
  208. package/src/app/pages/details/details.page.spec.ts +24 -0
  209. package/src/app/pages/details/details.page.ts +65 -0
  210. package/src/app/pages/loader-preview/loader-preview-routing.module.ts +17 -0
  211. package/src/app/pages/loader-preview/loader-preview.module.ts +29 -0
  212. package/src/app/pages/loader-preview/loader-preview.page.html +62 -0
  213. package/src/app/pages/loader-preview/loader-preview.page.scss +117 -0
  214. package/src/app/pages/loader-preview/loader-preview.page.spec.ts +24 -0
  215. package/src/app/pages/loader-preview/loader-preview.page.ts +353 -0
  216. package/src/app/pages/profile-info/profile-info-routing.module.ts +17 -0
  217. package/src/app/pages/profile-info/profile-info.module.ts +41 -0
  218. package/src/app/pages/profile-info/profile-info.page.html +86 -0
  219. package/src/app/pages/profile-info/profile-info.page.scss +264 -0
  220. package/src/app/pages/profile-info/profile-info.page.spec.ts +24 -0
  221. package/src/app/pages/profile-info/profile-info.page.ts +223 -0
  222. package/src/app/services/app-config.ts +35 -0
  223. package/src/app/services/canned-responses/canned-responses.service.spec.ts +12 -0
  224. package/src/app/services/canned-responses/canned-responses.service.ts +49 -0
  225. package/src/app/services/contacts/contacts.service.spec.ts +12 -0
  226. package/src/app/services/contacts/contacts.service.ts +172 -0
  227. package/src/app/services/events-service.ts +79 -0
  228. package/src/app/services/nav-proxy.service.spec.ts +12 -0
  229. package/src/app/services/nav-proxy.service.ts +80 -0
  230. package/src/app/services/network-service/network.service.spec.ts +12 -0
  231. package/src/app/services/network-service/network.service.ts +46 -0
  232. package/src/app/services/tiledesk/tiledesk.service.spec.ts +12 -0
  233. package/src/app/services/tiledesk/tiledesk.service.ts +78 -0
  234. package/src/app/shared/shared-conversation-info.module.ts +33 -0
  235. package/src/app/shared/shared.module.ts +124 -0
  236. package/src/{utils → app/utils}/constants.ts-e +0 -0
  237. package/src/app/utils/scrollbar-theme.directive.ts +63 -0
  238. package/src/assets/i18n/en.json +114 -38
  239. package/src/assets/i18n/it.json +93 -10
  240. package/src/assets/icon/favicon.ico +0 -0
  241. package/src/assets/icon/ionic_favicon.png +0 -0
  242. package/src/assets/images/f21ico-done.svg +1 -0
  243. package/src/assets/images/f21ico-done_all.svg +1 -0
  244. package/src/assets/images/f21ico-schedule.svg +1 -0
  245. package/src/assets/images/file-alt-solid.png +0 -0
  246. package/src/assets/images/no_conversation.jpg +0 -0
  247. package/src/assets/{img → images}/no_image.png +0 -0
  248. package/src/assets/images/tiledesk_logo_50x50.png +0 -0
  249. package/src/assets/js/chat21client.js +965 -0
  250. package/src/assets/js/mqtt/4.1.0/mqtt.min.js +1 -0
  251. package/src/assets/js/mqtt/4.2.6/mqtt.min.js +1 -0
  252. package/src/assets/js/mqtt/4.2.8/mqtt.min.js +1 -0
  253. package/src/assets/shapes.svg +1 -0
  254. package/src/assets/sounds/pling.mp3 +0 -0
  255. package/src/chat-config-mqtt-ver-uploaded.json +22 -0
  256. package/src/chat-config-mqtt.json +26 -0
  257. package/src/chat-config-pre-test.json +32 -0
  258. package/src/chat-config-pre.json +23 -0
  259. package/src/chat-config-template.json +17 -6
  260. package/src/chat-config.json +27 -0
  261. package/src/{models → chat21-core/models}/conversation.ts +6 -2
  262. package/src/{models → chat21-core/models}/group.ts +7 -5
  263. package/src/{models → chat21-core/models}/message.ts +8 -8
  264. package/src/{models → chat21-core/models}/upload.ts +5 -5
  265. package/src/{models → chat21-core/models}/user.ts +2 -1
  266. package/src/chat21-core/providers/abstract/app-storage.service.spec.ts +15 -0
  267. package/src/chat21-core/providers/abstract/app-storage.service.ts +17 -0
  268. package/src/chat21-core/providers/abstract/archivedconversations-handler.service.spec.ts +13 -0
  269. package/src/chat21-core/providers/abstract/archivedconversations-handler.service.ts +34 -0
  270. package/src/chat21-core/providers/abstract/conversation-handler-builder.service.spec.ts +12 -0
  271. package/src/chat21-core/providers/abstract/conversation-handler-builder.service.ts +11 -0
  272. package/src/chat21-core/providers/abstract/conversation-handler.service.spec.ts +12 -0
  273. package/src/chat21-core/providers/abstract/conversation-handler.service.ts +43 -0
  274. package/src/chat21-core/providers/abstract/conversations-handler.service.spec.ts +12 -0
  275. package/src/chat21-core/providers/abstract/conversations-handler.service.ts +42 -0
  276. package/src/chat21-core/providers/abstract/groups-handler.service.spec.ts +12 -0
  277. package/src/chat21-core/providers/abstract/groups-handler.service.ts +28 -0
  278. package/src/chat21-core/providers/abstract/image-repo.service.spec.ts +12 -0
  279. package/src/chat21-core/providers/abstract/image-repo.service.ts +26 -0
  280. package/src/chat21-core/providers/abstract/logger.service.spec.ts +12 -0
  281. package/src/chat21-core/providers/abstract/logger.service.ts +16 -0
  282. package/src/chat21-core/providers/abstract/messagingAuth.service.spec.ts +12 -0
  283. package/src/chat21-core/providers/abstract/messagingAuth.service.ts +54 -0
  284. package/src/chat21-core/providers/abstract/notifications.service.spec.ts +12 -0
  285. package/src/chat21-core/providers/abstract/notifications.service.ts +31 -0
  286. package/src/chat21-core/providers/abstract/presence.service.spec.ts +12 -0
  287. package/src/chat21-core/providers/abstract/presence.service.ts +34 -0
  288. package/src/chat21-core/providers/abstract/typing.service.spec.ts +12 -0
  289. package/src/chat21-core/providers/abstract/typing.service.ts +31 -0
  290. package/src/chat21-core/providers/abstract/upload.service.spec.ts +12 -0
  291. package/src/chat21-core/providers/abstract/upload.service.ts +39 -0
  292. package/src/chat21-core/providers/chat-manager.ts +282 -0
  293. package/src/chat21-core/providers/custom-translate.service.spec.ts +12 -0
  294. package/src/chat21-core/providers/custom-translate.service.ts +42 -0
  295. package/src/chat21-core/providers/firebase/firebase-archivedconversations-handler.ts +476 -0
  296. package/src/chat21-core/providers/firebase/firebase-auth-service.ts +376 -0
  297. package/src/chat21-core/providers/firebase/firebase-conversation-handler-builder.service.ts +19 -0
  298. package/src/chat21-core/providers/firebase/firebase-conversation-handler.ts +416 -0
  299. package/src/chat21-core/providers/firebase/firebase-conversations-handler.ts +570 -0
  300. package/src/chat21-core/providers/firebase/firebase-groups-handler.ts +303 -0
  301. package/src/chat21-core/providers/firebase/firebase-image-repo.ts +40 -0
  302. package/src/chat21-core/providers/firebase/firebase-init-service.ts +31 -0
  303. package/src/chat21-core/providers/firebase/firebase-notifications.ts +238 -0
  304. package/src/chat21-core/providers/firebase/firebase-presence.service.ts +190 -0
  305. package/src/chat21-core/providers/firebase/firebase-typing.service.ts +93 -0
  306. package/src/chat21-core/providers/firebase/firebase-upload.service.ts +106 -0
  307. package/src/chat21-core/providers/localSessionStorage.ts +215 -0
  308. package/src/chat21-core/providers/logger/customLogger.ts +70 -0
  309. package/src/chat21-core/providers/logger/loggerInstance.ts +20 -0
  310. package/src/chat21-core/providers/mqtt/chat-service.ts +44 -0
  311. package/src/chat21-core/providers/mqtt/mqtt-archivedconversations-handler.ts +707 -0
  312. package/src/chat21-core/providers/mqtt/mqtt-auth-service.ts +313 -0
  313. package/src/chat21-core/providers/mqtt/mqtt-conversation-handler-builder.service.ts +25 -0
  314. package/src/chat21-core/providers/mqtt/mqtt-conversation-handler.ts +448 -0
  315. package/src/chat21-core/providers/mqtt/mqtt-conversations-handler.ts +593 -0
  316. package/src/chat21-core/providers/mqtt/mqtt-groups-handler.ts +139 -0
  317. package/src/chat21-core/providers/mqtt/mqtt-notifications.ts +32 -0
  318. package/src/chat21-core/providers/mqtt/mqtt-presence.service.ts +229 -0
  319. package/src/chat21-core/providers/mqtt/mqtt-typing.service.ts +93 -0
  320. package/src/chat21-core/providers/native/native-image-repo.ts +30 -0
  321. package/src/chat21-core/providers/native/native-upload-service.ts +85 -0
  322. package/src/chat21-core/providers/tiledesk/tiledesk-auth.service.spec.ts +12 -0
  323. package/src/chat21-core/providers/tiledesk/tiledesk-auth.service.ts +202 -0
  324. package/src/chat21-core/utils/constants.ts +109 -0
  325. package/src/chat21-core/utils/user-typing/user-typing.component.html +6 -0
  326. package/src/chat21-core/utils/user-typing/user-typing.component.scss +62 -0
  327. package/src/chat21-core/utils/user-typing/user-typing.component.spec.ts +24 -0
  328. package/src/chat21-core/utils/user-typing/user-typing.component.ts +114 -0
  329. package/src/chat21-core/utils/utils-message.ts +117 -0
  330. package/src/chat21-core/utils/utils-user.ts +46 -0
  331. package/src/chat21-core/utils/utils.ts +893 -0
  332. package/src/global.scss +585 -0
  333. package/src/index.html +71 -42
  334. package/src/main.ts +12 -0
  335. package/src/manifest.json +0 -11
  336. package/src/models/department.ts +12 -0
  337. package/src/polyfills.ts +73 -0
  338. package/src/test.ts +21 -0
  339. package/src/theme/variables.scss +236 -93
  340. package/src/variables.scss +30 -0
  341. package/src/zone-flags.ts +5 -0
  342. package/tsconfig.app.json +14 -0
  343. package/tsconfig.json +23 -18
  344. package/tsconfig.spec.json +19 -0
  345. package/tslint.json +84 -7
  346. package/app.json +0 -7
  347. package/build_prod.sh +0 -10
  348. package/curl +0 -1
  349. package/deploy_dev.sh +0 -28
  350. package/docs/changelog.html +0 -227
  351. package/docs/classes/ConversationModel.html +0 -1022
  352. package/docs/classes/GroupModel.html +0 -527
  353. package/docs/classes/MessageModel.html +0 -843
  354. package/docs/classes/UploadModel.html +0 -417
  355. package/docs/classes/UserModel.html +0 -728
  356. package/docs/classes/_DetailPage.html +0 -144
  357. package/docs/classes/_MasterPage.html +0 -144
  358. package/docs/components/ArchivedConversationsPage.html +0 -1024
  359. package/docs/components/ChatBubble.html +0 -327
  360. package/docs/components/DettaglioConversazionePage.html +0 -6060
  361. package/docs/components/ElasticTextarea.html +0 -619
  362. package/docs/components/InfoAdvancedPage.html +0 -656
  363. package/docs/components/InfoConversationPage.html +0 -5681
  364. package/docs/components/InfoMessagePage.html +0 -993
  365. package/docs/components/InfoUserPage.html +0 -1420
  366. package/docs/components/ListaConversazioniPage.html +0 -3576
  367. package/docs/components/LoginPage.html +0 -1457
  368. package/docs/components/MyApp.html +0 -1388
  369. package/docs/components/PlaceholderPage.html +0 -397
  370. package/docs/components/PopoverPage.html +0 -986
  371. package/docs/components/PopoverProfilePage.html +0 -639
  372. package/docs/components/ProfilePage.html +0 -1187
  373. package/docs/components/RegisterPage.html +0 -1271
  374. package/docs/components/ResetpwdPage.html +0 -1039
  375. package/docs/components/UpdateImageProfilePage.html +0 -997
  376. package/docs/components/UsersPage.html +0 -1297
  377. package/docs/coverage.html +0 -1421
  378. package/docs/dependencies.html +0 -210
  379. package/docs/directives/AutosizeDirective.html +0 -556
  380. package/docs/fonts/FontAwesome.otf +0 -0
  381. package/docs/fonts/fontawesome-webfont.eot +0 -0
  382. package/docs/fonts/fontawesome-webfont.svg +0 -685
  383. package/docs/fonts/fontawesome-webfont.ttf +0 -0
  384. package/docs/fonts/fontawesome-webfont.woff +0 -0
  385. package/docs/fonts/fontawesome-webfont.woff2 +0 -0
  386. package/docs/fonts/ionicons.eot +0 -0
  387. package/docs/fonts/ionicons.svg +0 -2090
  388. package/docs/fonts/ionicons.ttf +0 -0
  389. package/docs/fonts/ionicons.woff +0 -0
  390. package/docs/fonts/ionicons.woff2 +0 -0
  391. package/docs/fonts/roboto-v15-latin-300.eot +0 -0
  392. package/docs/fonts/roboto-v15-latin-300.svg +0 -314
  393. package/docs/fonts/roboto-v15-latin-300.ttf +0 -0
  394. package/docs/fonts/roboto-v15-latin-300.woff +0 -0
  395. package/docs/fonts/roboto-v15-latin-300.woff2 +0 -0
  396. package/docs/fonts/roboto-v15-latin-700.eot +0 -0
  397. package/docs/fonts/roboto-v15-latin-700.svg +0 -310
  398. package/docs/fonts/roboto-v15-latin-700.ttf +0 -0
  399. package/docs/fonts/roboto-v15-latin-700.woff +0 -0
  400. package/docs/fonts/roboto-v15-latin-700.woff2 +0 -0
  401. package/docs/fonts/roboto-v15-latin-italic.eot +0 -0
  402. package/docs/fonts/roboto-v15-latin-italic.svg +0 -323
  403. package/docs/fonts/roboto-v15-latin-italic.ttf +0 -0
  404. package/docs/fonts/roboto-v15-latin-italic.woff +0 -0
  405. package/docs/fonts/roboto-v15-latin-italic.woff2 +0 -0
  406. package/docs/fonts/roboto-v15-latin-regular.eot +0 -0
  407. package/docs/fonts/roboto-v15-latin-regular.svg +0 -308
  408. package/docs/fonts/roboto-v15-latin-regular.ttf +0 -0
  409. package/docs/fonts/roboto-v15-latin-regular.woff +0 -0
  410. package/docs/fonts/roboto-v15-latin-regular.woff2 +0 -0
  411. package/docs/graph/dependencies.svg +0 -870
  412. package/docs/images/compodoc-vectorise-inverted.png +0 -0
  413. package/docs/images/compodoc-vectorise-inverted.svg +0 -201
  414. package/docs/images/compodoc-vectorise.png +0 -0
  415. package/docs/images/compodoc-vectorise.svg +0 -201
  416. package/docs/images/coverage-badge-documentation.svg +0 -9
  417. package/docs/images/coverage-badge.svg +0 -9
  418. package/docs/images/favicon.ico +0 -0
  419. package/docs/index.html +0 -233
  420. package/docs/injectables/AppConfigProvider.html +0 -411
  421. package/docs/injectables/AuthService.html +0 -1016
  422. package/docs/injectables/ChatArchivedConversationsHandler.html +0 -1832
  423. package/docs/injectables/ChatContactsSynchronizer.html +0 -841
  424. package/docs/injectables/ChatConversationHandler.html +0 -1960
  425. package/docs/injectables/ChatConversationsHandler.html +0 -2584
  426. package/docs/injectables/ChatManager.html +0 -1779
  427. package/docs/injectables/ChatPresenceHandler.html +0 -1187
  428. package/docs/injectables/CustomTranslateService.html +0 -496
  429. package/docs/injectables/DatabaseProvider.html +0 -1444
  430. package/docs/injectables/GroupService.html +0 -1458
  431. package/docs/injectables/MessagingService.html +0 -1165
  432. package/docs/injectables/NavProxyService.html +0 -1028
  433. package/docs/injectables/TiledeskConversationProvider.html +0 -945
  434. package/docs/injectables/UploadService.html +0 -791
  435. package/docs/injectables/UserService.html +0 -1612
  436. package/docs/js/compodoc.js +0 -14
  437. package/docs/js/lazy-load-graphs.js +0 -44
  438. package/docs/js/libs/EventDispatcher.js +0 -5
  439. package/docs/js/libs/bootstrap-native.js +0 -2
  440. package/docs/js/libs/clipboard.min.js +0 -7
  441. package/docs/js/libs/custom-elements-es5-adapter.js +0 -15
  442. package/docs/js/libs/custom-elements.min.js +0 -38
  443. package/docs/js/libs/d3.v3.min.js +0 -2
  444. package/docs/js/libs/deep-iterator.js +0 -2
  445. package/docs/js/libs/es6-shim.min.js +0 -11
  446. package/docs/js/libs/htmlparser.js +0 -23
  447. package/docs/js/libs/innersvg.js +0 -9
  448. package/docs/js/libs/lit-html.js +0 -1
  449. package/docs/js/libs/prism.js +0 -14
  450. package/docs/js/libs/promise.min.js +0 -6
  451. package/docs/js/libs/svg-pan-zoom.min.js +0 -3
  452. package/docs/js/libs/tablesort.min.js +0 -6
  453. package/docs/js/libs/tablesort.number.min.js +0 -6
  454. package/docs/js/libs/vis.min.js +0 -46
  455. package/docs/js/libs/zepto.min.js +0 -2
  456. package/docs/js/menu-wc.js +0 -594
  457. package/docs/js/menu.js +0 -261
  458. package/docs/js/routes.js +0 -280
  459. package/docs/js/search/lunr.min.js +0 -6
  460. package/docs/js/search/search-lunr.js +0 -67
  461. package/docs/js/search/search.js +0 -268
  462. package/docs/js/search/search_index.js +0 -4
  463. package/docs/js/sourceCode.js +0 -58
  464. package/docs/js/svg-pan-zoom.controls.js +0 -53
  465. package/docs/js/tabs.js +0 -21
  466. package/docs/js/tree.js +0 -147
  467. package/docs/license.html +0 -664
  468. package/docs/miscellaneous/functions.html +0 -2417
  469. package/docs/miscellaneous/variables.html +0 -994
  470. package/docs/modules/AppModule/dependencies.svg +0 -454
  471. package/docs/modules/AppModule.html +0 -967
  472. package/docs/modules/ArchivedConversationsPageModule/dependencies.svg +0 -50
  473. package/docs/modules/ArchivedConversationsPageModule.html +0 -225
  474. package/docs/modules/DettaglioConversazionePageModule/dependencies.svg +0 -66
  475. package/docs/modules/DettaglioConversazionePageModule.html +0 -256
  476. package/docs/modules/InfoAdvancedPageModule/dependencies.svg +0 -50
  477. package/docs/modules/InfoAdvancedPageModule.html +0 -225
  478. package/docs/modules/InfoConversationPageModule/dependencies.svg +0 -50
  479. package/docs/modules/InfoConversationPageModule.html +0 -227
  480. package/docs/modules/InfoUserPageModule/dependencies.svg +0 -50
  481. package/docs/modules/InfoUserPageModule.html +0 -225
  482. package/docs/modules/ListaConversazioniPageModule/dependencies.svg +0 -66
  483. package/docs/modules/ListaConversazioniPageModule.html +0 -255
  484. package/docs/modules/LoginModule/dependencies.svg +0 -66
  485. package/docs/modules/LoginModule.html +0 -253
  486. package/docs/modules/PlaceholderPageModule/dependencies.svg +0 -66
  487. package/docs/modules/PlaceholderPageModule.html +0 -253
  488. package/docs/modules/PopoverPageModule/dependencies.svg +0 -66
  489. package/docs/modules/PopoverPageModule.html +0 -253
  490. package/docs/modules/PopoverProfilePageModule/dependencies.svg +0 -66
  491. package/docs/modules/PopoverProfilePageModule.html +0 -253
  492. package/docs/modules/ProfilePageModule/dependencies.svg +0 -66
  493. package/docs/modules/ProfilePageModule.html +0 -253
  494. package/docs/modules/RegisterModule/dependencies.svg +0 -66
  495. package/docs/modules/RegisterModule.html +0 -253
  496. package/docs/modules/ResetpwdModule/dependencies.svg +0 -66
  497. package/docs/modules/ResetpwdModule.html +0 -253
  498. package/docs/modules/UpdateImageProfilePageModule/dependencies.svg +0 -66
  499. package/docs/modules/UpdateImageProfilePageModule.html +0 -253
  500. package/docs/modules/UsersModule/dependencies.svg +0 -66
  501. package/docs/modules/UsersModule.html +0 -253
  502. package/docs/modules.html +0 -379
  503. package/docs/overview.html +0 -1033
  504. package/docs/styles/bootstrap-card.css +0 -219
  505. package/docs/styles/bootstrap.min.css +0 -5
  506. package/docs/styles/compodoc.css +0 -996
  507. package/docs/styles/font-awesome.min.css +0 -4
  508. package/docs/styles/ionicons.min.css +0 -11
  509. package/docs/styles/laravel.css +0 -69
  510. package/docs/styles/material.css +0 -109
  511. package/docs/styles/original.css +0 -47
  512. package/docs/styles/postmark.css +0 -224
  513. package/docs/styles/prism.css +0 -267
  514. package/docs/styles/readthedocs.css +0 -108
  515. package/docs/styles/reset.css +0 -48
  516. package/docs/styles/stripe.css +0 -65
  517. package/docs/styles/style.css +0 -7
  518. package/docs/styles/tablesort.css +0 -33
  519. package/docs/styles/vagrant.css +0 -96
  520. package/firebase-functions/.firebaserc +0 -5
  521. package/firebase-functions/firebase.json +0 -1
  522. package/firebase-functions/functions/index.js +0 -208
  523. package/firebase-functions/functions/package.json +0 -9
  524. package/google-services.json +0 -42
  525. package/hooks/README.md +0 -196
  526. package/resources/android/icon/drawable-hdpi-icon.png +0 -0
  527. package/resources/android/icon/drawable-ldpi-icon.png +0 -0
  528. package/resources/android/icon/drawable-mdpi-icon.png +0 -0
  529. package/resources/android/icon/drawable-xhdpi-icon.png +0 -0
  530. package/resources/android/icon/drawable-xxhdpi-icon.png +0 -0
  531. package/resources/android/icon/drawable-xxxhdpi-icon.png +0 -0
  532. package/resources/android/splash/drawable-land-hdpi-screen.png +0 -0
  533. package/resources/android/splash/drawable-land-ldpi-screen.png +0 -0
  534. package/resources/android/splash/drawable-land-mdpi-screen.png +0 -0
  535. package/resources/android/splash/drawable-land-xhdpi-screen.png +0 -0
  536. package/resources/android/splash/drawable-land-xxhdpi-screen.png +0 -0
  537. package/resources/android/splash/drawable-land-xxxhdpi-screen.png +0 -0
  538. package/resources/android/splash/drawable-port-hdpi-screen.png +0 -0
  539. package/resources/android/splash/drawable-port-ldpi-screen.png +0 -0
  540. package/resources/android/splash/drawable-port-mdpi-screen.png +0 -0
  541. package/resources/android/splash/drawable-port-xhdpi-screen.png +0 -0
  542. package/resources/android/splash/drawable-port-xxhdpi-screen.png +0 -0
  543. package/resources/android/splash/drawable-port-xxxhdpi-screen.png +0 -0
  544. package/resources/icon.png +0 -0
  545. package/resources/icon.png.md5 +0 -1
  546. package/resources/ios/icon/icon-1024.png +0 -0
  547. package/resources/ios/icon/icon-40.png +0 -0
  548. package/resources/ios/icon/icon-40@2x.png +0 -0
  549. package/resources/ios/icon/icon-40@3x.png +0 -0
  550. package/resources/ios/icon/icon-50.png +0 -0
  551. package/resources/ios/icon/icon-50@2x.png +0 -0
  552. package/resources/ios/icon/icon-60.png +0 -0
  553. package/resources/ios/icon/icon-60@2x.png +0 -0
  554. package/resources/ios/icon/icon-60@3x.png +0 -0
  555. package/resources/ios/icon/icon-72.png +0 -0
  556. package/resources/ios/icon/icon-72@2x.png +0 -0
  557. package/resources/ios/icon/icon-76.png +0 -0
  558. package/resources/ios/icon/icon-76@2x.png +0 -0
  559. package/resources/ios/icon/icon-83.5@2x.png +0 -0
  560. package/resources/ios/icon/icon-small.png +0 -0
  561. package/resources/ios/icon/icon-small@2x.png +0 -0
  562. package/resources/ios/icon/icon-small@3x.png +0 -0
  563. package/resources/ios/icon/icon.png +0 -0
  564. package/resources/ios/icon/icon@2x.png +0 -0
  565. package/resources/ios/splash/Default-568h@2x~iphone.png +0 -0
  566. package/resources/ios/splash/Default-667h.png +0 -0
  567. package/resources/ios/splash/Default-736h.png +0 -0
  568. package/resources/ios/splash/Default-Landscape-736h.png +0 -0
  569. package/resources/ios/splash/Default-Landscape@2x~ipad.png +0 -0
  570. package/resources/ios/splash/Default-Landscape@~ipadpro.png +0 -0
  571. package/resources/ios/splash/Default-Landscape~ipad.png +0 -0
  572. package/resources/ios/splash/Default-Portrait@2x~ipad.png +0 -0
  573. package/resources/ios/splash/Default-Portrait@~ipadpro.png +0 -0
  574. package/resources/ios/splash/Default-Portrait~ipad.png +0 -0
  575. package/resources/ios/splash/Default@2x~iphone.png +0 -0
  576. package/resources/ios/splash/Default@2x~universal~anyany.png +0 -0
  577. package/resources/ios/splash/Default~iphone.png +0 -0
  578. package/resources/splash.png +0 -0
  579. package/resources/splash.png.md5 +0 -1
  580. package/server.js +0 -7
  581. package/src/app/app.html +0 -56
  582. package/src/app/app.scss +0 -236
  583. package/src/app/main.ts +0 -9
  584. package/src/assets/chat-background.jpg +0 -0
  585. package/src/assets/chat21-ionic-pattern-2.svg +0 -5110
  586. package/src/assets/chat21-ionic-pattern.png +0 -0
  587. package/src/assets/chat21-ionic-pattern.svg +0 -1
  588. package/src/assets/download.svg +0 -1
  589. package/src/assets/dummyDump.sql +0 -1
  590. package/src/assets/icon/favicon_old.ico +0 -0
  591. package/src/assets/img/c21-down-gray.svg +0 -1
  592. package/src/assets/img/chat21-icon.png +0 -0
  593. package/src/assets/img/f21ico-attached.svg +0 -1
  594. package/src/assets/img/f21ico-close.svg +0 -1
  595. package/src/assets/img/f21ico-photo.svg +0 -1
  596. package/src/assets/img/ic_keyboard_arrow_down_black_24px.svg +0 -4
  597. package/src/assets/img/ic_keyboard_arrow_down_white_24px.svg +0 -4
  598. package/src/assets/img/icon.png +0 -0
  599. package/src/assets/message-mine.png +0 -0
  600. package/src/assets/message-other.png +0 -0
  601. package/src/assets/pling.mp3 +0 -0
  602. package/src/assets/splash.png +0 -0
  603. package/src/assets/transparent.png +0 -0
  604. package/src/declarations.d.ts +0 -14
  605. package/src/directives/autosize/autosize.ts +0 -82
  606. package/src/environments/environment.pre.ts +0 -22
  607. package/src/environments/environment.prod.ts +0 -22
  608. package/src/environments/environment.ts +0 -21
  609. package/src/pages/_DetailPage.ts +0 -1
  610. package/src/pages/_MasterPage.ts +0 -1
  611. package/src/pages/archived-conversations/archived-conversations.html +0 -32
  612. package/src/pages/archived-conversations/archived-conversations.module.ts +0 -13
  613. package/src/pages/archived-conversations/archived-conversations.scss +0 -153
  614. package/src/pages/archived-conversations/archived-conversations.ts +0 -121
  615. package/src/pages/authentication/login/login.html +0 -58
  616. package/src/pages/authentication/login/login.module.ts +0 -16
  617. package/src/pages/authentication/login/login.scss +0 -121
  618. package/src/pages/authentication/login/login.ts +0 -221
  619. package/src/pages/authentication/register/register.html +0 -88
  620. package/src/pages/authentication/register/register.module.ts +0 -16
  621. package/src/pages/authentication/register/register.scss +0 -95
  622. package/src/pages/authentication/register/register.ts +0 -122
  623. package/src/pages/authentication/resetpwd/resetpwd.html +0 -40
  624. package/src/pages/authentication/resetpwd/resetpwd.module.ts +0 -16
  625. package/src/pages/authentication/resetpwd/resetpwd.scss +0 -102
  626. package/src/pages/authentication/resetpwd/resetpwd.ts +0 -93
  627. package/src/pages/components/chatBubble_old/chatBubble.scss +0 -83
  628. package/src/pages/components/chatBubble_old/chatBubble.ts +0 -30
  629. package/src/pages/components/elasticTextarea_old.ts +0 -46
  630. package/src/pages/dettaglio-conversazione/dettaglio-conversazione.html +0 -261
  631. package/src/pages/dettaglio-conversazione/dettaglio-conversazione.module.ts +0 -19
  632. package/src/pages/dettaglio-conversazione/dettaglio-conversazione.scss +0 -701
  633. package/src/pages/dettaglio-conversazione/dettaglio-conversazione.ts +0 -1395
  634. package/src/pages/index.ts +0 -5
  635. package/src/pages/info-advanced/info-advanced.html +0 -90
  636. package/src/pages/info-advanced/info-advanced.module.ts +0 -13
  637. package/src/pages/info-advanced/info-advanced.scss +0 -196
  638. package/src/pages/info-advanced/info-advanced.ts +0 -44
  639. package/src/pages/info-conversation/info-conversation.html +0 -225
  640. package/src/pages/info-conversation/info-conversation.module.ts +0 -15
  641. package/src/pages/info-conversation/info-conversation.scss +0 -444
  642. package/src/pages/info-conversation/info-conversation.ts +0 -1233
  643. package/src/pages/info-message/info-message.html +0 -74
  644. package/src/pages/info-message/info-message.module.ts +0 -13
  645. package/src/pages/info-message/info-message.scss +0 -216
  646. package/src/pages/info-message/info-message.ts +0 -89
  647. package/src/pages/info-user/info-user.html +0 -89
  648. package/src/pages/info-user/info-user.module.ts +0 -13
  649. package/src/pages/info-user/info-user.scss +0 -187
  650. package/src/pages/info-user/info-user.ts +0 -177
  651. package/src/pages/lista-conversazioni/lista-conversazioni.html +0 -88
  652. package/src/pages/lista-conversazioni/lista-conversazioni.module.ts +0 -18
  653. package/src/pages/lista-conversazioni/lista-conversazioni.scss +0 -245
  654. package/src/pages/lista-conversazioni/lista-conversazioni.ts +0 -736
  655. package/src/pages/placeholder/placeholder.html +0 -3
  656. package/src/pages/placeholder/placeholder.module.ts +0 -16
  657. package/src/pages/placeholder/placeholder.scss +0 -23
  658. package/src/pages/placeholder/placeholder.ts +0 -18
  659. package/src/pages/popover/popover.html +0 -27
  660. package/src/pages/popover/popover.module.ts +0 -16
  661. package/src/pages/popover/popover.scss +0 -23
  662. package/src/pages/popover/popover.ts +0 -95
  663. package/src/pages/popover-profile/popover-profile.html +0 -20
  664. package/src/pages/popover-profile/popover-profile.module.ts +0 -16
  665. package/src/pages/popover-profile/popover-profile.scss +0 -10
  666. package/src/pages/popover-profile/popover-profile.ts +0 -40
  667. package/src/pages/profile/profile.html +0 -54
  668. package/src/pages/profile/profile.module.ts +0 -16
  669. package/src/pages/profile/profile.scss +0 -45
  670. package/src/pages/profile/profile.ts +0 -108
  671. package/src/pages/update-image-profile/update-image-profile.html +0 -39
  672. package/src/pages/update-image-profile/update-image-profile.module.ts +0 -16
  673. package/src/pages/update-image-profile/update-image-profile.scss +0 -50
  674. package/src/pages/update-image-profile/update-image-profile.ts +0 -111
  675. package/src/pages/users/users.html +0 -55
  676. package/src/pages/users/users.module.ts +0 -16
  677. package/src/pages/users/users.scss +0 -10
  678. package/src/pages/users/users.ts +0 -222
  679. package/src/providers/app-config/app-config.ts +0 -33
  680. package/src/providers/auth-service.ts +0 -140
  681. package/src/providers/canned-responses-service/canned-responses-service.ts +0 -57
  682. package/src/providers/chat-archived-conversations-handler.ts +0 -283
  683. package/src/providers/chat-contacts-synchronizer.ts +0 -179
  684. package/src/providers/chat-conversation-handler.ts +0 -547
  685. package/src/providers/chat-conversations-handler.ts +0 -519
  686. package/src/providers/chat-manager/chat-manager.ts +0 -246
  687. package/src/providers/chat-presence-handler.ts +0 -188
  688. package/src/providers/database/database.ts +0 -214
  689. package/src/providers/group/group.ts +0 -243
  690. package/src/providers/messaging-service.ts +0 -267
  691. package/src/providers/nav-proxy.ts +0 -104
  692. package/src/providers/tiledesk-conversation/tiledesk-conversation.ts +0 -134
  693. package/src/providers/translate-service.ts +0 -61
  694. package/src/providers/upload-service/upload-service.ts +0 -117
  695. package/src/providers/user/user.ts +0 -320
  696. package/src/service-worker.js +0 -30
  697. package/src/utils/constants.ts +0 -73
  698. package/src/utils/utils.ts +0 -548
  699. package/src/videochat.php +0 -20
package/CHANGELOG.md CHANGED
@@ -1,213 +1,532 @@
1
- # ChangeLog
2
-
3
- ### 2.0.13-beta.1 (branch v2)
4
- - Print firebase info and version
5
-
6
- ### 2.0.13-beta.0 (branch v2)
7
- - Updated Firebase dependency to 7.24.0
8
- - Added "esnext.asynciterable" to tsconfig.json
9
-
10
- ### 2.0.12 -> Cloud Production
11
- - bug-fix: typing not work
12
-
13
- ### 2.0.11
14
- - bug fix: added appId in "firebaseConfig"
15
-
16
- ### 2.0.10
17
- - bug fix: added remoteContactsUrl in "chat-config-template.json"
18
-
19
- ### 2.0.8B
20
- - bug fix: TypeError: Cannot read property 'uid' of undefined
21
- at DatabaseProvider.webpackJsonp.57.DatabaseProvider.initialize (database.ts:35)
22
-
23
- ### 2.0.8A
24
- - bug fix: remove pushDetail PlaceholderPage on new conversation
25
-
26
- ### 2.0.8
27
- - new: added remoteContactsUrl in environment
28
-
29
- ### 2.0.7
30
- - bug fix: disable textarea when currentUser is not member
31
-
32
- ### 2.0.6
33
- - bug fix: close conversatione
34
-
35
- ### 2.0.5
36
- - bug fix: show error in catch
37
-
38
- ### 2.0.4
39
- - bug fix: deploy_.sh
40
-
41
- ### 2.0.3
42
- - bug fix: typing in/out conversation
43
-
44
- ### 2.0.2
45
- - bug fix: show fullname typing in support conversation
46
- - bug fix: enabled typing for system
47
- - bug fix: duplicate subscription in conversations
48
-
49
- ### 2.0.1
50
- - bug fix: typing conversation with widget
51
-
52
- ### 2.0.0
53
- - stable version
54
-
55
- ### 1.0.21.beta.13 branch - sidebar
56
- - bug fix: start with support-group open iframe in sidebar
57
-
58
- ### 1.0.21.beta.12 branch - sidebar
59
- - bug-fix: content sidebar and auto open
60
-
61
- ### 1.0.21.beta.11 branch - sidebar
62
- - bug-fix: sound message only one on changed
63
-
64
- ### 1.0.21.beta.10 branch - sidebar
65
- - bug fix: typing in direct conversation
66
-
67
- ### 1.0.21.beta.9 branch - sidebar
68
- - bug fix: change urlNodeTypings in direct conversation
69
-
70
- ### 1.0.21.beta.8 branch - sidebar
71
- - bug fix: new convrsation
72
-
73
- ### 1.0.21.beta.7 branch - sidebar
74
- - bug fix: translate typing
75
-
76
- ### 1.0.21.beta.6 branch - sidebar
77
- - bug fix: typing me
78
-
79
- ### 1.0.21.beta.5 branch - sidebar
80
- - new - typings
81
- - disabled list projects in info conversation
82
-
83
- ### 1.0.21.beta.4 branch - sidebar
84
- - bug fix: detail archived conversations
85
-
86
- ### 1.0.21.beta.3 branch - sidebar
87
- - bug fix: preload list conversation
88
-
89
- ### 1.0.21.beta.2 branch - sidebar
90
- - bug fix: load canned
91
-
92
- ### 1.0.21.beta.1 branch - sidebar
93
- - bug fix: projectID get on group attributes
94
-
95
- ### 1.0.21 branch - sidebar
96
- - add iframe sidebar info conversation
97
- - canned loaded on /
98
-
99
- ### 1.0.20-beta.13
100
- - bug fix tooltip
101
-
102
- ### 1.0.20-beta.12
103
- - add SERVER_BASE_URL in config
104
- - add canned
105
-
106
- ### 1.0.20
107
- - minor improvements
108
-
109
- ### 1.0.19
110
- - moves urls in environment
111
-
112
- ### 1.0.18B
113
- - load firebase-config in assets
114
-
115
- ### 1.0.18
116
- - change BASE_URL (get it from remote)
117
- - add chat21ApiUrl in firebaseConfig
118
-
119
- ### 1.0.17
120
- - new - change font size .messageFirst from 1.4em to 1.2em
121
- - new - change font size .content_message_wellcome from 1.4em to 1.2em
122
- - new - open detail conversation from url parameters 'recipient' and 'recipientFullname'
123
- - new - manage photo disabled on support.tiledesk.com
124
-
125
- ### 1.0.16
126
- - fixes bug contacts in chat-manager
127
- - fixes bug new user registration
128
-
129
-
130
- ### 1.0.15
131
- - change css modal PopoverPage
132
- - fixes bug splash-screen on browser platform
133
-
134
- ### 1.0.14
135
- - change css footer conversation detail
136
- - change css ballons conversation detail
137
- - change css info conversation
138
- - enabled send message with html tags
139
- - enabled send all image type
140
- - enabled send files pdf, zip
141
- - fixes bug send second image
142
- - open detail image in new tab browser
143
- - disabled cache conversations
144
- - fixes bug send image
145
- - hidden users list on "tiledesk" domain
146
- - disabled sync users on "tiledesk" domain
147
-
148
- ### 1.0.13
149
- - add tab info advanced
150
- - add angular-linky
151
- - fixes bug status online/offline
152
-
153
- ### 1.0.11
154
- - enables authentication outside of tiledesk domains
155
-
156
- ### 1.0.8
157
- - fixes bug on new conversation (detail conversation hidden)
158
-
159
- ### 1.0.7
160
- - fixes bug on change user (logout/login)
161
- - fixes bug on change conversation selected and conversation archived selected
162
-
163
- ### 1.0.6
164
- - fixes bug leave group and close group
165
-
166
- ### 1.0.5
167
- - add button login on tiledesk (if hostname is tiledesk)
168
-
169
- ### 1.0.3
170
- - change color css conversation selected
171
- - change position blue point on new message
172
- - fixes bug css archived conversations (image, point, header, icon)
173
- - fixes bug link in message
174
- - fixes bug button 'Request detail' only support-group
175
- - fixes bug truncate message in list conversations
176
- - load image profile from firestore url in conv. list, info conv., Participants
177
- - fixes bug user info: load image profilo
178
- - fixes bug info conversation on first load
179
- - change get 'date last access' for id in support-group (sostituito senderAuthInfo.authVar.uid con requester_id)
180
- - fixes bug conversation selected for first open (blank page)
181
- - fixes bug open page 'message info' (message selected = null)
182
-
183
-
184
- ### 1.0.2
185
- - added timestamp = firebase.database.ServerValue.TIMESTAMP in send message
186
- - fixes bug spinner il list conversations
187
- - fixes bug load image profile
188
- - deleted IonicImageLoader
189
- - fixes bug info conversation (load image) in archived conversations
190
- - change css in the header of list conversation
191
- - added number of conversations with new messages
192
- - fixes bug image conversation in info conversation
193
- - change css in the conversation list (new message, close message)
194
- - fixes bug load image on firebase storage
195
- - added IonicImageLoader for load and cache images
196
- - fixes bug cache for user (conversation list, contacts and settings)
197
- - add IonicStorageModule
198
- - add popup on videochat
199
- - fixes bug format date last access
200
- - fixed bug local time in send
201
- - add num version in package
202
- - add npm publish
203
-
204
- ### 0.934
205
- - link projectId open in _blank
206
- - change the color of the text message to in the selected conversation
207
- - fixes bug on metadata conversation
208
- - fixes bug multiple sound on changed / added message
209
-
210
- ### 0.933
211
- - add user status in header detail conversation
212
- - modified css detail conversation
1
+ # chat21-ionic ver 3.0
2
+
3
+ ### 3.0.58.1
4
+ - Fix the bug: if the "chatEngine" property value is set to "mqtt "the login modal window does not disappear even if the agent is logged in
5
+
6
+ ### 3.0.58
7
+ - Changes the logic with which the 'online' / 'offline' event is published (done before by the onAuthStateChanged() method)
8
+ - Removes the setTimeout set for displaying the login window
9
+ - Executes the "goOffline" method without checking whether the token exists in memory or not
10
+
11
+ ### 3.0.57
12
+ - Review of the "login" code
13
+
14
+ ### 3.0.56
15
+ - Improves the auto-login method
16
+
17
+ ### 3.0.55
18
+ - Distributed release in production
19
+
20
+ ### 3.0.55-rc26
21
+ - Fixes the bug: the iframe is not displayed
22
+ - Fits the image caption to the width of the image
23
+
24
+ ### 3.0.55-rc25
25
+ - Changes the method to get the JWT from the URL query string and the way to run the auto login
26
+
27
+ ### 3.0.55-rc24
28
+ - Improves the auto-login method
29
+
30
+ ### 3.0.55-RC23
31
+ - Fixes the bug: missing contact information in the header when selecting a "Direct" conversation
32
+ - Fixes the bug: by clicking on an archived chat the avatar displayed in the header does not correspond to the one displayed in the conversation list and in the right side panel "conversation info"
33
+ - Fixes the bug: sometimes auto login with JWT passed in URL as query string doesn't work
34
+ - Improves the "send message" textarea graphics
35
+ - Adds the ability to insert a new line after the current position in the message text area by pressing the key combinations "ALT + ENTER", "CTRL + ENTER", "CMD + ENTER"
36
+
37
+ ### 3.0.55-RC22
38
+ - Fixes the bug: if the chat is open in multiple browser tabs when the user log in the 'goOnline' method is activated several times
39
+ - Manages the message displayed in the conversation list when the sender sends a file (replace the markdown string with the string "sent an attachment")
40
+ - Fixes the bug: if the chat is open in multiple browser tabs when the user logs out, the conversation list remains visible
41
+ - Displays the "loading bubble" while uploading an image
42
+
43
+ ### 3.0.55-RC21
44
+ - Fixes the bug: if the chat is open in more than one browser tab, not all of them reconnect when the user accesses one of them
45
+
46
+ ### 3.0.55-RC20
47
+ - Improve the method that solves the bug: if the chat is open on more than one tab, the previous ones disconnect
48
+ - Displays the message "sent an image" when the sender sends an image
49
+ - Removes the "setTimeout" set on the onStorageChanged event
50
+
51
+ ### 3.0.55-RC19
52
+ - Fixes the bug: opening the "conversations info" side panel for support type conversations causes the chat to log out
53
+
54
+ ### 3.0.55-RC18
55
+ - Fixes the bug: if the chat is open on more than one tab, the previous ones logging out
56
+
57
+ ### 3.0.55-RC16
58
+ - Removes the image name displayed at the bottom of the image
59
+ - Removes the adaptation of the image caption width to the image size
60
+
61
+ ### 3.0.55-RC15
62
+ - Fixes the bug: "ion-spinner" throws an error when the chat is offline
63
+ - Fixes the bug: in the component "info-group-component" if groupDetail is not defined throws the error "Cannot read hasOwnProperty of undefined"
64
+ - Fixes the bug: in the "advanced-info-accordion" component if translationMap is not defined throws the error "Cannot read properties of undefined (reading 'get')"
65
+ - Fixes the bug: in the component "user-presence.component" if translationMap is not defined throws the error "Cannot read properties of undefined (reading 'get')"
66
+ - Fixes the bug: if the image name is longer than the image width when uploading, it is displayed on the right side of the image
67
+ - Fixes the bug: if the user logs out of the dashboard and then logs in, the user in the chat is not logged in again
68
+ - Fixes the bug: if the file upload preview window is closed without sending the file, the windows does not reopen if the same file is selected
69
+ - Adds autofocus in the "caption" text area in the file upload preview window
70
+
71
+ ### 3.0.55-RC14
72
+ - Implements Network service
73
+ - Displays, when the chat loses connection, the message "Waiting for network" at the top of the conversation list
74
+ - Displays, when the chat loses connection, the message "Internet is slow or not working" on the conversation details page
75
+ - Set the "user" variable to null when the user logs out of chat
76
+
77
+ ### 3.0.55-RC12
78
+ - Fixes the bug: when a file is uploaded via drag & drop, the message "Failed to upload: the format is not supported" is displayed even if fileUploadAccept is set to "* / *" (accept all)
79
+ - Fixes the bug: the left side panel "conversation list" is not displayed on Safari
80
+ - Fixes the bug: on Safari, clicking a button causes the app to reload or crash
81
+ - Adds a gradient background to the avatars
82
+
83
+ ### 3.0.55-RC11
84
+ - Replaces the message "No internet connection" displayed when Internet is slow or not working with the message "Internet is slow or not working."
85
+
86
+ ### 3.0.55-RC10
87
+ - Fixes the bug: Safari doesn't support the API's required to use FCM
88
+ - Fixes the bug: the drag and drop does not take into account the accepted files set in the "fileUploadAccept" environments property
89
+ - Fixes the bug: on Safari in the login modal the email and psw entered are not displayed
90
+
91
+ ### 3.0.55-RC9
92
+ - Adds the left panel "projects"
93
+
94
+ ### 3.0.55-RC8
95
+ - Improves backward compatibility for old conversations of the "archive", "predefined replies" features and for displaying the right "Conversation Info" panel
96
+ - Bug fixing
97
+
98
+ ### 3.0.55-RC7
99
+ - Adds the message "No Internet Connection" when the chat tab is a blank page
100
+ - Adds a "toast" indicating when the chat has lost connection
101
+ - Adds action button component
102
+ - Fixes the bug: when accessing the chat without internet connection, the chat does not restart when the connection is restored
103
+ - Fixes the bug: old conversations are not archived (implemented backwards compatibility)
104
+
105
+ ### 3.0.55-RC6
106
+ - Fixes the bug: when the pc starts up, if the connection is missing, the chat tab is a blank page and remains so even after the connection
107
+
108
+ ### 3.0.55-RC5
109
+ - Removes the changes in version 3.0.55-RC4
110
+ - Updates the method of "app.component.ts" watchToConnectionStatus()
111
+
112
+ ### 3.0.55-RC4
113
+ - Set "Auth.Persistence" to "firebase.auth().signInWithCustomToken" method
114
+ - Hardcoded the authPersistence value to 'LOCAL' in the 'localSessionStorage' service
115
+
116
+ ### 3.0.55-RC3
117
+ - Fixes the bug with another solution: the sender name in the conversation list does not match the sender name in the conversation details header
118
+ - Adds Android resources
119
+ - Set the "auth Persistence" environment variable to NONE
120
+
121
+ ### 3.0.55-RC2
122
+ - Adds style rules to fit the image name to its width
123
+ - Improves the method of getting Project ID from Conversation ID
124
+
125
+ ### 3.0.54-RC2
126
+ - Fixes the bug: canned responses are not loaded
127
+ - Adds backward compatibility: loading of canned responses for old projects
128
+
129
+ ### 3.0.54-RC1
130
+ - Moves FCM property "VAPID" to environments
131
+ - Adds FCM "VAPID" property to env.sample, chat-config.json and chat-config-template.json files
132
+ - Enhances the firebase-messaging-sw.js
133
+
134
+ ### 3.0.53-RC6
135
+ - Adds "VAPID" in the getToken() method of the "firebase-notification.service"
136
+ - Adds log in the "firebase-notification.service"
137
+
138
+ ### 3.0.53-RC5
139
+ - Push notification debug
140
+
141
+ ### 3.0.53-RC4
142
+ - Enhances the service worker postMessage method
143
+
144
+ ### 3.0.53-RC3
145
+ - Enhances listenToNotificationCLick() method and rename it to listenToSwPostMessage()
146
+
147
+ ### 3.0.53-RC2
148
+ - Commented the method listenToNotificationCLick()
149
+
150
+ ### 3.0.53-RC1
151
+ - Fixes the bug: sometimes the message sender name displayed in the header is different from the one displayed in the conversation list
152
+ - Fixes the bug: duplicate push notifications
153
+ - Increase the height of the selectable message in the conversation list to prevent the 'Archive' icon and the sender name text from overlapping the string indicating the message arrival time
154
+ - Updates the avatars background colors
155
+ - Fixes the bug: 404 error when trying to view the profile picture of "support-group" conversations requesters
156
+ - Adds the date the message was sent to the list of archived conversations
157
+ - Translates the date "how long ago" the message was sent in the conversation list
158
+
159
+
160
+ ### 3.0.52-beta
161
+ - Replaces the label "conversation ID" with "user ID" in the accordion available in the panel "conversation info" of direct conversations
162
+ - Adds the ability to change the log level via the query-string parameter "logLevel"
163
+ - Fixes the bug: clicking on a push notification, if it is a "direct" conversation, the correct conversation is not selected after redirection
164
+
165
+ ### 3.0.51-beta
166
+ - Enhances the style of the search bar in the contact list
167
+ - Adds the ability to upload a file by dragging it to the chat area
168
+ - Fixes the bug: Chat scrolls up when file preview page opens after dragging the file or image
169
+ - Fixes the bug: the 'loading bubble' is not displayed if the last message is at the bottom of the chat area
170
+ - Fixes the bug: in the "upload preview page" the file icon in the footer is not displayed correctly if the file name is on two lines
171
+ - Adds backward compatibility for viewing conversation details for "support group" type conversations in the "Conversation Information" panel
172
+ - Displays the text "No information available" in the right side panel "Conversation Information" when no information on the selected conversation is found
173
+
174
+ ### 3.0.50-beta
175
+ - Fixes the bug: in the right side panel 'info group' the loading of members fires twice
176
+ - Fixes the bug: autofocus doesn't always work
177
+ - Fixes the bug: browser tab title sounds and blinks even if the message is sent by the logged in user
178
+ - Fixes the bug: browser tab title sounds and blinks if the user change tab during page refresh
179
+ - Fixes the bug: browser tab title sounds and blinks if the user change tab during page refresh
180
+ - Fixes the bug: after uploading the image via drag-and-drop, if the user opens or closes the right side panel or opens another conversation, the image upload preview modal window reopens
181
+ - In the package.json: changes the name of the author + updates version + adds "cordova-android-support-gradle-release" + downgrade "cordova-android" from the version 9.0.0 to 6.2.3
182
+ - Replaces, in conversation list, when the logged user send an image the markdown with the string "You sent an image" and when send a file with the string "You sent an attachment"
183
+ - Displays the attach icon in the conversation list if the conversation type is "file"
184
+ - Fixes the bug: if an image without text is sent as the first message, the conversation does not appear in the conversation list
185
+
186
+ ### 3.0.49-beta
187
+ - Replaces in "chat-config-template.json" the value "${TENANT}" of the property "tenant" in "${FIREBASE TENANT}"
188
+
189
+ ### 3.0.48-beta
190
+ - Update environments by moving the "tenant" environment variable to the "firebaseConfig" object
191
+
192
+ ### 3.0.47-beta
193
+ - Changes the obtaining of the "tenant" environment variable moved inside the "firebaseConfig" configuration
194
+ - Removes unused services "chat-contacts-synchronizer.ts" (class "ChatContactsSynchronizer") and "database.ts" (class DatabaseProvider)
195
+ - Moves the environment variable 'tenant' in the object "firebaseConfig" of the files chat-config.json, chat-config-template.json; updated README.md
196
+ - Fixes the bug: after logging out the list of conversations is still visible
197
+ - Fixes the bug: modal "login" is sometimes loaded twice after logout
198
+ - Downgrades the mqtt library from version 4.2.8 to 4.1.0
199
+ - Check if the serviceWorker exists before to append 'addEventListener' (fixes the bug addEventListener of undefined)
200
+
201
+ ### 3.0.46-beta
202
+ - Modifies the "logger service" to accept only values of string type from the "logLevel" environments property (Error < Warn < Info < Debug)
203
+ - Updates the README.md
204
+ - Replaces the value of the "logLevel" property of numeric type with the corresponding value of type string in the env.sample and chat-config.json files
205
+ - Adds unit tests
206
+
207
+ ### 3.0.45-beta
208
+ - Adds the ability to display the canned responses by pressing '/' anywhere in the message
209
+ - Fixes the bug: in group side panel are not displayed the members
210
+
211
+ ### 3.0.44-beta
212
+ - Fixes the bug: When a canned response is selected from the keyboard and enter is pressed, the slash character "/" is sent as a message
213
+ - Fixes the bug: default log level is undefined if it is not setted in the eviroment.*
214
+
215
+ ### 3.0.43-beta
216
+ - Fixes the bug: logger of undefined in firebase-notifications and in app.component
217
+ - Fixes the bug: "el" of undefined in "conversation-detail.page"
218
+ - Fixes the bug: Canned responses are not displayed
219
+
220
+ ### 3.0.42-beta.1.19
221
+ - Fixes the bug: uploading images by dragging to the "conversation detail" area does not work if the image is dragged to an area without messages
222
+
223
+ ### 3.0.42-beta.1.18
224
+ - Improves logger service
225
+ - Fixes the bug: with MQTT enviroment it is not possible to know changes in the conversation
226
+
227
+ ### 3.0.42-beta.1.17
228
+ - Note: this version has been published under the subfolder "chat5"
229
+ - Adds the right side panel that allows the selection of projects to which the current user belongs and the display of unassigned conversations
230
+ - Fixes the bug: Property 'addUploadingBubbleEvent' does not exist on type 'ConversationDetailPage'.
231
+
232
+ ### 3.0.42-beta.1.16
233
+ - Bug fixed: the selected image preview popup window opens twice if after selecting the image dragging it in the chat area, the image is selected pasting it in the 'send message' texarea,
234
+ - Prevents the user from pasting non-image files into the 'send message' textarea
235
+ - Displays an error message when files that are not of type image are pasted in the "send message" text area
236
+ - Displays an error message when files that are not of type image are dragged into the chat area
237
+
238
+ ### 3.0.42-beta.1.15
239
+ - Adds the ability to select an image to upload by drag it in the chat area
240
+ - Adds the ability to upload an image or file by pressing the "Enter" keyboard key
241
+ - Fixes the bug: the placeholder in the textarea 'send message' isn't responsive and when it is on two lines of text it overlaps the chat content
242
+ - Fixes the bug: if the canned responses are called on group type or direct type conversations, an error is thrown as the project id is not available
243
+
244
+ ### 3.0.42-beta.1.14
245
+ - Minor improvements
246
+
247
+ ### 3.0.42-beta.1.13
248
+ - Fixes the bug: if the message inserted in the textarea has more lines of text, that textarea overlaps the chat content
249
+ - Adds the ability to select an image to upload by paste it in the 'send message' textarea
250
+ - Fixes the bug: the placeholder in the textarea 'send message' isn't responsive and when it is on two lines of text it overlaps the chat content
251
+
252
+ ### 3.0.42-beta.1.12
253
+ - Renames the 'temp' folder in 'chatib'
254
+ - Improves the button to attach files / images
255
+ - Changes the endpoint where images and files are saved in the 'firebase-upload' service
256
+ - Adds the ability to upload any file type
257
+ - Adds the extension and name of the file that will be uploaded into the popup modal preview
258
+ - Displays an error message if the file upload failed
259
+ - Fixes the bug: if the uploaded file has a size of 0 bytes, the "bubble spinner" is displayed twice and the second remains visible
260
+ - Fixes the bug: the user ID and uiid are added to the downloaded file name
261
+ - Adds in the environments the 'fileUploadAccept' key set by default to accept the upload of any type of file and binds the value in message-text-area
262
+ - Changes the Log Level number values
263
+ - Decreases the display delay of the message tooltips (from 1500ms to 500ms)
264
+ - Adds in chat-config-template.json, chat-config.json and env.sample the keys "fileUploadAccept" and "logLevel"
265
+ - Changes in the environments the default value of the log level to 1
266
+ - Updates the mqtt library to the latest version (4.2.8)
267
+
268
+ ### 3.0.42-beta.1.11
269
+ - Improves the "push notifications service worker" and in conversations-list-page the method listenToNotificationCLick()
270
+ - Changes in the "precence.service" and "typing.service" the occurrences where the "tenant" property is obtained from the environment rather than from 'appConfig'
271
+
272
+ ### 3.0.42-beta.1.10
273
+ - Improves the "push notifications service worker"
274
+
275
+ ### 3.0.42-beta.1.9
276
+ - Adds logs in "firebase-messaging-sw.js" and in "conversations-list.page.ts" for push notification test
277
+
278
+ ### 3.0.42-beta.1.8
279
+ - Handles the responses of the 'signInWithEmailAndPassword' method: displays a toast in case of error and a spinner waiting for the response
280
+ - Adds in the "login component" the links to the dashboard's pages "reset password" and "signup"
281
+ - Adds in the "login component" the display of validation errors of the authentication form
282
+ - Adds the preview of the selected SVG image in image/file preview popup
283
+ - Fixes the bug: "fileSelected of undefined" when the image/file preview popup is closed without any image or file being selected
284
+ - Adds the check of the pushEngine key set to "none" in the "notificationsServiceFactory" function of app.module
285
+ - Changes occurrences where "tenant" is obtained from "environment" by getting it from "appConfig" (app.component.ts, info.content.component.ts, conversation-detail.page, conversation-list.page)
286
+ - Adds in info-message.component.html the pipe htmlEntiesEncode
287
+ - Updates in the firebase-messaging-sw.js the version of Firebase SDK imported and replaces the deprecated method "setBackgroundMessageHandler()" with the new onBackgroundMessage()
288
+ - Removes the dependecies of the "appConfig" from the "notifications classes"
289
+ - Removes imageUrl from setConversationAvatar utils function
290
+ - Fixed the bug: if pushEngine is setted to none are called the method getNotificationPermissionAndSaveToken()
291
+ - Adds the "tenant" property in chat-config and chat-config-template
292
+ - Fixed the bug: the logger is not displayed
293
+ - Adds the ability by clicking on a push notification to open the chat, that is in background or that is closed, directly to the conversation to which the push notification refers
294
+ - Renames FirebaseGroupHandler in FirebaseGroupsHandler,
295
+ - Removes unused components (conversation-archived-list and current-user-service)
296
+
297
+ ### 3.0.42-beta.1.7
298
+ - Adds the Html entities encode pipe and removes the entities encode from the sendMessage method
299
+ - Adds the abstract class "notification.service" and the classes "firebase-notifications" and "mqtt-notifications"
300
+
301
+ ### 3.0.42-beta.1.6
302
+ - Disables the dark mode
303
+ - Fixed the bug: in pre environment the the uploadEngine key is set to 'native'
304
+
305
+ ### 3.0.42-beta.1.5
306
+ - Sets in pre: the value of the key chatEngine to 'firebase', the value of the key uploadEngine to 'firebase' and the value of the key pushEngine to 'firebase'
307
+
308
+ ### 3.0.42-beta.1.4
309
+ - Updated in pre environment the endpoints of "dashboardUrl" to the Dashboard latest versions (2.1.70-beta.1.6)
310
+
311
+ ### 3.0.42-beta.1.3
312
+ - Fixes the bug: if the uploadEngine key is set to native images and files are not upload
313
+ - Sets in pre: the value of the key chatEngine to 'mqtt', the value of the key uploadEngine to 'native' and the value of the key pushEngine to 'none'
314
+
315
+ ### 3.0.42-beta.1.2
316
+ - Adds push notifications
317
+ - Updates firebase SDK to the 8.6.7 version
318
+ - Changes the import of firebase 'import * as firebase from "firebase/app"' with 'import firebase from "firebase/app"'
319
+
320
+ ### 3.0.42-beta.1.1
321
+ - Fixes the bug: if the uploadEngine key is set to native the svg images are not uploaded
322
+ - Fixes the bug: "logger.printLog" is not a function in "conversation-content-component"
323
+ - Fixes the bug: with native uploadEgine uploading files or images whose names contain spaces return broken URLs
324
+ - Fixes the bug: when switching from mobile to desktop mode, if a conversation is selected in the conversation details, the list of conversations is displayed
325
+ - Fixes the bug: when switching from desktop mode to mobile mode, if no conversation is selected, the conversation list is not displayed
326
+ - Fixes the bug: remove the dependency of the "LoggerService" from the 'ion-conversation-detail' component constructor
327
+
328
+ ### 3.0.42-beta.1.0
329
+ - Minor improvements
330
+
331
+ ### 3.0.42
332
+ - Fixes the bug: in mobile mode in the right side panel "Conversation info" the textarea 'send message' is displayed
333
+ - Fixes the bug: the button open/close the right side panel 'Info conversation' does not work correctly
334
+ - Hides the 'Conversation Info' right side panel when the window width is less than 991px
335
+
336
+ ### 3.0.41
337
+ - Sets in pre environment the key "uploadEngine" to "firebase"
338
+ - Fixes the bug: when is pressed enter in the textarea "send message" is added a new line
339
+ - Fixes the bug: the text of the message is always written on a single line, ignoring line breaks
340
+ - Adds a bubble with an upload spinner to the in-conversation-detail page when uploading a file using uploadEngine = 'firebase'
341
+ - Displays in the loader-preview page a placeholder image when a file is selected to be loaded
342
+ - Removes from the services "firebase-conversation-handler", "firebase-conversations-handler", "firebase-archivedconversations-handler" and mqtt-conversation-handler the HTML entities encode
343
+ - Improves the "htmlEntities" function and adds the "replaceEndOfLine" function
344
+
345
+ ### 3.0.40
346
+ - Improves the methods implemented for the correct display of messages in the conversation list when a snippet of code is pasted
347
+
348
+ ### 3.0.39
349
+ - Fixes the bug: if a snippet of code is pasted and sent it is not displayed correctly in the chat
350
+ - Fixes the bug: if a snippet of code is pasted and sent it is not displayed correctly in the convesations list
351
+
352
+ ### 3.0.38
353
+ - Conditions the display of the splash screen only on platforms other than "desktop" (on the desktop platforms the splash screen is not supported)
354
+ - Fixes the bug: signin button is not disable when the form is invalid
355
+ - Fixes the bug: markdown doen't work when the page is refreshed
356
+ - Adds the encode of the HTML entities
357
+
358
+ ### 3.0.37
359
+ - Fixes the bug: the skeleton placeholder remains active after logout
360
+
361
+ ### 3.0.36
362
+ - Fixes the bug: in the list of conversations user last messsagge is showed more times
363
+ - Adds in the list of conversations (active and archived) the placeholder 'No conversation yet' displayed when there aren't conversation
364
+ - Manages the title on the browser tab when new messages are received: indication of the number of new messages that are received when the tab is not active
365
+ - Fixes the bug: canned responses are called even if the slash ('/') is not at the beginning of the sentence
366
+ - Conditions the canned responses call to the existence of the project id
367
+ - Centers the placeholder message "Still no message here..."
368
+
369
+ ### 3.0.35
370
+ - Adds a tooltip in the logged user profile panel that displays the user's id and the ability to copy it by clicking on the avatar
371
+ - Replaces in the list of conversations (active and archived) the text 'loading' with a skeleton placeholder
372
+ - Replaces in the detail of the conversation the image and the text "text new conversation + button" with the text "Please select a chat to start messaging"
373
+ - Fixes the bug: in the list of conversations user last messsagge is showed more times
374
+
375
+ ### 3.0.34
376
+ - Fixes the bug: in the right side panel of "direct" conversations the "Advanced" accordion opens only once
377
+ - Fixes the bug: in the conversation list message text goes on a new line when there is the image icon
378
+ - Fixes the bug: in the list of conversations the 'archive conversation' button is displayed fixed on the right and not on mouseover
379
+
380
+ ### 3.0.33
381
+ - Changes dashboard url
382
+
383
+ ### 3.0.32
384
+ - Changes dashboard url
385
+
386
+ ### 3.0.31
387
+ - test Native uploadEngine
388
+
389
+ ### 3.0.30
390
+ - Added image skeleton while load image
391
+ - Improved uploaded images styles
392
+ - Added Native-Image-repo service
393
+
394
+ ### 3.0.29
395
+ - Fixes the bug: "Cannot read property 'forEach' of undefined" when subscriptions are undefined
396
+ - Fixes the bug: user's profile photo is not displayed in the right side panel of "direct" type conversations
397
+ - Fixes the bug: user's profile photo is not displayed in the conversation header
398
+ - Fixes the bug: users' profile pictures are not displayed in the left panel "write to"
399
+ - Fixes the bug: the same image cannot be loaded twice
400
+
401
+ ### 3.0.28
402
+ - Minor improvements
403
+
404
+ ### 3.0.27
405
+ - Fixes the bug: the call to get the contact details is not made on mqtt environment
406
+
407
+ ### 3.0.26
408
+ - Minor improvements
409
+
410
+ ### 3.0.25
411
+ - Bug fixing
412
+
413
+ ### 3.0.24
414
+ - Adds in "group" conversations the display of members belonging to the group type (avatar, name and online / offline status)
415
+ - Fixes the bug: in the setInfoSupportGroup method the project ID is taken from the detail attributes of the group which may not be available (now it is taken from 'conversatioWith')
416
+ - Adds autofocus in the "send message" text area
417
+ - Fixes the bug: files in the mqtt environment are not loaded
418
+
419
+ ### 3.0.23
420
+ - Fixes the bug: the avatar image of the logged in user is not displayed in the left menu "profile-info"
421
+ - Fixes the bug: the group names are incorrect (for active and archived conversations)
422
+ - Adds the component "advanced-info-accordion"
423
+ - Adds the "closeSupportGroup" method to archive support group conversations
424
+ - Modify the "deleteConversation" method to archive conversations of type "direct" and "group" (deleted the query string "forall = true")
425
+ - Adds the "generateGroupAvatar" method in the conversation-detail.page
426
+ - Adds the input "groupDetails" to the "app-info-content" component
427
+ - Displays an image icon in the conversation list if the conversation type is image
428
+ - Enhances right sidebar for "direct" conversations
429
+ - Implements the right sidebar for group type conversations (in progerss)
430
+ - Improves "actionScrollBottom" method
431
+ - Fixes the bug: "startsWith" of undefined in the method "isGroup"
432
+
433
+ ### 3.0.22
434
+ - Fixes the bug: the modal login window opens even if the user is logged in
435
+ - Fixes the bug: contact avatar is not displayed in the contact list (write to)
436
+ - Manages scroll position in concversation detail page as widget behaviour
437
+ - Bug fixed onInit selected conversation in ion-list-conversations.component
438
+ - Improves the conversation list graphics in the left side panel
439
+ - Implemented the method for archiving conversations
440
+ - Fixes the bug: clicking on an archived conversation does not update the 'read conversation' badge
441
+ - Fixes the bug: the messages in the conversation detail are all aligned to the left
442
+ - Fixes the bug: the selected active conversation is no longer selected when the user returns to active conversations from archived conversations
443
+ - Deletes the persistence of the last open conversation from the local storage
444
+ - Restores the button 'open conversation detail'
445
+ - Changes the mqtt library (v4.2.6) loading: from external loaded in index.html to local loaded in angular.json
446
+ - Adds checking for user existence before running "setPresence" in the goOnLine method of app.component
447
+ - Adds a path to "Conversation-detail" with only the conversation ID parameter
448
+ - Renames (and improves) the method connect in subscribeToConversations and removes the subscriptions to the conversation detail
449
+ - Modifies the "getConversationDetail" method to return a callback and moves the subscription to the method from the "conversation details" page to the "information-content" component
450
+ - Changes the "setConversationRead" method to accept the conversation ID as parameter and no longer the selected conversation
451
+ - Closes the contacts modal window when a contact is selected
452
+ - Moves conversations subscription in "app.component" from "conversation-list-page"
453
+ - Fixes the bug: the "loadContactsFromUrl" service does not work if the chatEngine is "mqtt"
454
+ - Fixes the bug: when the user logs out, the "removePresence" method throws errors because it is executed after the "signOut" method of Firebase
455
+ - Renamed "pushUploadMessage" in upload-service with "upload()"
456
+ - Implemented new NATIVE-UPLOAD-SERVICE and added in mqtt app.module uploadFactory section (not active yet)
457
+ - Handled promise of upload in message-text-area while upload a file/image
458
+ - Fixes the bug: the images are not loaded in the current conversation
459
+ - Fixes the bug: the right panel does not display information relating to the type of conversation selected
460
+ - Fixes the bug: the 'channelType' in messages is incorrect
461
+ - Fixes the bug: the link of the downloaded file is not displayed
462
+ - Fixes the bug: the right side panel does not show the content related to the selected conversation type
463
+ - Handled archivedconversations service in dispose method of chat-manager
464
+ - Bug fixed on logout
465
+ - Bug fixed chat21client undefined in MqttArchivedConversationsHandlerService
466
+ - Renamed group-service with groups-handler.service
467
+ - Added MQTTArchivedConversationsHandler in the archivedConversationsHandlerFactory
468
+ - Adds the ability to manage responses with the project's 'canned responses' and select them with the keyboard's up and down arrows
469
+
470
+ ### 3.0.21
471
+ - Fixes the bug: on the browser the archived conversation window is opened multiple times by clicking on the 'Archived' button
472
+ - Fixes the bug: on mobile the archived conversations window is no longer displayed if it has been opened once
473
+ - Highlights the archived conversation with a background color
474
+ - Fixes the bug: the detail of the selected conversation does not open on mobile
475
+
476
+
477
+ ### 3.0.20
478
+ - Adds the ability to display the archived conversations
479
+
480
+ ### 3.0.17
481
+ - bug fix: changed abstract classes in app module
482
+ - changed: class presence
483
+ - changed: class typing
484
+
485
+ ### 3.0.16
486
+
487
+
488
+ ### 3.0.15
489
+ - bug-fix: changed routing removing url parameters
490
+ - bug-fix: create new conversation
491
+ - changed: create abstract classes for services
492
+ - bug-fix: scroll-page
493
+ - changed: replaced Observable with BehaviourSubject
494
+
495
+ ### 3.0.14
496
+ - new: create new conversation
497
+ - new: added conversations cache
498
+
499
+ ### 3.0.13
500
+ - bug-fix: open/close modal login
501
+ - new: added alert on error login
502
+ - bug-fix: auth with JWT token from url queryParams
503
+ - bug-fix: routing list detail
504
+ - new: added BehaviourSubject on authChange
505
+ - new: load chat components after login
506
+ - bug-fix: contact list: load contacts
507
+
508
+
509
+ ### 3.0.11
510
+ - new: set persistence firebase from environment
511
+ - new: get JWT token from url queryParams and signin with token
512
+ - new: save token in localstorage
513
+
514
+ ### 3.0.10
515
+ - bug-fix: url navigation
516
+ - bug-fix: CONTACTS_URL from environment
517
+
518
+ ### 3.0.9
519
+ - bug-fix: info conversation right sidebar
520
+
521
+ ### 3.0.8
522
+ - new: added Scrivi a...
523
+
524
+ ### 3.0.7
525
+ - bug fix: navigation and routing
526
+
527
+ ### 3.0.6
528
+ - test build platforms browser, ios, android --prod
529
+
530
+ ### 3.0.1
531
+ - add scrollBarButton
213
532
  - adds CHANGELOG.md