taskWeeChat - Tasks: task #12018, /filter based on host/usermask

 
 

task #12018: /filter based on host/usermask

Submitter:  Filip H.F. "FiXato" Slagter <fixato>
Submitted:  Thu 03 May 2012 02:36:13 AM UTC
   
 
Category:  irc plugin Should Start On:  Thu 03 May 2012 12:00:00 AM UTC
Should be Finished on:  Thu 03 May 2012 12:00:00 AM UTC Priority:  * 5 - Normal
Status:  Done Privacy:  Public
Assigned to:  flashcode Percent Complete:  100%
Originator Name:  Open/Closed:  Closed
Planned Release:  1.0 IRC nick:  FiXato
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 12 Apr 2014 09:11:28 PM UTC, comment #2: 

Done, new tag in IRC messages is: "host_xxx" (for example: "host_~user@host.com").
And the function "string_match" now allows wildcard "*" inside mask, so it's easier to filter a hostname.

Sebastien Helleu <flashcode>
Group administrator
Thu 03 May 2012 02:37:46 AM UTC, comment #1: 

and part of my message didn't get through, probably due to broken markup.. So, here it is again:

What about adding tags to messages for these, such as:

usermask_Flashcode@zeta.flashtux.org

and

host_zeta.flashtux.org


Of course, for that to be useful, /filter should also support having the * wildcard in the middle of the tag and not just at the end, so one could do:


/filter add test * host_*.flashtux.org
/filter add test * usermask_Flash*@*flashtux.org


(or perhaps you have a better idea to do this)

Filip H.F. "FiXato" Slagter <fixato>
Thu 03 May 2012 02:36:13 AM UTC, original submission:  

Currently if I don't want to see messages by users from a certain host, I have to use /ignore.
However, this will permanently hide the messages from them, while I'd like to be able to toggle visibility.
So, I looked at /filter, but it doesn't seem to support filtering based on someone's host (zeta.flashtux.org) or usermask (~Flashcode@zeta.flashtux.org).

What about adding tags to messages for these, such as:
+++verbatim+++usermask_Flashcode@zeta.flashtux.org---verbatim--- and +++verbatim+++host_zeta.flashtux.org---verbatim---.

Of course, for that to be useful, /filter should also support having the * wildcard in the middle of the tag and not just at the end, so one could do:


/filter add test * host_*.flashtux.org
/filter add test * usermask_Flash*@*flashtux.org


(or perhaps you have a better idea to do this)

Filip H.F. "FiXato" Slagter <fixato>

 

(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 fixato (Submitted the item)
  •  

    There are 0 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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-08-15 flashcode Open/ClosedOpen Closed
    2014-04-12 flashcode CategoryNone irc plugin
        StatusNone Done
        Percent Complete0% 100%
        Assigned toNone flashcode
        Planned ReleaseNone 1.0

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code