]> git.99rst.org Git - irssi-scripts.irssi.org.git/log
irssi-scripts.irssi.org.git
4 years ago[settingshelp] update to 1.4.1
Ailin Nemui [Tue, 31 May 2022 10:23:24 +0000 (12:23 +0200)]
[settingshelp] update to 1.4.1

update settings help for Irssi 1.4.0

4 years agoautomatic scripts database update for c519d04bcf666597ed358cb994c41540fe2ed5bc
Irssi Scripts Helper [Mon, 30 May 2022 13:06:57 +0000 (13:06 +0000)]
automatic scripts database update for c519d04bcf666597ed358cb994c41540fe2ed5bc

[ci skip]

4 years agoMerge pull request #810 from aenigma-es/randnamepatch
ailin-nemui [Mon, 30 May 2022 13:04:44 +0000 (15:04 +0200)]
Merge pull request #810 from aenigma-es/randnamepatch

[randname] array returns from glob and wrong filehandle

4 years agoarray returns from glob and wrong filehandle
Eremita Solitario [Tue, 24 May 2022 19:54:06 +0000 (21:54 +0200)]
array returns from glob and wrong filehandle

Patched the code to solve two little bugs:
- corrected glob as it returns an array and not a single value
- corrected wrong filehandle name when closing file

4 years agoautomatic scripts database update for a717f89520c34e9804c254f460da93bad0dc3df9
Irssi Scripts Helper [Mon, 25 Apr 2022 13:38:26 +0000 (13:38 +0000)]
automatic scripts database update for a717f89520c34e9804c254f460da93bad0dc3df9

[ci skip]

4 years agoMerge pull request #805 from vague666/irssi_commands
ailin-nemui [Mon, 25 Apr 2022 13:36:15 +0000 (15:36 +0200)]
Merge pull request #805 from vague666/irssi_commands

[intercept.pl] detect Irssi commands as first word

4 years agoautomatic scripts database update for 41556e4df1849b9f26f73b0ca32af2696b3547bc
Irssi Scripts Helper [Mon, 25 Apr 2022 12:02:47 +0000 (12:02 +0000)]
automatic scripts database update for 41556e4df1849b9f26f73b0ca32af2696b3547bc

[ci skip]

4 years agoMerge pull request #804 from aenigma-es/elistpatch
ailin-nemui [Mon, 25 Apr 2022 12:01:22 +0000 (14:01 +0200)]
Merge pull request #804 from aenigma-es/elistpatch

[elist.pl] added option to remove colors from topics

4 years agoFix regexp for command matching
vague666 [Thu, 10 Mar 2022 15:43:44 +0000 (16:43 +0100)]
Fix regexp for command matching

4 years agoAllow spaces infront
vague666 [Fri, 4 Mar 2022 14:43:25 +0000 (15:43 +0100)]
Allow spaces infront

4 years agoAdded command detection as first word
vague666 [Fri, 4 Mar 2022 14:39:58 +0000 (15:39 +0100)]
Added command detection as first word

4 years agoautomatic scripts database update for 9cdb64f636e410aed1181fc3f4608735bc7db42a
Irssi Scripts Helper [Sat, 23 Apr 2022 06:45:19 +0000 (06:45 +0000)]
automatic scripts database update for 9cdb64f636e410aed1181fc3f4608735bc7db42a

[ci skip]

4 years agoMerge pull request #807 from bw1/action
bw1 [Sat, 23 Apr 2022 06:25:39 +0000 (08:25 +0200)]
Merge pull request #807 from bw1/action

[gh actions] rm opensuse

4 years ago[gh actions] rm opensuse
bw1 [Wed, 20 Apr 2022 14:09:19 +0000 (16:09 +0200)]
[gh actions] rm opensuse

4 years agoadded option to remove colors from topics
Eremita Solitario [Mon, 28 Feb 2022 21:36:24 +0000 (22:36 +0100)]
added option to remove colors from topics

Added an option to have the channels list printed with colors stripped from topic text.
use: "/set elist_colorized ON/OFF" to change behavour (default is ON)

4 years agoautomatic scripts database update for 9e5d8a43cf1e5b279f11dee8a6424c2c4b8f75f4
Irssi Scripts Helper [Mon, 14 Feb 2022 21:07:18 +0000 (21:07 +0000)]
automatic scripts database update for 9e5d8a43cf1e5b279f11dee8a6424c2c4b8f75f4

[ci skip]

4 years agoMerge pull request #799 from morgenm/leodict_proxy
ailin-nemui [Mon, 14 Feb 2022 21:06:02 +0000 (22:06 +0100)]
Merge pull request #799 from morgenm/leodict_proxy

[leodict] Add proxy support for requests made to dict.leo.org

4 years agoautomatic scripts database update for bee13e25eee13e5331a01c757788ec0b156dd5a0
Irssi Scripts Helper [Mon, 14 Feb 2022 21:03:37 +0000 (21:03 +0000)]
automatic scripts database update for bee13e25eee13e5331a01c757788ec0b156dd5a0

[ci skip]

4 years agoMerge pull request #803 from aquanight/perlalias-v2
ailin-nemui [Mon, 14 Feb 2022 21:02:14 +0000 (22:02 +0100)]
Merge pull request #803 from aquanight/perlalias-v2

[perlalias] Fix undefined sub when trying to remove aliases

4 years agoautomatic scripts database update for 36c072e420d1cff773b307b46f461fd91fa5e83c
Irssi Scripts Helper [Mon, 14 Feb 2022 14:32:36 +0000 (14:32 +0000)]
automatic scripts database update for 36c072e420d1cff773b307b46f461fd91fa5e83c

[ci skip]

4 years agoMerge pull request #801 from kjetilho/tab_stop_interval
ailin-nemui [Mon, 14 Feb 2022 14:29:59 +0000 (15:29 +0100)]
Merge pull request #801 from kjetilho/tab_stop_interval

[tab_stop.pl] Implement tab stops with configurable length

4 years agoFor real this time
aquanight [Mon, 14 Feb 2022 14:27:10 +0000 (07:27 -0700)]
For real this time

4 years agoFix the other typo too
aquanight [Mon, 14 Feb 2022 14:24:10 +0000 (07:24 -0700)]
Fix the other typo too

4 years agoFix undefined sub when trying to remove aliases
aquanight [Mon, 14 Feb 2022 14:14:39 +0000 (07:14 -0700)]
Fix undefined sub when trying to remove aliases

4 years agoautomatic scripts database update for 990bac01eef57b034899b34c435e8820f3d43c17
Irssi Scripts Helper [Fri, 21 Jan 2022 10:29:24 +0000 (10:29 +0000)]
automatic scripts database update for 990bac01eef57b034899b34c435e8820f3d43c17

[ci skip]

4 years agoMerge pull request #800 from aquanight/perlalias-v2
ailin-nemui [Fri, 21 Jan 2022 10:28:11 +0000 (11:28 +0100)]
Merge pull request #800 from aquanight/perlalias-v2

New perlalias v2

4 years agoautomatic scripts database update for 0b6b0a8f7f6f4021314e0be6b12aad51ca2d1474
Irssi Scripts Helper [Fri, 21 Jan 2022 10:17:57 +0000 (10:17 +0000)]
automatic scripts database update for 0b6b0a8f7f6f4021314e0be6b12aad51ca2d1474

[ci skip]

4 years agoMerge pull request #798 from ailin-nemui/awl-f-keys
ailin-nemui [Fri, 21 Jan 2022 10:16:36 +0000 (11:16 +0100)]
Merge pull request #798 from ailin-nemui/awl-f-keys

[adv_windowlist] update to 1.10

4 years agoautomatic scripts database update for ef2117da7d26a29796d35287c7871461ca31f09c
Irssi Scripts Helper [Fri, 21 Jan 2022 10:14:50 +0000 (10:14 +0000)]
automatic scripts database update for ef2117da7d26a29796d35287c7871461ca31f09c

[ci skip]

4 years agoMerge pull request #797 from bw1/spellcheck
ailin-nemui [Fri, 21 Jan 2022 10:12:13 +0000 (11:12 +0100)]
Merge pull request #797 from bw1/spellcheck

[spellcheck] v0.9.1

4 years ago[tab_stop.pl] Implement tab stops with configurable length
Kjetil Torgrim Homme [Wed, 19 Jan 2022 11:27:21 +0000 (12:27 +0100)]
[tab_stop.pl] Implement tab stops with configurable length

This changes the default behaviour to make TAB replacements line up.
To get the original behaviour, the user will need to do `/set
tabstop_interval 0` explicitly.

4 years agoperlcritic fixes
aquanight [Sun, 9 Jan 2022 23:59:46 +0000 (16:59 -0700)]
perlcritic fixes

4 years agoNew perlalias v2
aquanight [Sun, 9 Jan 2022 23:38:49 +0000 (16:38 -0700)]
New perlalias v2

4 years ago[leodict] change error handling and update s chec
bw1 [Thu, 6 Jan 2022 16:24:38 +0000 (17:24 +0100)]
[leodict]  change error handling and update s chec

4 years agoUpdated leodict version number and removed unnecessary comment.
Morgen Malinoski [Tue, 4 Jan 2022 23:39:11 +0000 (17:39 -0600)]
Updated leodict version number and removed unnecessary comment.

4 years ago[adv_windowlist] update to 1.10
Ailin Nemui [Tue, 4 Jan 2022 07:49:42 +0000 (08:49 +0100)]
[adv_windowlist] update to 1.10

- add /set awl_custom_key_re, to display custom keys in the $Q expando

4 years agoAdded proxy support for dictleo using Mojo::UserAgent
Morgen Malinoski [Tue, 4 Jan 2022 03:03:26 +0000 (21:03 -0600)]
Added proxy support for dictleo using Mojo::UserAgent

4 years agoautomatic scripts database update for 0be648a997e97d38b2c8f51a0f31ffc76f5fe7b9
Irssi Scripts Helper [Sun, 2 Jan 2022 10:10:27 +0000 (10:10 +0000)]
automatic scripts database update for 0be648a997e97d38b2c8f51a0f31ffc76f5fe7b9

[ci skip]

4 years agoMerge pull request #793 from bw1/imdb
ailin-nemui [Sun, 2 Jan 2022 10:09:03 +0000 (11:09 +0100)]
Merge pull request #793 from bw1/imdb

[imdb] patch connection to imdb

4 years agoautomatic scripts database update for d24b7f5688e65bdc2b3ca18a4795c582a3e23ab8
Irssi Scripts Helper [Sun, 2 Jan 2022 10:05:25 +0000 (10:05 +0000)]
automatic scripts database update for d24b7f5688e65bdc2b3ca18a4795c582a3e23ab8

[ci skip]

4 years agoMerge pull request #792 from bw1/duckduckgo
ailin-nemui [Sun, 2 Jan 2022 10:04:11 +0000 (11:04 +0100)]
Merge pull request #792 from bw1/duckduckgo

[duckduckgo] patch connection to duckduckgo

4 years agoautomatic scripts database update for dbffb5cbdccbdb12a8851f575569812f8aeebd24
Irssi Scripts Helper [Sun, 2 Jan 2022 09:59:56 +0000 (09:59 +0000)]
automatic scripts database update for dbffb5cbdccbdb12a8851f575569812f8aeebd24

[ci skip]

4 years agoMerge pull request #778 from madduck/trigger_sort_for_idempotency
ailin-nemui [Sun, 2 Jan 2022 09:58:40 +0000 (10:58 +0100)]
Merge pull request #778 from madduck/trigger_sort_for_idempotency

[trigger.pl] Sort trigger filters prior to save for idempotency

4 years agoBump version number
martin f. krafft [Sun, 2 Jan 2022 03:15:35 +0000 (04:15 +0100)]
Bump version number

4 years agoautomatic scripts database update for a71af12aed7507f8137070e74bbc8703f7d5bcfe
Irssi Scripts Helper [Sat, 1 Jan 2022 23:08:05 +0000 (23:08 +0000)]
automatic scripts database update for a71af12aed7507f8137070e74bbc8703f7d5bcfe

[ci skip]

4 years agoMerge pull request #788 from madduck/print_signals-1.1
ailin-nemui [Sat, 1 Jan 2022 23:06:31 +0000 (00:06 +0100)]
Merge pull request #788 from madduck/print_signals-1.1

[print_signals.pl] New version 1.2

4 years agoautomatic scripts database update for 903e6b19fdb6fcb88356dce0bf340c5af1bfe1fb
Irssi Scripts Helper [Fri, 31 Dec 2021 23:52:27 +0000 (23:52 +0000)]
automatic scripts database update for 903e6b19fdb6fcb88356dce0bf340c5af1bfe1fb

[ci skip]

4 years agoMerge pull request #796 from muiraie/colorize_nicks_subroutine
ailin-nemui [Fri, 31 Dec 2021 23:49:54 +0000 (00:49 +0100)]
Merge pull request #796 from muiraie/colorize_nicks_subroutine

[colorize_nicks] bug fix

4 years ago[spellcheck] v0.9.1
Jakub Wilk [Fri, 25 Sep 2020 18:38:34 +0000 (20:38 +0200)]
[spellcheck] v0.9.1

4 years ago[spellcheck] v0.9
Jakub Wilk [Tue, 19 Feb 2019 17:16:20 +0000 (18:16 +0100)]
[spellcheck] v0.9

4 years ago[spellcheck] v0.8
Jakub Wilk [Sun, 31 Jul 2016 14:59:29 +0000 (16:59 +0200)]
[spellcheck] v0.8

4 years ago[spellcheck] v0.7
Jakub Wilk [Fri, 18 Dec 2015 13:58:11 +0000 (14:58 +0100)]
[spellcheck] v0.7

4 years ago[spellcheck] v0.6
Jakub Wilk [Thu, 28 Feb 2013 14:12:03 +0000 (15:12 +0100)]
[spellcheck] v0.6

4 years ago[spellcheck] v0.5
Jakub Wilk [Sat, 11 Aug 2012 15:46:06 +0000 (17:46 +0200)]
[spellcheck] v0.5

4 years agobug fix
muiraie [Mon, 29 Nov 2021 15:16:31 +0000 (15:16 +0000)]
bug fix

4 years agoautomatic scripts database update for f78e95b5b3d97b553736e459b9a51d3fd2360351
Irssi Scripts Helper [Sun, 7 Nov 2021 13:39:43 +0000 (13:39 +0000)]
automatic scripts database update for f78e95b5b3d97b553736e459b9a51d3fd2360351

[ci skip]

4 years agoMerge pull request #786 from madduck/chankeys
bw1 [Sun, 7 Nov 2021 13:38:32 +0000 (14:38 +0100)]
Merge pull request #786 from madduck/chankeys

[chankeys.pl] New script to control keyboard to channel shortcuts

4 years agoBump version number
martin f. krafft [Wed, 3 Nov 2021 21:37:24 +0000 (22:37 +0100)]
Bump version number

Signed-off-by: martin f. krafft <redacted>
4 years ago[print_signals] remove signals that cannot be enumerated
bw1 [Tue, 2 Nov 2021 22:29:03 +0000 (23:29 +0100)]
[print_signals] remove signals that cannot be enumerated

Irssi supports signals like "command ping", but there is no real way to
enumerate all the possible signals for all the valid IRC commands, so
it's better to remove the handler for those.

4 years agoBump version number
martin f. krafft [Wed, 3 Nov 2021 01:02:45 +0000 (02:02 +0100)]
Bump version number

Signed-off-by: martin f. krafft <redacted>
4 years agoCollect to-dos in one place
martin f. krafft [Wed, 3 Nov 2021 01:01:29 +0000 (02:01 +0100)]
Collect to-dos in one place

Signed-off-by: martin f. krafft <redacted>
4 years agoImplement HELP subcommand
martin f. krafft [Wed, 3 Nov 2021 01:00:23 +0000 (02:00 +0100)]
Implement HELP subcommand

Signed-off-by: martin f. krafft <redacted>
4 years agoTrack leading keys we overwrite
martin f. krafft [Wed, 3 Nov 2021 01:00:06 +0000 (02:00 +0100)]
Track leading keys we overwrite

Signed-off-by: martin f. krafft <redacted>
4 years agoautomatic scripts database update for 00c6d0b68080da6879d4f898699a9faf966d554b
Irssi Scripts Helper [Sun, 31 Oct 2021 10:55:54 +0000 (10:55 +0000)]
automatic scripts database update for 00c6d0b68080da6879d4f898699a9faf966d554b

[ci skip]

4 years agoMerge pull request #780 from madduck/clear-execute-perms
bw1 [Sun, 31 Oct 2021 10:54:31 +0000 (11:54 +0100)]
Merge pull request #780 from madduck/clear-execute-perms

Clear execute perms

4 years agoautomatic scripts database update for 0dc3a106db672743d242e5bc475ca8d914b8b755
Irssi Scripts Helper [Sun, 24 Oct 2021 16:03:10 +0000 (16:03 +0000)]
automatic scripts database update for 0dc3a106db672743d242e5bc475ca8d914b8b755

[ci skip]

4 years agoMerge pull request #787 from madduck/ctrlact-1.5
bw1 [Sun, 24 Oct 2021 16:01:34 +0000 (18:01 +0200)]
Merge pull request #787 from madduck/ctrlact-1.5

[ctrlact.pl] New version 1.5

4 years agoautomatic scripts database update for 233eb16f63159d300a721b930d638d20b7a0a695
Irssi Scripts Helper [Sat, 23 Oct 2021 09:23:31 +0000 (09:23 +0000)]
automatic scripts database update for 233eb16f63159d300a721b930d638d20b7a0a695

[ci skip]

4 years agoMerge pull request #794 from ailin-nemui/settingshelp
bw1 [Sat, 23 Oct 2021 09:22:14 +0000 (11:22 +0200)]
Merge pull request #794 from ailin-nemui/settingshelp

[settingshelp] update to 1.4.0

4 years ago[settingshelp] update to 1.4.0
Ailin Nemui [Sat, 23 Oct 2021 00:26:53 +0000 (02:26 +0200)]
[settingshelp] update to 1.4.0

4 years agoautomatic scripts database update for af27fb7047ed62e17197c36c088208b457c90dd9
Irssi Scripts Helper [Tue, 19 Oct 2021 19:04:38 +0000 (19:04 +0000)]
automatic scripts database update for af27fb7047ed62e17197c36c088208b457c90dd9

[ci skip]

4 years agoMerge pull request #774 from bw1/ontv2
bw1 [Tue, 19 Oct 2021 19:01:04 +0000 (21:01 +0200)]
Merge pull request #774 from bw1/ontv2

[ontv2] show details

4 years ago[imdb] patch connection to imdb
bw1 [Sat, 9 Oct 2021 21:05:22 +0000 (23:05 +0200)]
[imdb] patch connection to imdb

4 years ago[duckduckgo] patch connection to duckduckgo
bw1 [Sat, 9 Oct 2021 15:30:32 +0000 (17:30 +0200)]
[duckduckgo] patch connection to duckduckgo

4 years agoDo not let debug output produce activity
martin f. krafft [Mon, 20 Sep 2021 03:01:19 +0000 (05:01 +0200)]
Do not let debug output produce activity

Signed-off-by: martin f. krafft <redacted>
4 years agoDo not store version reference in %IRSSI/$VERSION
martin f. krafft [Mon, 20 Sep 2021 02:35:50 +0000 (04:35 +0200)]
Do not store version reference in %IRSSI/$VERSION

Signed-off-by: martin f. krafft <redacted>
4 years agoDo not store version reference in %IRSSI/$VERSION
martin f. krafft [Mon, 20 Sep 2021 02:35:59 +0000 (04:35 +0200)]
Do not store version reference in %IRSSI/$VERSION

Cf. https://github.com/irssi/scripts.irssi.org/issues/789

Signed-off-by: martin f. krafft <redacted>
4 years agoPrepare new version 1.1
martin f. krafft [Sun, 19 Sep 2021 23:12:13 +0000 (01:12 +0200)]
Prepare new version 1.1

Signed-off-by: martin f. krafft <redacted>
4 years agoUpdate list of signals
martin f. krafft [Sun, 19 Sep 2021 23:10:44 +0000 (01:10 +0200)]
Update list of signals

Signed-off-by: martin f. krafft <redacted>
4 years agoRemove signal handlers on UNLOAD
martin f. krafft [Sun, 19 Sep 2021 23:08:36 +0000 (01:08 +0200)]
Remove signal handlers on UNLOAD

If the script is unloaded, we must remove all signal handlers, or else
Irssi gets very unhappy.

Signed-off-by: martin f. krafft <redacted>
4 years agoPropagate -force through to autosave
martin f. krafft [Sun, 19 Sep 2021 22:49:37 +0000 (00:49 +0200)]
Propagate -force through to autosave

Signed-off-by: martin f. krafft <redacted>
4 years agoRemove existing binds before loading and recreating them
martin f. krafft [Sun, 19 Sep 2021 22:49:03 +0000 (00:49 +0200)]
Remove existing binds before loading and recreating them

Signed-off-by: martin f. krafft <redacted>
4 years agoPrepare 1.5 release
martin f. krafft [Fri, 17 Sep 2021 05:36:34 +0000 (07:36 +0200)]
Prepare 1.5 release

Signed-off-by: martin f. krafft <redacted>
4 years agoFix /ctrlact show with empty ruleset
martin f. krafft [Sun, 19 Sep 2021 21:35:16 +0000 (23:35 +0200)]
Fix /ctrlact show with empty ruleset

/ctrlact show didn't use fallbacks, and so with an empty ruleset, it
would just print lots of warnings about uninitialized variables. Let's
make it use defaults!

Thanks to @bw1 for spotting this.

Signed-off-by: martin f. krafft <redacted>
4 years agoProvide /ctrlact help implementation
martin f. krafft [Fri, 17 Sep 2021 20:26:17 +0000 (22:26 +0200)]
Provide /ctrlact help implementation

Signed-off-by: martin f. krafft <redacted>
4 years agoUse MSGLEVEL_NO_ACT for debug output
martin f. krafft [Fri, 17 Sep 2021 22:22:55 +0000 (00:22 +0200)]
Use MSGLEVEL_NO_ACT for debug output

We don't need the kludge with a global variable if we set
MSGLEVEL_NO_ACT on all debug output, because that then never triggers
activity itself.

Signed-off-by: martin f. krafft <redacted>
4 years agoCheck default data levels for validity
martin f. krafft [Fri, 17 Sep 2021 21:31:42 +0000 (23:31 +0200)]
Check default data levels for validity

Previously, one would have been able to `/set` any of the
`ctrlact_fallback_*_threshold` settings to an invalid value, which is
now prevented.

Signed-off-by: martin f. krafft <redacted>
4 years agoInclude defaults in ctrlact list output
martin f. krafft [Fri, 17 Sep 2021 21:30:59 +0000 (23:30 +0200)]
Include defaults in ctrlact list output

Signed-off-by: martin f. krafft <redacted>
4 years agoFix up use of ctrlact to add rules in comment
martin f. krafft [Fri, 17 Sep 2021 20:15:57 +0000 (22:15 +0200)]
Fix up use of ctrlact to add rules in comment

Thanks @bw1 for catching this oversight.

Signed-off-by: martin f. krafft <redacted>
4 years agoIntroduce /ctrlact snoop
martin f. krafft [Fri, 17 Sep 2021 05:30:04 +0000 (07:30 +0200)]
Introduce /ctrlact snoop

Snooping on a channel means ctrlact will apply rules as if you had been
active on the channel at the time you issue the command â€” without you
actually having to engage and/or let anyone know.

Signed-off-by: martin f. krafft <redacted>
4 years agoDisplay remaining time for attention span match
martin f. krafft [Fri, 17 Sep 2021 05:22:32 +0000 (07:22 +0200)]
Display remaining time for attention span match

If a rule matches within the attention span (i.e. within a certain
period following one's own engagement), then display how long this rule
will continue to match (remaining time).

Signed-off-by: martin f. krafft <redacted>
4 years agoImplement /ctrlact sleep
martin f. krafft [Tue, 14 Sep 2021 23:14:51 +0000 (01:14 +0200)]
Implement /ctrlact sleep

The command stops watching a channel following own activity (during the
so-called attention span), i.e. sets the attention span back to 0.

Signed-off-by: martin f. krafft <redacted>
4 years agoAdd changelog
martin f. krafft [Sat, 11 Sep 2021 05:55:36 +0000 (07:55 +0200)]
Add changelog

Reconstructed from Git, but I figure it makes sense to have it in the
comments.

Signed-off-by: martin f. krafft <redacted>
4 years agoTo-do updates
martin f. krafft [Fri, 10 Sep 2021 23:31:08 +0000 (01:31 +0200)]
To-do updates

The list of to-do items just keeps on growing…

Signed-off-by: martin f. krafft <redacted>
4 years agoLet query work on current item if not otherwise specified
martin f. krafft [Sat, 11 Sep 2021 00:11:37 +0000 (02:11 +0200)]
Let query work on current item if not otherwise specified

If no name is given to /ctrlact query, try to deduce the name of the
active window item, and use that.

Signed-off-by: martin f. krafft <redacted>
4 years agoLet /ctrlact add take a span arg
martin f. krafft [Fri, 10 Sep 2021 23:18:49 +0000 (01:18 +0200)]
Let /ctrlact add take a span arg

Introduce a new syntax for the attention span: +86400

Signed-off-by: martin f. krafft <redacted>
4 years agoRework command line parser
martin f. krafft [Fri, 10 Sep 2021 23:17:59 +0000 (01:17 +0200)]
Rework command line parser

Provide a unified way to parse Irssi command lines for all our commands.
In theory, this means that arguments like rule position will be parsed
also for e.g. /ctrlact query, where this makes no sense, but so what. If
there's a problem, we can react to it in the command handler.

Signed-off-by: martin f. krafft <redacted>
4 years agoImplement attention span
martin f. krafft [Fri, 10 Sep 2021 11:10:17 +0000 (13:10 +0200)]
Implement attention span

Rules can now be given an "attention span" such that they apply only
a certain period following your own engagement in a channel. For
instance, you might ask a question in a channel you'd usually only track
for hilights, and thus want to see activity for all messages for the
next hour.

Signed-off-by: martin f. krafft <redacted>
4 years agoRework versioned map file parsing
martin f. krafft [Fri, 10 Sep 2021 11:07:34 +0000 (13:07 +0200)]
Rework versioned map file parsing

A 1.3 config file is actually a valid 1.4 config file, so we don't need
to special-case anything, and thus let's keep things simple.

Signed-off-by: martin f. krafft <redacted>
4 years agoImplement adding and removing rules
martin f. krafft [Thu, 9 Sep 2021 10:47:18 +0000 (12:47 +0200)]
Implement adding and removing rules

/ctrlact add now lets you add rules at the top of the ruleset, or at
a specified position. If a matching rule already exists, it is replaced.

/ctrlact remove does the opposite.

Signed-off-by: martin f. krafft <redacted>
git clone https://git.99rst.org/PROJECT