Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
e0e905ca7f
trigger: check that tag "notify_none" is not present in message to run command of default trigger beep (issue #1529 )
2020-07-20 21:08:59 +02:00
Sébastien Helleu
0d126c44dd
trigger: do not hide values of options with /set command in cmd_pass trigger
2020-04-18 15:38:45 +02:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01:00
Sébastien Helleu
2b0057239b
core: update copyright dates
2019-01-01 15:40:51 +01:00
Sébastien Helleu
4712d0bb06
core: use https for links to GNU GPL license
2018-11-29 23:16:07 +01:00
Sébastien Helleu
53fedfe4e6
trigger: hide password in display of command "/msg nickserv set password", support the option "-server xxx"
2018-05-31 22:51:23 +02:00
Sébastien Helleu
1587674e9b
trigger: hide password in command "/msg nickserv set password"
2018-05-31 21:14:57 +02:00
Sébastien Helleu
ec169f535d
core: reinitialize config file pointer to NULL after an error on section creation
2018-01-14 21:47:18 +01:00
Sébastien Helleu
ed4837b2f6
core: update copyright dates
2018-01-05 00:54:18 +01:00
Sébastien Helleu
705d86e684
core: update copyright dates
2017-01-01 11:32:04 +01:00
Sébastien Helleu
6aad13f3a7
trigger: add comments above default triggers
2016-11-19 14:31:40 +01:00
Sébastien Helleu
68d5a89b3d
trigger: do not hide email in command "/msg nickserv register password email" ( closes #849 )
2016-11-19 14:20:10 +01:00
Sébastien Helleu
de7dc59c87
trigger: rename "once action" to "post action"
2016-08-09 21:35:39 +02:00
Sébastien Helleu
810077fc12
Merge remote-tracking branch 'origin/pr/509'
2016-08-09 21:05:34 +02:00
Sébastien Helleu
cf6aca1619
core: add pointer in some callbacks ( closes #406 )
...
This pointer is the first argument received by callbacks, and the
existing argument "data" is now automatically freed by WeeChat when the
object containing the callback is removed.
With this new pointer, the linked list of callbacks in scripts has been
removed. This will improve speed of scripts (using a lot of hooks),
reduce memory used by scripts and reduce time to unload scripts.
Following functions are affected in the C API:
* exec_on_files
* config_new
* config_new_section
* config_new_option
* hook_command
* hook_command_run
* hook_timer
* hook_fd
* hook_process
* hook_process_hashtable
* hook_connect
* hook_print
* hook_signal
* hook_hsignal
* hook_config
* hook_completion
* hook_modifier
* hook_info
* hook_info_hashtable
* hook_infolist
* hook_hdata
* hook_focus
* unhook_all_plugin
* buffer_new
* bar_item_new
* upgrade_new
* upgrade_read
2016-03-21 18:11:21 +01:00
Sébastien Helleu
48493e39e0
trigger: fix long lines
2016-02-05 07:39:54 +01:00
Sébastien Helleu
da32036851
Merge pull request #511 from juanfra684/patch-1
...
trigger: add recover to cmd_pass/msg_auth, and regain to msg_auth
2016-02-05 07:32:50 +01:00
Sébastien Helleu
3330724574
core: update copyright dates
2016-01-01 11:09:53 +01:00
Juan Francisco Cantero Hurtado
7551b8db0c
trigger: add recover to cmd_pass/msg_auth, and regain to msg_auth
2015-08-31 19:33:21 +02:00
Simmo Saan
1d3a75333e
trigger: add support for one-time triggers ( closes #399 )
2015-08-22 12:22:51 +03:00
Simmo Saan
d3997eeb82
trigger: hide password when messaging NickServ through default alias /m ( closes #367 )
2015-03-22 11:19:05 +01:00
Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sébastien Helleu
3f5a810254
trigger: evaluate and replace regex groups at same time, new format for regex option in triggers (incompatible with version 1.0) ( closes #224 )
2014-10-26 12:30:13 +01:00
Sébastien Helleu
6e770b9625
trigger: fix typo in default conditions of "beep" trigger
2014-09-28 16:05:19 +02:00
Sébastien Helleu
89c2187024
trigger: add "${tg_displayed}" in conditions of default trigger "beep"
...
The command of "beep" trigger is now executed only if the message is
displayed (not filtered with /filter).
2014-09-28 15:34:42 +02:00
Sébastien Helleu
333253e5b9
trigger: fix regex used in default triggers to hide passwords ( closes #172 )
...
"\S" is not supported on *BSD, so it is replaced by "[^ ]" (which should be
enough, since there should be no tabs or other whitespace different from
spaces in command line).
2014-08-22 07:39:15 +02:00
Sébastien Helleu
e901d14a1f
trigger: interpret escaped chars in regex
2014-04-12 09:31:24 +02:00
Sebastien Helleu
acb24d9d2a
trigger: add plugin name in error messages
2014-03-10 21:10:23 +01:00
Sebastien Helleu
2b2c729854
trigger: add some missing "+" after spaces in regex of default triggers cmd_pass/msg_auth
2014-03-04 12:38:54 +01:00
Sebastien Helleu
cc5ab76186
trigger: allow chars '\' and '(' as delimiter in regex
2014-03-02 08:40:17 +01:00
Sebastien Helleu
ddf3e9043b
trigger: do not create the trigger with /trigger add if the regex is invalid
2014-03-02 08:32:05 +01:00
Sebastien Helleu
c3c1a63ea8
trigger: use command "/print -beep" in default trigger "beep"
2014-02-22 12:02:02 +01:00
Sebastien Helleu
639fbbff79
trigger: fix wrong info in /help trigger.trigger.xxx.regex
2014-02-21 17:59:33 +01:00
Sebastien Helleu
3847318497
core: update translations
2014-02-21 16:32:34 +01:00
Sebastien Helleu
4028e5c200
trigger: update help of options trigger.trigger.xxx.{arguments|command}
2014-02-15 11:18:39 +01:00
Sebastien Helleu
8e63a9a52f
trigger: add option trigger.look.enabled (can be changed with /trigger enable|disable|toggle)
2014-02-14 18:35:29 +01:00
Sebastien Helleu
93d3375440
trigger: add option trigger.look.monitor_strip_colors
2014-02-10 13:28:45 +01:00
Sebastien Helleu
9b3d2eeec7
trigger: add hook config
2014-02-10 13:08:40 +01:00
Sebastien Helleu
75e1c5320e
trigger: add options trigger.color.flag_{command|conditions|regex|return_code}
2014-02-09 17:01:36 +01:00
Sebastien Helleu
6ab17dfec1
trigger: add default triggers
2014-02-09 16:17:11 +01:00
Sebastien Helleu
7c0d9fe850
core: improve the string_replace_regex function (add reference char, change 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-09 15:14:07 +01:00
Sebastien Helleu
717d89a1f7
trigger: split trigger command on creation, not when executing the callback
2014-02-09 12:55:41 +01:00
Sebastien Helleu
4a9c9a0b07
trigger: add options trigger.color.trigger{_disabled}
2014-02-09 12:55:41 +01:00
Sebastien Helleu
b712eebece
trigger: add callback for changes on hook option (trigger.trigger.xxx.hook)
2014-02-09 12:55:41 +01:00
Sebastien Helleu
66158f41f2
trigger: add hook command_run
2014-02-09 12:55:40 +01:00
Sebastien Helleu
be8e32dd1b
trigger: add support of variable in regex option
...
Examples with new format:
/regex/text/
/regex/text/var
/regex1/text1/ /regex2/text2/
/regex1/text1/var /regex2/text2/var
2014-02-09 12:55:40 +01:00
Sebastien Helleu
e9e32931aa
trigger: add more help in trigger options
2014-02-09 12:55:40 +01:00
Sebastien Helleu
30942f7f62
trigger: add trigger plugin
2014-02-09 12:55:40 +01:00