-
Zash
Re the pubsub persistence thing from the other day, I went on an epic quest trough the endless yaks and discovered that the fallback RLU cache returns items in the opposite order from the storage layer. So now I wonder how picky https://xmpp.org/extensions/xep-0060.html#subscriber-retrieve is about the order of items.
-
jonas’
.oO(reast lecently used?)
- Ellenor Malik giggles
-
Zash
RLWrite*
-
edhelas
Zash AH ! :D
-
edhelas
could we decide once for all for the "default order" ? most recents on top
-
Zash
That would be easier, but now we have a ton of test cases that expect oldest first, except for the unit tests, that check for the opposite order because they're using the cache implementation rather than the storage backend :/
-
Zash
Such fun!
-
edhelas
Would it be a good idea to add a small paragraph to this 0060 section to simply add a "The pubsub service MUST always returns the node items in anti-chronological order (most recent first)" ?
-
edhelas
it is indeed an issue for clients like Movim because I'm using this order to display the news articles
-
Zash
The example closest to the section I linked shows chronological, oldest-first order
-
Zash
And we all know that the examples are The Source Of Truth!!! ;)
-
edhelas
ok, knowing that there is also this XEP https://xmpp.org/extensions/xep-0413.html to reverse it
-
edhelas
so you could implement it "on the way" ;)
-
edhelas
but the issue still remains for the "default" case
-
Zash
The storage layer actually flips it already to get chronological order, for implementation reasons.
-
edhelas
ejabberd always returns most-recent-first (Holger correct me if I'm wrong)
-
Holger
I think so yes.
-
Zash
The storage layer actually flips it already to get chronological order, for implementation reasons.
-
Holger
Oldest first by default sounds sensible to me, esp. as that's how RSM works …
-
Holger
What about 'published' vs. 'updated'?
-
Zash
There's no "updated"
-
Holger
``` <published>2003-12-12T17:47:23Z</published> <updated>2003-12-12T17:47:23Z</updated> ```
-
ralphm
Holger: huh? RSM doesn't define the sorting of results, does it?
-
Zash
Holger, those are elements of the Atom payload, they don't mean that pubsub has the concept of "updated"
-
Zash
Publishing an item with an item id that is already used deletes the previous item, I think
-
Zash
https://xmpp.org/extensions/xep-0060.html#publisher-publish-success has some text
-
Holger
Ah right, yes I meant modification by means of republishing with the same item ID. Couldn't find text regarding the time stamp but whatever.
-
Holger
ralphm: > Holger: huh? RSM doesn't define the sorting of results, does it? Right, it just assumes an ordered set. To me, chronological ordering seems to play more intuitive with RSM's before/after terminology.
-
goffi
Zash: edhelas: I believe that pubsub returns in chronological order, except if max-items is used
-
goffi
actually even with max-items.
-
goffi
chronological (oldest first) seems the more natural to me with XEP-0060 alone (and that match the examples), then there is XEP-0413 (Order-By), which I've just updated by the way.
-
goffi
Holger: XEP-0060 doesn't has a notion of updated, it's just overwriting a item (thus the item is new again). This concept is introduced in XEP-0413 only.
-
goffi
doesn't have
-
wuuko
Is Cisco the official owner of XMPP?
-
ben
no
-
wuuko
Who?
-
Ge0rG
wuuko: Cisco is the owner of the Jabber™ trademark, but the XSF has a right to sub-license it.
-
Ge0rG
wuuko: what parts of XMPP are you looking for, specifically? The protocol? The name? The logos?
-
Menel
> Who? Everyone can use it at will
-
wgreenhouse
wuuko: not to be harsh--but you ask a lot of seemingly aimless questions on multiple channels, many of which could be answered by reading publicly available materials on your own. it would be helpful to know what your real objective is.
-
wuuko
Ok. No problem.
-
ralphm
Something came up, will not make it today.
-
arc
Ok
-
arc
Is anyone else here?
-
arc
I don't see dwd or mattj, but it is early here so I'm not sure if I'm just overlooking them
-
arc
Yeah it looks like we can't have a board meeting this week due to lack of quorum. See everyone next week!
-
wuuko
Does the XMPP team generate revenue with sponsors?
-
moparisthebest
What "XMPP team" ? I don't think such a thing exists
-
Zash
Perhaps you mean The XMPP Standards Foundation (the “Corporation”)
-
wuuko
> Zash wrote: > Perhaps you mean The XMPP Standards Foundation (the “Corporation”) Yes.
-
Zash
The Treasurer would know for sure.
-
Zash
USSHC provides hosting, is all I'm reasonably sure of. Then there's usually some money that goes to pay for the Summit Dinner.
-
wuuko
So how is the software evolving? > Zash wrote: > USSHC provides hosting, is all I'm reasonably sure of. Then there's usually some money that goes to pay for the Summit Dinner.
-
Zash
What software?
-
wuuko
XMPP and clients > Zash wrote: > What software?
-
moparisthebest
The XSF doesn't write software
-
Zash
The XSF makes standards in the form of the XEP series, not software.
-
Zash
I guess the scripts etc the Editor uses would count as software... but not XMPP software etc
-
wuuko
Is xep what's evolving?
-
Zash
XEPs <https://xmpp.org/extensions/> evolve, XMPP related software evolves...
-
moparisthebest
wuuko: what does "evolving" even mean?
-
wuuko
> moparisthebest wrote: > wuuko: what does "evolving" even mean? You can use it to address the vulnerability, add something new, and so on.
-
moparisthebest
No? That makes no sense
-
wuuko
> moparisthebest wrote: > No? That makes no sense Why?
-
wgreenhouse
as already said, the XSF doesn't write XMPP software. many individual projects do. the XSF discusses [proposed and existing] XMPP standards.
-
moparisthebest
wuuko, you seem to be under the impression that XMPP is a software that the XSF develops or something, and that's full of total misunderstandings
-
wuuko
> Zash wrote: > XEPs <https://xmpp.org/extensions/> evolve, XMPP related software evolves... True one was this
-
wuuko
And if there was a vulnerability of protocol, will it not be fixed?
-
Daniel
the S doesn’t stand for Software?
- Daniel is confused
-
Zash
Thinking of the Jabber Software Foundation?
-
Zash
XSF is The XMPP *Standards* Foundation
-
wuuko
Hmm
-
wuuko
I am thinking
-
wuuko
> I wrote: > And if there was a vulnerability of protocol, will it not be fixed? I'm asking this for continuity.
-
moparisthebest
I *suppose*, a vulnerability in a protocol is a rather abstract thing
-
moparisthebest
xhtml-im was *kinda* cancelled for something similar
-
moparisthebest
https://xmpp.org/extensions/xep-0071.html
-
wuuko
So I *hope* xmpp doesn't interrupt me by not getting an update. Looks like it's getting an update.
-
wuuko
Because I will create server and will stop for many years
-
moparisthebest
again, that makes no sense
-
moparisthebest
xmpp is not a software, it doesn't get an update
-
Zash
XMPP-based software can get updates, which could be related to XMPP / XEP specification updates
-
wuuko
> moparisthebest wrote: > xmpp is not a software, it doesn't get an update Maybe there'll be an error in protocol.
-
wuuko
> Zash wrote: > XMPP-based software can get updates, which could be related to XMPP / XEP specification updates Good
-
Menel
> Maybe there'll be an error in protocol. Sometimes some xeps get updates.
-
wuuko
Thanks!
-
Menel
But as you seldom see "security fixes" for http but many for browsers and webservers, its the same with xmpp and clients/servers
-
Zash
> many for browsers and webservers, understatement of the timeline
-
Menel
Especially browsers. I know. I first thought of mention it, that it is not remotely as bad with xmpp clients.
-
Sam
arc: while you're here, please reach out to me about the fiscal host stuff, your jid was dead for me :)
-
wuuko
> Menel wrote: > But as you seldom see "security fixes" for http but many for browsers and webservers, its the same with xmpp and clients/servers What do you mean, exactly? Why servers and clients are the same for browsers
-
wuuko
Are Clients aren't updating
-
Menel
I compared webbrowsers with xmpp clients.
-
Menel
They are
-
wuuko
I understand
-
wuuko
As a result, I will open a server for a long time interval
-
Zash
Did this page https://xmpp.org/extensions/ live in the xeps or website repo?
-
Zash
> many for browsers and webservers, understatement of the timeline
-
Zash
Does https://xmpp.org/extensions/xep-0060.html#owner-purge-error-nopersist also cover the case where the node has been configured with persist_items=false ?
-
qy
https://xmpp.org/extensions/xep-0066.html#x-oob hey, what clients would implement this in a way that doesnt require the text in x to be the same as the text in body? Cause conversations behaves like that
-
Zash
Mhm.
-
jonas’
> Did this page https://xmpp.org/extensions/ live in the xeps or website repo? website, copying xeplist.xml from the Webserver at build time
-
qy
Zash: do most clients do that?
-
Zash
It's pretty much the unofficial standard now.
-
qy
Why?!
-
Zash
Conversations does it.
-
qy
Oh for goodness sake
-
Zash
That's one way to put it.
-
Zash
jonas’: I had a vision. To steal the column thing from https://modules.prosody.im/ for like the core RFCs and stuff.
-
Zash
But ... I'm going to have to edit the CSS for that, don't I?
-
Zash
Oh how I'd like to throw out pelican and reuse the prosody.im static site generator, so strong.✎ -
Zash
Oh how I'd like to throw out pelican and reuse the prosody.im static site generator... ✏
- wurstsalat giggles
-
wurstsalat
I'd be there to help, if that's happening
-
emus
Zash, wurstsalat: You have my 95% support - 5% left because I actually cannot professionally evaluate 🙈🤡
-
phryk
Hey there. Do you have to be a member of the XSF to improve old or propose new XEPs?
-
Zash
phryk: Hey. No, no such requirement for participantion.
-
Zash
Membership is mostly a formality for the legal organizational stuff. Tho you do need to be a member to be eligible for some positions.
-
phryk
Thanks for the info, nice to hear. :)
-
phryk
Kind of an unrelated thing, but any of you know about anyone ever running XMPP (whether client or server) on a toaster? :P
-
Zash
phryk: That would be Link Mauve
-
phryk
@ Link Mauve, you did? :D Did you post about it anywhere?
-
mathieui
phryk: not an actual toaster, but probably less powerful than any of the """smart""" ones of those days
-
phryk
Yeah, but an actual toaster would make the point so well… ^^
-
qy
So it can message you when toast is done?
-
phryk
Or it just runs a local XMPP service in case the internet breaks, I don't care. :P
-
Zash
Or would it? Producing enough waste heat to toast toast seems like a bad thing.
-
phryk
I secede that point. A fridge running XMPP is also fine. :P
-
Zash
Better than a fridge participating in botnets :)
-
phryk
Hey, maybe that smartfridge botnet did its C&C over XMPP :P
-
qy
You know what might help avoid this conversations-centric landscape? On each XEP on the site, indicate what clients implement it
-
qy
Its remarkably hard to work that information out
-
qy
E.g. wondering if any client implements 0447 or 0385
-
phryk
qv: I recently wrote a python script getting the list of official client DOAPs and rendering a nice unicode table.
-
phryk
https://rnd.phryk.net/phryk/xmpp-utils/src/branch/main/bin/xmpp-doaptable
-
phryk
(needs python modules requests, colorama and prettytable)
-
phryk
aand it seems to imply that no client actually implements 0044 :P
-
phryk
Clients with a known DOAP are limited to Bruno , Conversations, Dino, Gajim, Monal IM, Movim, Poezio and yaxim tho.
-
qy
phryk: very nice!
-
phryk
why, thank you. :)
-
qy
So movim implements 0385 but thats it for both
-
phryk
I have some semi-formed plans on building a suite of modular tools to evaluate some of this stuff, maybe including server compliance stuff, hence the repo name xmpp-utils. :)
-
qy
Yeah
-
qy
Sounds good
-
phryk
Yes, but some info is definitely missing from the DOAPs – Conversations for example doesn't note support for 0454 but it's the very thing that defined that behavior.
-
phryk
(OMEMO'd HTTP uploads)
-
phryk
Mhh, I still wanted to open issues about that particular XEP not being noted for Dino and Conversations…
-
phryk
But I'm currently writing my tractate on why lefties should use XMPP :D
-
qy
Theyre all pretty happy on discord and mastodon i think
-
phryk
Fuck discord, Mastodon I'm on myself. :P
-
phryk
ActivityPub does what it's there for pretty well, I think.
-
phryk
But it's not exactly where the organizing of actions should happen. :P
-
qy
Matrix is pretty big for lefties too iirc
-
phryk
No idea, never liked it. There's still no proper native client on my OS for it and I don't even know if a good native client exists for any platform…
-
phryk
Or *any* native client on any platform… For all I can tell, it might just be electron all the way down… :F
-
qy
There's nheko
-
qy
And some terminal clients
-
qy
But im not gonna encourage matrix use
-
phryk
Oh nice, even a FreeBSD port exists. Now I at least have an alternative that's not completely shitty when some project only has matrix… :F
-
qy
There's always... bifröst 😱
-
qy
Extended your list a bit https://ipfs.io/ipfs/QmSNbiLB1DYKAMMFRaWUbZrDnBcV7u7611sEqzYbrLeB4p
-
phryk
qv if you empty out XEP_LIST it will just show all XEPs it found info on. That also means XEPs not mentioned at all won't show up, tho.
-
phryk
the plan of course is to make this into a CLI parameter, probably with a few predefined sets like noted in https://xmpp.org/extensions/xep-0443.html
-
qy
Oh i just fetched all the ones that have at least one impl
-
qy
Irrritating to read though
-
qy
Everything cool is missing impls
-
phryk
Well, not everything and as I said this info is incomplete because DOAPs is incomplete and many projects don't have DOAPs.
-
phryk
Tho yeah, more implementations would always be nice, especially for stuff like E2E encrypted file transfers and A/V chats. :)
-
qy
I need to implement oob filesharing (http, 0066) for my client, which is why i was reminded of that dumb conversations behaviour
-
qy
Not really sure how i can implement recieving without fetching the file first, which is annoying
-
qy
Im tempted to embed a tiny ipfs server and use that for file storage
-
qy
Oh wait
-
qy
I could reupload it to local server and use that i guess
-
phryk
OOB transfers do HTTP? o_O
-
qy
phryk: https://xmpp.org/extensions/xep-0066.html#x-oob
-
qy
Thats the media sharing used by most clients rn
-
qy
With the added caveat of your body must be just the url alone, because something something inputmice
-
phryk
Oh, so what clients usually do is implement 0363 for the upload and then 0066 to communicate the resulting URL to the recipient?
-
phryk
Mhh, does XMPP have something like a User Agent string?
-
qy
Depends on the context
-
qy
But yes
-
phryk
I have mod_e2e_policy deployed, like the concept but am missing features, am considering what I can implement…
-
phryk
Ideally I want per-user policies, with an initial value of "optional" and an automatic grace period after which that changes to "required". and to extend it to cover file transfers and A/V chats. But also more specific and context-aware messages when something isn't using E2EE.
-
phryk
For that it'd be nice to be able to automatically recommend alternative clients that do support E2EE for the thing that failed. :)