moparisthebestwgreenhouse: XMPP messages can cross multiple lines though
adiaholichas left
adiaholichas joined
Yagizahas joined
wgreenhousemoparisthebest: 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)
benwhat format is it in?
stphas left
wgreenhouseben: 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>
wgreenhousewithout linebreaks, except where there happen to be linebreaks in a message body
benyou could probably rig something up with the tools in html-xml-utils like hxselect or hxprune
benmaybe even hxpipe
wgreenhousehmmmmmm
moparisthebestA proper way may be an xpath query sent to xmllint --pattern ?
moparisthebestBut you could probably just sed out the XML...
benah yeah xmllint could probably do it too
alameyohas left
wgreenhousewould want to preserve the from, to, and stamp tags, but the rest can be discarded
moparisthebestsed can match and replace :)
wgreenhouseI thought parsing xml in re brought about the coming of zalgo ;)
wgreenhousebut thanks both, this gives me some to chew on
BASSGODhas left
benyeah it might, but if your schema is regular/small you will probably be fine
moparisthebestSorry your requirements didn't say "I want this to work without summoning demons"
alameyohas joined
Andrzejhas joined
wgreenhouse;)
wgreenhousethat said, what hxpipe makes for this file looks friendly to re search/replace
bennice
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
HolgerDoes XEP-0077 support registration with an empty password?
jonas’I guess you could just do <password/>, no?
HolgerYes #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.
HolgerFootnote [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
HolgerRegarding 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
dwdHuh. Both <password/> and <password></password> are the same thing.
KevAnd it says they’re to be treated the same, doesn’t it?
HolgerSure, I don't think the XEP says otherwise?
HolgerQuestion is, how to treat them :-)
Ge0rGIs it like NULL, None, "" and False are the same thing?
chronosx88has left
HolgerThey 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
lovetoxwhen registering (not password change), i dont see how the client would need to care how the server treats an empty password
lovetoxwhat i wonder is, can i do auth with an empty password?
dwdEmpty string as password? Sure.
Holgerlovetox: My question was how the server is supposed to treat it though :-)
lovetoxHolger, i would say if its not a valid password according to your policy decline it
lovetoxotherwise go with it
lovetoxor does that lead to a problem?
paulhas left
HolgerWell 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.
lovetoxok is this a theoretical question, or is there an actual use case behind that?
paulhas joined
Andrzejhas left
HolgerWell 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
edhelasthis remind me that I have to do my ejabberd upgrade 🤔
lovetoxi would not, because probably many clients dont support that
edhelas!version movim.eu
HolgerIf 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 :-)
lovetoxor 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"
Holgerlovetox: 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
HolgerI 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
SamReminder: Office hours are tomorrow. This week is a round table discussion "Towards XMPP 2.0" https://wiki.xmpp.org/web/XMPP_Office_Hours
Sam13th 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
KevI 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
mathieuiSam, 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
Sammathieui: 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.
SamGo for it as far as I'm concerned :)
mathieuiOk, 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
emusYes, 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
deuillOn 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...
deuillYou 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
L29Ahirc is implemented in half an hour, while xmpp is, well...
deuillThat 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?
L29Ahah, i misinterpreted the question for embedded chats
deuillThere'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
deuillThere'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. ✏
SamFreenode 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
deuillHah, 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.
MattJI 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
L29Ahi don't recall having an IRC frontend for XMPP MUCs
Andrzejhas joined
moparisthebestthey exist but thar be dragons https://github.com/moparisthebest/xmpp-ircd
Syndacehas left
Syndacehas joined
ZashOutch, 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
deuillYeah, 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
Ge0rGWell, 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
wgreenhousegeoip 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
wgreenhousepath dependence is important too of course
Andrzejhas left
wgreenhousedeuill 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
wgreenhouseand it can be made persistent without the need of ChanServ, or someone with a good enough connection to sit on the channel
wgreenhousepossibly in the past, when there were fewer public XMPP instances outside of proprietary installations, that was less true
papatutuwawahas left
papatutuwawahas joined
ZashToo 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
wgreenhousegood question. esp since current trends advise people to scatter
wgreenhouse(e.g. formerly big public instances like jabber.ccc.de saying "go somewhere else")
Ge0rGAlso having an easy to deploy web chat is a good thing
Ge0rGI've heard that yax.im is breaking apart under the load...
SamGe0rG: 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
mathieuiSam, you are from now on named "sole source of yax.im performance problems"
beanhas joined
menelhas left
Samoh cool, thanks for the link. Reading.
goffihas left
werdanhas left
Ge0rGWell, at least I have some prosody performance numbers now.
beanhas left
archas left
archas joined
mukt2has joined
archas left
archas joined
archas left
archas joined
MattJSome SQLite performance numbers :)
emushas left
mathieuithe best ones
Ge0rGMattJ: well, do you have comparison numbers of different MAM backends from production?
Syndacehas left
Syndacehas joined
MattJNo, we've not run such tests on a production server
Ge0rGSo how am I supposed to decide, what to replace sqlite with?
MattJJust saying, I think the conclusion was that you reached the limits of SQLite on your hardware, right? (unless we give up some consistency guarantees)
Ge0rGYes, and it looks like psql will give me roughly 3x the performance, but that's from synthetic benchmarks
MattJWe have performance tests, I guess you can try running them on your server (it doesn't actually have to be the running Prosody instance)