summaryrefslogtreecommitdiff
path: root/src/plugins/relay
AgeCommit message (Collapse)Author
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
2014-08-09relay: remove dead assignmentSébastien Helleu
2014-08-09relay: fix crash when an IRC "MODE" command is received from client without ↵Sébastien Helleu
arguments
2014-08-02relay: fix number of bytes sent/received on 32-bit systemsSébastien Helleu
2014-05-29relay: don't send signals "buffer_clear" and "buffer_line_added" for relay ↵Sébastien Helleu
raw/list buffers to clients (weechat protocol)
2014-05-24relay: check pointers received in hdata command to prevent crashes with bad ↵Sébastien Helleu
pointers (WeeChat protocol)
2014-05-24relay: remove warning on /reload of relay.conf when ports are definedSébastien Helleu
2014-05-08relay: add message "_buffer_cleared"Sébastien Helleu
2014-05-08relay: reformat commentSébastien Helleu
2014-05-08relay: fix disconnection of client on empty websocket framesTor Hveem
WeeChat disconnects any client when a frame with length 0 is recieved.
2014-05-07relay: add support of Internet Explorer websocket (closes #73)Sébastien Helleu
2014-04-13relay: add signal "relay_client_auth_ok" for irc and weechat protocolsSébastien Helleu
2014-04-12core: fix crash on "weechat --upgrade" if no .upgrade files are foundSébastien Helleu
2014-04-12core: use lower case for CMake keywordsSébastien Helleu
2014-04-05relay: add messages "_buffer_hidden" and "_buffer_unhidden"Sébastien Helleu
2014-04-03core: close .upgrade files before deleting them after /upgradeSébastien Helleu
2014-03-19core: fix use of reserved C identifiers in headers (closes #31)Sebastien Helleu
2014-03-11relay: search buffers by full nameSebastien Helleu
2014-03-07relay: fix crash on /upgrade received from a client (weechat protocol)Sebastien Helleu
Some commands like /upgrade sent by relay client can cause problems, because they were executed immediately (while relay code is running). The /upgrade command unloads all plugins, so the result is unpredictable (it can cause a crash). This commit adds a timer (1 millisecond) to delay the execution of command after we go back in the WeeChat main loop.
2014-03-05relay: add info "relay_client_count" with optional status name as argumentSebastien Helleu
Use in evaluated strings (for example in /eval or triggers): - "${info:relay_client_count}": total number of relay clients (any status) With a specific status: - "${info:relay_client_count,connecting}" - "${info:relay_client_count,waiting_auth}" - "${info:relay_client_count,connected}" - "${info:relay_client_count,auth_failed}" - "${info:relay_client_count,disconnected}"
2014-03-05relay: add signals "relay_client_xxx" for client status changes (closes #2)Sebastien Helleu
New signals: - relay_client_connecting - relay_client_waiting_auth - relay_client_connected - relay_client_auth_failed - relay_client_disconnected
2014-02-28relay: fix size used in a snprintfSebastien Helleu
2014-02-23relay: add option relay.network.clients_purge_delaySebastien Helleu
2014-02-23relay: fix freeze after /upgrade when many disconnected clients still existSebastien Helleu
The hooks for the WeeChat disconnected clients are not created again after /upgrade (they were removed on client disconnection, so there is no reason to create them again). The hooks like nicklist sync are called often (for example on irc disconnection), which can cause long freeze if many WeeChat disconnected clients exist in relay.
2014-02-22relay: remove dead assignment in function relay_client_recv_cbSebastien Helleu
2014-02-22relay: remove dead assignment in function relay_irc_get_line_infoSebastien Helleu