1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 14:56:39 +02:00
Commit Graph

101 Commits

Author SHA1 Message Date
Sébastien Helleu 474541b857 irc: add support of "away-notify" capability (closes #12) 2014-03-30 16:16:13 +02:00
Sebastien Helleu 9b380a935b core: fix use of reserved C identifiers in headers (closes #31) 2014-03-19 10:39:13 +01:00
Sebastien Helleu 3acdcee0d9 irc: use MONITOR instead of ISON for /notify when it is available on server (task #11477) (patch from Nils Görs) 2014-01-23 11:31:57 +01:00
Maarten de Vries 357740f455 irc: add server option "ssl_fingerprint" (task #12724) 2014-01-21 10:35:38 +01:00
Sebastien Helleu 5668e2ab12 irc: use statusmsg from message 005 to check prefix char in status notices/messages 2014-01-02 10:47:18 +01:00
Sebastien Helleu 892aa79fb5 core: update copyright dates 2014-01-01 00:14:12 +01:00
Sebastien Helleu d82f8c8165 irc: add server option "default_msg_kick" to customize default kick/kickban message (task #12777) (patch from Nils Görs) 2013-10-08 19:57:04 +02:00
Sebastien Helleu 9951902c7b irc: use 6697 as default port for SSL servers created with URL "ircs://" (bug #39621) 2013-07-30 19:51:23 +02:00
Sebastien Helleu 149c77decd core: fix typos in many comments and some strings 2013-03-17 12:55:20 +01:00
Sebastien Helleu c1bc23b052 irc: fix memory leak in purge of hashtables with joins (it was done only for the first server in the list) 2013-02-16 10:00:28 +01:00
Sebastien Helleu f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +01:00
Simon Arlott 248aa8d73a api: connect with IPv6 by default in hook_connect (with fallback to IPv4), shuffle list of hosts for a same address (task #11205) 2012-10-14 10:59:00 +02:00
Sebastien Helleu 5cfeb2f2bc irc: add option "-noswitch" for command /join (task #12275) 2012-10-09 21:33:09 +02:00
Sebastien Helleu 5931eed85d irc: remove unneeded server disconnect when server buffer is closed and server is already disconnected
This commit fixes a problem with the script autoconnect.py: the script hooks
signal "irc_server_disconnected", and this signal was sent 2 times for each
server on /quit: one time when servers are disconnected, and one time when
servers are destroyed (because buffer is closed, and then server disconnected
again). The script forces save of irc.conf on each disconnection, so some
servers were lost in irc.conf, when some servers have already been destroyed.
2012-10-06 16:07:53 +02:00
Peter Boström a80635c8b2 irc: fix rejoin of channels with a key, ignore value "*" sent by server for key (bug #24131) 2012-09-18 18:08:21 +02:00
Sebastien Helleu 7f3d7e5f29 irc: generate alternate nicks dynamically when all nicks are already in use (task #12209) 2012-08-22 19:28:19 +02:00
Sebastien Helleu 21b87c428c irc: update channel modes by using chanmodes from message 005 (do not send extra command "MODES" to server), fix parsing of modes (bug #36215) 2012-05-15 12:48:50 +02:00
Sebastien Helleu 370a5ccb61 irc: add option "fakerecv" for command /server to simulate a received IRC message (not documented, for debug only) 2012-05-08 15:05:53 +02:00
Sebastien Helleu b69e82cb94 irc: do not allow the creation of two servers with same name but different case (fix error when writing file irc.conf) (bug #35840) 2012-03-17 10:14:25 +01:00
Sebastien Helleu 588921686d irc: rename server option "cap" to "capabilities" 2012-02-19 20:20:04 +01:00
Sebastien Helleu af72bcb01d irc: add option "cap" in servers to enable capabilities on connection 2012-02-19 19:04:11 +01:00
Sebastien Helleu 47e4a03be6 core: update copyright dates 2012-01-08 18:59:50 +01:00
Sebastien Helleu a35364524a irc: add optional server in info "irc_is_channel" (before channel name) (bug #35124), add optional server in info_hashtable "irc_message_parse" 2011-12-25 23:00:18 +01:00
Sebastien Helleu e3b7c8fdb7 irc: add case insensitive string comparison based on casemapping of server (rfc1459, strict-rfc1459, ascii) (bug #34239) 2011-11-12 10:56:52 +01:00
Sebastien Helleu 8503857d28 irc: allow URL "irc://" in command /connect 2011-11-04 12:47:01 +01:00
Sebastien Helleu e62cf7c57d irc: auto-connect to servers created with "irc://" on command line but not other servers if "-a" ("--no-connect") is given 2011-11-03 13:11:10 +01:00
Sebastien Helleu dfdf42e27b core: remove unneeded whitespace 2011-10-26 20:37:03 +02:00
Sebastien Helleu 4853a530b6 irc: improve split of privmsg, add split of some other messages (bug #29879), add new info_hashtable "irc_message_split", split irc messages in relay plugin
List of new features/bugs fixed:
- improve split of privmsg: keep CTCP in split
- add split of messages: ison, join, notice, wallops, 005, 353
- add new info_hashtable "irc_message_split" (for plugins/scripts)
- in relay plugin: split irc messages sent to clients of irc proxy
2011-08-26 10:31:37 +02:00
Sebastien Helleu c8b2a6a084 core: add "hdata" (direct access to WeeChat/plugin data) 2011-06-13 12:32:27 +02:00
Sebastien Helleu f393d0a3d2 irc: add option "ssl_priorities" in servers (task #10106, debian #624055) 2011-04-28 12:29:56 +02:00
Sebastien Helleu ea65e4d50f Add new option irc.look.buffer_switch_autojoin, rename option irc.look.buffer_auto_switch_on_join to irc.look.buffer_switch_join (task #10506) 2011-03-16 18:38:41 +01:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu b4d58dd9da Add option "-switch" to commands /connect and /reconnect 2010-12-09 23:05:15 +01:00
Sebastien Helleu c2fda185d8 Move some functions from irc-server.c and irc-protocol.c to irc-message.c 2010-11-21 13:06:37 +01:00
Sebastien Helleu e001c05710 Add IRC command /notify, new options for notify and infolist "irc_notify" (task #5441)
This commit provides:
- new IRC command /notify
- new options: irc.look.notify_tags_ison, irc.look.notify_tags_whois,
  irc.network.notify_check_ison, irc.network.notify_check_whois
- new option "notify" in servers (but should not be changed, only /notify
  command should be used)
- infolist "irc_notify" to get notify list (by server or for all servers).
2010-11-06 11:38:48 +01:00
Sebastien Helleu 90f06b348e Improve IRC nick prefixes, all modes (even unknown) are used with PREFIX value from message 005 2010-10-28 18:52:18 +02:00
Sebastien Helleu 868df21122 Add IRC command redirection (task #6703) 2010-10-23 09:54:31 +02:00
Sebastien Helleu b114d88687 Move some IRC options from network section to server section (task #10664, task #10668)
Options moved: connection_timeout, anti_flood_prio_high, anti_flood_prio_low,
away_check, away_check_max_nicks, default_msg_part, default_msg_quit.
2010-10-09 16:53:06 +02:00
Sebastien Helleu 6e89c47bf1 Switch to next server address when IRC error is received after TCP connection but before message 001 (bug #30884) 2010-10-08 18:31:17 +02:00
Sebastien Helleu 36736564ab Fix crash/bug when option "addresses" for an IRC server is unset or changed when WeeChat is connected to this server (bug #31268) 2010-10-07 13:15:49 +02:00
Sebastien Helleu d2d60d4711 Beta version of IRC proxy feature in Relay plugin
Major changes in Relay plugin:
- IRC proxy feature (beta),
- raw buffer.

Changes in IRC plugin:
- add tags for messages sent to servers,
- add signal "irc_input_send" to simulate text/command on an IRC buffer,
- add prefix in infolist "irc_nick".
2010-09-17 14:47:36 +02:00
Sebastien Helleu 5d0ad1f631 Do not send WHO on channel joined (to check away nicks) if option irc.network.away_check is set to 0 2010-09-12 10:42:29 +02:00
Sebastien Helleu 712623547f Add new functions in plugin API (hashtable_get_string, hook_info_hashtable, info_get_hashtable), add IRC info_hashtable "irc_parse_message"
Note: tcl >= 8.5 is now required (for tcl plugin).
2010-08-27 15:59:06 +02:00
Sebastien Helleu aefa40836b Improve irc lag indicator: two colors (counting and finished), update item even when pong has not been received, lag_min_show is now in milliseconds 2010-07-06 12:17:30 +02:00
Sebastien Helleu dcdba08f8a Update comments after #endif in C headers 2010-06-25 15:03:39 +02:00
Sebastien Helleu 6562d676fe Update licenses and copyrights, add missing author names in sources 2010-06-22 19:46:28 +02:00
Sebastien Helleu b36ed39388 Fix bug with nick prefix '*' (chan founder) on some IRC servers (bug #29890) 2010-05-29 09:18:19 +02:00
Sebastien Helleu 2dee40dd1a Add isupport value in IRC servers (content of IRC message 005), with new infos: irc_server_isupport and irc_server_isupport_value 2010-05-22 10:51:43 +02:00
Sebastien Helleu 87d29b1987 Add new options irc.network.autoreconnect_delay_growing and irc.network.autoreconnect_delay_max (task #10338) 2010-04-21 23:24:05 +02:00
Sebastien Helleu 12afdb29c4 Fix bug with IRC nicks on reconnection: try all nicks in list, even if nick used was not the first in list of nicks 2010-03-30 10:40:01 +02:00