XSF Discussion - 2019-06-08


  1. pdurbin has left

  2. rtq3 has joined

  3. david has left

  4. pdurbin has joined

  5. blabla has joined

  6. rtq3 has left

  7. rtq3 has joined

  8. lnj has left

  9. pdurbin has left

  10. pdurbin has joined

  11. pdurbin has left

  12. rtq3 has left

  13. pdurbin has joined

  14. pdurbin has left

  15. pdurbin has joined

  16. blabla has left

  17. lskdjf has left

  18. david has joined

  19. pdurbin has left

  20. pdurbin has joined

  21. pdurbin has left

  22. lumi has left

  23. pdurbin has joined

  24. neshtaxmpp has left

  25. neshtaxmpp has joined

  26. alacer has left

  27. DebXWoody has joined

  28. DebXWoody has left

  29. Douglas Terabyte has left

  30. DebXWoody has joined

  31. Douglas Terabyte has joined

  32. marc_ has left

  33. debacle has joined

  34. DebXWoody has left

  35. rion has joined

  36. DebXWoody has joined

  37. wurstsalat has left

  38. david has left

  39. david has joined

  40. DebXWoody has left

  41. j.r has left

  42. karoshi has joined

  43. pdurbin has left

  44. COM8 has joined

  45. neshtaxmpp has left

  46. COM8 has left

  47. neshtaxmpp has joined

  48. lnj has joined

  49. Nekit has joined

  50. pdurbin has joined

  51. wurstsalat has joined

  52. debacle has left

  53. j.r has joined

  54. pdurbin has left

  55. remko has joined

  56. Douglas Terabyte has left

  57. Douglas Terabyte has joined

  58. Douglas Terabyte has left

  59. Douglas Terabyte has joined

  60. Douglas Terabyte has left

  61. Douglas Terabyte has joined

  62. COM8 has joined

  63. debacle has joined

  64. pdurbin has joined

  65. blabla has joined

  66. marc_ has joined

  67. pdurbin has left

  68. igoose has joined

  69. DebXWoody has joined

  70. krauq has left

  71. pdurbin has joined

  72. pdurbin has left

  73. andy has joined

  74. j.r has left

  75. pdurbin has joined

  76. COM8 has left

  77. Nekit has left

  78. DebXWoody has left

  79. krauq has joined

  80. lskdjf has joined

  81. COM8 has joined

  82. COM8 has left

  83. Nekit has joined

  84. valo has left

  85. Nekit has left

  86. rtq3 has joined

  87. pdurbin has left

  88. rtq3 has left

  89. rtq3 has joined

  90. COM8 has joined

  91. COM8 has left

  92. valo has joined

  93. krauq has left

  94. pdurbin has joined

  95. COM8 has joined

  96. COM8 has left

  97. pdurbin has left

  98. j.r has joined

  99. pep.

    Anybody looked into https://developer.mozilla.org/en-US/docs/Web/API/Push_API and how that would work with 357 (push notifications)? From what I understand we don't need the App Server bits?

  100. debacle has left

  101. pdurbin has joined

  102. j.r has left

  103. larma has left

  104. larma has joined

  105. pdurbin has left

  106. j.r has joined

  107. Dele Olajide has joined

  108. dele has joined

  109. blabla has left

  110. dele has left

  111. pdurbin has joined

  112. blabla has joined

  113. Dele Olajide has left

  114. pdurbin has left

  115. pdurbin has joined

  116. krauq has joined

  117. pdurbin has left

  118. pdurbin has joined

  119. DebXWoody has joined

  120. pdurbin has left

  121. rion has left

  122. blabla has left

  123. DebXWoody has left

  124. blabla has joined

  125. remko has left

  126. XSF has left

  127. madhur.garg has joined

  128. debacle has joined

  129. COM8 has joined

  130. kokonoe has left

  131. kokonoe has joined

  132. rion has joined

  133. COM8 has left

  134. DebXWoody has joined

  135. COM8 has joined

  136. COM8 has left

  137. rtq3 has left

  138. rtq3 has joined

  139. alacer has joined

  140. kokonoe has left

  141. pdurbin has joined

  142. Dele Olajide has joined

  143. pdurbin has left

  144. Nekit has joined

  145. matlag has left

  146. matlag has joined

  147. marc_ has left

  148. valo has left

  149. Yagiza has joined

  150. DebXWoody has left

  151. valo has joined

  152. Alex has left

  153. Alex has joined

  154. kokonoe has joined

  155. kokonoe has left

  156. rion has left

  157. kokonoe has joined

  158. DebXWoody has joined

  159. madhur.garg has left

  160. madhur.garg has joined

  161. madhur.garg has left

  162. larma has left

  163. larma has joined

  164. kokonoe has left

  165. kokonoe has joined

  166. DebXWoody has left

  167. rtq3 has left

  168. rtq3 has joined

  169. marc_ has joined

  170. rion has joined

  171. kokonoe has left

  172. kokonoe has joined

  173. lumi has joined

  174. frainz has left

  175. frainz has joined

  176. DebXWoody has joined

  177. debacle has left

  178. kokonoe has left

  179. debacle has joined

  180. kokonoe has joined

  181. rtq3 has left

  182. rtq3 has joined

  183. rtq3 has left

  184. DebXWoody has left

  185. kokonoe has left

  186. kokonoe has joined

  187. rtq3 has joined

  188. valo has left

  189. valo has joined

  190. kokonoe has left

  191. rtq3 has left

  192. rtq3 has joined

  193. blabla has left

  194. blabla has joined

  195. kokonoe has joined

  196. lumi has left

  197. Nekit has left

  198. lumi has joined

  199. lumi has left

  200. lumi has joined

  201. Tobias has left

  202. DebXWoody has joined

  203. Tobias has joined

  204. madhur.garg has joined

  205. kokonoe has left

  206. kokonoe has joined

  207. pdurbin has joined

  208. madhur.garg has left

  209. madhur.garg has joined

  210. kokonoe has left

  211. kokonoe has joined

  212. pdurbin has left

  213. Yagiza has left

  214. Yagiza has joined

  215. debacle has left

  216. Dele Olajide

    >pep.: From what I understand we don't need the App Server bits? I have implemented this with Converse and Openfire. You don't need app server to push the messages. Service worker talks direct to push service. You still need the subscription endpoint data to be stored securely for each client service worker on a server. In my case, I used user properties in Openfire. It would be nice to do a simpler version of XEP 357 for web clients that cuts out the app server and uses PEP or private Storage to store the push subscription endpoint data.

  217. Dele Olajide has left

  218. jeroen has joined

  219. pdurbin has joined

  220. pep.

    Where is the code? :)

  221. pep.

    We actually spent time today implementing it again in converse.. (and prosody)

  222. jeroen has left

  223. jeroen has joined

  224. pdurbin has left

  225. jeroen has left

  226. jeroen has joined

  227. jeroen has left

  228. jeroen has joined

  229. jeroen has left

  230. pdurbin has joined

  231. jeroen has joined

  232. jeroen has left

  233. DebXWoody has left

  234. jeroen has joined

  235. jeroen has left

  236. pdurbin has left

  237. jeroen has joined

  238. jeroen has left

  239. DebXWoody has joined

  240. rtq3 has left

  241. jeroen has joined

  242. rtq3 has joined

  243. jeroen has left

  244. pdurbin has joined

  245. jeroen has joined

  246. jeroen has left

  247. pdurbin has left

  248. jeroen has joined

  249. jeroen has left

  250. pdurbin has joined

  251. jeroen has joined

  252. jeroen has left

  253. jeroen has joined

  254. jeroen has left

  255. pdurbin has left

  256. matlag has left

  257. jeroen has joined

  258. jeroen has left

  259. jeroen has joined

  260. pdurbin has joined

  261. jeroen has left

  262. Yagiza has left

  263. jeroen has joined

  264. jeroen has left

  265. DebXWoody has left

  266. blabla has left

  267. DebXWoody has joined

  268. kokonoe has left

  269. Dele Olajide has joined

  270. Dele Olajide has left

  271. Dele Olajide has joined

  272. pdurbin has left

  273. pdurbin has joined

  274. kokonoe has joined

  275. Ge0rG

    What's a service worker in that context?

  276. COM8 has joined

  277. pdurbin has left

  278. pep.

    JS

  279. pep.

    https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker

  280. pep.

    Dele Olajide, why PEP btw

  281. COM8 has left

  282. alacer has left

  283. alacer has joined

  284. DebXWoody has left

  285. pep.

    The client should probably just enable web push each time it connects. If you put stuff in PEP you can't reliably identity yourself back anyway can you.

  286. pep.

    The server is able to GC dead endpoints by sending something to them, and the push server will reply with "it's dead Jim"

  287. Dele Olajide

    >Ge0rG: What's a service worker in that context? The persistent code that runs on the client that handles the push notification from the browser vendor push service

  288. Dele Olajide

    >pep.: Dele Olajide, why PEP btw no particular reason. I used non-standard user properties in my openfire server plugin implementation

  289. remko has joined

  290. pep.

    Do you have a link to your implementation btw?

  291. Ge0rG

    Dele Olajide: then I don't understand how you don't need an app server

  292. pep.

    Ge0rG, because the client dev doesn't have to register anything

  293. pep.

    The application itself can request a slot using the Web Push API. The Push server sends back an endpoint url that it passes to the XMPP server

  294. Dele Olajide

    I did not add that openfire was sending the push notifications by making direct requests to vendor push service

  295. pep.

    https://hackmd.io/bKFV8ew8TAuIzMTnuhmFPQ?view#Enabling-Flow Please don't look at the rest, it's ready just for testing between us today, nothing might stay the same

  296. Ge0rG

    And since when can an xmpp server talk to web endpoints?

  297. pep.

    prosody has net.http apparently, an http client

  298. pep.

    **it's really just for us testing today

  299. Ge0rG

    So you implemented the app service inside of openfire...

  300. pep.

    yeah you can say that

  301. pep.

    The App Server just being an http client

  302. Dele Olajide

    Sorry, i keep forgetting openfire is both an xmpp server and web server 😉

  303. Holger

    That's a Mozilla-only thing?

  304. pep.

    Holger, no

  305. pep.

    https://developers.google.com/web/ilt/pwa/introduction-to-push-notifications

  306. Dele Olajide

    nope. all browser vendors

  307. Holger

    Ah, thx.

  308. Holger

    So not standardized at W3C or IETF but the major vendors agreed on a spec?

  309. pep.

    https://w3c.github.io/push-api/

  310. Holger

    Merci.

  311. kokonoe has left

  312. pep.

    I guess major vendors agreed on a spec anyway, it was worked on by google and mozilla people :p

  313. neshtaxmpp has left

  314. pep.

    Of course iOS doesn't implement it, as usual

  315. pep.

    It would be too easy

  316. matlag has joined

  317. blabla has joined

  318. Dele Olajide

    Are you sure. I don't have an iphone anymore, but I though it worked with chrome on IOS

  319. pep.

    I meant on their mobile device

  320. pep.

    On safari

  321. kokonoe has joined

  322. pdurbin has joined

  323. neshtaxmpp has joined

  324. madhur.garg has left

  325. pdurbin has left

  326. pdurbin has joined

  327. alacer has left

  328. kokonoe has left

  329. pdurbin has left

  330. XSF has joined

  331. Dele Olajide has left

  332. Dele Olajide has joined

  333. kokonoe has joined

  334. pdurbin has joined

  335. Dele Olajide has left

  336. Dele Olajide has joined

  337. Dele Olajide has left

  338. Dele Olajide has joined

  339. pdurbin has left

  340. pdurbin has joined

  341. kokonoe has left

  342. Tobias has left

  343. Tobias has joined

  344. kokonoe has joined

  345. pdurbin has left

  346. kokonoe has left

  347. pdurbin has joined

  348. oli

    so now we can write clients as a PWA and forget about our own push server?

  349. kokonoe has joined

  350. pep.

    That's the idea I guess. Unless you use Apple products

  351. pep.

    But they're often problematic anyway.. who would want to use that, right?

  352. oli

    i don't know. there are people who use that stuff, like my parents. no idea why

  353. oli

    i mean everybody would switch to iOS if it where open source, but it isn't

  354. kokonoe has left

  355. remko has left

  356. pdurbin has left

  357. pdurbin has joined

  358. kokonoe has joined

  359. XSF has left

  360. pdurbin has left

  361. pdurbin has joined

  362. kokonoe has left

  363. Dele Olajide has left

  364. kokonoe has joined

  365. kokonoe has left

  366. pdurbin has left

  367. pdurbin has joined

  368. kokonoe has joined

  369. winfried has left

  370. winfried has joined

  371. Kacper has joined

  372. pdurbin has left

  373. kokonoe has left

  374. madhur.garg has joined

  375. kokonoe has joined

  376. pdurbin has joined

  377. madhur.garg has left

  378. Kacper has left

  379. david has left

  380. pdurbin has left

  381. pdurbin has joined

  382. Kacper has joined

  383. kokonoe has left

  384. kokonoe has joined

  385. Kacper has left

  386. kokonoe has left

  387. kokonoe has joined

  388. Kacper has joined

  389. david has joined

  390. kokonoe has left

  391. Kacper has left

  392. pdurbin has left

  393. Kacper has joined

  394. debacle has joined

  395. pdurbin has joined

  396. remko has joined

  397. pdurbin has left

  398. pdurbin has joined

  399. Nekit has joined

  400. remko has left

  401. valo has left

  402. D has joined

  403. D has left

  404. pdurbin has left

  405. Nekit has left

  406. pdurbin has joined

  407. madhur.garg has joined

  408. valo has joined

  409. pdurbin has left

  410. pdurbin has joined

  411. UsL has left

  412. UsL has joined

  413. pdurbin has left

  414. pdurbin has joined

  415. remko has joined

  416. kokonoe has joined

  417. pdurbin has left

  418. pdurbin has joined

  419. remko has left

  420. pdurbin has left

  421. pdurbin has joined