Sebastien Helleu
9d74013036
irc: add option irc.network.lag_max
2013-12-06 08:40:44 +01:00
Sebastien Helleu
74333b2270
irc: suggest lower values for option irc.server.xxx.ssl_dhkey_size after SSL error GNUTLS_E_DH_PRIME_UNACCEPTABLE
2013-11-26 16:24:21 +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
22b53c6019
irc: fix reconnection to server using IPv6 (bug #38819 , bug #40166 )
2013-10-03 19:46:53 +02:00
Sebastien Helleu
39faaa7dbe
irc: replace default prefix modes "qaohvu" by the standard ones "ov" when PREFIX is not sent by server (bug #39802 )
2013-08-18 10:56:17 +02:00
Sebastien Helleu
dc878c5b69
api: add argument "options" in function string_eval_expression, add option "-c" for command /eval (to evaluate a condition)
2013-08-04 08:56:56 +02:00
Sebastien Helleu
663de42284
Merge branch 'secured-data'
2013-08-02 19:19:25 +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
a490195032
core: add secured data with optional encryption in file sec.conf
2013-07-27 12:57:08 +02:00
Sebastien Helleu
bbd080e680
irc: add option irc.look.pv_buffer: automatically merge private buffers (optionally by server) (task #11924 )
2013-03-17 22:18:11 +01:00
Sebastien Helleu
149c77decd
core: fix typos in many comments and some strings
2013-03-17 12:55:20 +01:00
Sebastien Helleu
7cf9c8a656
irc: rename option irc.network.lag_disconnect to irc.network.lag_reconnect, value is now a number of seconds
2013-03-12 18:35:03 +01:00
Sebastien Helleu
bc079b007d
irc: unmask smart filtered join if nick speaks in channel some minutes after the join, new option irc.look.smart_filter_join_unmask (task #12405 )
...
The nick changes are tracked and will be unmasked with the join.
Events triggering the unmask of join are: a message (can be CTCP), a notice or
an update of topic.
2013-02-17 13:27:36 +01:00
Sebastien Helleu
8b875cd412
irc: fix type of values in hashtables join_manual/join_noswitch, fix delay for purge
2013-02-16 18:38:39 +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
25eaec3864
core: use size of 32 for hashtables (instead of 4, 8 or 16)
...
A size of 32 will use a little more memory but will reduce collisions in key
hashs, and then length of linked lists inside hash structure (faster search in
hashtable).
2013-01-26 19:26:43 +01:00
Sebastien Helleu
f97598b4aa
core: update copyright dates
2013-01-01 13:12:49 +01:00
Sebastien Helleu
7eb5cc4b97
core: move comments with description of C file to top of files
2012-12-15 12:27:57 +01:00
Sebastien Helleu
7d34812f1c
core: reformat comments for functions
2012-12-13 18:51:44 +01:00
Sebastien Helleu
641de51bdb
api: allow creation of structure with hdata_update (allowed for hdata "history")
2012-12-08 23:54:07 +01:00
Sebastien Helleu
37a3001dc7
xfer: display remote IP address for DCC chat/file (task #12289 ) (patch from Nils Görs)
2012-11-27 22:45:22 +01:00
Sebastien Helleu
53b8cdfef3
irc: add support of tags in messages, add support of "server-time" capability (task #12255 )
...
For a server called "znc" in WeeChat, following command will enable the
"server-time" capability:
/set irc.server.znc.capabilities "znc.in/server-time"
2012-11-23 21:31:22 +01:00
Sebastien Helleu
f1d6f2c40a
irc: fix crash on /upgrade (free channels before server data when a server is destroyed) (bug #37736 )
2012-11-14 20:18:10 +01:00
Nils Görs
b1005fc23e
irc: add option irc.network.alternate_nick to disable dynamic nick generation when all nicks are already in use on server (task #12281 )
2012-11-02 17:51:12 +01:00
Sebastien Helleu
7002c44622
irc: fix compilation when gnutls is disabled (bug #37639 )
2012-11-02 09:58:12 +01:00
Sebastien Helleu
43c01f76a2
irc: remove local variable "away" in server/channels buffers after server disconnection (bug #37582 )
2012-10-16 19:25:36 +02:00
Sebastien Helleu
452229cf32
irc: fix cancel of auto-reconnection to server with /disconnect
...
This bug was introduced by commit 5931eed85d
2012-10-14 11:17:54 +02: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
Simon Arlott
36356521a1
irc: switch to next address after a timeout when connecting to server (bug #37216 )
2012-09-03 11:01:26 +02:00
Simon Arlott
055116f2b7
irc: fix bug when changing server option "addresses" with less addresses (bug #37215 )
2012-09-03 10:26:45 +02:00
Sebastien Helleu
606be401cc
irc: add network prefix in some irc/gnutls messages
2012-09-03 09:43:38 +02:00
Sebastien Helleu
df80aa5fc9
api: allow update for some variables of hdata, add new functions hdata_update and hdata_set
2012-08-27 09:47:46 +02:00
Sebastien Helleu
4a3756e753
irc: add network prefix in irc (dis)connection messages
2012-08-23 22:12:50 +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
3c615a956b
irc: set non-blocking socket before connecting to server (fix freeze with SSL after connection error)
2012-08-08 14:22:01 +02:00
Sebastien Helleu
32b8f34567
irc: replace calls to config_search_with_string with weechat_config_get
2012-07-23 19:10:27 +02:00
Sebastien Helleu
eab0110732
core: add support of arrays in hdata variables
2012-07-20 18:12:07 +02:00
Sebastien Helleu
aa971baa15
irc: fix format of message "USER" (according to RFC 2812) (bug #36825 )
...
Old format was: USER username username address :real name
New format is : USER username 0 * :real name
And now spaces are automatically replaced by underscores in username
(since no space is allowed here).
2012-07-15 09:53:36 +02:00
Sebastien Helleu
d247d773db
relay: fix freeze when writing on relay socket (use non-blocking sockets in relay for irc and weechat protocols) (bug #36655 )
2012-07-14 22:41:52 +02:00
Sebastien Helleu
9f4dbd2b3b
irc: fix freeze when reading on socket with SSL enabled (bug #35097 )
2012-06-09 11:43:02 +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
9972cce777
core: add a connection timeout for child process in hook_connect (bug #35966 )
2012-03-23 18:24:47 +01: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
73476cc0f8
irc: fix redirection of message when message is queued for sending on server
2012-03-12 11:55:35 +01:00
Sebastien Helleu
313c373492
irc: do not close server buffer and disconnect when server is destroyed during /upgrade
2012-02-29 19:21:46 +01:00
Sebastien Helleu
97888e7ef5
irc: fix typo in a comment
2012-02-29 19:13:34 +01:00
Kyle Fuller
e91d401f41
irc: add support of "external" SASL mechanism (task #11864 )
2012-02-29 15:22:03 +01:00