summaryrefslogtreecommitdiff
path: root/src/plugins/relay
AgeCommit message (Collapse)Author
2017-03-26relay: check buffer pointer received in "sync" and "desync" commands ↵Sébastien Helleu
(weechat protocol) (closes #936)
2017-03-26relay: remove buffer from synchronized buffers when it is closed (fix memory ↵Sébastien Helleu
leak)
2017-03-25relay: check that pointers received in arguments are not NULL in "free" ↵Sébastien Helleu
functions Functions: - relay_irc_free - relay_client_outqueue_free - relay_raw_message_free - relay_weechat_msg_free - relay_weechat_nicklist_item_free - relay_weechat_nicklist_free - relay_weechat_free
2017-01-13tests: fix compilation of tests on FreeBSD 11Sébastien Helleu
Some includes were missing in .h files, and the tests must be linked with intl and execinfo on FreeBSD.
2017-01-11relay: make HTTP headers case-insensitive for WebSocket connections (closes ↵Sébastien Helleu
#888)
2017-01-01core: update copyright datesSébastien Helleu
2016-10-25relay: set status to AUTH_FAILED in case of auth failure in irc protocol ↵Sébastien Helleu
(issue #825)
2016-10-21relay: set status to AUTH_FAILED in case of auth failure in weechat protocol ↵Sébastien Helleu
(closes #825)
2016-07-29relay: return an empty hdata when the requested hdata or pointer is not ↵Sébastien Helleu
found (closes #767)
2016-06-18api: remove functions printf_date() and printf_tags()Sébastien Helleu
2016-05-18relay: add option relay.network.allow_empty_password (closes #735)Sébastien Helleu
2016-05-13relay: allow escape of comma in command "init" (weechat protocol) (issue #730)Sébastien Helleu
2016-03-21core: add pointer in some callbacks (closes #406)Sébastien Helleu
This pointer is the first argument received by callbacks, and the existing argument "data" is now automatically freed by WeeChat when the object containing the callback is removed. With this new pointer, the linked list of callbacks in scripts has been removed. This will improve speed of scripts (using a lot of hooks), reduce memory used by scripts and reduce time to unload scripts. Following functions are affected in the C API: * exec_on_files * config_new * config_new_section * config_new_option * hook_command * hook_command_run * hook_timer * hook_fd * hook_process * hook_process_hashtable * hook_connect * hook_print * hook_signal * hook_hsignal * hook_config * hook_completion * hook_modifier * hook_info * hook_info_hashtable * hook_infolist * hook_hdata * hook_focus * unhook_all_plugin * buffer_new * bar_item_new * upgrade_new * upgrade_read
2016-03-05relay: do not execute any command received from an irc relay client (closes ↵Sébastien Helleu
#699)
2016-02-08relay: fix the max number of clients connected on a port, allow value 0 for ↵Sébastien Helleu
"no limit" (closes #669)
2016-02-06relay: do not print final '\0' in raw message for a websocket PING message ↵Sébastien Helleu
received
2016-02-06relay: fix websocket frame decoding, answer a PONG to PING (closes #675)Sébastien Helleu
2016-02-04relay: fix commentSébastien Helleu
2016-02-02relay: fix typo in a commentSébastien Helleu
2016-01-23relay: fix command "input" received from clients (weechat protocol) (closes ↵Sébastien Helleu
#663) The command "input" received with only spaces in content of message was ignored by WeeChat (because of the split on spaces).
2016-01-01core: update copyright datesSébastien Helleu
2015-12-20relay: add option relay.irc.backlog_since_last_messageNick
2015-09-13relay: remove useless condition always evaluated to trueSébastien Helleu
2015-08-23relay: display the arrow before client id and protocol in raw bufferSébastien Helleu
This prevents the arrow to be truncated if the option weechat.look.prefix_align_max is set to a non-zero value.
2015-08-22relay: use API function string_hex_dump() to display raw messageSébastien Helleu
2015-06-13relay: add a variable to read only one time the HTTP header "X-Real-IP" in ↵Sébastien Helleu
the hashtable
2015-06-11relay: print value of HTTP Header X-Real-IPTor Hveem
When relay plugin gets a new successfull handshake for a relay connection using websocket it will look for HTTP header X-Real-IP which is commonly used when proxying connections. This allows users of WeeChat and proxy to see the client's real IP address instead of the address of the HTTP proxy.
2015-04-30core: add comments after some #endifSébastien Helleu
2015-02-20relay: fix up/down keys on relay buffer (closes #335)Sébastien Helleu
2015-02-04relay: remove v4-mapped addresses in /help relay.network.allowed_ipsAnders Bergh
v4-mapped addresses aren't used since commit 85339f6.
2015-01-21core: add gnutls version in #if compiler directivesSébastien Helleu
2015-01-15core: add priority in plugins to initialize them in orderSébastien Helleu
Current order is: charset, logger, exec, trigger, aspell, alias, fifo, xfer, irc, relay, guile/lua/perl/python/ruby/tcl, script.
2015-01-01core: update copyright datesSébastien Helleu
2014-12-13core: use https for WeeChat URLsSébastien Helleu
2014-12-07relay: wait for message CAP END before sending join of channels and backlog ↵Sébastien Helleu
to the client (closes #223)
2014-12-02relay: rename info/infolist callbacksSébastien Helleu
2014-11-22api: return value in function command(), remove WeeChat error after command ↵Sébastien Helleu
callback if return code is WEECHAT_RC_ERROR
2014-11-16relay: send messages "_buffer_localvar_*" and "_buffer_type_changed" with ↵Sébastien Helleu
sync "buffers" (closes #191)
2014-11-04relay: disable SSLv3 by defaultSébastien Helleu
The new default value for option relay.network.ssl_priorities is now "NORMAL:-VERS-SSL3.0".
2014-11-02relay: don't remove relay from config when the binding fails (closes #225), ↵Sébastien Helleu
add options "stop" and "restart" in command /relay
2014-10-26relay: add option relay.network.ssl_priorities (closes #234)Sébastien Helleu
2014-10-08relay: use comma separator in option relay.irc.backlog_tags, check the value ↵Sébastien Helleu
of option when it is changed with /set
2014-10-08relay: add host in sender for IRC backlog PRIVMSG messages sent to clientsSébastien Helleu
2014-09-28relay: add quotes in commentSébastien Helleu
2014-09-28relay: don't print ::ffff: in v4-mapped addresses.Anders Bergh
2014-09-26relay: fix send of signals "relay_client_xxx" (closes #214)Sébastien Helleu
The signals about relay client status changes were sent only when the client has ended. Now it is went on any status change.
2014-08-29api: use microseconds instead of milliseconds in functions util_timeval_diff ↵Sébastien Helleu
and util_timeval_add
2014-08-09relay: fix memory leak during handshake on websocketSébastien Helleu
2014-08-09relay: fix memory leak when receiving several lines from client (weechat ↵Sébastien Helleu
protocol)
2014-08-09relay: fix memory leak when receiving commands from client (weechat protocol)Sébastien Helleu