Sébastien Helleu
0704f382e0
irc: make IRC server names case sensitive (issue #1872 )
2023-01-28 15:14:15 +01:00
Sébastien Helleu
f0415c8ec3
core, plugins: make commands, hook command_run, completions and aliases case sensitive (issue #1872 )
2023-01-28 15:13:48 +01:00
Sébastien Helleu
55d08a604f
irc: fix autojoin on server connection ( closes #1873 )
...
Now the autojoin is made only one time, until the server buffer is closed.
A new flag `autojoin_done` is added to know whether the autojoin has already
been done or not on the server. It is set to 1 on first autojoin, and reset to
0 only if the server buffer is closed.
The flag `reconnect_join` is removed, because it is now obsolete.
2023-01-23 19:10:13 +01:00
Sébastien Helleu
33bba784c3
core: update copyright dates
2023-01-01 14:54:35 +01:00
Sébastien Helleu
fb31cf663e
irc: do not join channels in server autojoin option after reconnection to the server ( closes #560 , bug #21529 )
2022-12-17 12:55:39 +01: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
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
d068fe0de5
core: add option -save in command /upgrade ( closes #1630 )
2022-08-07 16:48:12 +02:00
Sébastien Helleu
8c66070136
irc: rename server option "autojoin_record" to "autojoin_dynamic"
2022-03-10 21:12:46 +01:00
Sébastien Helleu
c1e65e8edd
irc: add server option "autojoin_record"
2022-03-10 21:12:46 +01:00
Sébastien Helleu
c44b79dce7
core: update copyright dates
2022-01-17 18:41:06 +01:00
Sébastien Helleu
f4a1baaed3
irc: extend size of some internal buffers
2021-11-07 08:57:07 +01:00
Sébastien Helleu
2f177dd188
irc: fix join of channels with name longer than 127 chars ( closes #1717 )
2021-11-06 18:17:39 +01:00
Sébastien Helleu
5e08f9876a
core: fix access to integer/long/time arrays in hdata, add support of static arrays in hdata
2021-11-04 23:55:02 +01:00
Sébastien Helleu
c4b4d80936
irc: parse and return command parameters in message parser
2021-10-17 21:28:30 +02:00
Sébastien Helleu
5fb7ebdfce
irc: fix send of empty JOIN when connecting to a server with only parted channels ( closes #1638 )
2021-09-03 13:43:07 +02:00
Sébastien Helleu
8e676edd1a
irc: save CLIENTTAGDENY from message 005 in server, do not send typing messages if "typing" client tag is denied
2021-08-08 18:37:15 +02:00
Sébastien Helleu
a16616637a
irc: remove unneeded message about Diffie-Hellman shared secret exchange during SSL connection to server ( closes #857 )
2021-07-10 16:02:19 +02:00
Sébastien Helleu
954f943e8e
irc, typing: display typing status for IRC nicks
2021-07-04 13:27:33 +02:00
Sébastien Helleu
b108e97085
irc: send typing status as TAGMSG to other users
2021-07-04 13:27:33 +02:00
Simon Ser
ff8beb1918
irc: allow signals "irc_raw_in" and "irc_in" to eat messages (issue #1657 )
...
This is useful to implement IRC protocol extensions which introduce
new commands.
2021-06-27 09:48:16 +02:00
Sébastien Helleu
0fb88527ce
irc: implement IRCv3.2 SASL authentication, add command /auth ( closes #413 )
2021-06-25 11:15:22 +02:00
Sébastien Helleu
ef318cb70c
irc: enable all capabilities by default (supported by both server and WeeChat) ( closes #320 )
...
Capabilities can be excluded with the format: "*,!account-*,!extended-join".
2021-06-19 18:22:49 +02:00
Sébastien Helleu
e365e66eeb
irc: add support of SASL mechanisms SCRAM-SHA-1, SCRAM-SHA-256 and SCRAM-SHA-512 ( closes #1628 )
2021-06-01 20:45:11 +02:00
Sébastien Helleu
4a41625989
irc: add variable "${target}" (target nick) in commands /kick and /kickban
2021-05-29 14:26:30 +02:00
Sébastien Helleu
e6a3d08704
buflist, irc, xfer: do not translate "cleartext" in buffer local variable "tls_version" (issue #1622 )
...
The text "cleartext" is translated for display only: directly with gettext in
IRC plugin and with "${translate:${tls_version}}" in the buflist evaluated
format.
2021-05-16 10:01:07 +02:00
Andrew Potter
94c902adfc
irc, buflist: add bar item "tls_version" with options for colors, add buflist format "${format_tls_version}" (issue #1622 )
2021-05-16 10:00:30 +02:00
Sébastien Helleu
0f9640a5f3
core: split WeeChat home in 4 directories, use XDG directories by default (issue #1285 )
...
The 4 directories (which can be the same):
- config: configuration files, certificates
- data: log/upgrade files, local plugins, scripts, xfer files
- cache: script repository, scripts downloaded (temporary location)
- runtime: FIFO pipe, relay UNIX sockets
2021-05-11 21:06:34 +02:00
Sébastien Helleu
39b629550b
irc: evaluate options irc.server_default.ssl_cert and irc.server.xxx.ssl_cert (issue #1285 )
2021-05-11 21:06:19 +02:00
Sébastien Helleu
691c9a0a0f
irc: add function irc_server_get_chantypes
2021-01-30 10:34:23 +01:00
Matti Virkkunen
bad6dc8a57
irc: make default chantypes configurable
2021-01-30 01:01:51 +02:00
Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
cfd221014c
api: add argument "bytes" in function string_dyn_concat
2020-08-23 23:27:57 +02:00
Sébastien Helleu
0cc5df6649
irc: send all channels in a single JOIN command when reconnecting to the server ( closes #1551 )
2020-08-05 20:05:36 +02:00
Sébastien Helleu
12051a506d
irc: add support of UTF8MAPPING, add support of optional server in info "irc_is_nick" ( closes #1528 )
2020-06-20 17:28:28 +02:00
Sébastien Helleu
e130ee7358
core: make GnuTLS a required dependency
2020-04-18 11:34:59 +02:00
Sébastien Helleu
2efad93220
irc: remove empty lines
2020-03-28 10:36:10 +01:00
Sébastien Helleu
ba70173a2e
irc: fix variable name in function irc_server_connect when GnuTLS is disabled
2020-03-12 07:35:04 +01:00
Sébastien Helleu
8a5046f0a1
irc: add support of fake servers (no I/O, for testing purposes)
2020-03-09 21:09:55 +01:00
Sébastien Helleu
3590302183
irc: copy temporary server flag in command /server copy
2020-03-08 13:56:30 +01:00
Sébastien Helleu
230f648584
irc: use irc_server_prefix_chars_default if server->prefix_chars is NULL
2020-02-10 21:18:47 +01:00
Sébastien Helleu
40ccacb433
irc: fix crash when a new message 005 is received with longer nick prefixes
...
Thanks to Stuart Nevans Locke for reporting the issue.
2020-02-09 20:04:45 +01:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01:00
Simmo Saan
139a7053e4
irc: fix compilation with GnuTLS < 3.1.0 (issue #115 )
...
Due to this ssl_password will be partially unused with GnuTLS < 3.1.0.
In that case an encrypted SSL client cert import will simply fail.
2019-12-13 21:18:22 +01:00
Simmo Saan
116150c2fc
irc: add server option ssl_password for SSL certificate private key password ( closes #115 )
2019-10-09 21:37:41 +02:00
Sébastien Helleu
5398f5d566
irc: fix compiler warning on uninitialized variable
2019-10-09 07:17:32 +02:00
Sébastien Helleu
ae38b11407
irc: add "user" in output of irc_message_parse ( closes #136 )
2019-09-27 20:52:00 +02:00
Sébastien Helleu
39b6fb6137
irc: remove option irc.network.channel_encode, add server option "charset_message" ( closes #832 )
...
This new option controls which part of the IRC message is decoded/encoded to
the target charset, and the new default behavior is to decode/encode the whole
IRC message (behavior in WeeChat >= 1.3 was to decode/encode only the text by
default).
2019-09-22 20:41:00 +02:00
Sébastien Helleu
210e864899
irc: fix memory leak when removing a server
2019-08-05 20:58:24 +02:00
Sébastien Helleu
0bf5a5ae9c
irc: add variables "user_max_length" and "host_max_length" in server structure (issue #1387 )
2019-08-04 14:39:58 +02:00