-
edhelas
Hi everyone :) I might do some work soon on XEP-0372: References in Movim. I did a while ago a PR to complete and clarifiy some things in it there https://github.com/xsf/xeps/pull/1281
-
edhelas
Do not hesitate to put comments and feedback if there is things that you would like to see/change in it
-
edhelas
The idea would be to add support for @nickname in chatrooms messages in Movim to start with
-
Seve
Made this module for Prosody a while ago for References https://modules.prosody.im/mod_muc_inject_mentions.html might need to check out that PR 😀
👍 1 -
singpolyma
I plan to do something with references too in coming months, so will check it out. I'm hoping to use @ as part of the UI but not as part of the body text
💯️ 1 -
edhelas
> I plan to do something with references too in coming months, so will check it out. I'm hoping to use @ as part of the UI but not as part of the body text Yes, that was also my goal, @ is only there to trigger the JS-html-menu thing, in the end only the nickname is sent on the wire (then the <body/> looks the same)✎ ↺ -
edhelas
> I plan to do something with references too in coming months, so will check it out. I'm hoping to use @ as part of the UI but not as part of the body text Yes, that was also my goal, @ is only there to trigger the JS-html-menu thing, in the end only the nickname is sent on the wire (then the <body> looks the same) ✏ ↺
-
edhelas
> I plan to do something with references too in coming months, so will check it out. I'm hoping to use @ as part of the UI but not as part of the body text Yes, that was also my goal, @ is only there to trigger the JS-html-menu thing, in the end only the nickname is sent on the wire (then the body looks the same) ✏ ↺
-
edhelas
And I also add back the @ when generating the message in my UI
-
lovetox
Nickname ?
-
lovetox
I would send the occupant id
-
lovetox
Otherwise we run again into situations where something is mapped to the wrong user
-
singpolyma
In the context of a semi-anon chat is there much difference though? it's about what user will get the "ping" which is already commonly done by plain-text nickname on the whole network
-
lovetox
Yes the difference is huge, one is a bad workaround which uses non unique identifiers, and the other one is a proper solution.
-
singpolyma
I guess it depends what you think the feature is meant to do
-
singpolyma
If it's meant to notify a particular nickname then by nickname seems more correct to me
-
lovetox
? a client knows it's nickname and occupant id
-
moparisthebest
I actually find it highly annoying and confusing when a message highlights me but doesn't have my name in it, that could be the crusty old IRC user in me coming out though
-
lovetox
Where is the difference for you?
-
MSavoritias fae.ve
My two cents sending the occupant-id and mapping everything to that seems like a much better solution than scanning all text in the chat for a nickname that may or may not exist next week.
-
edhelas
singpolyma the goal was to move the Mentions things in a specific XEP, pep. worked on it during a sprint with me
-
edhelas
The thing is that in that XEP, mentions were kinda incomplete and blurry
-
edhelas
We wanted to have a proper urn:xmpp:reference:mention:1 or something that clearly explain how to mention someone in a MUC, anonymous MUC, in a MIX channel ...
-
edhelas
So for example the occupant id thing will then be specified in that new XEP, and References stays generic enough
-
edhelas
That's also why we bumped it
-
larma
I'd like to point out that mentions is two things in my head that often come together but should be technically unrelated: - Notify one or multiple users (or all in a MUC or admins of a MUC or maybe people with a specific hat in a MUC) - Markup to have a username displayed nicely (e.g. with option to click on it like a link to see details) when it appears in a message.
-
lovetox
+9✎ -
lovetox
. ✏
-
edhelas
We added hreflang (optional) attribute, make URI optional as well, clarifiy the difference between the anchor and URI
-
edhelas
This is to me enough to bump the namespace
-
edhelas
Knowing that References can also by used for totally different purposes, for example referencing a Pubsub item in a message
-
edhelas
To me I'd prefer to have a generic References XEP that just explain how to point to something in XMPP and then have more specific XEPs to specificy the use cases, for example a Nickname Quoting Reference
-
singpolyma
If you split the xep will be weed a registry for the "type" attribute?✎ -
singpolyma
If you split the xep will be need a registry for the "type" attribute? ✏
-
edhelas
I'm not sure
-
edhelas
I was thinking of something similar as https://xmpp.org/extensions/xep-0472.html#profiles
-
larma
edhelas: for which of the two usecases I mentioned do you envision to use references? The markup or the notify?
-
singpolyma
larma: how do you see them as different?
-
edhelas
Actually I wanted to start just with the second one, just having nice @ quoting
-
edhelas
But we had in mind hats and quoting as well
-
edhelas
So you could also do @admin @all etc...
-
singpolyma
I have @here already. I'm no sure those are the same because there's nothing to link to
-
edhelas
That's actually why the URI was made optional
-
larma
singpolyma: With encryption you might want to do the notify outside the encryption but markup should always be encrypted. Also you might want to reference a person without notifying them, e.g. when you talk about but not with them
-
singpolyma
URI has been treated as optional forever anyway because of sims
-
edhelas
Just to give some precisions, Movim currently implement references in messages when you share some Pubsub items (articles in Movim) in a chat message. Implementation there https://github.com/movim/movim/blob/master/app/Message.php#L418
-
nicomuc
edhelas: pep started working on this too: https://bouah.net/specs/mentions.html
-
singpolyma
Hmm, this idea of "extending" an element by adding un-namespaced attributes to it seems very problematic to me. Why not use a child element in that case as we do for sims?
-
singpolyma
Right now I use https://xmpp.org/extensions/xep-0224.html for what this protoxep defines urn:xmpp:reference:mention:1#channel for
-
singpolyma
I also obviously don't like the hard dependency on occupant id :P
-
edhelas
> edhelas: pep started working on this too: https://bouah.net/specs/mentions.html Yes, that was what I was talking about :) ↺
-
lovetox
> Also you might want to reference a person without notifying them sounds over engineered to me, are there any IM solutions that give the user choice over this destinction?
-
lovetox
but yes a valid point, it should be considered in the XEP design process if the data needs to be processed by the server
-
lovetox
should we consider a reference private metadata which needs to be encrypted?
-
lovetox
then it should certainly not mixed with non-private content which needs to be processed by the server
-
lovetox
on another note, can we have another review of https://github.com/xsf/xeps/pull/1270
-
lovetox
- Change gets rid of fastening - Change moves the id attribute into the retract element
-
lovetox
And defines origin-id must be used, and stanza-id in MUC
-
lovetox
for me this looks good, but if anyone has doubts please voice them, so we can get this merged
-
lovetox
Message moderation depends on this change
-
MattJ
lovetox: posted to standards@?
-
lovetox
is the webinterface up?
-
lovetox
can i subscribe, can i look through threads
-
lovetox
otherwise, i rather not
-
stpeter
We are still working to reinstate the web interface. In the meantime, I can add subscribers via Python instructions at the command line if needed. ;-)
-
lovetox
i would appriciate it if you could add philipp@hoerist.com to jdev and standards
-
lovetox
thanks
-
stpeter
OK!
-
stpeter
lovetox: apparently that email address is already subscribed to standards, but I added it to jdev
-
stpeter
lovetox: if you do not receive email messages from the standards@ list, perhaps you disabled delivery?
-
stpeter
bbiab
-
lovetox
i received nothing in months
-
lovetox
how can one disable delivery?
-
lovetox
hm no ignore me
-
lovetox
i changed email provider, and didnt migrate my rules to put them into the correct folder
-
lovetox
everything good, thanks
-
lovetox
so whats the process for merging a PR?
-
lovetox
can it put on some agenda?
-
Kev
Editor will get around to it eventually.
-
Kev
Otherwise feel free to help find someone to do the Editor job properly.
-
lovetox
Is there somewhere a description of the job?
-
lovetox
i see XEP-0001 probably
-
Kev
There's process docs for most things in the xeps repository.
-
Kev
It's mostly "Process PRs, forward things to the appropriate Authors/Approving bodies, act on outcome, run some scripts to push updated builds".
-
Kev
An hour or two a week would do a good job of it, I'm just struggling to carve out anything like that much.
-
lovetox
hmmm
-
lovetox
and you are currently the only Editor?
-
Kev
Effectively.
-
Kev
I'm just trying to keep things ticking over until we can find a more permanent replacement.
-
moparisthebest
The answer is more automation and less "well the current editor is ok with running these scripts manually"
-
moparisthebest
For some reason we are too afraid of that though
-
Kev
Honestly, the scripts aren't so much the issue for me at the moment. It's the actual processing of the PRs based on the output of the scripts.
-
Kev
Like shoving version blocks in when PR authors don't, or fixing them, or ...
-
moparisthebest
Right, so GitHub actions should run the scripts and do the processing?
-
moparisthebest
Scripts can just fail saying the author needs to do that etc etc
- Zash sheds a tear over Github-centricness of everything
-
Kev
More automation would be a good thing. Just saying that it's not so much the script bit that's the biggest pain point for me.
-
moparisthebest
Zash: the scripts are just scripts at least
-
Kev
But, equally, if the scripts *immediately* told the author to add a version block, etc., that might make life better.
-
Kev
It's unhelpful for me to wait a month, and *then* tell someone to add a block.
-
moparisthebest
Kev: maybe not a problem for you, but 100% the problem preventing more editor volunteers
-
moparisthebest
Want to be an editor? Ok great, well we have no explanation of what needs done or how to do it, thanks!
-
moparisthebest
We have some outdated documents and manual scripts though, have fun!
-
lovetox
moparisthebest, why are you saying that, https://github.com/xsf/xeps/blob/master/docs/ has much info on what to do
-
lovetox
but yeah, setting up CI checks for something like version blocks should be not much work
-
lovetox
do i read xep-0001 correctly, that once a author has a published experimental XEP, he can push changes without anyone approving?
-
moparisthebest
Very outdated, doesn't even mention the scripts that automatically check all that (not that it should... CI should just apply the tags automatically)
-
lovetox
hm so what is needed is not actually a new editor, its improving the tools, which is a way smaller job, time capped, and can be done by probably many people
-
lovetox
did someone try to list the things that need automation, and just ask if someone willing to implement them?
-
lovetox
or was it until now expected that the editor does this himself
-
singpolyma
There was a bunch of discussion about it late last year, which I thought had led to some improvements, but maybe it just led to us choosing a new victim
-
moparisthebest
In theory yes, in practice someone writes the scripts and can't get reviews for months and then can never get approval to integrate running them automatically ;)
-
moparisthebest
(hence my complaints)
-
lovetox
is not only the editors approval necessary? i mean its his job that gets automated so his responsibility that the scripts work
-
Kev
Tooling was improved significantly end of last year, primarily by moparisthebest writing a script that would check a PR, and then me early this year writing a script that would run a complete Editor 'session' of reviewing PRs in order and publishing artifacts.
-
Kev
So things got much better. They can be better still.
-
moparisthebest
That's great but basically locks you into being the only possible editor
-
Kev
Whyso?
-
moparisthebest
What about just making those scripts run automatically and apply tags to PRs ?
-
Kev
Yes, that would be better.
-
Zash
Any thoughts on pre-commit hooks? Opt-in, but there's tooling to automate automatically automating pre-commit automatic checks :)
-
moparisthebest
Any downsides to doing this? I feel like worst case some tags get applied wrong
-
Kev
I'm off for the night. o7
-
moparisthebest
If you would consider the automatic tag applying, as much as I hate playing with GitHub actions, I'll give it a go But if you don't want it I don't want to waste time, let me know :)
-
lovetox
Kev, im willing to try it, though i think this will mean you probably would have to train me, if this is of interested ping me.
-
moparisthebest
I'm also willing but not until after all automation that makes sense to do has been done :D
-
MSavoritias fae.ve
Sounds to me we just in a person with merge rights to the repo to just merge everything moparisthebest is writing and we can have editors after :)
-
moparisthebest
There will always be some manual checks but the ones that can be automated should be imho
-
lovetox
moparisthebest, im not yet understanding the dynamics of this situation, the editor has merge rights, become the editor and merge any automation that eases the job
-
lovetox
who would stand against that?
-
lovetox
its the job of the editor to do this things as statet in XEP0001
-
lovetox
nothing is said about the tools you need to use for it
-
moparisthebest
Really an editor team discussion though, not something one should do unilaterally
-
lovetox
the editor team member count is 1, as i understood it :d
-
lovetox
Anyway, i see you are motivated to improve the situation, but feels like dancing around something that is not spoken out. Who is preventing you to do the automation work and why? then we can discuss it and hopefully find a resolution.
-
moparisthebest
That's why I'm asking Kev, he said he didn't want it before
-
moparisthebest
Oh this could come in handy https://github.com/nektos/act
-
Kev
I don't remember being anti-automation, although I may have said I thought the script should bed in before being run automatically? I don't know. Anyway, I'm not opposed to automation.
-
Kev
Even if it turns out I once was for some reason.
-
Kev
Bed. o7