taskWeeChat - Tasks: task #12189, Add support for NAMESX aka...

 
 

task #12189: Add support for NAMESX aka multi-prefix

Submitter:  Mantas Mikulėnas <grawity>
Submitted:  Mon 30 Jul 2012 01:54:19 PM UTC
Votes:  2  
 
Category:  irc plugin Should Start On:  Mon 30 Jul 2012 12:00:00 AM UTC
Should be Finished on:  Mon 30 Jul 2012 12:00:00 AM UTC Priority:  * 3 - Low
Status:  Cancelled Privacy:  Public
Percent Complete:  0% Assigned to:  flashcode
Originator Name:  Open/Closed:  Closed
Planned Release:  None IRC nick: 
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

Sat 27 Apr 2013 08:21:37 PM UTC, comment #4: 

This is nice (and it means I probably have messed up my earlier tests).

But to finish this, NAMESX or multi-prefix should be enabled automatically when available, since it fixes a bug in the protocol, and there is practically no case where anyone should want to disable it.

Mantas Mikulėnas <grawity>
Tue 23 Apr 2013 07:43:06 PM UTC, comment #3: 

Just tested, it is already working (since at least version 0.3.0): if many prefixes are found for a nick in list of names (with or without multi-prefix enabled), WeeChat will automatically store and use all the prefixes.

Sebastien Helleu <flashcode>
Project Administrator
Sun 13 Jan 2013 01:04:13 PM UTC, comment #2: 

maybe it would be possible to support WHOX /who #channel %nf in case cap/protoctl/handshake namesx/multi-prefix is not available. Just a thought.

Anonymous
Sun 13 Jan 2013 12:31:36 PM UTC, comment #1: 

Just for the record, this is the problem multi-prefix solves:

1. Enable "nick list" in clients A and B.

2. From client A, join channel X.

3. Set both +o and +v for client A.

Client A will show "@user" in nicklist.

4. From client B, join channel X.

Client B will show "@user" in nicklist.

5. From any client, set -o for client A.

With multi-prefix, both A and B will show "+user" in nicklist.

Without multi-prefix, client B will show "user" in nicklist, because it wasn't informed about the "+" prefix.

Mantas Mikulėnas <grawity>
Mon 30 Jul 2012 01:54:19 PM UTC, original submission:  

This is based on task #9353. I'm submitting as this as a separate task since the two extensions mentioned in #9353 are separate as well, and not all servers even support both.

NAMESX is an extension that causes /all/ user prefixes (op, voice, etc) to be displayed in the NAMES reply, instead of just the highest prefix. (The prefixes are always ordered by rank; from highest to lowest.) For example:

:irc.example.tld 353 grawity @ #nullroute :~@+grawity @%grawtest

This avoids confusion when a user has multiple prefixes, and their highest prefix is removed – without NAMESX, the nicklist would show them as having no prefix at all; with NAMESX, the remaining highest prefix can be shown.

  • If CAP is available, request the "multi-prefix" capability during registration. [charybdis, ircd-seven, unrealircd devel]
  • If CAP is not available but RPL_ISUPPORT has the "NAMESX" token, send "PROTOCTL NAMESX" command. (In this case, autojoin needs to be delayed until after the PROTOCTL command is sent.) [unrealircd]
Mantas Mikulėnas <grawity>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by grawity (Voted in favor of this item)
  • -email is unavailable- added by grawity (Submitted the item)
  •  

    There are 2 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-05-20 flashcode Open/ClosedOpen Closed
    2013-04-23 flashcode StatusNone Cancelled
        Assigned toNone flashcode
    2012-09-24 grawity Carbon-Copy- Added grawity

    Back to the top


    Powered by Savane 3.9