]>
git.99rst.org Git - irssi-scripts.irssi.org.git/log
Irssi Scripts Helper [Sun, 2 Jan 2022 10:05:25 +0000 (10:05 +0000)]
automatic scripts database update for
d24b7f5688e65bdc2b3ca18a4795c582a3e23ab8
[ci skip]
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
Irssi Scripts Helper [Sun, 2 Jan 2022 09:59:56 +0000 (09:59 +0000)]
automatic scripts database update for
dbffb5cbdccbdb12a8851f575569812f8aeebd24
[ci skip]
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
martin f. krafft [Sun, 2 Jan 2022 03:15:35 +0000 (04:15 +0100)]
Bump version number
Irssi Scripts Helper [Sat, 1 Jan 2022 23:08:05 +0000 (23:08 +0000)]
automatic scripts database update for
a71af12aed7507f8137070e74bbc8703f7d5bcfe
[ci skip]
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
Irssi Scripts Helper [Fri, 31 Dec 2021 23:52:27 +0000 (23:52 +0000)]
automatic scripts database update for
903e6b19fdb6fcb88356dce0bf340c5af1bfe1fb
[ci skip]
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
muiraie [Mon, 29 Nov 2021 15:16:31 +0000 (15:16 +0000)]
bug fix
Irssi Scripts Helper [Sun, 7 Nov 2021 13:39:43 +0000 (13:39 +0000)]
automatic scripts database update for
f78e95b5b3d97b553736e459b9a51d3fd2360351
[ci skip]
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
martin f. krafft [Wed, 3 Nov 2021 21:37:24 +0000 (22:37 +0100)]
Bump version number
Signed-off-by: martin f. krafft <redacted>
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.
martin f. krafft [Wed, 3 Nov 2021 01:02:45 +0000 (02:02 +0100)]
Bump version number
Signed-off-by: martin f. krafft <redacted>
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>
martin f. krafft [Wed, 3 Nov 2021 01:00:23 +0000 (02:00 +0100)]
Implement HELP subcommand
Signed-off-by: martin f. krafft <redacted>
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>
Irssi Scripts Helper [Sun, 31 Oct 2021 10:55:54 +0000 (10:55 +0000)]
automatic scripts database update for
00c6d0b68080da6879d4f898699a9faf966d554b
[ci skip]
bw1 [Sun, 31 Oct 2021 10:54:31 +0000 (11:54 +0100)]
Merge pull request #780 from madduck/clear-execute-perms
Clear execute perms
Irssi Scripts Helper [Sun, 24 Oct 2021 16:03:10 +0000 (16:03 +0000)]
automatic scripts database update for
0dc3a106db672743d242e5bc475ca8d914b8b755
[ci skip]
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
Irssi Scripts Helper [Sat, 23 Oct 2021 09:23:31 +0000 (09:23 +0000)]
automatic scripts database update for
233eb16f63159d300a721b930d638d20b7a0a695
[ci skip]
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
Ailin Nemui [Sat, 23 Oct 2021 00:26:53 +0000 (02:26 +0200)]
[settingshelp] update to 1.4.0
Irssi Scripts Helper [Tue, 19 Oct 2021 19:04:38 +0000 (19:04 +0000)]
automatic scripts database update for
af27fb7047ed62e17197c36c088208b457c90dd9
[ci skip]
bw1 [Tue, 19 Oct 2021 19:01:04 +0000 (21:01 +0200)]
Merge pull request #774 from bw1/ontv2
[ontv2] show details
bw1 [Sat, 9 Oct 2021 15:30:32 +0000 (17:30 +0200)]
[duckduckgo] patch connection to duckduckgo
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
martin f. krafft [Fri, 10 Sep 2021 00:39:07 +0000 (02:39 +0200)]
Put the type arrays into a hash for easier use
Signed-off-by: martin f. krafft <redacted>
martin f. krafft [Fri, 10 Sep 2021 00:16:15 +0000 (02:16 +0200)]
Implement saving
Write out the map file if there are changes, or '-force' is given. Also
write out mappings on unload/reload, and when /save is called. Result
should be idempotent.
Signed-off-by: martin f. krafft <redacted>
martin f. krafft [Mon, 6 Sep 2021 03:09:37 +0000 (05:09 +0200)]
Import chankeys.pl
Signed-off-by: martin f. krafft <redacted>
martin f. krafft [Thu, 9 Sep 2021 23:27:37 +0000 (01:27 +0200)]
Improved wildcard matching
No reason why '*' cannot appear as part of a word, e.g. 'debian-*', so
let's implement that.
Signed-off-by: martin f. krafft <redacted>
martin f. krafft [Thu, 9 Sep 2021 10:47:00 +0000 (12:47 +0200)]
Iterate array using references, not indices
Still learning my Perl…
Signed-off-by: martin f. krafft <redacted>
martin f. krafft [Thu, 9 Sep 2021 10:45:54 +0000 (12:45 +0200)]
Pass array references instead of arrays
No need to copy, albeit there's not a lot of data; use arrayrefs
instead. Oh my is Perl a pain.
Signed-off-by: martin f. krafft <redacted>
martin f. krafft [Thu, 9 Sep 2021 10:38:45 +0000 (12:38 +0200)]
Simplify data level conversion functions
Don't even know what crack I was smoking previously, but conversion
between integer datalevels 1–4 and the corresponding keywords is now
a whole lot simpler.
Signed-off-by: martin f. krafft <redacted>
martin f. krafft [Thu, 9 Sep 2021 10:37:59 +0000 (12:37 +0200)]
Import print functions from chankeys
I developed functions for error/warning/info/debug for chankeys, and
this commit imports those, and switches ctrlact over to using them.
Signed-off-by: martin f. krafft <redacted>
martin f. krafft [Fri, 10 Sep 2021 02:21:05 +0000 (04:21 +0200)]
Fix up table in comment
Signed-off-by: martin f. krafft <redacted>
martin f. krafft [Sun, 5 Sep 2021 22:46:14 +0000 (00:46 +0200)]
Increment for new version: 1.3
Signed-off-by: martin f. krafft <redacted>
martin f. krafft [Sun, 5 Sep 2021 22:45:56 +0000 (00:45 +0200)]
Add scripts.i.o URL to meta info
Signed-off-by: martin f. krafft <redacted>
martin f. krafft [Sun, 5 Sep 2021 22:44:53 +0000 (00:44 +0200)]
Unified method to print info messages
Signed-off-by: martin f. krafft <redacted>
martin f. krafft [Sat, 4 Sep 2021 10:48:14 +0000 (12:48 +0200)]
Fix up comments
I failed to update the comments for some previous changes, so let's make
it right.
Signed-off-by: martin f. krafft <redacted>
martin f. krafft [Tue, 21 Feb 2017 08:49:42 +0000 (09:49 +0100)]
Show the window refnum in debug output if there's not window name
Signed-off-by: martin f. krafft <redacted>
martin f. krafft [Mon, 8 May 2017 09:41:48 +0000 (11:41 +0200)]
Clear the execute bits from scripts
Irssi scripts don't get executed and so they don't need +x bits set.
This patch removes them.
Signed-off-by: martin f. krafft <redacted>
martin f. krafft [Mon, 8 May 2017 09:42:31 +0000 (11:42 +0200)]
Remove perl shebang line from tinyurl.pl
There's no need to have this line and it's at best misleading. The Irssi
script is not designed to be executed/run outside Irssi.
Signed-off-by: martin f. krafft <redacted>
martin f. krafft [Tue, 14 Feb 2017 22:35:40 +0000 (23:35 +0100)]
Sort trigger filters prior to save for idempotency
Signed-off-by: martin f. krafft <redacted>
Jari Matilainen [Fri, 3 Sep 2021 11:55:17 +0000 (13:55 +0200)]
Merge pull request #775 from pstray/master
Updated my scripts to the current versions in my own repos
Irssi Scripts Helper [Mon, 23 Aug 2021 10:39:34 +0000 (10:39 +0000)]
automatic scripts database update for
5ffd60ea2a5e55a12b4adc41d7165f388b7d26b6
[ci skip]
Peder Stray [Mon, 23 Aug 2021 10:37:45 +0000 (12:37 +0200)]
Fix some variable initialisation in log2ansi
Irssi Scripts Helper [Sun, 22 Aug 2021 11:39:35 +0000 (11:39 +0000)]
automatic scripts database update for
e05dfc5c22ef8267c1299aa6a1f5617dd5efecc5
[ci skip]
Peder Stray [Sun, 22 Aug 2021 11:36:53 +0000 (13:36 +0200)]
Fix some long standing bugs in log2ansi
Also make script behave in testing
Irssi Scripts Helper [Sat, 21 Aug 2021 21:58:13 +0000 (21:58 +0000)]
automatic scripts database update for
df5fce91f5d22b02bc1edc5e5ce9a5ee932e5f16
[ci skip]
Peder Stray [Sat, 21 Aug 2021 21:56:51 +0000 (23:56 +0200)]
Fix missing +)
Irssi Scripts Helper [Sat, 21 Aug 2021 08:43:54 +0000 (08:43 +0000)]
automatic scripts database update for
87243049a1c2c893c12ef81eec366f52ab8fe35c
[ci skip]
Peder Stray [Sat, 21 Aug 2021 08:40:50 +0000 (10:40 +0200)]
Update all scripts with semantic versions
Irssi Scripts Helper [Fri, 20 Aug 2021 12:38:20 +0000 (12:38 +0000)]
automatic scripts database update for
3f939bffb1fb98a949c2ff135ae430b4e50d3428
[ci skip]
Peder Stray [Fri, 20 Aug 2021 11:57:06 +0000 (13:57 +0200)]
Update query to 1.26
Add tests for some IRC-only stuff
Peder Stray [Fri, 20 Aug 2021 11:53:04 +0000 (13:53 +0200)]
Update log2ansi to 1.11
Added help options and support for more compessors
Peder Stray [Fri, 20 Aug 2021 11:49:58 +0000 (13:49 +0200)]
Update chansort to 1.5
Adds netonly config option
Peder Stray [Fri, 20 Aug 2021 11:48:48 +0000 (13:48 +0200)]
Update autochannel to 1.3
Fix some signal-related stuff
Peder Stray [Fri, 20 Aug 2021 11:47:51 +0000 (13:47 +0200)]
Cleanup and updated contact info
Peder Stray [Fri, 20 Aug 2021 12:13:39 +0000 (14:13 +0200)]
Varoius cleanup of indentation and comments
bw1 [Sun, 7 Feb 2021 12:56:06 +0000 (13:56 +0100)]
[ontv2] show details
Irssi Scripts Helper [Fri, 21 May 2021 16:08:20 +0000 (16:08 +0000)]
automatic scripts database update for
db21074dc46f1bd5394c65342bd31ee6b640de96
[ci skip]
bw1 [Fri, 21 May 2021 16:05:45 +0000 (18:05 +0200)]
Merge pull request #771 from vague666/update_securemsg
[securemsg] Add clear command to clear message queue without action
vague666 [Tue, 18 May 2021 12:48:18 +0000 (14:48 +0200)]
Update help
vague666 [Mon, 17 May 2021 21:30:38 +0000 (23:30 +0200)]
Update usage
vague666 [Mon, 17 May 2021 13:09:36 +0000 (15:09 +0200)]
[securemsg] Add clear command to clear message queue without action
Irssi Scripts Helper [Mon, 12 Apr 2021 17:16:16 +0000 (17:16 +0000)]
automatic scripts database update for
0a587133ca0a6ad8cdd6160090913ea51c02b84d
[ci skip]
ailin-nemui [Mon, 12 Apr 2021 17:14:47 +0000 (19:14 +0200)]
Merge pull request #770 from ailin-nemui/settings-kramdown
[settingshelp] update due to kramdown parser changes
Ailin Nemui [Mon, 12 Apr 2021 16:20:42 +0000 (18:20 +0200)]
update settingshelp due to kramdown parser changes
Irssi Scripts Helper [Sat, 10 Apr 2021 10:15:14 +0000 (10:15 +0000)]
automatic scripts database update for
c88f062abf33078f6afb209731c0ece6bd3d29a8
[ci skip]
Jari Matilainen [Sat, 10 Apr 2021 10:13:54 +0000 (12:13 +0200)]
Merge pull request #769 from vague666/logcompress_unlink
[logcompress_perl] only delete original file if there was no error
vague666 [Sat, 10 Apr 2021 09:44:52 +0000 (11:44 +0200)]
Only delete original file if there was an error
vague666 [Sat, 10 Apr 2021 09:43:51 +0000 (11:43 +0200)]
Only delete original file if there was an error