-
Ge0rG
Just put html forms into XHTML-IM?
-
waqas
Can I haz <iframe/> XEP?
-
Ge0rG
do I want to know how stream-level xml:lang is supposed to work over BOSH?
-
Guus
do _we_ want you to know?
-
Zash
Do you want a massive headache?
-
Ge0rG
Zash: no
-
Ge0rG
Also prosody will just ignore invalid xml:lang and ejabberd will throw an invalid-xml
-
MattJ
Define "invalid"?
-
Ge0rG
one that violates NMTOKEN
-
Ge0rG
i was using something like `something!`
-
Holger
https://github.com/processone/xmpp/blob/master/c_src/lang.abnf
-
Ge0rG
Holger: if I connect to c.im with xml:lang="de", is it supposed to return error texts in german?
-
Holger
Yes (if there's a translation for the error in question, obviously).
-
Ge0rG
Holger: I'm testing https://github.com/igniterealtime/Smack/pull/325 right now, and I'm looking for a test to perform
-
Ge0rG
I can't test the "add yourself to roster" problem because ejabberd will actually add you to your own roster
-
Ge0rG
and it looks like the typical s2s errors (DNS resolution failed, timeout) aren't i18ned
-
Holger
Ge0rG: Hmmm, those should have translations. I'll have a look a bit later.
-
Ge0rG
Holger: thanks
-
Yagiza
Hello!
-
Yagiza
Can anyone help me with testing my OMEMO implementation.
-
Holger
Ge0rG: Ah DNS lookup is now done in a library which has no access to the translation foo. Modularity sucks.
-
Holger
Ge0rG: Just send `<message to='conversations.im'><body>Test</body></message>` for example.
-
Ge0rG
Holger: đ worked
-
Holger
Nice!
-
Ge0rG
"Keine verfĂźgbare Ressource gefunden" is rather unexpected for a message to the domain, but đ¤ˇ
-
Holger
Yeah, I *knew* you would complain and already checked the code to see whether the fix would be easy :-)
-
Ge0rG
Holger: I complain about everything!
-
Holger
Hrm, service-unavailable or item-not-found ... and what text ... see it's not easy at all.
-
Zash
Prosody says service-unavailable
-
Ge0rG
service-unavailable is the usual one
-
Holger
But the text is the important part :-)
-
Holger
For users responding to admin messages ...
-
Ge0rG
Holger: you should make it customizable for the server admin, or maybe link to the contact info.
-
Zash
... Prosody says service-unavailable
-
Holger
Ge0rG: Sigh :-)
-
Ge0rG
Holger: but yaxim won't linkify URLs in the error message.
-
Holger
Ge0rG: This was about translations in the first place!
-
Holger
Also who wants to receive messages from users.
-
Ge0rG
"Kein Weltraum links vom Gerät!"
-
Holger
Zash: Sigh :-)
-
Holger
Ge0rG: I meant "admin configurable" would imply "no translations".
-
Holger
Ge0rG: But once I have a proper English message I could certainly commit that translation since nobody at p1 understands German.
-
Ge0rG
is there a useful process for re-sending messages that got bounced?
-
Ge0rG
I've now implemented a workaround for MUCs where if a message is bounced with cancel/service-unavailable, I assume that the user isn't joined, mark the message as "to be sent after join" and trigger a rejoin
-
Zash
I think (recent?) prosody uses a different error
-
Ge0rG
Zash: how recent, which error
-
Zash
Ge0rG: Hm, it seems it has used cancel, not-acceptable since forever
-
Zash
The text message has been tweaked a bit recently tho
-
Ge0rG
There's a text message?
-
Ge0rG
I wish that https://issues.prosody.im/383 would be fixed instead.
-
Zash
https://hg.prosody.im/trunk/rev/11671a2e07a9
-
Zash
I was probably thinking of that
-
Ge0rG
Ah! thanks
-
Zash
Looks fairly consistent with not-acceptable when you're not in the room
-
Zash
Btw, is consensus going towards a generic "in reply to" thingy now?
-
Ge0rG
Zash: council consensus seemed to be, yeah
-
jjrh
is there not a 'group' concept for bookmarks?
-
Zash
What do you mean?
-
pep.
Tags?
-
pep.
No tags, no category for bookmarks no
-
jjrh
With standard jids you have a 'group'
-
pep.
With the roster you have tags yes
-
pep.
(They're called groups indeed)
-
jjrh
pep., okay was just about to ask if that was something separate to <group>
-
Zash
Nope, no such thing for bookmarks
-
Zash
Not even Bookmarks 2
-
jjrh
Is there a reason why that wasn't included?
-
Zash
Nobody thought about it in 2002?
-
Zash
Bookmarks 3 go go go!
-
jjrh
Ah okay fair - was mostly wondering if there was some technical reason it wasn't done.
-
jjrh
It could be added to xep0402 as a optional thing.
-
pep.
They're not bookmark xeps anyway, they're sync mechanisms
-
pep.
Naming is hard
-
pep.
There isn't much adoption for 402 apparently
-
Zash
Bookmarks 3 !!!
-
pep.
Zash: I'd like that, without autojoin :p
-
Zash
Actually, you can probably add tags in a custom namespace if you want
-
jjrh
402 looks fine to me I would probably say you add something like <meta> (or some other name) which is a place one can put whatever you might want group, tags, notes, etc.
-
Zash
It's the same data model as 48
-
Zash
dwd, https://xmpp.org/extensions/xep-0402.html#example-4 is missing xmlns
-
jjrh
Good point. I guess that makes things a little more tricky.
-
Zash
But as I said, you can probably insert custom data in your custom namespace if you want.
-
Zash
Dunno about other servers but Prosody generally treats bookmarks as opacue XML
-
jjrh
yep.
-
Zash
I think Gajim might even be storing some gajim-specific stuff already
-
jjrh
looking at how prosody was storing stuff was the first place I looked :)
-
Lance
safest (but not the nicest, of course) approach would be storing the metadata in a second privatexml storage location. extra data added into bookmarks is at risk if you edit with a different client which might not preserve existing, unknown xml
-
Lance
similar to how roster metadata can be added: https://xmpp.org/extensions/xep-0145.html
-
jjrh
That might be a easy solution and simplify implementation
-
Zash
Do we want to make some generic privatexml ââ PEP stuff?
-
Lance
didnt we? or was it just for bookmarks?
-
Zash
Just bookmarks
-
Zash
Then there's vcards which are also special
-
Lance
a disco feature saying pep<->privatexml in general works would be amazing
-
Lance
and xep-402 is missing a disco feature to indicate server conversion support
-
Zash
There's a whole XEP about bookmarks conversion, or am I confused?
-
Lance
411 leaves out 402
-
Zash
I guess because 402 is still pretty new
-
wurstsalat
Zash: gajim was saving custom bookmark stuff, but isn't anymore
-
Zash
Okay
-
wurstsalat
News from Dino's GSoC project (sorry if this isn't new) https://hrxi.github.io/gsoc/blog/standards
-
Lance
If size is missing at the start, so would any checksum hash. The checksum info sent by the sender once it is done sending would ideally carry the final size information, but that detail is missing from oversight (covered ranged requests, but forgot missing initial size case)