1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 20:06:38 +02:00
Commit Graph

2353 Commits

Author SHA1 Message Date
Sébastien Helleu 705d86e684 core: update copyright dates 2017-01-01 11:32:04 +01:00
Sébastien Helleu 668bb3a4ad api: add info "uptime" (WeeChat uptime) 2016-12-31 18:28:55 +01:00
Sébastien Helleu 06a15b8762 script: fix auto-load of new scripts with /script install
Regression was introduced by commit
4c6d9e14d1.
2016-12-31 12:46:52 +01:00
Sébastien Helleu f18a32e160 irc: add examples in help of usermode server option 2016-12-15 21:21:35 +01:00
Sébastien Helleu 6c1815d3d1 core, xfer: display more information on fork errors (issue #573) 2016-12-13 18:24:46 +01:00
Sébastien Helleu 36c9317077 irc: evaluate content of server option "usermode" 2016-12-11 13:50:38 +01:00
Sébastien Helleu ab490e10c7 irc: rename server option "umodes" to "usermode" 2016-12-11 13:43:34 +01:00
Sébastien Helleu 50a50d0339 Merge remote-tracking branch 'origin/pr/820' 2016-12-11 13:06:05 +01:00
Sébastien Helleu 28fde407f4 irc: evaluate content of server option "ssl_fingerprint" (closes #858) 2016-12-03 09:44:18 +01:00
Sébastien Helleu 4c6d9e14d1 script: reload a script after upgrade only if it was loaded, set autoload only if the script was auto-loaded (closes #855) 2016-12-01 19:34:23 +01:00
Sébastien Helleu fa3ada831d core: add optional command prefix in completion templates "commands", "plugins_commands" and ""weechat_commands" 2016-11-29 23:36:55 +01:00
Sébastien Helleu 64f05204f9 api: move functions hook_completion* after hook_command 2016-11-27 17:34:15 +01:00
Sébastien Helleu 377fad22db irc: add tag "self_msg" on self messages (closes #840) 2016-11-26 13:58:16 +01:00
Sébastien Helleu cfc22c700c irc: add missing tags on CTCP message sent 2016-11-26 13:49:34 +01:00
Sébastien Helleu 0cec295a41 fifo: add file fifo.conf and option fifo.file.path to customize FIFO pipe path/filename (closes #850) 2016-11-22 19:24:40 +01:00
Sébastien Helleu 111f8245d8 api: add info "pid" (WeeChat PID) (issue #850) 2016-11-20 16:07:27 +01:00
Sébastien Helleu 6aad13f3a7 trigger: add comments above default triggers 2016-11-19 14:31:40 +01:00
Sébastien Helleu 68d5a89b3d trigger: do not hide email in command "/msg nickserv register password email" (closes #849) 2016-11-19 14:20:10 +01:00
Sébastien Helleu 4a2cd9d034 irc: fix help on mask in command /ignore 2016-11-09 20:48:35 +01:00
tomoe-mami 899b397f3f lua: use lua_pushinteger for int values in lua 5.3 2016-11-01 14:18:47 +01:00
Sébastien Helleu 335ab22a55 xfer: add check on filename2 allocation
Now string_expand_home() can return NULL if the HOME environment
variable it not set, so this commit adds an extra check on the variable
"filename2" before using it.
2016-10-30 07:07:29 +01:00
Sébastien Helleu d4a9c48cc8 relay: set status to AUTH_FAILED in case of auth failure in irc protocol (issue #825) 2016-10-25 07:23:26 +02:00
Sébastien Helleu 133cbbd947 relay: set status to AUTH_FAILED in case of auth failure in weechat protocol (closes #825) 2016-10-21 07:49:10 +02:00
Sébastien Helleu b51beb6766 irc: change default value of option irc.network.lag_reconnect to 300 (closes #818) 2016-10-18 22:06:39 +02:00
Simmo Saan 03fbb4ffdc Add server option umodes (closes #377) 2016-10-12 21:38:49 +03:00
Sébastien Helleu 292bad719a irc: remove unneeded comment 2016-09-22 21:07:26 +02:00
Rob Campbell cb382a0174 Fix for unclosed/leaking sockets from issue #358 2016-09-19 02:20:52 -07:00
Sébastien Helleu 5d5335b2c1 irc: fix display of service notice mask (message 008) (closes #429) 2016-08-30 18:36:07 +02:00
Sébastien Helleu 2f0d39f98d xfer: fix crash on DCC send if option xfer.file.auto_accept_nicks is set (closes #781) 2016-08-20 19:52:47 +02:00
Sébastien Helleu 4c25604dec xfer: fix NULL pointer derefence in case of memory error in xfer_set_{local|remote}_address() 2016-08-13 15:36:46 +02:00
Sébastien Helleu 6c6cc73da2 xfer: fix memory leak in case of memory error in xfer_chat_open_buffer() 2016-08-13 15:35:40 +02:00
Sébastien Helleu f7604c5a6b irc: fix NULL pointer derefence in case of memory error in irc_sasl_dh() 2016-08-13 15:33:02 +02:00
Sébastien Helleu db76d6a097 trigger: add missing step with post action in /help trigger 2016-08-10 22:31:49 +02:00
Sébastien Helleu 73db57f245 trigger: add post action in command line built by /trigger input|output|recreate 2016-08-09 22:12:17 +02:00
Sébastien Helleu 00dc40da1d trigger: add quotes around completions of post action 2016-08-09 22:06:09 +02:00
Sébastien Helleu de7dc59c87 trigger: rename "once action" to "post action" 2016-08-09 21:35:39 +02:00
Sébastien Helleu 810077fc12 Merge remote-tracking branch 'origin/pr/509' 2016-08-09 21:05:34 +02:00
Sébastien Helleu c74e7cb7d7 irc: remove evil tab 2016-08-07 16:35:27 +02:00
Sébastien Helleu 751769b49d core: irc, xfer: do not check return code of res_init()
If the call to res_init() fails, the connection may be OK anyway
or in worst case it will fail (with an appropriate error) if the name
can not be resolved.
2016-08-07 16:17:42 +02:00
Sébastien Helleu f695a79d9b core, irc, xfer: add missing includes for function res_init() 2016-08-07 16:15:59 +02:00
Raghavendra Prabhu 761c5e2d11 core/plugins: Use res_init before getaddrinfo.
With weechat, if the network changes in anyway that causes resolv.conf
to be updated, that is not picked up, resulting in

    irc: connecting to server XXXX.com/1026 (SSL)...
    irc: address "XXX.com" not found
    irc: error: Name or service not known
    irc: reconnecting to server in 30 seconds

This happens, especially when one connects to an irc server behind a
VPN.

This can also happen when there is no network connectivity weechat was started
but later network is connected to.

The fix is simple, it relies on calling  res_init (3) before getaddrinfo in
network_connect_child and other places.

res_init reloads the resolv.conf and getaddrinfo does not fail with
address resolution error.
2016-08-07 13:20:54 +01:00
Sébastien Helleu 24d9abf46d Merge pull request #738 from scumjr/master
irc: fix NULL pointer dereference in 734 command callback
2016-08-02 18:29:12 +02:00
Sébastien Helleu 09c52755d1 relay: return an empty hdata when the requested hdata or pointer is not found (closes #767) 2016-07-29 15:55:42 +02:00
Sébastien Helleu 34ccf3fd81 irc: rename server options "default_msg_*" to "msg_*", evaluate them 2016-07-17 09:29:14 +02:00
Sébastien Helleu e2a3cc8bf4 irc: fix typo in a comment 2016-07-09 21:26:28 +02:00
Sébastien Helleu 20c86db0d8 api: remove functions printf_date() and printf_tags() 2016-06-18 08:49:35 +02:00
Sébastien Helleu 7342a47de0 core, irc, xfer: display more information in memory allocation errors (issue #573) 2016-05-27 20:13:35 +02:00
scumjr e7fd68c29e irc: fix NULL pointer dereference in 734 command callback 2016-05-19 12:50:04 +02:00
Sébastien Helleu 499b9be1fb relay: add option relay.network.allow_empty_password (closes #735) 2016-05-18 07:55:03 +02:00
Sébastien Helleu af83fb55e1 relay: allow escape of comma in command "init" (weechat protocol) (issue #730) 2016-05-13 19:37:19 +02:00