XSF Discussion - 2021-01-03


  1. jonas’

    for another org I volunteered with we had automated builds of every branch on staging.$domain/$branch/

  2. Link Mauve

    Alright, I’ve optimised the docker thing a bit, it doesn’t require an xmpp.org mount anymore, instead it will git pull its inside copy.

  3. Link Mauve

    Also no more intermediary copy, I got told having multiple RUN commands will create as many intermediary copies.

  4. Link Mauve

    The data used by https://linkmauve.fr/extensions/ are now generated from docker.

  5. marc

    Looks nice, the mix of logos and names is a bit confusing though

  6. Link Mauve

    That’s because not all clients updated their DOAP with a logo yet.

  7. Link Mauve

    marc, how else would you represent them?

  8. Link Mauve

    I’ve also tried playing with CSS to address lskdjf’s comments, but I only managed to make it worse.

  9. Daniel

    Link Mauve: BTW is Conversations doap file not working somehow?

  10. Daniel

    Or do I need to register the existence of the file somewhere?

  11. Link Mauve

    Daniel, you should add it to your entry at xmpp.org: https://github.com/xsf/xmpp.org/blob/master/data/clients.json#L139

  12. Link Mauve

    I don’t maintain a list of my own, instead I rely on xmpp.org’s data.

  13. Daniel

    I see. Thanks

  14. Link Mauve

    You should move your logo property in the https://schema.org/ namespace, fyi.

  15. Link Mauve

    Here: https://github.com/iNPUTmice/Conversations/blob/master/doap.rdf#L25

  16. Link Mauve

    Also reference your actual logo (SVG preferred), instead of the DOAP file itself. ^^

  17. mathieui

    (you could have been forgiving and allowed the old logo description, so that it does not make a mixed mess until all your PRs get accepted :p)

  18. Link Mauve

    mathieui, none of the projects which used my old xmpp:logo (which lasted for only one day) use it anymore.

  19. Link Mauve

    Both Prosody, Gajim and poezio updated to the new one, while Dino skipped it altogether.

  20. Link Mauve

    Both Prosody, Gajim and poezio updated to the new one, while Dino skipped the xmpp: one altogether.

  21. Link Mauve

    In the first version I shared, I was fixing the DOAP files myself to add each project’s logo.

  22. Link Mauve

    Except for slixmpp, which doesn’t have one.

  23. MattJ

    Link Mauve: maybe a fallback placeholder logo could be added? Or a coloured square with the initial of the project :)

  24. Link Mauve

    Code welcome!

  25. Link Mauve

    In JS or Rust.

  26. Daniel

    I just hope we can merge this soon instead of forever trying to make it perfect

  27. MattJ

    +1

  28. MattJ

    To be clear, I'm not in a position to contribute code right now and neither will I object to it being merged without placeholder logos

  29. MattJ

    Just offering a suggestion about how to fix the visual issue (the best solution is for every project to have a logo)

  30. MattJ

    Haven't looked at the latest version but the one I saw was weird because it had the Prosody logo with 'slixmpp' after it sometimes

  31. MattJ

    Separate columns improve that, but still potential for confusion

  32. mathieui

    FWIW columns speraration is much better on the dark theme

  33. wurstsalat

    my proposal would be to show the count of supporting clients/servers/libs only. XEP pages already have a list of all the clients/... including their logos.

  34. Link Mauve

    Oh right, I haven’t tried the light theme in a long while.

  35. marc

    Link Mauve: have you tried sorting it by logo presence?

  36. marc

    First all with logos and then all without

  37. Link Mauve

    wurstsalat, I find that extremely dire and unhelpful tbh: https://linkmauve.fr/extensions/

  38. Link Mauve

    marc, I expect this won’t be an issue anymore once all clients have a logo.

  39. Link Mauve

    wurstsalat, here with a denominator giving the total amount of projects.

  40. Link Mauve

    Maybe I could do a percentage instead?

  41. wurstsalat

    Link Mauve, it does not look as exciting, that’s right. but which info do you want the viewer to gather from a list with those logos? as soon as there are 7+ logos, you cannot display them nicely anymore.

  42. Link Mauve

    Here with a percentage.

  43. marc

    Link Mauve, yep, probably that's true. Except if projects don't have a logo at all :)

  44. Link Mauve

    Although now it doesn’t indicate which ones have a complete or partial implementation, hmm…

  45. wurstsalat

    since XEPs are for various use cases, I’d stay away from percentages :)

  46. Link Mauve

    Indeed.

  47. Link Mauve

    Right, it’s back to a number of implementation.

  48. wurstsalat

    if you’d be a viewer wanting to compare clients, it would be best to make the ones selectable you want to compare, since you cannot display every client logo at once. or am I getting this use-case wrong?

  49. Ge0rG

    Link Mauve: filled horizontal bars with the width being proportional to the number of implementations!

  50. Ge0rG

    wurstsalat: that's something I'd love to see in the implementations list

  51. Link Mauve

    Patches welcome! I’m not very good at web stuff.

  52. Link Mauve

    But I’d be fine with merging that stuff as is, and leave improvements for later.

  53. wurstsalat

    Link Mauve, following that idea, you could for example select {Conversations, Dino}, display logos of just these two clients if they support the respective xep, and add a number afterwards for remaining clients (like this: "[logo1] [logo2] (6 more)". but yes, this sounds like something to implement later :)

  54. Link Mauve

    Interesting idea. :)

  55. SamWhited

    If you ignore the number afterwards you can probably do it all in just CSS with no JavaScript too.

  56. Link Mauve

    Atm the whole integration comes from JS though. :(

  57. SamWhited

    Integration?

  58. Link Mauve

    Fetching the JSON file from xmpp-doap and adding the Implementations column in the XEPs list, or the new table in each XEP.

  59. SamWhited

    oh, gotcha, that seems unfortunate.

  60. Link Mauve

    Indeed, I’d rather integrate it with Pelican (hence why I labeled this a proof of concept on standards@), but I’ve never been able to build our Pelican website so I’d rather not write code blind.

  61. SamWhited

    Either way, you can probably do the filtering part in CSS and it's one less thing to figure out how to integrate / move over later.

  62. SamWhited

    Filtering and/or overflow if there are too many logos.

  63. Link Mauve

    Indeed. :)

  64. Link Mauve

    Overflow I tried this morning, and couldn’t figure out how.

  65. Link Mauve

    I wanted overflow: auto, but it requires display: block, which then moves adjacent <td/> one below the other…

  66. Link Mauve

    Another thing I plan to make with these data is an automated Compliance Suite marker in implementation lists.

  67. wurstsalat

    very much yes! :)

  68. wurstsalat

    any news on compliance badges btw?

  69. Zash

    I have a thing that can tell if you're compliant based on your doap

  70. Daniel

    Zash: is it a webservice?

  71. Zash

    Me? A website? Never.

  72. stefan

    Is there a XEP to store URLs like defined in XEP-0048: Bookmarks? It's out of scope for XEP-0402: PEP Native Bookmarks. But 0402 should be used instead of 0048. Is it correct?

  73. Zash

    https://xmpp.org/extensions/xep-0195.html almost?

  74. stefan

    The elements looks good. I thing a mimetype field would be nice. The XEP is about browsing - current activity - but should also work for storing information. I just implemented 0048, I try to change it to those two XEPs. Thx.

  75. stefan

    One more question. Is it possible to have a kind of real time sharing of a text file? For instance, 5 people are working on a file at the same time.

  76. stefan

    I was thinking to just share the content via a pubsub node item. But maybe there is another / better way to handel this.

  77. Daniel

    If you want this to be real time edits you probably need something more complex than just uploading the file to a pubsub node.

  78. Daniel

    Other than that pubsub is not a bad choice I reckon

  79. Daniel

    Also isn't there a collaboration edit xep already?

  80. Daniel

    There certainly is one for svg

  81. Zash

    https://xmpp.org/extensions/xep-0284.html this?

  82. stefan

    Sound good 👌