summaryrefslogtreecommitdiff
path: root/src/plugins/trigger
AgeCommit message (Collapse)Author
2014-02-14trigger: allow restart of trigger only if trigger is enabledSebastien Helleu
2014-02-14trigger: add option trigger.look.enabled (can be changed with /trigger ↵Sebastien Helleu
enable|disable|toggle)
2014-02-14trigger: add option "recreate" in command /triggerSebastien Helleu
The "recreate" option is the same as "input" but the trigger is first deleted. So this lets you recreate the same trigger and edit some things if needed.
2014-02-14trigger: add option "copy" in command /triggerSebastien Helleu
2014-02-14trigger: add options "input" and "output" in command /triggerSebastien Helleu
2014-02-13trigger: add strings without colors in hashtable for modifier ↵Sebastien Helleu
"weechat_print" and hook print For modifier "weechat_print", variables added: - tg_string_nocolor (same as tg_string, without colors) - tg_prefix_nocolor (same as tg_prefix, without colors) - tg_message_nocolor (same as tg_message, without colors) For hook print, variables added: - tg_prefix_nocolor (same as tg_prefix, without colors) - tg_message_nocolor (same as tg_message, without colors)
2014-02-13trigger: add "tg_prefix" and "tg_message" in hashtable for modifier ↵Sebastien Helleu
"weechat_print"
2014-02-13trigger: escape chars in regex replacement (when trigger is created)Sebastien Helleu
2014-02-13trigger: display arguments of triggers on monitor bufferSebastien Helleu
2014-02-13trigger: evaluate regex replacement on execution of trigger (and not when ↵Sebastien Helleu
creating the trigger)
2014-02-13trigger: fix call of IRC message parser on non-IRC messages in modifier callbackSebastien Helleu
2014-02-13trigger: add "server" in hashtable after parsing of IRC messageSebastien Helleu
2014-02-13trigger: parse IRC messages received in signal/modifier hook callbacksSebastien Helleu
The parsed message is added into hashtable "extra_vars". For example, signal "freenode,irc_in_PRIVMSG" received with the message "hello world!" on channel #weechat gives in the hashtable: extra_vars: tags: "" host: "tester!user@host.com" tg_signal: "freenode,irc_in_PRIVMSG" channel: "#weechat" tg_signal_data: ":tester!user@host.com PRIVMSG #weechat :hello world!" arguments: "#weechat :hello world!" nick: "tester" command: "PRIVMSG" message_without_tags: ":tester!user@host.com PRIVMSG #weechat :hello world!"
2014-02-13trigger: refactor some code in hook callbacks using macrosSebastien Helleu
2014-02-13trigger: add hook focusSebastien Helleu
2014-02-13trigger: add hook commandSebastien Helleu
2014-02-13trigger: add extra colors in trigger monitor bufferSebastien Helleu
2014-02-13trigger: add the name of buffer on trigger monitor when executing a commandSebastien Helleu
2014-02-10trigger: add option "show" in command /triggerSebastien Helleu
2014-02-10trigger: add option trigger.look.monitor_strip_colorsSebastien Helleu
2014-02-10trigger: add hook configSebastien Helleu
2014-02-10trigger: add missing hook "command_run" in /help triggerSebastien Helleu
2014-02-10trigger: update actions performed in the trigger (in /help trigger)Sebastien Helleu
2014-02-09trigger: add condition "${tg_tag_nick}" in trigger example "effects" (/help ↵Sebastien Helleu
trigger)
2014-02-09trigger: set variables in hashtable using message tagsSebastien Helleu
2014-02-09trigger: add examples of triggers using "signal_sigwinch" in /help triggerSebastien Helleu
2014-02-09trigger: add options trigger.color.flag_{command|conditions|regex|return_code}Sebastien Helleu
2014-02-09trigger: add default triggersSebastien Helleu
2014-02-09core: improve the string_replace_regex function (add reference char, change ↵Sebastien Helleu
syntax for match refs) The reference char is now an argument for the function. The references are now $0 .. $99 and $+ was added (last match, with highest number). The syntax to replace a match with one char is now: $.cN or $.c+ (for example: "$.*3").
2014-02-09trigger: add missing init of buffer pointer in modifier callbackSebastien Helleu
2014-02-09trigger: fix crash in callback if one regex is NULL (invalid)Sebastien Helleu
2014-02-09trigger: add buffer pointer in modifier callbackSebastien Helleu
2014-02-09trigger: refactor some code in hook callbacks (debug, conditions, regex, ↵Sebastien Helleu
command)
2014-02-09trigger: fix evaluated command in callbackSebastien Helleu
2014-02-09trigger: add option "listfull" in command /triggerSebastien Helleu
2014-02-09trigger: split trigger command on creation, not when executing the callbackSebastien Helleu
2014-02-09trigger: add options trigger.color.trigger{_disabled}Sebastien Helleu
2014-02-09trigger: add option "addinput" in command /triggerSebastien Helleu
2014-02-09trigger: add missing value in trigger_hook_default_regexSebastien Helleu
2014-02-09trigger: do not sort completions for hook type (use order defined in trigger.h)Sebastien Helleu
2014-02-09trigger: add callback for changes on hook option (trigger.trigger.xxx.hook)Sebastien Helleu
2014-02-09trigger: reorder internal trigger varsSebastien Helleu
2014-02-09trigger: add hook command_runSebastien Helleu
2014-02-09trigger: use case insensitive comparison when searching for a trigger nameSebastien Helleu
2014-02-09trigger: add option "restart" in command /triggerSebastien Helleu
2014-02-09trigger: remove the timer hook pointer during the last timer callSebastien Helleu
2014-02-09trigger: add completion for all arguments of command /trigger addSebastien Helleu
2014-02-09trigger: sort triggers by nameSebastien Helleu
2014-02-09trigger: split arguments like shell in "/trigger add", to create a whole ↵Sebastien Helleu
trigger with one command
2014-02-09trigger: add timerSebastien Helleu