summaryrefslogtreecommitdiff
path: root/src/plugins/relay
AgeCommit message (Collapse)Author
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
2013-03-17relay: rename compression "gzip" to "zlib" (compression is zlib, not gzip) ↵Sebastien Helleu
(thanks to Dominik Honnef)
2013-03-17core: fix typos in many comments and some stringsSebastien Helleu
2013-03-13relay: add missing "id" in raw messages sent to clients when compression is ↵Sebastien Helleu
off (weechat protocol)
2013-03-13relay: add negative numbers (integer: -123456 and long: -1234567890L) in ↵Sebastien Helleu
command "test" (weechat protocol)
2013-03-09relay: add message "_nicklist_diff" (differences between old and current ↵Sebastien Helleu
nicklist) This is an experimental feature, that must be explicitely enabled by clients (for weechat protocol) in the init command with option "nicklistdiff", for example: init password=mypasswd,nicklistdiff=1 This option will be removed when clients will handle nicklist diff.
2013-02-23relay: add support of multiple servers on same port for irc protocol (the ↵Sebastien Helleu
client must send the server in the "PASS" command)
2013-02-12relay: fix crash when decoding a websocket frameSebastien Helleu
2013-02-12relay: add gcrypt include and link arguments to compile relay pluginSebastien Helleu
2013-02-10relay: add experimental websocket server support (RFC 6455) for irc and ↵Sebastien Helleu
weechat protocols, new option relay.network.websocket_allowed_origins It is a partial implementation of RFC 6455: fragmentation and control frames are not yet supported. Text and binary frames are supported.
2013-02-07relay: add options "buffers" and "upgrade" for commands sync/desync in ↵Sebastien Helleu
weechat protocol
2013-02-03relay: fix commands sync/desync in weechat protocol (bug #38215)Sebastien Helleu
Fix: - use proper arguments in commands sync/desync (use argv[0] instead of argv[1]) - when searching if a buffer is synchronized, its name has higher priority on "*" (so first check if buffer is synchronized, and if not found, search if "*" is synchronized) - when receiving a "nicklist_*" signal, check if the buffer is synchronized with flag "RELAY_WEECHAT_PROTOCOL_SYNC_NICKLIST"
2013-02-03relay: fix typo in commentSebastien Helleu
2013-02-01relay: add return of a NULL pointer in command "test"Sebastien Helleu
2013-02-01relay: add comments with example of messages in weechat protocolSebastien Helleu
2013-01-26core: use size of 32 for hashtables (instead of 4, 8 or 16)Sebastien Helleu
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-24core: display error number and string in some network errorsSebastien Helleu
Error number and string is now displayed when an error is returned by one of these functions: socket, setsockopt, fcntl, pipe, accept, bind, listen, mkfifo.
2013-01-11relay: fix duplicated messages sent to irc clients (when messages are ↵Sebastien Helleu
redirected) (bug #37870)
2013-01-11relay: fix typo in commentSebastien Helleu
2013-01-11relay: add debug message for signal "irc_disconnected"Sebastien Helleu
2013-01-11relay: fix name of signal in debug message (replace "irc_out" by "irc_outtags")Sebastien Helleu