[task #12018] /filter based on host/usermask

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[task #12018] /filter based on host/usermask

Andreas Weber-2
URL:
  <http://savannah.nongnu.org/task/?12018>

                 Summary: /filter based on host/usermask
                 Project: WeeChat
            Submitted by: fixato
            Submitted on: Thu 03 May 2012 02:36:13 GMT
                Category: None
         Should Start On: Thu 03 May 2012 00:00:00 GMT
   Should be Finished on: Thu 03 May 2012 00:00:00 GMT
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
         Originator Name:
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
                IRC nick: FiXato

    _______________________________________________________

Details:

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
(~[hidden email]).

What about adding tags to messages for these, such as:
++++[hidden email]---- 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)




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?12018>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
Weechat-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/weechat-dev
Reply | Threaded
Open this post in threaded view
|

[task #12018] /filter based on host/usermask

Andreas Weber-2
Follow-up Comment #1, task #12018 (project weechat):

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:
++++
[hidden email]
----
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)

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?12018>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
Weechat-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/weechat-dev
Reply | Threaded
Open this post in threaded view
|

[task #12018] /filter based on host/usermask

Andreas Weber-2
Update of task #12018 (project weechat):

                Category:                    None => irc plugin            
                  Status:                    None => Done                  
        Percent Complete:                      0% => 100%                  
             Assigned to:                    None => flashcode              
         Planned Release:                    None => 0.4.4                  

    _______________________________________________________

Follow-up Comment #2:

Done, new tag in IRC messages is: "host_xxx" (for example:
"[hidden email]").
And the function "string_match" now allows wildcard "*" inside mask, so it's
easier to filter a hostname.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?12018>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/


_______________________________________________
Weechat-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/weechat-dev