Giter Club home page Giter Club logo

Comments (11)

Techman avatar Techman commented on May 26, 2024

I don't know why clients would not forward commands that they don't process themselves anyways. It would be interesting to hear some insight on why some client authors made such a decision.

from ircv3-specifications.

SadieCat avatar SadieCat commented on May 26, 2024

In the case of Pidgin I think it's a technical limitation (NOTE: Pidgin is an IM client not an IRC client).

from ircv3-specifications.

Mikaela avatar Mikaela commented on May 26, 2024

I don't know why clients would not forward commands that they don't process themselves anyways. It would be interesting to hear some insight on why some client authors made such a decision.

@flashcode from weechat/weechat#242 (comment) :

There is certainly not security issue by not sending unknown commands. I would even say that the security issue would be to send them: that would mean if you mispell any WeeChat command on a channel, it would be sent to the server, which is bad IMHO.

from ircv3-specifications.

Heufneutje avatar Heufneutje commented on May 26, 2024

Is it really necessary to enforce this? Most clients already do this and for most clients that don't it's not too hard to set up...

from ircv3-specifications.

Mikaela avatar Mikaela commented on May 26, 2024

Is it really necessary to enforce this? Most clients already do this and for most clients that don't it's not too hard to set up...

Most of users don't know how to do this and it's tiring to always explain how to set up with one specific client.

IRC is currently talking about ISUPPORT token, but that seems difficult.

from ircv3-specifications.

Heufneutje avatar Heufneutje commented on May 26, 2024

Fair point. Alright.

from ircv3-specifications.

M2Ys4U avatar M2Ys4U commented on May 26, 2024

IMO this is out of scope for IRCv3; It's not a protocol issue.

from ircv3-specifications.

clokep avatar clokep commented on May 26, 2024

I don't know why clients would not forward commands that they don't process themselves anyways. It would be interesting to hear some insight on why some client authors made such a decision.

Instantbird/Thunderbird do not do this, and I'm unsure how much work it would be to add this. It is not clear to me why you'd want to do this though. There's probably a few reasons we don't support this:

  1. We (attempt to) preprocess commands before they're sent, e.g. /mode +X foo would get send as MODE #currentChannel +X foo, while /mode #foo +X bar would get sent as MODE #foo +X bar.
  2. We provide syntax help messages for supported commands. (And tab completion of commands.)
  3. We have local commands that influence the state of the running program and shouldn't be sent to the server, e.g. the /help command, the /about command to open the advanced configuration window, etc. I guess you could check the list of supported commands first and then send it, but I feel like that could lead to surprising results, sometimes (or leakage of information).

Much more user friendly, IMO. We do provide a command (/quote) that allows a user to send raw commands to the server. I believe that this handles the WeeChat concerns above (i.e. you explicitly choose to send commands to the server).

(NOTE: Pidgin is an IM client not an IRC client)

This shouldn't make any difference, I could turn this around and say "an IRC client is an IM client"...

Regardless, this seems entirely about client UI design: totally out of the purview of protocol design.

from ircv3-specifications.

attilamolnar avatar attilamolnar commented on May 26, 2024

Out of scope for IRCv3. Clients are not even required to have commands to begin with.

from ircv3-specifications.

meebey avatar meebey commented on May 26, 2024

This PR proposes a feature that is not a protocol issue but the current implementations of that said feature varies from client to client because there is a protocol issue hidden in it.

Smuxi used to send unknown/unhandled commands to the IRCd as IRC command. I had to revert this behavior when scripting support was added to Smuxi to write your own commands (in a shellscript or whatever as it is language agnostic). The problem is processing the user command and decide if control should be passed to a) the IRCd b) scripts. I initially wanted to let the IRCd first process the command and if that fails continue with a scripted command. Here comes the catch of the IRC protocol, there is no reliable and generic way to tell if a command was processed or not.

from ircv3-specifications.

Mikaela avatar Mikaela commented on May 26, 2024

#112 is the ISUPPORT thing which was proposed on IRC as better way to do this. It also has the logs.

from ircv3-specifications.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.