Sébastien Helleu
5389ceb237
irc: use parsed command parameters in "tagmsg" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
03e0122155
irc: use parsed command parameters in "setname" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
8d12187f3d
irc: require nick in "away" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
bf8c85f422
irc: use parsed command parameters in "quit" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
179822fb91
irc: use parsed command parameters in "privmsg" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
5e712d7145
irc: use parsed command parameters in "pong" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
8ea41d91c9
irc: use parsed command parameters in "ping" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
7a88e007a5
tests: check missing nick in IRC commands invite/join/kick/kill/mode/nick/part
2021-10-17 21:28:31 +02:00
Sébastien Helleu
257fe7362a
tests: fix comments
2021-10-17 21:28:31 +02:00
Sébastien Helleu
adcc04cc5a
irc: fix extraction of address from prefix
...
Do not return the nick when the address is missing.
2021-10-17 21:28:31 +02:00
Sébastien Helleu
e5996f626b
irc: use parsed command parameters in "part" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
d8c7cf41b5
irc: use parsed command parameters in "notice" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
5123483c33
tests: fix IRC protocol tests
2021-10-17 21:28:31 +02:00
Sébastien Helleu
1f83df7a18
irc: use parsed command parameters in "fail", "warn" and "note" command callbacks
2021-10-17 21:28:31 +02:00
Sébastien Helleu
56edeba7fc
irc: use parsed command parameters in "cap" command callback
2021-10-17 21:28:31 +02: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
3cd97b5131
tests: add missing include of string.h
2021-10-14 21:08:28 +02:00
Sébastien Helleu
d8b8bf5a84
tests: check displayed message/error for all simulated IRC commands received
2021-10-14 21:00:47 +02:00
Sébastien Helleu
ed9104fbea
irc: fix parsing of CAP message when there is no prefix ( closes #1707 )
2021-10-09 11:27:51 +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
791b910a77
irc: fix SASL authentication when AUTHENTICATE message is received with a server name ( closes #1679 )
2021-08-03 19:58:13 +02:00
Sébastien Helleu
7c83ee02f2
tests: add tests on typing plugin functions
2021-07-04 13:27:33 +02:00
Sébastien Helleu
22a7e18842
irc: add support of capability "message-tags" ( closes #1654 )
2021-06-24 21:04:52 +02:00
Sébastien Helleu
b1cf12700d
irc: add keys/values with tags in output of irc_message_parse_to_hashtable (issue #1654 )
...
Key is "tag_xxx" (where "xxx" is the name of tag) and value is the unescaped
tag value.
2021-06-24 21:02:03 +02:00
Sébastien Helleu
8ea1ee06e5
irc: add support of TAGMSG messages (issue #1654 )
2021-06-24 21:01:22 +02:00
Sébastien Helleu
23c46c3f2b
irc: escape/unescape IRC message tags values (issue #1654 )
...
Spec: https://ircv3.net/specs/extensions/message-tags#escaping-values
2021-06-24 20:59:21 +02:00
Sébastien Helleu
3d3cdf3884
tests: fix modifier name in comment
2021-06-21 19:58:53 +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
70b66c4f6b
irc: add command /setname, add support of message and capability "setname" ( closes #1653 )
2021-06-15 18:56:41 +02:00
Sébastien Helleu
b8baee1c06
irc: add support of FAIL/WARN/NOTE messages (issue #1653 )
...
Spec: https://ircv3.net/specs/extensions/standard-replies
2021-06-15 18:49:49 +02:00
Sébastien Helleu
18c82fc5c7
tests: replace freenode by libera in tests
2021-05-25 13:38:12 +02:00
Sébastien Helleu
ae39b7ce61
tests: fix if/else blocks in trigger tests
2021-04-11 10:42:24 +02:00
Sébastien Helleu
e58c827c91
trigger: add tests on main trigger functions
2021-04-11 09:20:49 +02:00
Sébastien Helleu
a34959a619
irc: add info "irc_is_message_ignored"
2021-02-03 18:30:32 +01:00
Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
1c5e5824e7
tests: run callback when resetting options in tests
2020-10-03 14:40:59 +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
5b151d1639
irc: check that the first nick char is not a prefix char or chantype in function irc_nick_is_nick
2020-06-21 10:22:37 +02:00
Sébastien Helleu
4a42cda3a5
irc: change default chantypes from "#&+!" to "#&"
...
The default chantypes was conflicting with
irc_server_prefix_chars_default ("@+").
2020-06-21 10:22:04 +02:00
Sébastien Helleu
9446610452
tests: add test of function irc_nick_is_nick with invalid UTF-8 string
2020-06-20 17:44:48 +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
bf964de939
tests: add tests on IRC function irc_channel_is_channel
2020-06-20 12:04:40 +02:00
Sébastien Helleu
e41eeaf203
tests: add tests on IRC command ACCOUNT with colon before the account name
2020-06-16 08:07:55 +02:00
Sébastien Helleu
62ccee9505
tests: run tests on plugins only if the plugins are enabled and compiled
2020-05-17 15:29:06 +02:00
Sébastien Helleu
60b75f4677
tests: add tests on functions relay_auth_password_hash_algo_search and relay_auth_generate_nonce
2020-04-20 07:16:08 +02:00
Sébastien Helleu
d38701f99f
tests: reduce number of iterations in PBKDF2 tests from 100000 to 1000
...
This speeds up tests by about 30%.
2020-04-19 10:56:25 +02:00
Sébastien Helleu
bfe22fc66a
tests: remove obsolete file test-relay-weechat-protocol.cpp
2020-04-19 10:56:11 +02:00
Sébastien Helleu
9fa3609c85
relay: add command "handshake" in weechat relay protocol and nonce to prevent replay attacks ( closes #1474 )
...
This introduces a new command called "handshake" in the weechat relay protocol.
It should be sent by the client before the "init" command, to negotiate the way
to authenticate with a password.
3 new options are added:
* relay.network.auth_password
* relay.network.hash_iterations
* relay.network.nonce_size
2020-04-14 21:38:12 +02:00
Sébastien Helleu
c59f812c74
tests: add tests on function irc_protocol_cb_353 with option irc.look.color_nicks_in_names set to on
2020-03-31 21:16:09 +02:00