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
Sébastien Helleu
fd592c2323
irc: quote NICK command argument sent to the server only if there's a ":" in the nick ( closes #1376 , issue #1319 )
2019-07-11 07:08:36 +02:00
Sébastien Helleu
0d9b7ec954
irc: strip spaces at beginning/end of addresses in server option "addresses" ( closes #195 )
2019-06-15 20:50:48 +02:00
Sébastien Helleu
9178156354
api: add argument "strip_items" in function string_split
2019-06-15 20:47:14 +02:00
Sébastien Helleu
a24817b141
irc: rename server variable "nick_host" to "host"
2019-05-12 07:46:01 +02:00
Sébastien Helleu
35237c8088
irc: add bar items "irc_nick", "irc_host" and "irc_nick_host"
2019-05-10 22:00:33 +02:00
Sébastien Helleu
06aa7034fb
irc: add variable "nick_host" in server structure
2019-05-10 21:59:31 +02:00
Sébastien Helleu
3d95217745
api: return allocated string in hook_info callback and function info_get
2019-04-13 08:42:45 +02:00
Sébastien Helleu
ff32112396
irc: fix length of string for SHA-512, SHA-256 and SHA-1 in help on ssl_fingerprint option
2019-03-21 23:36:24 +01:00
Sébastien Helleu
5c2c19c0cd
irc: fix compilation warning when gnutls is not found
2019-03-12 22:26:28 +01:00
Sébastien Helleu
2b70d71aa1
core: replace argument "keep_eol" by "flags" in function string_split ( closes #1322 )
2019-03-10 18:29:16 +01:00
Matthew Martin
77a9322bbf
irc: quote argument to NICK
2019-02-28 18:55:26 -06: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
c8da268df1
irc: fix code style
2018-05-20 17:29:01 +02:00