Pragmatic Software
12cd9cb8e0
Improve launching of modules
...
If a `workdir` factoid key is present, the launcher will chdir
to make the specified value the current working directory.
Redirect stderr output to a $modulename-stderr in the module's
current working directory.
2015-01-27 23:49:30 -08:00
Pragmatic Software
30e3c5ce35
Remove PBot getter/setters; move anti-flood registry defaults to AntiFlood.pm
2014-05-18 20:09:05 +00:00
Pragmatic Software
d955bfa06c
Add centralized configuration registry module
...
Allows changing of bot configuration values without needing to restart
bot instance or needing to edit pbot.pl script.
Registry will initially be populated with default values from pbot.pl,
but if a registry file exists then the registry values will take
precedence over the pbot.pl values. For instance, if you regset the
bot trigger to '%' then the trigger will be '%' even if pbot.pl has '!'
or something else explicitly set.
Some registry items can have trigger hooks associated with them. For
instance, the irc->botnick registry entry has a change_botnick_trigger
associated with it which changes the IRC nick on the server when a new
value is set via regset/regadd.
Tons of other fixes and improvements throughout.
2014-05-17 20:08:19 +00:00
Pragmatic Software
f50fec1f90
Fix failed substitution of undefined variables
2014-04-26 15:19:55 +00:00
Pragmatic Software
f003ff1178
Add unquote_spaces
factoid module metadata to remove escaped quotes from quotemeta, and allow g modifier to modulelauncher_subpattern
2014-04-19 10:32:49 +00:00
Pragmatic Software
8338b009d4
Properly handle preserve-whitespace; use modulelaucher_subpattern regex to correct whitespace
2014-03-18 14:55:34 +00:00
Pragmatic Software
f998f974c0
Truncate module launcher piped result
2014-03-15 01:53:33 +00:00
Pragmatic Software
36b7e1fa6f
Improve handling of interpreter result and module execution
2014-03-14 10:05:11 +00:00
Pragmatic Software
921c9917a5
Add $channel special variable for factoids/modules that expands to $from parameter
2014-03-04 21:40:13 +00:00
Pragmatic Software
6e3dc6dba2
Add add_nick
metadata key to tell modules to prepend nick to resulting text; unquote all spaces in module arguments
2014-02-24 00:58:00 +00:00
Pragmatic Software
dc52430044
Add SSL support, and other misc updates
2013-02-25 02:27:24 +00:00
Pragmatic Software
ccf1d35a54
Improvements in interpreter; tell <nick> about <command>; etc
2012-08-23 22:50:07 +00:00
Pragmatic Software
8a70c06096
Misc bug fixes and tweaks
2012-07-22 19:22:30 +00:00
Pragmatic Software
e3655749fd
Added Net::IRC as PBot::IRC in order to support PONG events and possible future customisation
2011-01-22 08:35:31 +00:00
Pragmatic Software
4be7fe3b34
Refactored Factoids to use DualIndexHashObject; added factset/factunset to set factoid meta-data; factoids now per-channel; slightly unfinished
2010-06-20 06:16:48 +00:00
Pragmatic Software
4e53210445
Replace die with croak, and move Net::IRC::Connection::DESTROY redefinition to before any deaths
2010-05-27 09:29:17 +00:00
Pragmatic Software
ed5181cf0d
Redefine Net::IRC::Connection::DESTROY sub after forking to prevent disconnecting when child exits
2010-05-27 09:19:11 +00:00
Pragmatic Software
a255cf258d
chdir to modules directory before executing module
2010-05-26 22:34:34 +00:00
Pragmatic Software
45152f74b4
Updating FactoidModuleLauncher.pm to correct slash intrapolation (esp on newlines)
2010-05-25 05:47:13 +00:00
Pragmatic Software
b1775048e0
Oops, adding missing $lr for if no match found the first time
2010-05-14 00:08:52 +00:00
Pragmatic Software
24740da78b
Properly handle single-quotes inside of single-quoted text
2010-05-13 23:28:38 +00:00
Pragmatic Software
33a32f29a3
Allow modulelauncher_subpattern factoid field to substitute IRC lines into shell commands via regex substitution
2010-05-13 22:12:04 +00:00
Pragmatic Software
d16a013379
Remove printing of args
2010-05-04 05:59:14 +00:00
Pragmatic Software
a5618c41a1
Added dict.org module and !dict command, allowed dashes in module launcher arguments
2010-03-28 11:19:54 +00:00
Pragmatic Software
d299a8fb0f
90% done in object-oriented conversion -- IgnoreList doesnt save/load/use regex yet.
2010-03-24 06:47:40 +00:00
Pragmatic Software
313da0b587
Progressing on converting things to objects
2010-03-23 03:09:03 +00:00
Pragmatic Software
bd46c11120
Half-way through converting everything to objects. Committing mostly working copy as preview.
2010-03-22 07:33:44 +00:00