-
lissine
lovetox, cal0pteryx: gajim.org is down; both the website and the xmpp server (and by extension your public channel)
-
cal0pteryx
Thanks lissine
🙏 1 -
edhelas
Someone walked on the powerstrip while going to bed last night.
🤣 1 -
dwd
I have witnessed a cleaner unplugging a rack to do plug in the vacuum, once. Still get shivers.
-
Guus
That's literally a Dilbert comic.
-
Guus
ah no, that was management unplugging the server.
-
Guus
http://www.chillicheese.plus.com/dbert131001.gif
-
dwd
Well, it wasn't a rack in our case, since we didn't have racks - they were too expensive, and most of the machines were tower-cased machines, except Toyota's vast monstrosity. And this was, I think, before Toyota had their machine there. Same office blew the power once and had to power these servers by daisy-chaining four-way adapters from the shop downstairs. Good times.
-
MattJ
For attendees of the upcoming UK sprint, I've created a dedicated MUC for before and during the event: xmpp:uksprint@rooms.modernxmpp.org?join
-
Guus
I'm noticing that in XEP XML files, some XEPs are being referenced by an XML entity (eg `&xep0030;`) while others use a HTML `cite` element (eg `<cite>XEP-0030</cite>`). The latter doesn't seem to do anything with regards to rendering (there's no link to the reference list, for example. Should _all_ references to XEPs be an XML entity?
-
cal0pteryx
I remember there was an open issue about referencing authors by entities, because it was mixed there as well. So I think entities are the way to go
-
Guus
jonas’ I think you did the last rewrite of the rendering. Any thoughts?
-
jonas’
Guus, yes, they should all be entities.
-
Guus
Thanks
-
Guus
I tried to brute-force my way through this: https://github.com/xsf/xeps/pull/1377
-
Guus
Which fails the validation step. I probably messed up.
-
Guus
Do our validation scripts work only when a PR changes exactly one XEP?
-
Zash
Guus, try splitting xep-README.xml xep-template.xml into a separate PR?
-
Guus
Zash, I did that, didn't help
-
Guus
I'm now experimenting with the invocation. I think something is off with multi-file processing
-
Guus
Yeah, it's now less broken (but still broken).
-
Guus
aaah, as I now changed many files, each file will be evaluated, causing failure if something else in that file isn't correct (like a missing approver).
-
Guus
https://github.com/xsf/xeps/pull/1378 fixes part of it.
-
moparisthebest
For mass editorial changes like that it's fine to ignore the tooling failures imho
-
nicoco
Are there restrictions to the string used for the "node" attribute of adhoc commands? Is it a good idea to provide something namespacey like node='https://slidge.im/commands/admin'? Is there a registrar for such nodes, so that clients can maybe provide a less generic UI, such as not using the command "name" (translation, adaptation to potential client-specific terminology)…?
-
Zash
nicoco, https://xmpp.org/registrar/nodes.html ?
-
nicoco
so this could have a new section "adhoc command"? I only see "Nodes for Service Discovery and Publish-Subscribe" right now :)
-
Zash
Heh, > Last Updated: 2004-10-11
-
singpolyma
nicoco: there are no restrictions
-
singpolyma
For something that will be standardized a namespacy thing is good
-
singpolyma
For something local to just one service is doesn't matter at all
-
Zash
Were there even a size limit?
-
singpolyma
No. Unless XML attributes have one
-
singpolyma
JMP uses nodes like "top up account" with the spaces even
-
jonas’
XML attributes don't as per the spec, but parsers might limit them nontheless.
-
nicoco
Thanks. I followed JMP design and actually used the nodes as some sort of "category": "step 1" of the adhoc command is a dataform with a list-single field and actual real commands are the "step 2". This is to avoid having a very long list of commands in most, I guess this was the rationale for JMP as well, right?
-
edhelas
Personally I'd propose to update AdHoc and add a category="Category Title" or something like that in the list
-
singpolyma
nicoco: we use nodes like that because we also have a chatbot and those are the chatbot commands
-
edhelas
And leave the freedom to the client implementer to adapt its UI
-
nicoco
> Personally I'd propose to update AdHoc and add a category="Category Title" or something like that in the list That sounds good to me. ↺
-
singpolyma
> Personally I'd propose to update AdHoc and add a category="Category Title" or something like that in the list Yes this is something we've considered. We don't quite need it yet but our list of commands is pretty long and will probably get longer ↺
-
edhelas
I'm not a big fan of XMPP dictating how I show present things, Forms are "ok", but this is imposing navigations in the clients
-
nicoco
The problem being retrocompat, the current hack using step1 as category works in every client supporting adhoc commands, but for your proposal edhelas we need specific support. It will work without support, but we get back to that ugly long list.
-
edhelas
Maybe I'd prefer to request all the commands and then do my UI/UX flow how I want based on what I have, actually Movim is already using the node= to find a proper icon based on an internal list
-
singpolyma
I think the number of supporting clients is small enough I wouldn't worry about that too much. But if course you're current strategy is also quite fine
-
singpolyma
Oh really? What nodes do you know about to use for icon?
-
MattJ
edhelas, it's not necessarily dictating, you could just treat the category as a hint, and ignore it if you have a better UI
-
edhelas
> Oh really? What nodes do you know about to use for icon? https://upload.movim.eu/files/9d94237298995552fa13436420195fbca436dce7/PZrW1yemD5or/image.png ↺
-
edhelas
Here for example
-
MattJ
But in the absence of knowledge about what the commands are, I would assume that such categories can only help improve the UI
-
edhelas
singpolyma this way of doing also allows me to have nice icons in some forms, like with the toggles
-
edhelas
https://upload.movim.eu/files/9d94237298995552fa13436420195fbca436dce7/CSKKHUGzIIW0/image.png
-
nicoco
These are dataform fields though, it's a related but different thing, innit?
-
edhelas
Yes, that's why I said "way of doing" :)
-
nicoco
You've convinced me that ~standardized node names and this new "category" attribute is a better approach than. I was thinking it's good for translations too but I just realized XEP-0050 already covers that with the iq get xml:lang attribute in theory, I wonder if that's actually implemented by some clients.
-
nicoco
edhelas, do you use that xml:lang attribute when you request adhoc commands?
-
edhelas
Nope, but I could
🆗 1 -
nicoco
(slidge is not going to use it tomorrow, I have nothing started regarding internationalisation right now, but in the distant future, it may be planned if the stars align)
-
Guus
> For mass editorial changes like that it's fine to ignore the tooling failures imho Not sure if I agree
-
moparisthebest
Guus: the tooling specifically ensures each MR only changes 1 XEP etc, which is normally correct, but in the case of a mass search+replace that doesn't change meaning it's harmful, no?
-
moparisthebest
There's no writing the tooling to decide what's a mass editorial search and replace vs not
-
moparisthebest
So human overriding it and merging anyway is the right way imho
-
moparisthebest
That change shouldn't add version numbers and such either imho
-
Guus
moparisthebest: I modified at least one script to be run once for each file changed. That properly validated the files. Validation found valid issues in files that were modified.
-
Guus
Those issues should simply be fixed, in my opinion.
-
moparisthebest
And you are gonna fix them all now?
-
moparisthebest
The validation I suggested ignoring was simply the "one XEP per Mr" one
-
Guus
Going to give it a try, yes
-
moparisthebest
good luck 😄 if it's gonna cause you to give up I'd argue some fixes are better than no fixes at all, last time I tried to mass fix things it took months to be merged 💀
-
Guus
Do we need revision blocks for editorial changes?
-
Zash
Yes! Very detailed, individually composed for each XEP! /s
-
Zash
Is this even editorial if you change some stuff into an entity representing the same stuff?
-
Guus
The rendered output changes.
-
Guus
But I'm now also pushing missing approver elements, etc
-
moparisthebest
imho no revision blocks since nothing is actually changing, things that should have been linked will be, you aren't changing approver, it was always that, but previous tooling didn't enforce however But I know before Kev had differing opinions :)
-
moparisthebest
Guus: oh for context it was merged without version bumps so now there is historical precedent for this exact thing: https://github.com/xsf/xeps/pull/1265
-
Guus
I think that the current PRs fix all remaining validation errors
-
Guus
There's some non-breaking error output when XEP-0384 gets validated that has to do with nesting of certain HTML elements, I think. I'm leaving that for others to address.