Enhancement: Disable smart filter per channel #17

Closed
purpleears opened this Issue Mar 11, 2014 · 5 comments

Comments

Projects
None yet
5 participants
@purpleears

Currently alt + = only disables smart filter globally. Support for quickly and temporarily enabling and disabling smart filter per channel/buffer would be excellent! Thanks.

@flashcode

This comment has been minimized.

Show comment
Hide comment
@flashcode

flashcode Mar 11, 2014

Member

Would you like to disable all filters in one buffer (so smart filter + any other filter if you have), or be able to disable only one filter in one buffer?

Member

flashcode commented Mar 11, 2014

Would you like to disable all filters in one buffer (so smart filter + any other filter if you have), or be able to disable only one filter in one buffer?

@Mikaela

This comment has been minimized.

Show comment
Hide comment
@Mikaela

Mikaela Mar 11, 2014

Contributor

Probably just alt + =. What is the official definition of what it does?

Contributor

Mikaela commented Mar 11, 2014

Probably just alt + =. What is the official definition of what it does?

@purpleears

This comment has been minimized.

Show comment
Hide comment
@purpleears

purpleears Mar 11, 2014

Disable all filters in a single buffer. Currently alt + = disables all filters globally. This can get confusing for operators dealing with ban evaders who may come in the channel, not speak, so joins get filtered. If you turn the filter off because you need it off during a time when a person is ban evading, while you are working in say #freenode with 1300 people with massive amounts of joins/parts/quits, it would be very nice to have a shortcut key to disable all filters on a single buffer, instead of globally.

Disable all filters in a single buffer. Currently alt + = disables all filters globally. This can get confusing for operators dealing with ban evaders who may come in the channel, not speak, so joins get filtered. If you turn the filter off because you need it off during a time when a person is ban evading, while you are working in say #freenode with 1300 people with massive amounts of joins/parts/quits, it would be very nice to have a shortcut key to disable all filters on a single buffer, instead of globally.

@Shawn-Smith

This comment has been minimized.

Show comment
Hide comment
@Shawn-Smith

Shawn-Smith Mar 16, 2014

Contributor

Perhaps keep alt + = as it works now and rewrite the documentation, then make a separate key-bind for disabling filters on a per-channel basis.

I do actually use alt + = to disable filters globally on occasion. Maybe alt + - for channel-specific?

Contributor

Shawn-Smith commented Mar 16, 2014

Perhaps keep alt + = as it works now and rewrite the documentation, then make a separate key-bind for disabling filters on a per-channel basis.

I do actually use alt + = to disable filters globally on occasion. Maybe alt + - for channel-specific?

@arza-zara

This comment has been minimized.

Show comment
Hide comment
@arza-zara

arza-zara Mar 26, 2014

Contributor

A hack with perlexec.pl to disable one filter in one buffer:

/alias togglesmart /perlexec if(!defined $f){my $f;} if($f==1){$f=0;weechat::command('',"/filter del smart\n/filter add smart * irc_smart_filter *");}else{$f=1;weechat::command('', "/filter del smart\n/filter add smart *,!irc.".weechat::buffer_get_string($buffer,'name').' irc_smart_filter *');}

Contributor

arza-zara commented Mar 26, 2014

A hack with perlexec.pl to disable one filter in one buffer:

/alias togglesmart /perlexec if(!defined $f){my $f;} if($f==1){$f=0;weechat::command('',"/filter del smart\n/filter add smart * irc_smart_filter *");}else{$f=1;weechat::command('', "/filter del smart\n/filter add smart *,!irc.".weechat::buffer_get_string($buffer,'name').' irc_smart_filter *');}

@flashcode flashcode closed this in a03232e Apr 1, 2014

@flashcode flashcode added this to the 1.0 milestone Nov 16, 2014

@flashcode flashcode self-assigned this Nov 16, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment