summaryrefslogtreecommitdiff
path: root/src/plugins/relay
AgeCommit message (Collapse)Author
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
2014-02-22relay: fix NULL pointer when reading buffer lines for irc backlogSebastien Helleu
2014-02-21relay: return WEECHAT_RC_ERROR in command /relay if arguments are wrong/missingSebastien Helleu
2014-02-10api: add integer return code for functions hook_{signal|hsignal}_sendSebastien Helleu
2014-01-31relay: send backlog for irc private buffersSebastien Helleu
2014-01-18core: reformat hook_command argumentsSebastien Helleu
2014-01-09core: add "POSIX extended" in description of options/commands/functions ↵Sebastien Helleu
using regular expressions
2014-01-09relay: fix memory leak on unload of relay pluginSebastien Helleu
2014-01-05core: fix crash with hdata_update on shared strings, add hdata type ↵Sebastien Helleu
"shared_string" (bug #41104)
2014-01-01core: update copyright datesSebastien Helleu
2013-12-22relay: use syntax \xNN instead of \NN for control chars in raw bufferSebastien Helleu
2013-11-09relay: load plugin even if options can not be read in relay.conf (with warnings)Sebastien Helleu
2013-10-05core: move the "-no-undefined" from LDFLAGS in configure.ac to Makefile.am ↵Sebastien Helleu
in plugins This "-no-undefined" was causing an error when detecting "ld" lib on Cygwin.
2013-10-05relay: fix decoding of websocket frames when there are multiple frames in a ↵Sebastien Helleu
single message received (only the first one was decoded)
2013-09-19relay: add support of secured data in option relay.network.password ↵Sebastien Helleu
(evaluate content) (patch from Nils Görs)
2013-07-20core: replace obsolete INCLUDES by AM_CPPFLAGS in files Makefile.amSebastien Helleu
2013-07-11core: sort config options by name in sourcesSebastien Helleu
2013-06-09relay: add command "ping" in weechat protocol (task #12689)Sebastien Helleu
2013-05-30relay: fix binding to an IP address (bug #39119)Mantas Mikulėnas
2013-05-18relay: fix uncontrolled format string in redirection of irc commandsSebastien Helleu
2013-05-01relay: remove temporary option "nicklistdiff" (in command init), send ↵Sebastien Helleu
nicklist diff by default (weechat protocol) The temporary option was introduced because the nicklist diff was experimental. It is now enabled by default, and there is no way to disable it. Therefore any relay client using weechat protocol must implement the message "_nicklist_diff" (unless nicklist is ignored by client). Extra note: a full nicklist may still be sent if a message with diff would be bigger than whole nicklist. So both full nicklist (message "_nicklist") and nicklist diff (message "_nicklist_diff") must be implemented by clients.
2013-04-21relay: fix typo in error displayed by command /relay delSebastien Helleu