jdev - 2023-02-22

  1. dezant has left

  2. dezant has joined

  3. dezant has left

  4. dezant has joined

  5. antranigv has left

  6. singpolyma has left

  7. singpolyma has joined

  8. Artur has left

  9. Artur has joined

  10. dezant has left

  11. dezant has joined

  12. singpolyma has left

  13. moparisthebest has left

  14. moparisthebest has joined

  15. singpolyma has joined

  16. adx has left

  17. sponji has left

  18. sponji has joined

  19. Maranda[x] has left

  20. Maranda has left

  21. Mjolnir Archon has left

  22. homebeach has left

  23. Matrix Traveler (bot) has left

  24. homebeach has joined

  25. Matrix Traveler (bot) has joined

  26. MSavoritias (fae,ve) has joined

  27. sponji has left

  28. dezant has left

  29. dezant has joined

  30. sponji has joined

  31. rubi has left

  32. rubi has joined

  33. rubi has left

  34. rubi has joined

  35. Schimon_ has left

  36. Artur has left

  37. dezant has left

  38. dezant has joined

  39. dezant has left

  40. dezant has joined

  41. thomaslewis has joined

  42. thomaslewis has left

  43. atomicwatch has left

  44. MSavoritias (fae,ve) has left

  45. peter has joined

  46. atomicwatch has joined

  47. dezant has left

  48. dezant has joined

  49. dezant has left

  50. dezant has joined

  51. Maranda[x] has joined

  52. Maranda[x] has left

  53. Alex has left

  54. singpolyma has left

  55. Maranda[x] has joined

  56. singpolyma has joined

  57. Maranda[x] has left

  58. jgart has left

  59. jgart has joined

  60. dezant has left

  61. snow has joined

  62. Maranda[x] has joined

  63. Maranda[x] has left

  64. Mx2 has left

  65. dezant has joined

  66. singpolyma has left

  67. singpolyma has joined

  68. dezant has left

  69. dezant has joined

  70. Yagizа has joined

  71. Mx2 has joined

  72. moparisthebest has left

  73. atomicwatch has left

  74. Ingolf has left

  75. Ingolf has joined

  76. atomicwatch has joined

  77. Maranda[x] has joined

  78. atomicwatch has left

  79. atomicwatch has joined

  80. TheCoffeMaker has left

  81. TheCoffeMaker has joined

  82. kapad has left

  83. Martin has joined

  84. moparisthebest has joined

  85. dezant has left

  86. dezant has joined

  87. oshn has left

  88. atomicwatch has left

  89. oshn has joined

  90. stefan has joined

  91. Maranda has joined

  92. Mjolnir Archon has joined

  93. atomicwatch has joined

  94. dezant has left

  95. dezant has joined

  96. dezant has left

  97. dezant has joined

  98. Menel has joined

  99. dezant has left

  100. dezant has joined

  101. nicoco has joined

  102. dezant has left

  103. dezant has joined

  104. dezant has left

  105. dezant has joined

  106. oshn has left

  107. dezant has left

  108. dezant has joined

  109. oshn has joined

  110. snow has left

  111. atomicwatch has left

  112. marc0s has left

  113. marc0s has joined

  114. MSavoritias (fae,ve) has joined

  115. atomicwatch has joined

  116. atomicwatch has left

  117. atomicwatch has joined

  118. atomicwatch has left

  119. dezant has left

  120. dezant has joined

  121. dezant has left

  122. dezant has joined

  123. atomicwatch has joined

  124. Beherit has joined

  125. Trung has joined

  126. atomicwatch has left

  127. hearty has left

  128. jgart has left

  129. mirux has joined

  130. hearty has joined

  131. Arne has left

  132. Arne has joined

  133. dezant has left

  134. dezant has joined

  135. atomicwatch has joined

  136. wurstsalat has joined

  137. atomicwatch has left

  138. atomicwatch has joined

  139. Schimon_ has joined

  140. Trung has left

  141. nicola has left

  142. Schimon_ has left

  143. dezant has left

  144. dezant has joined

  145. Schimon_ has joined

  146. dezant has left

  147. dezant has joined

  148. Laura has left

  149. Mario Sabatino has joined

  150. nicola has joined

  151. Laura has joined

  152. hearty has left

  153. hearty has joined

  154. nicola has left

  155. Schimon_ has left

  156. Schimon_ has joined

  157. Alex has joined

  158. Kev has joined

  159. antranigv has joined

  160. marc0s has left

  161. marc0s has joined

  162. marc0s has left

  163. marc0s has joined

  164. marc0s has left

  165. marc0s has joined

  166. Trung has joined

  167. dezant has left

  168. dezant has joined

  169. nicola has joined

  170. marc0s has left

  171. marc0s has joined

  172. goffi has left

  173. TheCoffeMaker has left

  174. atomicwatch has left

  175. TheCoffeMaker has joined

  176. antranigv has left

  177. goffi has joined

  178. Trung has left

  179. Trung has joined

  180. atomicwatch has joined

  181. adx has joined

  182. atomicwatch has left

  183. larma has joined

  184. jgart has joined

  185. dezant has left

  186. dezant has joined

  187. xnamed has joined

  188. nicoco

    according to xep0045, when a muc service receives a stanza from a resource that is not joined, it should reply with error=not-acceptable. is that enough, or should it send a 'kick-like' presence too?

  189. MattJ

    That should be enough

  190. goffi has left

  191. goffi has joined

  192. nicoco

    thanks MattJ!

  193. Laura has left

  194. atomicwatch has joined

  195. dezant has left

  196. dezant has joined

  197. Dele Olajide has joined

  198. Dele Olajide has left

  199. goffi has left

  200. marc0s has left

  201. marc0s has joined

  202. lennart has left

  203. antranigv has joined

  204. marc0s has left

  205. homebeach has left

  206. Matrix Traveler (bot) has left

  207. homebeach has joined

  208. Matrix Traveler (bot) has joined

  209. marc0s has joined

  210. marc0s has left

  211. marc0s has joined

  212. stuart.j.mackintosh has joined

  213. nicola has left

  214. dezant has left

  215. dezant has joined

  216. goffi has joined

  217. PapaTutuWawa has joined

  218. goffi has left

  219. goffi has joined

  220. dezant has left

  221. dezant has joined

  222. Trung has left

  223. Trung has joined

  224. Trung has left

  225. Trung has joined

  226. antranigv has left

  227. antranigv has joined

  228. antranigv has left

  229. atomicwatch has left

  230. bootlicker has left

  231. marc0s has left

  232. marc0s has joined

  233. atomicwatch has joined

  234. atomicwatch has left

  235. atomicwatch has joined

  236. atomicwatch has left

  237. atomicwatch has joined

  238. atomicwatch has left

  239. atomicwatch has joined

  240. atomicwatch has left

  241. atomicwatch has joined

  242. atomicwatch has left

  243. atomicwatch has joined

  244. atomicwatch has left

  245. atomicwatch has joined

  246. dezant has left

  247. dezant has joined

  248. Alex has left

  249. Alex has joined

  250. ukr has joined

  251. ukr has left

  252. TheCoffeMaker has left

  253. TheCoffeMaker has joined

  254. nicoco

    About participants' avatars in non-anonymous MUCs, am I right in understanding that the consensus is: Participants presences should include a `vcard-temp:x:update`, even if the MUC is non anonymous and that client can fetch the avatar via XEP-0084?

  255. nicoco

    About participants' avatars in non-anonymous MUCs, am I right in understanding that the consensus is: Participants presences should include a `vcard-temp:x:update`, even if the MUC is non anonymous and that clients can fetch the avatar via XEP-0084?

  256. Zash

    XEP-0153 is the current thing, XEP-0084 in MUC is ... weird

  257. Zash

    Dunno if it works with anything but Prosody

  258. nicoco

    I thinking XEP-0084 not mediated by the MUC, since I'm talking about non anonymous MUCs

  259. nicoco

    I was thinking about XEP-0084 not mediated by the MUC, since I'm talking about non anonymous MUCs

  260. nicoco

    so technically, client can send the request directly to the known "real" JID of the participant, or maybe they cannot for some reason?

  261. Zash

    Subject to the access model of the pubsub node(s)

  262. Zash

    So, users can choose who can see their avatar and other details

  263. Zash

    While vcard-temp has nothing like that

  264. Zash

    this is (one reason) why I want vcard-temp to go away

  265. nicoco

    indeed. I was happy to ditch it and switch to 0084 for slidge, but I've now reintroduced it to have Room avatars, so I figured, alright, let's do participants too =)

  266. pep.

    You can provide a 0153 interface to 0084 like prosody does

  267. pep.

    If access is restricted then there's no avatar

  268. bootlicker has joined

  269. homebeach has left

  270. Matrix Traveler (bot) has left

  271. homebeach has joined

  272. Matrix Traveler (bot) has joined

  273. dezant has left

  274. dezant has joined

  275. sponji has left

  276. Zash

    true 🙂

  277. nicoco

    No legacy service I support have the notion of 'channel', basically every group is a modernxmpp 'group'. Some clients seem to be "smart" about non anonymous mucs, they use the avatar they know for the "real" JID (maybe even try to fetch it if the user is not in the roster? not sure about that part). But some seem to expect XEP-0153 and nothing else in MUCs.

  278. techmetx11

    Zash: is vcard4 a good alternative to vcard-temp?

  279. nicoco

    techmetx11: for avatars specifically, xep0084 is the way to go I think. for the rest of the vcard, I don't know, but I know that movim uses vcard4 over xmpp, yes (but not for the avatar)

  280. Zash


  281. TheCoffeMaker has left

  282. techmetx11


  283. techmetx11

    i mean i've only implemented vcard-temp because my server only supported that at the moment when i wrote it

  284. MattJ

    The nice thing is that vcard4 doesn't actually require server support, other than PEP

  285. Zash

    It's also a standard developed elsewhere

  286. TheCoffeMaker has joined

  287. Zash

    while vcard-temp is our hacky fork of some unfinished vcard3-xml format that went nowhere

  288. nicoco

    hence the "-temp" part I guess?

  289. Zash


  290. ukr has joined

  291. Ukr has joined

  292. marc0s has left

  293. marc0s has joined

  294. Ukr has left

  295. marc0s has left

  296. marc0s has joined

  297. Ukr has joined

  298. Patiga has left

  299. Alex has left

  300. Alex has joined

  301. Ukr has left

  302. Vaulor has left

  303. Patiga has joined

  304. Vaulor has joined

  305. tsk has left

  306. tsk has joined

  307. jgart has left

  308. xnamed has left

  309. xnamed has joined

  310. singpolyma

    Next step beyond permissions: ad hoc command to set different vcard field values or different avatar depending on who is asking ;)

  311. ukr has left

  312. pep.

    Upload the avatar on the MUC?

  313. nicoco

    singpolyma: different avatars per MUC is already possible, right now, isn't it? but no client implement a UI for that =). I thought about that recently because I have a MUC for IRL RPG meetups and I would have been happy to use my very intelligent and beautiful elve as an avatar in this MUC ^^

  314. Zash

    singpolyma, do you by chance remember OneSocialWeb? I think they had a proposal for that.

  315. singpolyma

    nicoco: yes, the protocol allows for it now just need a server module with an ad hoc command to allow setting it up

  316. singpolyma

    Zash: the name rings a bell I think

  317. marc0s has left

  318. marc0s has joined

  319. kapad has joined

  320. nicoco

    is there a convention/XEP to encode "pseudo"-case-sensitive JID localparts? I was about to make my own convention for signal groups (since they have case-sensitive IDs...), but maybe I should not reinvent the wheel?

  321. Zash

    NAFAIK, closest is https://xmpp.org/extensions/xep-0106.html

  322. nicoco

    yes, I was looking at that, and this: https://xmpp.org/extensions/xep-0106.html#example-5

  323. antranigv has joined

  324. Zash

    you could cry and use base32 and hope nobody sees the actual JIDs

  325. singpolyma

    Or use extended jid\20escaping only for capitals

  326. Zash

    singpolyma, that seems to be explicitly forbidden by 106?

  327. nicoco

    Zash: well, right now I use an internal mapping lowercase→CaseSentitive, and JIDs are already pretty damn ugly, eg xmpp:10sshgv8382qwrib%2Blsdoezigzzw%5C2furxzxjnpihag1y%3D@signal.slidge.im?join

  328. nicoco

    singpolyma: I already need XEP-0106 since it's case sensitive AND contains forbidden chars in jid localparts :)

  329. nicoco

    Zash: thanks for the base32 suggestion, I'll have a look :)

  330. Zash

    or if there's some internal ID that makes sense to use

  331. sponji has joined

  332. sponji has left

  333. nicoco

    keeping a map is nice but much more annoying than having "stateless conversions" if that makes sense

  334. nicoco

    nice to have good looking JIDs I mean

  335. Zash

    For private chats they're already often just random strings that are sorta hidden from the UI

  336. Zash

    like in Conversations & forks

  337. sponji has joined

  338. sponji has left

  339. sponji has joined

  340. sponji has left

  341. nicoco

    yes indeed. maybe later™ I'll try to have nicer looking bridged JIDs for mucs/contacts by ugly is very fine, as long as it works.

  342. pep.

    nicoco, something like https://github.com/moby/moby/blob/master/pkg/namesgenerator/names-generator.go ? for the mapping :P

  343. pep.

    If there ever is a mapping

  344. sponji has joined

  345. sponji has left

  346. sponji has joined

  347. sponji has left

  348. nicoco

    pep. these are fun indeed :) but for context, I have some annoying race conditions on startup where my mapping is not filled yet and it messes things up, and although fixing would be the right thing to do, I'm actually going for "no mapping, stateless conversion" right now because 1.make it work and then 2.make it right =)

  349. sponji has joined

  350. sponji has left

  351. sponji has joined

  352. sponji has left

  353. Zash

    Mercurial has a thing where uppercase is internally prefixed with `_`, so `README` → `_r_e_a_d_m_e`

  354. sponji has joined

  355. sponji has left

  356. qy


  357. sponji has joined

  358. singpolyma has left

  359. Zash

    The things people do for Windows :/

  360. Zash

    or otherwise case insensitive file systems.

  361. nicoco

    problem is, I am not sure about what's allowed in a signal group ID. base32+JID escaping sounds like it might just work for me. base64.b32encode(b"10SSHGv8382QWrib+lSDoezIGZzw/urxZxJNPIhaG1Y=") b'GEYFGU2II53DQMZYGJIVO4TJMIVWYU2EN5SXUSKHLJ5HOL3VOJ4FU6CKJZIES2DBI4YVSPI='

  362. Zash

    As long as it doesn't reach 1023 octets, you should be fine

  363. Zash

    ... hold on, is that base64?

  364. nicoco

    nah, but python's base64 from the std lib actually holds the b32encode func: https://docs.python.org/3.9/library/base64.html#base64.b32encode

  365. Zash

    The input, I mean

  366. nicoco


  367. singpolyma has joined

  368. nicoco

    I don't think so

  369. Zash

    It seems to be valid base64 tho, decodes to a 32 bit random looking binary string

  370. moparisthebest has left

  371. Zash

    It seems to be valid base64 tho, decodes to a 32 octet* random looking binary string

  372. nicoco

    be a hacker, find a way to convert that a to signal group invite URL, create a signal account, join my "slidge test" signal group, and then become rich!

  373. selurvedu

    > create a signal account you're in the wrong chat m8 🙃️

  374. nicoco

    wait, do I need to JID escape, or does base32 already output valid localparts for JIDs?

  375. Zash

    base32 encodes arbitrary binary and is case insensitive

  376. nicoco

    selurvedu: of right, it's not sdev@??? ;)

  377. selurvedu

    i mean, there's no way anybody here would do that, amirite :)

  378. marc0s has left

  379. marc0s has joined

  380. nicola has joined

  381. Millesimus has left

  382. Millesimus has joined

  383. lennart has joined

  384. Vaulor has left

  385. nicola has left

  386. nicoco

    it's question day for me! as soon as my MUC service tries to send a message to a client and receives an "error" in reply, it should consider that this client is not "joined" anymore and stop trying to send stuff to it. is that OK or are there other stuff to look for?

  387. pep.

    If the MUC sends them an error they kick them in the process no?

  388. nicoco

    mmm I was not clear. I am the MUC, and I tried to send a message to a "joined resource", and received an error.

  389. nicoco

    or do you mean when that happens, I should send 'kick' presences?

  390. singpolyma has left

  391. pep.

    hmm I was talking about the other way around yeah. I don't know here.

  392. nicoco


  393. nicoco


  394. singpolyma has joined

  395. nicola has joined

  396. MattJ

    nicoco, these are the errors a MUC should kick an occupant for sending: https://hg.prosody.im/trunk/file/tip/plugins/muc/util.lib.lua#l27

  397. pep.


  398. pep.

    The thing about all these rules is that they're too many and it's hard to remember all of them.. and they're also often encoding in fancy wording in the spec or it's a combination of 50 different things ><

  399. pep.

    Kicked on gone/redirected?

  400. Vaulor has joined

  401. nicola has left

  402. nicola has joined

  403. nicola has left

  404. nicola has joined

  405. nicola has left

  406. nicola has joined

  407. nicola has left

  408. nicola has joined

  409. nicola has left

  410. nicola has joined

  411. nicola has left

  412. nicola has joined

  413. homebeach has left

  414. Matrix Traveler (bot) has left

  415. homebeach has joined

  416. Matrix Traveler (bot) has joined

  417. nicola has left

  418. nicola has joined

  419. nicola has left

  420. nicola has joined

  421. nicoco

    MattJ: oh OK, so not all errors then. does prosody also send a presence with some status codes when happens or does "kicking" just means "I'm not going to send you anything from now on"?

  422. moparisthebest has joined

  423. MattJ

    I think we don't send anything to the leaving occupant - the assumption being that 1) we are unable to reach them, 2) it could cause an error loop (generally responding to an error is not something you should do)

  424. nicola has left

  425. nicola has joined

  426. nicola has left

  427. nicola has joined

  428. nicola has left

  429. nicola has joined

  430. singpolyma has left

  431. nicoco

    Thanks a lot! This is what I was going for, without even thinking of the possible loop problem (d'oh!). So I was "accidentally right".

  432. jgart has joined

  433. dezant has left

  434. marc0s has left

  435. marc0s has joined

  436. dezant has joined

  437. nicola has left

  438. nicola has joined

  439. singpolyma has joined

  440. nicola has left

  441. nicola has joined

  442. nicola has left

  443. ukr has joined

  444. nicola has joined

  445. snow has joined

  446. ukr has left

  447. nicola has left

  448. marc0s has left

  449. marc0s has joined

  450. marc0s has left

  451. marc0s has joined

  452. PapaTutuWawa has left

  453. nicola has joined

  454. PapaTutuWawa has joined

  455. thomaslewis has joined

  456. thomaslewis has left

  457. sponji has left

  458. sponji has joined

  459. sponji has left

  460. sponji has joined

  461. sponji has left

  462. sponji has joined

  463. sponji has left

  464. sponji has joined

  465. sponji has left

  466. sponji has joined

  467. sponji has left

  468. sponji has joined

  469. sponji has left

  470. sponji has joined

  471. sponji has left

  472. sponji has joined

  473. Ingolf has left

  474. Ingolf has joined

  475. ukr has joined

  476. sponji has left

  477. adx has left

  478. Yagizа has left

  479. snow has left

  480. Martin has left

  481. Martin has joined

  482. snow has joined

  483. singpolyma has left

  484. singpolyma has joined

  485. Laura has joined

  486. thomaslewis has joined

  487. thomaslewis has left

  488. nicola has left

  489. nicola has joined

  490. adx has joined

  491. sponji has joined

  492. peter has left

  493. peter has joined

  494. PapaTutuWawa has left

  495. Maranda[x] has left

  496. Maranda[x] has joined

  497. marc0s has left

  498. marc0s has joined

  499. sonny has left

  500. marc0s has left

  501. marc0s has joined

  502. marc0s has left

  503. marc0s has joined

  504. sonny has joined

  505. Dele Olajide has joined

  506. Dele Olajide has left

  507. techmetx11 has left

  508. techmetx11 has joined

  509. PapaTutuWawa has joined

  510. xnamed has left

  511. xnamed has joined

  512. thomaslewis has joined

  513. thomaslewis has left

  514. Maranda has left

  515. Mjolnir Archon has left

  516. marc0s has left

  517. marc0s has joined

  518. marc0s has left

  519. marc0s has joined

  520. nicola has left

  521. Maranda[x] has left

  522. atomicwatch has left

  523. atomicwatch has joined

  524. jgart has left

  525. marc0s has left

  526. Menel has left

  527. Menel has joined

  528. marc0s has joined

  529. Ingolf has left

  530. marc0s has left

  531. marc0s has joined

  532. Ingolf has joined

  533. dezant has left

  534. marc0s has left

  535. marc0s has joined

  536. marc0s has left

  537. marc0s has joined

  538. Maranda[x] has joined

  539. jgart has joined

  540. marc0s has left

  541. marc0s has joined

  542. marc0s has left

  543. marc0s has joined

  544. marc0s has left

  545. marc0s has joined

  546. marc0s has left

  547. marc0s has joined

  548. marc0s has left

  549. marc0s has joined

  550. marc0s has left

  551. marc0s has joined

  552. qy has left

  553. Artur has joined

  554. marc0s has left

  555. marc0s has joined

  556. marc0s has left

  557. marc0s has joined

  558. marc0s has left

  559. marc0s has joined

  560. Millesimus has left

  561. marc0s has left

  562. marc0s has joined

  563. Maranda has joined

  564. marc0s has left

  565. marc0s has joined

  566. Mjolnir Archon has joined

  567. Millesimus has joined

  568. singpolyma has left

  569. singpolyma has joined

  570. marc0s has left

  571. marc0s has joined

  572. atomicwatch has left

  573. marc0s has left

  574. marc0s has joined

  575. marc0s has left

  576. marc0s has joined

  577. marc0s has left

  578. marc0s has joined

  579. marc0s has left

  580. marc0s has joined

  581. marc0s has left

  582. marc0s has joined

  583. marc0s has left

  584. marc0s has joined

  585. atomicwatch has joined

  586. atomicwatch has left

  587. atomicwatch has joined

  588. atomicwatch has left

  589. qy has joined

  590. singpolyma has left

  591. singpolyma has joined

  592. marc0s has left

  593. marc0s has joined

  594. atomicwatch has joined

  595. atomicwatch has left

  596. marc0s has left

  597. marc0s has joined

  598. marc0s has left

  599. marc0s has joined

  600. atomicwatch has joined

  601. Artur has left

  602. MSavoritias (fae,ve) has left

  603. marc0s has left

  604. marc0s has joined

  605. antranigv has left

  606. antranigv has joined

  607. paul has left

  608. marc0s has left

  609. marc0s has joined

  610. Menel has left

  611. Maranda[x] has left

  612. paul has joined

  613. snow has left

  614. goffi has left

  615. nicola has joined

  616. nicola has left

  617. nicola has joined

  618. Kev has left

  619. Maranda[x] has joined

  620. nicola has left

  621. marc0s has left

  622. nicoco has left

  623. marc0s has joined

  624. singpolyma has left

  625. singpolyma has joined

  626. singpolyma has left

  627. homebeach has left

  628. Matrix Traveler (bot) has left

  629. homebeach has joined

  630. Matrix Traveler (bot) has joined

  631. singpolyma has joined

  632. atomicwatch has left

  633. mirux has left

  634. mirux has joined

  635. atomicwatch has joined

  636. atomicwatch has left

  637. snow has joined

  638. PapaTutuWawa has left

  639. atomicwatch has joined

  640. atomicwatch has left

  641. Mario Sabatino has left

  642. atomicwatch has joined

  643. mirux has left

  644. Maranda[x] has left

  645. wurstsalat has left

  646. Schimon_ has left

  647. singpolyma has left

  648. singpolyma has joined

  649. ukr has left

  650. ukr has joined

  651. stefan has left

  652. ukr has left

  653. flashcube has joined

  654. flashcube has left

  655. flashcube has joined

  656. flashcube has left

  657. jgart has left

  658. jgart has joined

  659. adx has left