jdev - 2020-06-28

  1. alexis has joined
  2. daidoji has joined
  3. adiaholic_ has left
  4. daidoji has left
  5. daidoji has joined
  6. daidoji Hi, I'm trying to play around with modifying ejabberd with new xmpp commands with more functionality and I was wondering what the "easiest" client would be to use to do that? I've tried using conversejs and strophe directly but are there any other options?
  7. daidoji Like say I wanted to display mod_time on a website.
  8. daidoji https://github.com/processone/ejabberd/blob/master/src/mod_time.erl
  9. Zash Probably depends mostly on what (languages etc) you're most familiar with already.
  10. daidoji hmm, I'm a data scientist by trade. I thought these javascript clients would be easiest since I've done work in that language and haven't done much Gui work
  11. daidoji to be honest, I'd just be happy with a client that had some walkthroughs instead of slogging through the mud on my own
  12. waqas has joined
  13. paul has left
  14. daidoji like I just wondered what other people do? Are there like XMPP tools I don't know about or utilities to make this easier? Or do people just adjust their servers/clients and then fire up wireshark or something?
  15. Zash It depends. Personally I'm pretty likely to try to solve whatever by writing Prosody modules or whatever in Lua, since that's what I'm most familiar with.
  16. daidoji word
  17. Zash As for JS and Strophe.js, I still have this book on a shelf somewhere: http://professionalxmpp.com/
  18. Vaulor has left
  19. daidoji yeah I saw that. Did you think it was good?
  20. Zash I think so. Was some time ago I read it last tho.
  21. daidoji word, well I'll order it and see then.
  22. Zash Hm, https://strophe.im/strophejs/#documentation--tutorials looks like a short list
  23. daidoji yeah I saw those
  24. daidoji but they were a bit opaque :p
  25. daidoji at least for my skillset. However, I'll dive back into those for now I guess
  26. daidoji I'm just at the don't know what I don't know part of my journey here with XMPP
  27. Zash And it looks like the links have broken :(
  28. daidoji some of them, they're still in the github repo
  29. daidoji another weird thing about that project is I had to fiddle with the makefile to get it to build
  30. daidoji they rely on naturaldocs which is some kind of .Net tool for doing documentation
  31. daidoji Wasn't a quick way to get it working on linux
  32. Zash Nothing I've heard about
  33. test2 has joined
  34. Жокир has left
  35. Жокир has joined
  36. test2 has left
  37. test2 has joined
  38. Жокир has left
  39. Жокир has joined
  40. Жокир has left
  41. Жокир has joined
  42. Жокир has left
  43. Жокир has joined
  44. Жокир has left
  45. Жокир has joined
  46. drops has left
  47. martin has joined
  48. sonny has left
  49. sonny has joined
  50. test2 has left
  51. test2 has joined
  52. test2 has left
  53. test2 has joined
  54. Жокир has left
  55. Жокир has joined
  56. testet has joined
  57. testet has left
  58. Жокир has left
  59. Жокир has joined
  60. Жокир has left
  61. Жокир has joined
  62. Жокир has left
  63. Жокир has joined
  64. test2 has left
  65. test2 has joined
  66. sonny has left
  67. sonny has joined
  68. Жокир has left
  69. Жокир has joined
  70. Жокир has left
  71. Жокир has joined
  72. sonny has left
  73. sonny has joined
  74. Жокир has left
  75. Жокир has joined
  76. Жокир has left
  77. Жокир has joined
  78. lovetox has joined
  79. paul has joined
  80. Yagizа has joined
  81. Yagizа has left
  82. Yagizа has joined
  83. lovetox daidoji, am i understanding you correctly, you want for example to modify the server moudle mod_time
  84. lovetox and just need a client to test your modifications?
  85. Vaulor has joined
  86. martin has left
  87. martin has joined
  88. lovetox has left
  89. adrien has left
  90. adrien has joined
  91. Beherit has left
  92. Beherit has joined
  93. lovetox has joined
  94. Matt has joined
  95. Matt hello anyone online?
  96. Martin Yep
  97. Matt i have a question about strophe lol
  98. Matt someone is already mentioned it above
  99. Matt im trying to connect to an xmpp server using strophe and i get the xml out put and strophe shows that my user name is password is correct but for some reason its not connecting.
  100. Martin No idea about strophe but maybe someone else knows it.
  101. Matt same thing with xmpp.js
  102. test2 has left
  103. adiaholic_ has joined
  104. debacle has joined
  105. test2 has joined
  106. asterix has joined
  107. waqas has left
  108. Жокир has left
  109. Жокир has joined
  110. Жокир has left
  111. Жокир has joined
  112. Жокир has left
  113. Жокир has joined
  114. adiaholic_ has left
  115. adiaholic_ has joined
  116. xecks has joined
  117. Жокир has left
  118. Жокир has joined
  119. Жокир has left
  120. Жокир has joined
  121. rion has left
  122. Жокир has left
  123. Жокир has joined
  124. adiaholic_ has left
  125. Жокир has left
  126. Жокир has joined
  127. test2 has left
  128. daidoji has left
  129. test2 has joined
  130. jonnj has left
  131. test2 has left
  132. test2 has joined
  133. Yagizа has left
  134. Yagizа has joined
  135. sonny has left
  136. sonny has joined
  137. Жокир has left
  138. Жокир has joined
  139. sonny has left
  140. sonny has joined
  141. Yagizа has left
  142. Yagizа has joined
  143. alexis has left
  144. Yagizа has left
  145. Yagizа has joined
  146. Yagizа has left
  147. Yagizа has joined
  148. sonny has left
  149. sonny has joined
  150. Жокир has left
  151. Жокир has joined
  152. adiaholic_ has joined
  153. Yagizа has left
  154. adiaholic_ has left
  155. adiaholic_ has joined
  156. kikuchiyo has left
  157. Yagizа has joined
  158. xecks has left
  159. xecks has joined
  160. Yagizа has left
  161. alexis has joined
  162. rion has joined
  163. martin has left
  164. martin has joined
  165. Yagizа has joined
  166. test2 has left
  167. test2 has joined
  168. debacle has left
  169. kikuchiyo has joined
  170. paul has left
  171. sonny has left
  172. sonny has joined
  173. jonnj has joined
  174. alexis has left
  175. alexis has joined
  176. Syndace has left
  177. Syndace has joined
  178. sonny has left
  179. sonny has joined
  180. sonny has left
  181. sonny has joined
  182. test2 has left
  183. sonny has left
  184. sonny has joined
  185. martin has left
  186. martin has joined
  187. sonny has left
  188. sonny has joined
  189. sonny has left
  190. sonny has joined
  191. sonny has left
  192. sonny has joined
  193. sonny has left
  194. sonny has joined
  195. sonny has left
  196. sonny has joined
  197. sonny has left
  198. sonny has joined
  199. drops has joined
  200. kikuchiyo has left
  201. sonny has left
  202. sonny has joined
  203. Жокир has left
  204. Жокир has joined
  205. adiaholic_ has left
  206. adiaholic_ has joined
  207. sonny has left
  208. lksjdflksjdf has joined
  209. Жокир has left
  210. Жокир has joined
  211. lksjdflksjdf Is there a server that has code for XEP-0436 (MUC presence versioning) yet? I couldn't find anything but perhaps there's branch or module I overlooked
  212. kikuchiyo has joined
  213. Yagizа has left
  214. flow lksjdflksjdf, given that it's co-authored by matthew, I'd look into the prosody trunk
  215. Yagizа has joined
  216. paul has joined
  217. lksjdflksjdf has left
  218. daidoji has joined
  219. Yagizа has left
  220. Yagizа has joined
  221. daidoji lovetox well I wanted to add some capabilities to a muc room
  222. daidoji and I thought hte best way to do that is add some IQ stanzas and some other things
  223. kikuchiyo has left
  224. daidoji but then I need to modify the client on one side and the server on the other and there aren't really good tutorials or walkthroughs on how to do that
  225. lovetox has left
  226. sonny has joined
  227. Yagizа has left
  228. Yagizа has joined
  229. sonny has left
  230. sonny has joined
  231. Yagizа has left
  232. Yagizа has joined
  233. sonny has left
  234. sonny has joined
  235. sonny has left
  236. sonny has joined
  237. Yagizа has left
  238. sonny has left
  239. sonny has joined
  240. kikuchiyo has joined
  241. Zash daidoji: Have you gotten enough of strophe.js working to send an iq stanza?
  242. Zash Once connected, it'd be something like: `connection.sendIQ($iq({type:"get",id:connection.getUniqueId()}).c("time",{xmlns:"urn:xmpp:time"}), (r) => console.log(new Date(r.firstChild.getElementsByTagName("utc")[0].textContent)))`
  243. Zash In Prosody, that's responded to by https://hg.prosody.im/trunk/file/tip/plugins/mod_time.lua
  244. sonny has left
  245. sonny has joined
  246. kikuchiyo has left
  247. sonny has left
  248. sonny has joined
  249. Yagizа has joined
  250. lksjdflksjdf has joined
  251. Жокир has left
  252. Жокир has joined
  253. Жокир has left
  254. Жокир has joined
  255. lksjdflksjdf has left
  256. Жокир has left
  257. Жокир has joined
  258. Жокир has left
  259. Жокир has joined
  260. Жокир has left
  261. Жокир has joined
  262. Жокир has left
  263. Жокир has joined
  264. MattJ lksjdflksjdf: in not aware of any implementation yet
  265. lksjdflksjdf has joined
  266. kikuchiyo has joined
  267. kikuchiyo has left
  268. kikuchiyo has joined
  269. Yagizа has left
  270. alexis has left
  271. lksjdflksjdf ok thanks for the info
  272. lksjdflksjdf I'm wondering something about the XEP though ... A user goes offline and online again - are we back to the same version? What if the user switches clients, is that still the same version?
  273. sonny has left
  274. sonny has joined
  275. sonny has left
  276. sonny has joined
  277. lksjdflksjdf has left
  278. lksjdflksjdf has joined
  279. Yagizа has joined
  280. Yagizа has left
  281. alexis has joined
  282. sonny has left
  283. sonny has joined
  284. sonny has left
  285. sonny has joined
  286. Yagizа has joined
  287. Yagizа has left
  288. Жокир has left
  289. Жокир has joined
  290. sonny has left
  291. sonny has joined
  292. sonny has left
  293. sonny has joined
  294. Жокир has left
  295. Жокир has joined
  296. sonny has left
  297. sonny has joined
  298. sonny has left
  299. sonny has joined
  300. Жокир has left
  301. Жокир has joined
  302. sonny has left
  303. sonny has joined
  304. sonny has left
  305. sonny has joined
  306. Жокир has left
  307. Жокир has joined
  308. Жокир has left
  309. Жокир has joined
  310. sonny has left
  311. sonny has joined
  312. Жокир has left
  313. Жокир has joined
  314. Жокир has left
  315. Жокир has joined
  316. sonny has left
  317. debacle has joined
  318. sonny has joined
  319. adiaholic_ has left
  320. adiaholic_ has joined
  321. Жокир has left
  322. sonny has left
  323. debacle has left
  324. sonny has joined
  325. Yagizа has joined
  326. sonny has left
  327. sonny has joined
  328. sonny has left
  329. sonny has joined
  330. sonny has left
  331. sonny has joined
  332. sonny has left
  333. sonny has joined
  334. sonny has left
  335. sonny has joined
  336. alexis has left
  337. lksjdflksjdf has left
  338. sonny has left
  339. sonny has joined
  340. daidoji Zash yeah I figured that out just last night after I got off
  341. sonny has left
  342. sonny has joined
  343. sonny has left
  344. sonny has joined
  345. sonny has left
  346. sonny has joined
  347. sonny has left
  348. sonny has joined
  349. sonny has left
  350. sonny has joined
  351. sonny has left
  352. sonny has joined
  353. sonny has left
  354. sonny has joined
  355. sonny has left
  356. sonny has joined
  357. sonny has left
  358. sonny has joined
  359. sonny has left
  360. sonny has joined
  361. sonny has left
  362. sonny has joined
  363. sonny has left
  364. sonny has joined
  365. lovetox has joined
  366. lovetox Gajim has a XML Console
  367. lovetox where you can simply put in the xml you want, and it sends it for you
  368. lovetox also you can see what you get back from the server, if thats what you want
  369. lksjdflksjdf has joined
  370. test2 has joined
  371. sonny has left
  372. lksjdflksjdf has left
  373. lksjdflksjdf has joined
  374. lksjdflksjdf has left
  375. lksjdflksjdf has joined
  376. sonny has joined
  377. lksjdflksjdf has left
  378. lksjdflksjdf has joined
  379. lksjdflksjdf has left
  380. lksjdflksjdf has joined
  381. sonny has left
  382. sonny has joined
  383. daidoji lovetox oh wow that's awesome. Thanks
  384. sonny has left
  385. sonny has joined
  386. MattJ lksjdflksjdf: it could be the same version if the state of the room is exactly the same
  387. MattJ That's all the XEP needs to specify
  388. Zash Same could apply to roster versioning
  389. MattJ Yes
  390. waqas has joined
  391. sonny has left
  392. sonny has joined
  393. sonny has left
  394. sonny has joined
  395. lksjdflksjdf has left
  396. lksjdflksjdf has joined
  397. lksjdflksjdf has left
  398. lksjdflksjdf has joined
  399. asdf has joined
  400. asdf has left
  401. omemotest1 has joined
  402. omemotest1 has left
  403. sonny has left
  404. sonny has joined
  405. sonny has left
  406. sonny has joined
  407. lksjdflksjdf I understand that you want to leave the details up to implementations 🤔️ I'm just more interested in the details of muc versioning (implementations) than the details of roster versioning, because there tend to be much more changes there. Like, if I leave a 300-person MUC at night and rejoin it the morning after. If 280 of those 300 people are the same and I only get 20 presences, that'd be nice. But if I still get 300 presences because everyone rejoined or is online with different resources, I'm not too excited about the feature anymore.
  408. sonny has left
  409. sonny has joined
  410. sonny has left
  411. sonny has joined
  412. aj has joined
  413. moparisthebest lksjdflksjdf, if a person named 'bob' is there right now and tommorow you don't even know if it's the same person or not
  414. sonny has left
  415. sonny has joined
  416. aj has left
  417. MattJ lksjdflksjdf: if you rejoin 8 hours later I don't think it's terrible if you have to refetch
  418. lksjdflksjdf moparisthebest, you mean if it _wasn't_ a different version after bob rejoined, I wouldn't know if it's the same person? Technically you could, with occupant ids. But without occupant ids that's true.
  419. Zash While there'll be more stuff going on with presence, it's probably still worth it to look at roster versioning and how that's implemented, since it's basically the same model.
  420. Zash You have stuff, that may change, and you have some token that identifies a specific version of it. You show the server the token and you get something that's supposed to sync your state with the servers.
  421. adiaholic_ has left
  422. lksjdflksjdf > if you rejoin 8 hours later I don't think it's terrible if you have to refetch aw 🙁 but it takes time and bandwidth. Sure it's not "terrible" but I was hoping it could be partially eliminated
  423. MattJ I'm not saying it can't
  424. MattJ But I think that's stretching the goals
  425. sonny has left
  426. sonny has joined
  427. testhello has joined
  428. Zash With roster versioning, if sending the delta would be larger than just sending the roster ... then just send the roster!
  429. Zash Or if you don't have enough deltas. Or if you don't actually keep deltas at all, in which case it's just a ETag-ish thing.
  430. testhello hi guys it's my first time using xmpp
  431. testhello say something if it's working
  432. lksjdflksjdf Zash, what's an "ETag"?
  433. Zash testhello, "something"
  434. lksjdflksjdf testhello, it's working 😉
  435. testhello woah
  436. Zash lksjdflksjdf, HTTP cache thing.
  437. test2 has left
  438. testhello dude this is like the original QQ or wechat
  439. test2 has joined
  440. lksjdflksjdf you mean your client looks like it was from 15 years ago? 😛
  441. Zash One of the nice things is that if you don't like the client, there are others you can use.
  442. testhello I head Tencent originally ripped off of something I guess this is the one huh...
  443. testhello has left
  444. adiaholic_ has joined
  445. lksjdflksjdf has left
  446. lksjdflksjdf has joined
  447. lksjdflksjdf has left
  448. lksjdflksjdf has joined
  449. debacle has joined
  450. Yagizа has left
  451. martin has left
  452. martin has joined
  453. test2 has left
  454. test2 has joined
  455. test2 has left
  456. test2 has joined
  457. sonny has left
  458. alexis has joined
  459. kikuchiyo has left
  460. alexis has left
  461. alexis has joined
  462. lovetox has left
  463. lovetox has joined
  464. lovetox has left
  465. test2 has left
  466. lovetox has joined
  467. test2 has joined
  468. lovetox has left
  469. lovetox has joined
  470. lovetox has left
  471. martin has left
  472. alexis has left
  473. test2 has left
  474. test2 has joined
  475. lovetox has joined
  476. asterix has left
  477. lovetox jonas’, was there any progress on the avatar from muclumbus front?
  478. Жокир has joined
  479. alexis has joined
  480. lovetox has left
  481. alexis has left
  482. Жокир has left
  483. paul has left
  484. xecks has left
  485. test2 has left
  486. test2 has joined
  487. test2 has left
  488. test2 has joined
  489. Жокир has joined
  490. test2 has left
  491. kikuchiyo has joined
  492. waqas has left
  493. alexis has joined
  494. alexis has left
  495. eta has left
  496. eta has joined
  497. debacle has left
  498. test2 has joined
  499. test2 has left
  500. test2 has joined
  501. kikuchiyo has left
  502. kikuchiyo has joined
  503. alexis has joined
  504. test2 has left
  505. test2 has joined
  506. alexis has left
  507. alexis has joined
  508. test2 has left
  509. test2 has joined
  510. test2 has left
  511. eta has left
  512. eta has joined
  513. test2 has joined
  514. test2 has left
  515. test2 has joined
  516. test2 has left