wgreenhouse: XMPP messages can cross multiple lines though
adiaholichas left
adiaholichas joined
Yagizahas joined
wgreenhouse
moparisthebest: I'm aware; should've said no more than one message per line :)
wgreenhouse
(the MAM output I grabbed isn't pretty printed or anything)
ben
what format is it in?
stphas left
wgreenhouse
ben: it's just all the xml stanzas from the MAM archive, in one xml file without a DTD, in between <message-archive xmlns="https://linkmauve.fr/protocol/pie-mam"> ... </message-archive>
wgreenhouse
without linebreaks, except where there happen to be linebreaks in a message body
ben
you could probably rig something up with the tools in html-xml-utils like hxselect or hxprune
ben
maybe even hxpipe
wgreenhouse
hmmmmmm
moparisthebest
A proper way may be an xpath query sent to xmllint --pattern ?
moparisthebest
But you could probably just sed out the XML...
ben
ah yeah xmllint could probably do it too
alameyohas left
wgreenhouse
would want to preserve the from, to, and stamp tags, but the rest can be discarded
moparisthebest
sed can match and replace :)
wgreenhouse
I thought parsing xml in re brought about the coming of zalgo ;)
wgreenhouse
but thanks both, this gives me some to chew on
BASSGODhas left
ben
yeah it might, but if your schema is regular/small you will probably be fine
moparisthebest
Sorry your requirements didn't say "I want this to work without summoning demons"
alameyohas joined
Andrzejhas joined
wgreenhouse
;)
wgreenhouse
that said, what hxpipe makes for this file looks friendly to re search/replace
ben
nice
BASSGODhas joined
Andrzejhas left
chronosx88has left
chronosx88has joined
menelhas joined
mimi89999has left
mimi89999has joined
Tobiashas joined
andyhas joined
adiaholichas left
adiaholichas joined
adiaholichas left
adiaholichas joined
paulhas joined
karoshihas joined
paulhas left
paulhas joined
adiaholichas left
adiaholichas joined
dwdhas joined
govanifyhas left
govanifyhas joined
emushas joined
ti_gj06has joined
alexbay218has left
hamishhas left
hamishhas joined
menelhas left
Syndacehas left
Syndacehas joined
sebastianhas left
sebastianhas joined
croaxhas joined
mathijshas left
mathijshas joined
adiaholichas left
adiaholichas joined
Syndacehas left
Syndacehas joined
adiaholichas left
Tobiashas left
Tobiashas joined
DebXWoodyhas left
adiaholichas joined
DebXWoodyhas joined
adiaholichas left
adiaholichas joined
eevvoorhas joined
adiaholichas left
paulhas left
paulhas joined
Syndacehas left
Syndacehas joined
adiaholichas joined
wurstsalathas joined
archas left
archas joined
archas left
archas joined
archas left
archas joined
archas left
archas joined
adiaholichas left
adiaholichas joined
ti_gj06has left
chronosx88has left
chronosx88has joined
Syndacehas left
Syndacehas joined
adiaholichas left
adiaholichas joined
chronosx88has left
chronosx88has joined
Andrzejhas joined
peetahhas left
adiaholichas left
lskdjfhas joined
adiaholichas joined
LNJhas joined
peetahhas joined
Syndacehas left
Syndacehas joined
mukt2has joined
menelhas joined
chronosx88has left
chronosx88has joined
chronosx88has left
chronosx88has joined
ti_gj06has joined
chronosx88has left
chronosx88has joined
Syndacehas left
Syndacehas joined
adiaholichas left
adiaholichas joined
beanhas joined
goffihas joined
paulhas left
BASSGODhas left
mukt2has left
goffihas left
goffihas joined
Syndacehas left
Syndacehas joined
adiaholichas left
adiaholichas joined
deuillhas left
mukt2has joined
deuillhas joined
BASSGODhas joined
Syndacehas left
Syndacehas joined
stphas joined
menelhas left
menelhas joined
Syndacehas left
Syndacehas joined
stphas left
Andrzejhas left
Andrzejhas joined
alacerhas left
alacerhas joined
Andrzejhas left
ti_gj06has left
debaclehas joined
BASSGODhas left
Andrzejhas joined
menelhas left
menelhas joined
chronosx88has left
chronosx88has joined
BASSGODhas joined
Holger
Does XEP-0077 support registration with an empty password?
jonas’
I guess you could just do <password/>, no?
Holger
Yes #3.1 says "the <password/> element MAY be empty". But later:
Holger
> If the requesting entity does not provide all of the requested information during registration [7] then the server or service MUST return a <not-acceptable/> error to the requesting entity.
Holger
Footnote [7] says:
Holger
> This includes providing an empty password element or a password element that contains no XML character data, i.e., either <password/> or <password></password>.
Syndacehas left
Syndacehas joined
Holger
Regarding password _change_, the XEP is clear:
jonas’
ISTM that the footnote is worded poorly
Holger
> If the user provides an empty password element or a password element that contains no XML character data (i.e., either <password/> or <password></password>), the server or service MUST NOT change the password to a null value, but instead MUST maintain the existing password.
jonas’
aaagh
jonas’
confusing!
jonas’
I give up
chronosx88has left
chronosx88has joined
Andrzejhas left
chronosx88has left
chronosx88has joined
dwd
Huh. Both <password/> and <password></password> are the same thing.
Kev
And it says they’re to be treated the same, doesn’t it?
Holger
Sure, I don't think the XEP says otherwise?
Holger
Question is, how to treat them :-)
Ge0rG
Is it like NULL, None, "" and False are the same thing?
chronosx88has left
Holger
They must be treated the _same_. But _how_?
chronosx88has joined
adiaholichas left
mukt2has left
adiaholichas joined
chronosx88has left
chronosx88has joined
stphas joined
paulhas joined
mukt2has joined
BASSGODhas left
govanifyhas left
govanifyhas joined
Andrzejhas joined
chronosx88has left
chronosx88has joined
peetahhas left
mukt2has left
BASSGODhas joined
Steve Killehas left
peetahhas joined
chronosx88has left
chronosx88has joined
Steve Killehas joined
chronosx88has left
chronosx88has joined
lovetox
when registering (not password change), i dont see how the client would need to care how the server treats an empty password
lovetox
what i wonder is, can i do auth with an empty password?
dwd
Empty string as password? Sure.
Holger
lovetox: My question was how the server is supposed to treat it though :-)
lovetox
Holger, i would say if its not a valid password according to your policy decline it
lovetox
otherwise go with it
lovetox
or does that lead to a problem?
paulhas left
Holger
Well the question is whether empty passwords are supposed to be supported by the spec. If so it would obviously still be a policy decision of the admin, yes.
lovetox
ok is this a theoretical question, or is there an actual use case behind that?
paulhas joined
Andrzejhas left
Holger
Well I'm touching this part of our 0077 code and was interested in whether I'm supposed to support the empty password case.
BASSGODhas left
edhelas
this remind me that I have to do my ejabberd upgrade 🤔
lovetox
i would not, because probably many clients dont support that
edhelas
!version movim.eu
Holger
If I had the answer to this question I could still decide whether or not to follow the spec. But seems the answer isn't obvious so I can just decide on my own :-)
lovetox
or i would wait until someone comes and at least asks for that with a concrete use case, and how clients and server are expected to act
adiaholichas left
jonas’
Holger, FWIW, I’d hide allowing empty passwords behind a huge red button labelled "world destruction"
Holger
lovetox: Yes yes I'll survive without clarification. I just had this weird idea that one of our core specs dealing with passwords could be clear on the topic of empty passwords :-)
BASSGODhas joined
jonas’
:D
Holger
I think we'll just reject them, partly to remain consistent with the password change case where empty passwords are explicitly not supported.
adiaholichas joined
Andrzejhas joined
chronosx88has left
chronosx88has joined
ti_gj06has joined
mathijshas left
mathijshas joined
mukt2has joined
BASSGODhas left
adiaholichas left
adiaholichas joined
BASSGODhas joined
BASSGODhas left
Wojtekhas joined
BASSGODhas joined
pjnhas joined
florettahas left
florettahas joined
BASSGODhas left
Adihas left
BASSGODhas joined
BASSGODhas left
Adihas joined
BASSGODhas joined
adiaholichas left
edhelashas left
menelhas left
edhelashas joined
adiaholichas joined
LNJhas left
LNJhas joined
adiaholichas left
chronosx88has left
chronosx88has joined
adiaholichas joined
L29Ahhas left
L29Ahhas joined
Calvinhas joined
alacerhas left
mukt2has left
alacerhas joined
Andrzejhas left
Andrzejhas joined
Sam
Reminder: Office hours are tomorrow. This week is a round table discussion "Towards XMPP 2.0" https://wiki.xmpp.org/web/XMPP_Office_Hours
Sam
13th April, 16:00 UTC as always
Adihas left
wurstsalathas left
wurstsalathas joined
lovetoxhas left
BASSGODhas left
BASSGODhas joined
andrey.ghas joined
Andrzejhas left
Andrzejhas joined
Adihas joined
lovetoxhas joined
paulhas left
paulhas joined
alameyohas left
paulhas left
Andrzejhas left
paulhas joined
Andrzejhas joined
Andrzejhas left
Freddyhas left
Andrzejhas joined
Kev
I don’t know if it’ll work out, but I’ll try to make this one.
andrey.ghas left
Freddyhas joined
Andrzejhas left
adiaholichas left
adiaholichas joined
Aleksejhas joined
menelhas joined
adiaholichas left
Andrzejhas joined
adiaholichas joined
Aleksejhas left
peetahhas left
peetahhas joined
adiaholichas left
adiaholichas joined
Andrzejhas left
Freddyhas left
adiaholichas left
adiaholichas joined
andyhas left
paulhas left
paulhas joined
Andrzejhas joined
adiaholichas left
adiaholichas joined
adiaholichas left
adiaholichas joined
Freddyhas joined
chronosx88has left
chronosx88has joined
chronosx88has left
chronosx88has joined
papatutuwawahas joined
Andrzejhas left
marekhas left
alameyohas joined
marekhas joined
Andrzejhas joined
adiaholichas left
adiaholichas joined
paulhas left
paulhas joined
paulhas left
paulhas joined
ti_gj06has left
mukt2has joined
papatutuwawahas left
papatutuwawahas joined
mukt2has left
adiaholichas left
adiaholichas joined
Syndacehas left
Syndacehas joined
papatutuwawahas left
mukt2has joined
papatutuwawahas joined
adiaholichas left
adiaholichas joined
Steve Killehas left
eevvoorhas left
eevvoorhas joined
Freddyhas left
Steve Killehas joined
ti_gj06has joined
Syndacehas left
Syndacehas joined
LNJhas left
xeckshas left
xeckshas joined
hamishhas left
LNJhas joined
werdanhas joined
papatutuwawahas left
Andrzejhas left
Andrzejhas joined
adiaholichas left
adiaholichas joined
Syndacehas left
Andrzejhas left
Syndacehas joined
mukt2has left
adiaholichas left
adiaholichas joined
deuillhas left
deuillhas joined
adiaholichas left
adiaholichas joined
Calvinhas left
Calvinhas joined
adiaholichas left
adiaholichas joined
Dele Olajidehas joined
Dele Olajidehas left
BASSGODhas left
adiaholichas left
BASSGODhas joined
mathieui
Sam, would it be acceptable to open a peertube channel that mirrors the videos available on youtube? (asking as I saw the new yt channel in the newsletter, we’re bound to have people asking why it’s only on youtube)
Andrzejhas joined
mathieui
(I am not asking you to do it at all, but asking for permission if I find the time to set it up)
arcxihas left
arcxihas joined
andyhas joined
Sam
mathieui: we've gotten a lot of that already :) I'm not against it, we just need someone who knows how to set all that up to do it. I couldn't find a good instance that actually had open registration, and don't want to do more work myself for something that's not likely to be widely used, so automatic sync would be nice.
Sam
Go for it as far as I'm concerned :)
mathieui
Ok, thanks!
Syndacehas left
Syndacehas joined
mukt2has joined
Freddyhas joined
adiaholichas joined
hamishhas joined
mukt2has left
mukt2has joined
arcxihas left
mukt2has left
arcxihas joined
adiaholichas left
mukt2has joined
Syndacehas left
Syndacehas joined
adiaholichas joined
mathijshas left
papatutuwawahas joined
adiaholichas left
mukt2has left
adiaholichas joined
adiaholichas left
mukt2has joined
archas left
archas joined
mukt2has left
archas left
archas joined
Syndacehas left
Syndacehas joined
florettahas left
florettahas joined
mukt2has joined
Yagizahas left
Andrzejhas left
Andrzejhas joined
Wojtekhas left
Guushas joined
Steve Killehas left
Kevhas left
Kevhas joined
Steve Killehas joined
emus
Yes, usually it is not that we dont want it, but lag resources or have technical limitations (unless we invest more resources)
Guushas left
Andrzejhas left
xeckshas left
xeckshas joined
lorddavidiiihas left
xeckshas left
papatutuwawahas left
papatutuwawahas joined
chronosx88has left
xeckshas joined
mathijshas joined
mukt2has left
esilhas joined
esilhas left
mukt2has joined
lorddavidiiihas joined
chronosx88has joined
Andrzejhas joined
chronosx88has left
chronosx88has joined
Syndacehas left
Syndacehas joined
Andrzejhas left
deuill
On the subject of XMPP 2.0, I wonder why Jabber/XMPP was never really adopted for open source projects setting up public chats? IRC had (*really*) early-mover advantage, but it can't all be that...
deuill
You need a server/account to host a MUC? MUC doesn't scale to more than a couple hundred participants? IRC was good enough?
L29Ah
#nolibs
L29Ah
irc is implemented in half an hour, while xmpp is, well...
deuill
That doesn't matter when you're a user, right? That is, I'm more wondering, would something like Freenode for XMPP be able to exist then? Now?
L29Ah
ah, i misinterpreted the question for embedded chats
deuill
There's still a definite need for this, considering, ehm, IRC is still widely used, even with a lot of projects moving off to Discord/Gitter/Zulip/Mattermost/whatever.✎
LNJhas left
deuill
There's still a definite need for this, considering that, ehm, IRC is still widely used, even with a lot of projects moving off to Discord/Gitter/Zulip/Mattermost/whatever. ✏
Sam
Freenode considered switching to XMPP at one point, I think. I don't know the details though, but maybe you could find their reasons
ti_gj06has left
esilhas joined
esilhas left
deuill
Hah, interesting, I use Freenode as an example though, mainly because it is (was?) the default choice when you wanted to set up a room for your project.
MattJ
I spoke with some Freenode folk a year or two back. I got the impression that it was mostly just resources and need of a concrete plan
pjnhas left
L29Ah
i don't recall having an IRC frontend for XMPP MUCs
Andrzejhas joined
moparisthebest
they exist but thar be dragons https://github.com/moparisthebest/xmpp-ircd
Syndacehas left
Syndacehas joined
Zash
Outch, owie, my nightmares
lorddavidiiihas left
pjnhas joined
mukt2has left
deuillhas left
Marandahas left
wgreenhouse
> You need a server/account to host a MUC? MUC doesn't scale to more than a couple hundred participants? IRC was good enough?
maybe the fact that fewer xmpp clients support anonymous login, whereas (at least in the past) most big irc support channels don't need a registered account
Marandahas joined
mukt2has joined
deuillhas joined
goffihas left
Syndacehas left
Syndacehas joined
deuill
Yeah, the ease-of-setup aspect here is crucial I think, even as an operator. Find a channel name that's not used, *boom* you're a moderator.
Marandahas left
Andrzejhas left
Marandahas joined
karoshihas left
Andrzejhas joined
deuillhas left
goffihas joined
goffihas left
goffihas joined
deuillhas joined
Syndacehas left
Syndacehas joined
BASSGODhas left
Andrzejhas left
Andrzejhas joined
beanhas left
Ge0rG
Well, installing and configuring an irc client for a given network, with servers limiting who may connect by geoip, is quite a challenge. I'm not sure how much easier it is than xmpp
BASSGODhas joined
wgreenhouse
geoip or open proxy bans today certainly make it harder to get started on irc. but 10-15 years ago I think it was simpler to get started without an "account"
Tobiashas left
wgreenhouse
path dependence is important too of course
Andrzejhas left
wgreenhouse
deuill true, though nowadays it's pretty easy to create a MUC on [arbitrary server] maybe not even the same one where you have your own account
wgreenhouse
and it can be made persistent without the need of ChanServ, or someone with a good enough connection to sit on the channel
wgreenhouse
possibly in the past, when there were fewer public XMPP instances outside of proprietary installations, that was less true
papatutuwawahas left
papatutuwawahas joined
Zash
Too much choice doesn't make it easier. Like, if you're a free software project then you'd probably go for something on Freenode, but in the XMPP world, where would you go?
Aleksejhas joined
papatutuwawahas left
lorddavidiiihas joined
Syndacehas left
Syndacehas joined
mukt2has left
mukt2has joined
archas left
archas joined
wgreenhouse
good question. esp since current trends advise people to scatter
wgreenhouse
(e.g. formerly big public instances like jabber.ccc.de saying "go somewhere else")
Ge0rG
Also having an easy to deploy web chat is a good thing
Ge0rG
I've heard that yax.im is breaking apart under the load...
Sam
Ge0rG: wait, is that a joke that I don't get or are you having load problems? I'm curious because I've been pointing people there when they ask