XSF Editor Team - 2022-02-15


  1. pep.

    xmpp.css is querying "https://xmpp.org/images/logos/xmpp-logo.svg", is there something it'd be ok to change this with so my local build doesn't query xmpp.org?

  2. pep.

    "/images" ? "../images" ?

  3. Link Mauve

    The former sounds good.

  4. pep.

    That means everybody hosting these now must have a /images/ folder as well :/

  5. Link Mauve

    Ah, right.

  6. pep.

    And "../images" as is won't work with inbox/

  7. pep.

    Even though I'm less worried for the xmpp.org setup, because worst can xslt can be used to help here. Maybe.

  8. pep.

    I guess I'm fine with not having the xmpp logo on my custom deployment

  9. pep.

    The funny thing in all that is that I get 404 anyway. But that slows down the loading of my page by a very large margin..

  10. jonas’

    why a 404?

  11. pep.

    no clue

  12. jonas’

    smells like CORS or so

  13. pep.

    (It's not the 404 that slows down the loading, just the combination of remote query + Tor, when everything else is local)

  14. jonas’

    oh, tor.

  15. pep.

    Why would Tor be of any interest here?

  16. jonas’

    the latency is irrelevant otherwise

  17. pep.

    Ok I thought it was about the 404

  18. jonas’

    no, I cannot reproduce that

  19. pep.

    "GET https://xmpp.org/theme/images/xmpp-logo.svg"

  20. pep.

    "GET https://xmpp.org/theme/images/xmpp-logo.svg"

  21. jonas’

    that's a different URL than the one you were giving earlier

  22. pep.

    Indeed, weird

  23. pep.

    That's not me though

  24. pep.

    In In the css I only see /images/

  25. pep.

    And git grep doesn't yield anything.. weird.

  26. pep.

    Anyway, any idea about how to change that request?

  27. pep.

    Let's forget about the 404 for a sec

  28. jonas’

    if there's only /images/ in the CSS, I don't know where it's coming from

  29. pep.

    I meant /theme/ isn't in the css

  30. pep.

    It's "https://xmpp.org/images/logos/xmpp-logo.svg"

  31. pep.

    Which I'd like to change to something not querying xmpp.org

  32. jonas’

    if it's in the CSS, we don't have a way to template that

  33. jonas’

    you can probably keep a local patch or so

  34. pep.

    We could put that outside the css sheet worst case

  35. jonas’

    I'd rather not have complexity irrelevant to the main use case in the repositories, as long as I'm the only one doing work.

  36. pep.

    Am I really the only one who cares? :/

  37. jonas’

    it's the first time it has come up anyway

  38. pep.

    k

  39. jonas’

    (that I know of)

  40. pep.

    Local patches are always annoying..