Sébastien Helleu
92cdcee8f6
api: change type of argument object_id in upgrade_new callback from string to integer (in scripts)
2022-09-29 21:38:04 +02:00
Sébastien Helleu
b2b110f1a3
api: change type of argument remaining_calls in hook_timer callback from string to integer (in scripts)
2022-09-29 21:21:01 +02:00
Sébastien Helleu
486df38a8d
php: add missing arginfo_weechat_string_parse_size in legacy arginfo
2022-09-29 07:48:55 +02:00
Sébastien Helleu
7711ed95c5
logger: add options to rotate and compress log files ( closes #314 )
...
New options:
- logger.file.rotation_compression_level
- logger.file.rotation_compression_type
- logger.file.rotation_size_max
2022-09-28 20:52:59 +02:00
Sébastien Helleu
26e6fdc645
api: add function file_compress
2022-09-27 20:49:12 +02:00
Sébastien Helleu
4d74a89cfc
api: add function string_parse_size
2022-09-27 15:50:43 +02:00
Sébastien Helleu
34c043453b
irc: fix use of uninitialized variable ptr_nick
2022-09-26 21:21:27 +02:00
Sébastien Helleu
389f9f436b
trigger: escape arguments with double quotes in output of /trigger input|output|recreate ( closes #190 )
2022-09-18 17:44:05 +02:00
Sébastien Helleu
5284921701
irc: fix message when disconnecting from server in case of high lag when server option autoreconnect is off ( closes #1708 )
2022-09-17 12:12:06 +02:00
Sébastien Helleu
a99fc17d40
spell: allow special dict value "-" to disable spell checking on a specific buffer ( closes #1699 )
2022-09-17 10:44:21 +02:00
Sébastien Helleu
c6d8b54459
irc: add option irc.look.display_pv_nick_change
2022-09-15 20:31:06 +02:00
Sébastien Helleu
9cb68b13a9
irc: replace chars "\01" by spaces in CTCP replies ( closes #1819 )
...
This prevents any attack due to an external security issue in the Linux
netfilter implementation (nf_conntrack_irc).
See: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2663
2022-09-10 13:43:45 +02:00
Sébastien Helleu
5070a6330c
xfer: use larger buffer for IP address
...
This removes a gcc warning about a too small buffer.
2022-09-09 19:20:41 +02:00
Sébastien Helleu
d5cbd6c49a
irc: fix display of message 350 (whois, gateway) ( closes #1815 )
2022-09-05 22:12:17 +02:00
Sébastien Helleu
e8524ea2c4
xfer: fix DCC file receive on Termux ( closes #1811 )
...
This fixes such error displayed on Termux when receiving a DCC file:
xfer: invalid address "96747949": error 8 hostname nor servname provided, or not known
2022-09-03 22:29:46 +02:00
Sébastien Helleu
7cf9399616
core: rename argument "length" to "bytes" in function string_strndup (header files)
...
Argument was already renamed in commit f8915129bf
but it was incomplete (missing header files).
2022-08-31 22:51:47 +02:00
Sébastien Helleu
68ecfb16a1
irc: fix target buffer of generic errors when they contain a target nick ( closes #1814 )
2022-08-29 22:45:28 +02:00
Sébastien Helleu
f5604510cd
script: use API function weechat_crypto_hash_file in script_repo_sha512sum_file
2022-08-16 21:40:02 +02:00
Sébastien Helleu
0090695f7d
api: add function crypto_hash_file
2022-08-16 21:33:50 +02:00
Sébastien Helleu
e614410815
irc: fix extract of isupport value when it is last in list and without value ( closes #1807 )
2022-08-15 18:14:03 +02:00
Sébastien Helleu
fb14e67364
buflist: improve help on option buflist.look.enabled
2022-08-15 14:43:25 +02:00
Sébastien Helleu
0f67f55098
trigger: add elapsed time for trigger execution on monitor buffer when trigger debug is set ( closes #1806 )
2022-08-15 12:44:16 +02:00
Sébastien Helleu
1ce2d7f56d
trigger: fix error on monitor buffer creation when trigger debug is >= 1 and monitor buffer is closed
2022-08-15 12:42:26 +02:00
Sébastien Helleu
223eefef67
irc: display ACCOUNT command in private buffers
2022-08-13 22:58:37 +02:00
Sébastien Helleu
aee3da5452
irc: add options and display SETNAME command in channels and private buffers ( closes #1805 )
...
New options:
- irc.color.message_setname
- irc.look.smart_filter_setname
2022-08-13 22:47:22 +02:00
Sébastien Helleu
d3b84eaf6c
irc: display CHGHOST command in private buffers
2022-08-13 22:16:46 +02:00
Sébastien Helleu
a36fa2faea
logger: improve help on option logger.file.auto_log
2022-08-13 19:02:55 +02:00
Sébastien Helleu
1e0d59a5e6
irc: add missing tag "irc_numeric" in all numeric IRC commands ( closes #1804 )
2022-08-13 17:34:43 +02:00
Sébastien Helleu
bbe8afcbd4
xfer: move and rename function xfer_filename_crc32 to xfer-file.c
2022-08-08 06:57:39 +02:00
Sébastien Helleu
25f25073b9
irc: fix parsing of messages with trailing spaces and no trailing parameter ( closes #1803 )
2022-08-07 23:28:11 +02:00
Sébastien Helleu
d068fe0de5
core: add option -save in command /upgrade ( closes #1630 )
2022-08-07 16:48:12 +02:00
Sébastien Helleu
d91cddc909
xfer: disconnect all active DCC chats and files on /upgrade
2022-08-07 11:15:03 +02:00
Sébastien Helleu
9fd71067e7
xfer: fix refresh of xfer buffer after /upgrade
2022-08-07 11:11:10 +02:00
Sébastien Helleu
441d532f15
relay: fix refresh of relay buffer after /upgrade
2022-08-07 10:04:47 +02:00
Sébastien Helleu
57c9f371bc
relay: use enum type for websocket status in client
2022-08-07 09:31:24 +02:00
Sébastien Helleu
2bd3d32f0d
irc: mention how to remove capability in /help cap
2022-08-03 21:18:17 +02:00
Sébastien Helleu
39f2b2f7b9
ruby: fix function hdata_get_string
2022-08-02 20:50:48 +02:00
Sébastien Helleu
8f6395e889
guile: fix function hdata_get_string
2022-08-02 20:50:24 +02:00
Sébastien Helleu
53df45de48
php: fix function hdata_compare
2022-08-02 20:49:35 +02:00
Sébastien Helleu
bcb8647aa4
scripts: fix issue with long interval in function hook_timer
...
Affected plugins: python, ruby, lua, tcl, guile, javascript, php.
2022-08-01 22:18:38 +02:00
Sébastien Helleu
b1404b0277
scripts: fix issue with year ≥ 2038 in functions print_date_tags and print_y_date_tags
...
Affected plugins: python, lua, tcl, guile, javascript.
2022-08-01 21:03:44 +02:00
Sébastien Helleu
1514570ff0
scripts: fix issue with year ≥ 2038 in function infolist_new_var_time
...
Affected plugins: python, lua, tcl, guile, javascript.
2022-08-01 20:32:09 +02:00
Sébastien Helleu
2475ba43a3
javascript: fix return of long value in functions infolist_time, hdata_long and hdata_time
2022-08-01 20:13:01 +02:00
Sébastien Helleu
e77ea9dc26
buflist: add variable "${hotlist_priority_number}" (integer version of "${hotlist_priority}")
2022-07-31 09:58:29 +02:00
Sébastien Helleu
a50143fdf8
irc: display an error message when using command /dcc without xfer plugin loaded
2022-07-27 22:07:24 +02:00
Sébastien Helleu
56b82fb115
xfer: fix crash when closing DCC chat buffer
2022-07-27 22:06:48 +02:00
Sébastien Helleu
906ac1d1e1
relay: exit function relay_irc_recv if params can not be allocated
2022-07-24 23:02:09 +02:00
Sébastien Helleu
d5c4342bce
irc: fix display of TOPIC message with an empty trailing parameter
2022-07-21 11:16:50 +02:00
Sébastien Helleu
569c93c6fb
irc: fix display of QUIT message with an empty trailing parameter ( closes #1797 )
...
The regression was introduced with the new way to parse IRC message parameters,
in version 3.4.
2022-07-21 11:10:29 +02:00
Sébastien Helleu
96ed471261
relay: fix parsing of IRC messages received from clients ( closes #1796 )
...
The IRC parser improved in version 3.4 is now used to parse command
parameters (variables "num_params" and "paramN" in output of parser function).
2022-07-21 10:20:10 +02:00