-
edhelas
I'm planning to write a small XEP named Pubsub Payload Hash, the title should be quite self explanatory, it's to introduce a small optimization in Pubsub to prevent clients to request the same payload twice on an item in case of an update.
-
edhelas
It will be linked with the Stories and Pubsub Items Acknowledgement that are introducing metadata at the Pubsub item level
-
edhelas
I was wondering if there is a proper way to declare a hash element in a XMPP stanza beforehand
-
Guus
Something like XEP-0300 edhelas ?
-
Guus
(I never used it myself, I have no first hand experience)
-
flow
edhelas, there is prior-art wrt to pubsub item hash in https://xmpp.org/extensions/xep-0395.html#cap-v✎ -
flow
edhelas, there is prior-art wrt pubsub item hash in https://xmpp.org/extensions/xep-0395.html#cap-v ✏
-
flow
reading the xep today, i think the name cap-value was poorly choosen by me, something like item-hash would be better
-
flow
or maybe even item-payload-hash, to make it clear that the has value is calculated exclusively over the payload and no other item metadata
-
edhelas
> reading the xep today, i think the name cap-value was poorly choosen by me, something like item-hash would be better Indeed ↺
-
edhelas
Si looks like I'll do something redundant with 0395✎ -
edhelas
So looks like I'll do something redundant with 0395 ✏
-
flow
edhelas, happy to change the name (and potentially other aspects of xep395) and potentially factor it out collaboratively with you into a standalone "pubsub item payload hash" xep
-
edhelas
I'd prefer personnally to put the hash directly at the item level indeed
-
edhelas
<item><payload-hash/></item> or something like that, then it could be pushed easily along Pubsub headlines
-
flow
edhelas, I am not sure if this will work or that this is sensible. but maybe we need to make even one step back: who do you envision to calculate the hash?
-
edhelas
Hash the entry serialized XML ?
-
MattJ
π¬
-
MattJ
One doesn't simply hash XML
-
edhelas
Time to write a XEP for it then π¬ Reproducible XML serialization
-
MattJ
https://en.m.wikipedia.org/wiki/Canonical_XML
-
MattJ
I think it would be better, if possible, to do something like HTTP's opaque ETags
-
edhelas
Or maybe the Atom timestamp could do it for now
-
edhelas
If somehow I can put it as a item metadata
-
MattJ
Which brings us to https://xmpp.org/extensions/xep-0312.html
-
edhelas
β€οΈ
-
flow
edhelas, basically what I was heading at is that the pubsub service should do the hash calculation, then it has not even be an actual hash value, but, as MattJ already hinted, something similar to ETags or a generation counter
-
edhelas
"XMPP, don't worry, we got you covered, There's a XEP for That β’ "
-
edhelas
> edhelas, basically what I was heading at is that the pubsub service should do the hash calculation, then it has not even be an actual hash value, but, as MattJ already hinted, something similar to ETags or a generation counter Actually yes that was my idea, its doesn't even need to be an actual reproductible hash by the client, but more a unique Pubsub paydoad identifier ↺
-
edhelas
Maybe Hash was not the best word for it
-
edhelas
I'm discovering ETags indeed :)
-
flow
ok, then the pubsub server assigns this "tag" value. this, in turn, means that you don't need to shove it into <item/>, which IMHO would be a questionable approach in the first place
-
MattJ
Would it be useful for clients to receive a server-provided spam flag/score on incoming messages? (and probably presence subscriptions)
-
MattJ
https://xmpp.org/extensions/xep-0287.html#spim-marker went in this direction
-
Fishbowler
> ok, then the pubsub server assigns this "tag" value. Hash / tag needs to be lightweight? Considering a DoS where sending a stanza to a server infers far more work on the server than the sending did.
-
goffi
MattJ: yes, and it would be useful to provide it at gateway level too (thinking about the email gateway I'll be working on later this year).
-
alom
Does anyone know how to mention all users in a MUC? I need this for a private group am hosting. I cant find an answer to this. Sorry if am asking in the wrong place :)
-
singpolyma
alom: most clients do not support it but there is a xep for "attention" that I use for thir✎ -
singpolyma
alom: most clients do not support it but there is a xep for "attention" that I use for this ✏
-
alom
singpolyma: Thank you so much! I dont need to mention their name specifically, the goal is to give a notification to all of something posted to the MUC. So maybe the "attention" solution will fit :)
-
singpolyma
If you want to test it Cheogram Android client has this feature if you start a message with @here
-
alom
singpolyma: Ok great, I will test thatπ Am using the app "Conversations" now on Android. If I like this feature, is it possible to add support for it on the Conversatons app through a plugin for example?
-
singpolyma
It would be a patch, but if you like conversations then Cheogram should feel very natural as they are based on mostly the same code
-
gooya
Is there any xep for pinning messages in muc's?
-
alom
singpolyma: Thank you so much, you really helped me a lot! :)
-
singpolyma
gooya: just one, the subject, and it's generally only text
-
MSavoritias fae.ve
> Is there any xep for pinning messages in muc's? there is none
-
MSavoritias fae.ve
afaik
-
gooya
> Is there any xep for pinning messages in muc's? I wonder if there is enough interest in the community for such a thing. I never really noticed it wasn't there until someone pointed out that xmpp was lacking it. It is probably a huge hassle to implement client and server wise? And unsure whether there is a big enough need for it? ↺
-
edhelas
Wondering how it can be done properly indeed
-
MSavoritias fae.ve
people have expressed interest before
-
MSavoritias fae.ve
i would aim for telegram/twitch pinned messages as a goal personally
-
edhelas
Also a lot of clients doens't implement a "click to go to the place in history" UI/UX, it's difficult to do properly afaik
-
gooya
> i would aim for telegram/twitch pinned messages as a goal personally I like telegrams way of pinning indeed ↺
-
singpolyma
> Also a lot of clients doens't implement a "click to go to the place in history" UI/UX, it's difficult to do properly afaik this is needed even without pinning though
-
MSavoritias fae.ve
idk what discord does
-
singpolyma
pinning messages is always on my radar, but so far no one has actually needed it for anything so I didn't do it yet
-
MSavoritias fae.ve
i expect it to come for the peertube chat at sooner or later
-
singpolyma
Well, once someone has a use for it then we can ask what they actually want to accomplish and find out if pinned messages is the best way to get that UX or if something else will help better
-
singpolyma
Like some platforms only allow a single pinned message anyway, at which point we have that now
-
gooya
I feel like there are a lot more important features/fixes to be implemented in xmpp. Message pinning is probably not a high priority, but shouldn't we come up with some kind of way on collecting data/survey info regarding most willed features/fixes/idk. Whenever there is something which could be improved the answer is always 'people expressed interest'. Would be cool if there was a way to submit and vote for ideas to better track popularity of features etc
-
MSavoritias fae.ve
that wont help much. because we are missing developers
-
MSavoritias fae.ve
and designers
-
singpolyma
gooya: I guess clients get feature requests on a regular basis which is kind of how this voting happens now
-
MSavoritias fae.ve
a lot of them. even if we knew what features to add
-
MattJ
Yes, users need to request to client developers, client developers have to make it happen. Most open-source client developers are not working full-time on their clients.
-
MSavoritias fae.ve
also people who use xmpp for not tech talk imo
-
singpolyma
the hardest part is figuring out if someone asks for something because they actually want it, or because they think someone else might want it
-
MattJ
If client developers need additional protocol, that's where the "XMPP" part comes in
-
gooya
> gooya: I guess clients get feature requests on a regular basis which is kind of how this voting happens now Yeah but some idea's/implementation are a collective effort. e.g. better moderation tools. One client will unlikely adopt better/newer moderation tools if it only support their client. If that makes sense. ↺
-
gooya
> the hardest part is figuring out if someone asks for something because they actually want it, or because they think someone else might want it Hence the collecting of data/votes on a somewhat larger scale ↺
-
MSavoritias fae.ve
makes sense yeah
-
singpolyma
If you have concrete ideas for better moderation tools I didn't add yet I'm happy to be the first to add them ;)
-
flow
Fishbowler, a generation counter is pretty lightweight, the pubsub service could simply increment if an item is updated (even if it structually didn't change its content)
-
gooya
> If you have concrete ideas for better moderation tools I didn't add yet I'm happy to be the first to add them ;) Ohh I wrote a long ass message when the spamwave was going on a few months ago. I'll look for it ↺
-
MSavoritias fae.ve
for moderation i am writing a paper to see what is needed btw. so any more ideas welcome
-
MSavoritias fae.ve
ideas is just one of the steps. and then i plan to write some actionable stuff xmpp/clients can do to be better
-
MSavoritias fae.ve
> > If you have concrete ideas for better moderation tools I didn't add yet I'm happy to be the first to add them ;) > Ohh I wrote a long ass message when the spamwave was going on a few months ago. I'll look for it i would be interested too to add it to the paper. :) if you have anything
-
gooya
https://share.loqi.im/upload/de9ecdd7-df4b-493e-8eb0-3474934f2003/zb2rhYq6whsjnVBTfgspVn97mNaS7mfAesLxg4FKtHQ2FKJzU.jpg
-
gooya
MSavoritias fae.ve, singpolyma:
-
gooya
The only related message I could find
-
MSavoritias fae.ve
yeah moderation pannel sounds like a great idea
-
singpolyma
gooya: ah, so you're talking about users flagging a message in-muc to moderators
-
MSavoritias fae.ve
at all xmpp layers. server, group chats and individual
-
gooya
Yes. In contrast to the usual pinging
-
gooya
would be nice for 1:1 too but for muc's it would be a big help for moderating
-
singpolyma
not sure what it would do in 1:1 ?
-
gooya
Imagine 4 moderators in a muc. All in different timezones. instead of a user pinging moderator (who is possibly inactive) to notify about spam. They can report it and the all the mods get a notification about the new report. Once someone deals with the report they can dismiss it so the other mods won't have to read/act again. No more pinging mods. No more reading back the whole conversation with possibly over 100s messages.
-
gooya
> not sure what it would do in 1:1 ? 1:1 spam attacks, report the user to the server admin ↺
-
Daniel
>> not sure what it would do in 1:1 ? > 1:1 spam attacks, report the user to the server admin This already works
-
pep.
gooya, yeah the report-to-mods mechanism you're talking about is something I'd like to have too
-
gooya
> gooya: ah, so you're talking about users flagging a message in-muc to moderators singpolyma, Isn't this kind of a chicken-egg problem? Who will be the first to implement such a feature, server devs or client devs? XEP-0377 only concerns about 1:1 and not MUC's?
-
pep.
gooya, 0377 doesn't concern itself with anything, it just defines a format no?
-
pep.
That can be sent in any message
-
pep.
So one "just" needs to use it in MUC
-
alom
singpolyma: Hello again, I installed and setup Cheogram with an account. But am not able to make the @here "attention" function work to notify my Conversations client. Did you mean it only works across Cheogram clients and that its not enough that its being sent from a Cheogram client?
-
singpolyma
>> gooya: ah, so you're talking about users flagging a message in-muc to moderators > singpolyma, Isn't this kind of a chicken-egg problem? Who will be the first to implement such a feature, server devs or client devs? XEP-0377 only concerns about 1:1 and not MUC's? You speak as though these are naturally disjoint groups π ↺
-
singpolyma
alom: correct
-
alom
singpolyma: Ok, thanks againππ
-
moparisthebest
Alex: memberbot broken or ignoring me? :'(
-
Zash
Looked offline a moment ago? Good thing I already voted :)
-
moparisthebest
I don't think I've ever missed a vote I'd hate to break a streak lol
-
Seve
This time I voted thanks to the reminder, I try to do it before that but I must admit defeat this time
-
Alex
checking memberbot now
-
Alex
memberbot is back and should accept your votes now
-
moparisthebest
Worked! Thanks Alex
-
Alex
we are at 40 voters now. Lets see if we can get more before the meeting starts soon
π³οΈ 1 -
Alex
checking the voters to finalize the Agenda, then we should be able to start in 3 minutes with our member meeting
-
Kev
Thanks Alex, as always :)
-
Alex
okay, lets start
- Alex bangs the gavel
-
Alex
here is our Agenda for today: https://wiki.xmpp.org/web/Meeting-Minutes-2024-03-05
-
Alex
1) Call for Quorum
-
Alex
as you can see 41 members voted via proxy. So we have a quorum
-
Alex
we have 53 members currently when I counted correct ;-)
-
Alex
2) Items Subject to a Vote
-
Alex
new and returning members. You can see all applicants here: https://wiki.xmpp.org/web/Membership_Applications_Q1_2024
-
Alex
3) Opportunity for XSF Members to Vote in the Meeting
-
Alex
any members here who have not voted yet?
-
Alex
Memberbot is still online
-
Alex
looks like there are none
-
Alex
then I will shutdown the bot and start counting
-
moparisthebest
77.4% voter turnout is the best I recall, good work everyone :D
-
Alex
ya, pretty good
-
Alex
okay, drumroll
-
Alex
4) Announcement of Voting Results
-
Alex
when you reload the page at: https://wiki.xmpp.org/web/Meeting-Minutes-2024-03-05#Announcement_of_Voting_Results you can see the results
-
Alex
all applicants and reappliers are accepted. Congrats to everyone
-
arne-bruen
π
-
Alex
5) Any Other Business?
-
Alex
looks like there is none
-
Alex
6) Formal Adjournment
-
Alex
I motion that we adjourn
-
Alex
need someone to second ;-)
-
flow
Thanks Alex
-
flow
moparisthebest, otoh, your member count feels a bit lowβ¦
-
flow
but at least those who are members largely voted
-
Mari0
thank you for voting for me, I will do my best :-)
-
Guus
seconded!
-
arne-bruen
Thanks Alex. Welcome Mario
-
Alex
Thanks Guus
-
Mari0
Thanks Alex
-
Mari0
and arne-bruen, :-)
-
Guus
Welcome aboard, Mari0 :)
-
Guus
Thanks, as always, Alex
-
moparisthebest
flow: Alex said 41 of 53
-
Mari0
Guus, thx
-
Alex
PR for Mario: https://github.com/xsf/xmpp.org/pull/1353
-
nicola
Hi all! Thank you everyone. Congratulations to all members. A warm welcome @Mari0 π
-
Mari0
nicola: thank you! π
-
Guus
This is a long shot, but: does anyone happen to know what Trillian ("Astra") from 2009 requires from a server to connect? Or, alternatively, how to enable debug logs / capture an XMPP stream?
-
Kev
Guus: Talk to your XMPP server devs and work out how to get telemetry on the server side? :)
-
Guus
Does someone know a good XMPP server dev?
-
moparisthebest
Is it a TLS error? If TLS is involved I'd immediately assume yes
-
Guus
``` Connection to JABBER has failed: system errorcode β0β. *** You have been disconnected. ```
-
Guus
That's all I got told by the user :)
-
Alex
Mari0, you should have received an invite to our mailing list
-
Mari0
Alex: on a train I'll accept invitation asap
-
Alex
I think I accepted it already for you
-
Mari0
Thank you π
-
moparisthebest
Guus: does the server require TLS though
-
Guus
moparisthebest: likely
-
Guus
moparisthebest: yathzee: `Client requested protocol TLSv1 is not enabled or supported in server context`
-
Kev
Victory.
-
moparisthebest
Excellent, if it's not DNS it's an ancient client that can't do modern TLS π€£
-
moparisthebest
Guus: can that client do plain no-tls with a manually configured host/port ? If so they can run xmpp-proxy anywhere and connect to it's client port
-
Guus
moparisthebest: I don't know. Openfire allows one to enable old TLS versions through its admin console though, so it's easily rectified.
-
moparisthebest
ew that's pretty bad though
-
Guus
You're not our intended audience :)
-
Zash
Please tell us you're building a museum and that it is airgapped from the rest of the internets.
-
Zash
Lie if you must
-
Guus
I mean I also have a NonSaslAuth plugin, if you really want to be worried about something :)
-
Guus
Zash ... it's not me who's building that, but... yes?
-
moparisthebest
Guus: presumably they want TLS for encryption guarantees though and known broken versions don't really provide that :/
-
moparisthebest
Whatever they want to do I guess but I'd never recommend exposing TLS 1.1 on the internet
-
Zash
Non-SASL login did have combined auth and resource binding, which we're going back to with SASL2 :)
-
moparisthebest
sasl isn't even needed over good TLS so that's fine /unpopular-opinion :D
-
Guus
Can't find the exact link, but these guys are running XMPP on ... museum-worthy hardware: https://system7today.com/
-
Menel
moparisthebest: then don't check TLS versions of jabber.org πΌ
-
moparisthebest
ππ
-
Guus
also: https://soapboxrace.world/
-
emus
> also: https://soapboxrace.world/ it uses xmpp? or what was the point? ↺
-
emus
Congrats everyone for Q1 ππ
-
Guus
Yeah, there's XMPP in there, somewhere. I once worked on an Openfire plugin for them
-
Guus
jabber:browse maybe? or nonsasl, jabber:agent - somesuch
-
emus
thx