XSF logo jdev - 2020-01-14


  1. sonny has joined
  2. paul has left
  3. wurstsalat has left
  4. goffi has left
  5. Zash has left
  6. strar has left
  7. strar has joined
  8. strar has left
  9. strar has joined
  10. bhaveshsgupta has joined
  11. bhaveshsgupta has left
  12. bhaveshsgupta has joined
  13. bhaveshsgupta has left
  14. bhaveshsgupta has joined
  15. larma has left
  16. larma has joined
  17. aj has joined
  18. aj has left
  19. bhaveshsgupta has left
  20. bhaveshsgupta has joined
  21. asterix has joined
  22. lovetox has joined
  23. rion has left
  24. bhaveshsgupta has left
  25. asterix has left
  26. asterix has joined
  27. bhaveshsgupta has joined
  28. wurstsalat has joined
  29. asterix has left
  30. asterix has joined
  31. lovetox has left
  32. asterix has left
  33. asterix has joined
  34. asterix has left
  35. asterix has joined
  36. paul has joined
  37. lovetox has joined
  38. lovetox has left
  39. pulkomandy has left
  40. Zash has joined
  41. pulkomandy has joined
  42. pulkomandy has left
  43. pulkomandy has joined
  44. sonny has left
  45. sonny has joined
  46. Ge0rG has left
  47. Ge0rG has joined
  48. Ge0rG has left
  49. Ge0rG has joined
  50. bhaveshsgupta has left
  51. bhaveshsgupta has joined
  52. Ge0rG has left
  53. Ge0rG has joined
  54. Pradeep has joined
  55. sonny has left
  56. Pradeep Hi, I am using XMPP for intranet push notifications on mobile phones. Now I have a requirement to do intranet push notifications using XMPP on a web browser. When it comes to browser push notification, it is necessary to write client side inside "Service Worker". To keep it simple. Though my web application is not running in a browser instance, the browser should get notifications from ejabberd server and show a notification to the user.
  57. Pradeep Kindly let me know possible solutions.
  58. sonny has joined
  59. jonas’ sorry, I don’t know web, but someone else might
  60. jonas’ stick around for a while
  61. Pradeep Sure. Thanks.
  62. bhaveshsgupta has left
  63. pep. Pradeep, I assume you're familiar with https://w3c.github.io/push-api/ https://developer.mozilla.org/en-US/docs/Web/API/Push_API
  64. pep. You can still use that in combination with https://xmpp.org/extensions/xep-0357.html
  65. pep. I know some have done it, though I wished it was documented
  66. pep. Also, "intranet"?
  67. pep. Unless you recompile your browsers to change the push API implementation (change the push server's url), I am not entirely sure how that works. Maybe it's configurable..
  68. Pradeep It looks like browser Push_API supports push services like FCM.
  69. jonas’ you’re comfortable with sending intranet push notifications through google?
  70. goffi has joined
  71. Pradeep We cannot do intranet messaging via FCM. It has to go through cloud.
  72. goffi has left
  73. goffi has joined
  74. bhaveshsgupta has joined
  75. Pradeep My scenarios is to support devices those are forced to not to be connected to internet.
  76. sonny has left
  77. Pradeep To make it short. The network the devices(desktop, mobile phones) connected is highly secured so that there will be no network connections.
  78. jonas’ Pradeep, but how will they then receive messages from FCM?
  79. Pradeep We should not use FCM
  80. Pradeep I am looking for a solution without thirdparty push services. Instead use XMPP for web push notification.
  81. Pradeep I have already achieved in web using Stophe.js on the web page. But the requirement is to establish XMPP connection in background browser service "Service Worker". Mine works only if I keep the web page alive on the browser.
  82. jonas’ I see; not sure if that’s even possible. I don’t know much about web things, and I avoid them if possible :)
  83. pep. Pradeep, the web push API doesn't use FCM. It uses the browser's vendor (Mozilla, Google, etc.)
  84. Pradeep Ok, pep. But I don't see an option where we can define our own push service url. That's why I got bit confused.
  85. pep. Hence me saying you might need to recompile the browsers with your own push server url
  86. pep. XMPP can't control that part
  87. pulkomandy has left
  88. pulkomandy has joined
  89. Zash about:config in Firefox has some dom.push.serverURL setting that looks relevant
  90. Zash set to some wss URL
  91. Zash No idea what it does tho
  92. pep. Zash, XMPP over Websockets!
  93. Pradeep Let me try the ways you guy suggested. Thanks pep. jonas’ & Zash
  94. Pradeep *guys
  95. pep. Try to get web push working already. I guess you can have fun reverse engineering the push server implementation later..
  96. pep. implementations*
  97. jonas’ pep., clean-room reverse engineer? :>
  98. jonas’ (I’m sorry)
  99. pep. Firefox and Chromium are free software :)
  100. jonas’ the push server may not be
  101. pep. True. Though if it's internal use, there's probably no obligation to redistribute their changes
  102. pep. Now.. IANAL
  103. pep. Maybe we should reject 357 because it's not possible to use it for web push internally /s
  104. jonas’ pep., I’m pretty sure that’s false.
  105. jonas’ since everything beyond the application server (which still needs to understand XMPP) is out of scope
  106. pep. I can't even joke without being accurate now :(
  107. Zash You could have the app server send an XMPP message over some existing connection. Or SMS. Or a carrier pidgeon.
  108. pep. Can I also publish my XEP "XMPP over ChaosPost"
  109. jonas’ or in morse code with trump tweet time spacings
  110. jonas’ pep., would be something for April 1st
  111. pep. But it'd be valid even if you need to pay a ticket to get to congress?
  112. Zash Is the specification for ChaosPost available?
  113. bhaveshsgupta has left
  114. pep. https://c3post.de/
  115. sonny has joined
  116. bhaveshsgupta has joined
  117. bhaveshsgupta has left
  118. Wojtek has joined
  119. bhaveshsgupta has joined
  120. debacle has joined
  121. sonny has left
  122. bhaveshsgupta has left
  123. bhaveshsgupta has joined
  124. bhaveshsgupta has left
  125. Pradeep has left
  126. sonny has joined
  127. tsk has left
  128. bhaveshsgupta has joined
  129. tsk has joined
  130. bhaveshsgupta has left
  131. bhaveshsgupta has joined
  132. sonny has left
  133. Tao has joined
  134. sonny has joined
  135. Tao has left
  136. ralphm has left
  137. ralphm has joined
  138. pulkomandy has left
  139. sonny has left
  140. sonny has joined
  141. Wojtek has left
  142. Wojtek has joined
  143. sonny has left
  144. sonny has joined
  145. pulkomandy has joined
  146. pulkomandy has left
  147. Tao has joined
  148. pulkomandy has joined
  149. Tao has left
  150. Tao has joined
  151. marc0s hi, by reading XEP-0114 (Components) I understand that, given a component connecting with the proper `secret` it can act as any valid user since it's allowed to write whatever `from` it pleases, right?
  152. Kev On the domain that the component is hosting - which is a different domain from that of the server.
  153. flow marc0s, I'd say now
  154. flow err, 'no'
  155. Kev So if I'm isode.com, and I have a component authenticating as component.isode.com, that component can act as anything@component.isode.com, but not anything@isode.com.
  156. marc0s I'm currently bridging another system events via a permanently connected user account with admin privileges to create/destroy/manage MUCs based on that other system's events and I was wondering if a component would be a better approach
  157. flow marc0s, you may want to look at xep356 (and xep355)
  158. marc0s I see Kev, thanks
  159. marc0s flow, will have a look, thanks
  160. Tao has left
  161. goffi has left
  162. Zash In Prosody you can have Components named user@host, so there's that.
  163. paul has left
  164. marc0s Zash, so the component will be receiving all stanzas addressed to the bare jid I'd expect, isn't it?
  165. paul has joined
  166. MattJ Zash, no idea if that has ever been tested with external components
  167. marc0s 😀
  168. MattJ Also ssshh, it's not a feature we advertise :)
  169. flow uh, hidden features you are not supposed to talk about, now I wanna use it!
  170. MattJ When people find out you end up with things like dino@dino.im
  171. Tao has joined
  172. Tao has left
  173. pep. chat@dino.im :)
  174. MattJ That's the one
  175. sonny has left
  176. bhaveshsgupta has left
  177. bhaveshsgupta has joined
  178. Tao has joined
  179. Tao has left
  180. Tao has joined
  181. sonny has joined
  182. Tao has left
  183. pulkomandy has left
  184. pulkomandy has joined
  185. bhaveshsgupta has left
  186. bhaveshsgupta has joined
  187. goffi has joined
  188. sonny has left
  189. sonny has joined
  190. Wojtek has left
  191. sonny has left
  192. sonny has joined
  193. bhaveshsgupta has left
  194. sonny has left
  195. sonny has joined
  196. kikuchiyo has left
  197. bhaveshsgupta has joined
  198. pulkomandy has left
  199. jonas’ MattJ, and also rodrigo.de.mucobedo@dreckshal.de.
  200. MattJ :)
  201. jonas’ which is mod_client_proxy, another abomination
  202. pulkomandy has joined
  203. lovetox has joined
  204. bhaveshsgupta has left
  205. bhaveshsgupta has joined
  206. bhaveshsgupta has left
  207. bhaveshsgupta has joined
  208. kikuchiyo has joined
  209. kikuchiyo has left
  210. kikuchiyo has joined
  211. sonny has left
  212. kikuchiyo has left
  213. pulkomandy has left
  214. pulkomandy has joined
  215. sonny has joined
  216. kikuchiyo has joined
  217. kikuchiyo has left
  218. lovetox has left
  219. kikuchiyo has joined
  220. kikuchiyo has left
  221. kikuchiyo has joined
  222. lovetox has joined
  223. debacle has left
  224. debacle has joined
  225. sonny has left
  226. pulkomandy has left
  227. pulkomandy has joined
  228. goffi has left
  229. goffi has joined
  230. lovetox has left
  231. sonny has joined
  232. pulkomandy has left
  233. pulkomandy has joined
  234. kikuchiyo has left
  235. kikuchiyo has joined
  236. pulkomandy has left
  237. pulkomandy has joined
  238. sonny has left
  239. sonny has joined
  240. bhaveshsgupta has left
  241. bhaveshsgupta has joined
  242. sonny has left
  243. sonny has joined
  244. sonny has left
  245. sonny has joined
  246. paul has left
  247. pulkomandy has left
  248. pulkomandy has joined
  249. bhaveshsgupta has left
  250. bhaveshsgupta has joined
  251. asterix has left
  252. asterix has joined
  253. Wojtek has joined
  254. pulkomandy has left
  255. rion has joined
  256. pulkomandy has joined
  257. sonny has left
  258. debacle has left
  259. sonny has joined
  260. goffi has left
  261. sonny has left
  262. Syed Ahmed Jamil has joined
  263. pulkomandy has left
  264. Syed Ahmed Jamil Hi can anyone help me with pubsub. I have an entity that is both publisher and subscriber. I want the xmpp server (openfire) to not send my own published item back to me ? Is there any node configuration that makes this behavior happen ?
  265. pulkomandy has joined
  266. Syed Ahmed Jamil Is anyone online ?
  267. jonas’ yes
  268. jonas’ I don’t think what you’re asking for works with standard XEP-0060
  269. Syed Ahmed Jamil ok is there any other solution ?
  270. jonas’ don’t worry about those "reflections"
  271. jonas’ you can detect them by ID
  272. Syed Ahmed Jamil Basically they are a problem for my app. I am creating a collaborative whiteboard. I publish drawing events and listen to incoming messages. so whenever I draw I receive my own drawing events and it redraws on screen.
  273. Syed Ahmed Jamil which ID do you mean
  274. Syed Ahmed Jamil ?
  275. Syed Ahmed Jamil ?
  276. jonas’ Syed Ahmed Jamil, pubsub items have an ID
  277. jonas’ if you set the ID when publishing (for example, to a randomly generated UUID), you can detect your own events and ignore them
  278. Syed Ahmed Jamil oh I see then I have to work on creating those unique id's
  279. moparisthebest id=ignoreme; if(id == ignorme) ignore()
  280. pulkomandy has left
  281. Syed Ahmed Jamil well if I set the id myself you mean when i will get that id in IQ stanza right ?
  282. debacle has joined
  283. Syed Ahmed Jamil basically now I have to set publisher id in every payload im sending from my app. now I have to update all those payloads to include publisher id as well
  284. Syed Ahmed Jamil Alas! I wish there was some configuration for that on the server side
  285. jonas’ Syed Ahmed Jamil, no, I mean the ID of the pubsub item
  286. jonas’ sorry, I misunderstood
  287. jonas’ no, you’ll get the ID in the <message/> of the notification
  288. jonas’ (notifications arrive via <message/>, not via <iq/>)
  289. Syed Ahmed Jamil yes I can see the random id in the message stanza I am receiving.
  290. Syed Ahmed Jamil now I just have to update all places in my code where I'm publishing an item to include my own unique id
  291. Syed Ahmed Jamil that is a real pain lol
  292. asterix has left
  293. asterix has joined
  294. Syed Ahmed Jamil I really should have look at this earlier before creating all those pubsub events. I left this problem thinking I might be able to configure node some how.
  295. Syed Ahmed Jamil Anyway thanks Jonas and moparisthebest
  296. pulkomandy has joined
  297. asterix has left
  298. asterix has joined
  299. asterix has left
  300. asterix has joined
  301. pulkomandy has left
  302. bhaveshsgupta has left
  303. bhaveshsgupta has joined
  304. sonny has joined
  305. asterix has left
  306. asterix has joined
  307. asterix has left
  308. pulkomandy has joined
  309. bhaveshsgupta has left
  310. bhaveshsgupta has joined
  311. bhaveshsgupta has left
  312. asterix has joined
  313. sonny has left
  314. Wojtek has left
  315. bhaveshsgupta has joined
  316. bhaveshsgupta has left
  317. bhaveshsgupta has joined
  318. sonny has joined
  319. asterix has left
  320. asterix has joined
  321. asterix has left
  322. asterix has joined
  323. paul has joined
  324. tao has joined
  325. tao has left
  326. asterix has left
  327. asterix has joined
  328. asterix has left
  329. asterix has joined
  330. bhaveshsgupta has left
  331. sonny has left
  332. sonny has joined
  333. bhaveshsgupta has joined
  334. sonny has left
  335. bhaveshsgupta has left
  336. Alex has left
  337. Alex has joined
  338. sonny has joined
  339. bhaveshsgupta has joined
  340. asterix has left
  341. asterix has joined
  342. strar has left
  343. strar has joined
  344. asterix has left
  345. asterix has joined
  346. asterix has left
  347. asterix has joined
  348. asterix has left
  349. asterix has joined
  350. asterix has left
  351. asterix has joined
  352. Syed Ahmed Jamil has left
  353. debacle has left
  354. strar has left
  355. strar has joined
  356. asterix has left
  357. asterix has joined
  358. asterix has left
  359. asterix has joined
  360. strar has left
  361. strar has joined
  362. bhaveshsgupta has left
  363. asterix has left
  364. asterix has joined
  365. asterix has left
  366. asterix has joined
  367. bhaveshsgupta has joined
  368. asterix has left
  369. asterix has joined
  370. asterix has left
  371. asterix has joined
  372. asterix has left
  373. asterix has joined
  374. asterix has left
  375. asterix has joined
  376. asterix has left
  377. asterix has joined
  378. asterix has left
  379. asterix has joined