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

121 Commits

Author SHA1 Message Date
Sebastien Helleu 8d5dee9aa0 relay: add gcrypt include and link arguments to compile relay plugin 2013-02-12 12:51:26 +01:00
Sebastien Helleu c2aeb69c46 relay: add experimental websocket server support (RFC 6455) for irc and 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-10 20:22:13 +01:00
Sebastien Helleu e4149b073d relay: add options "buffers" and "upgrade" for commands sync/desync in weechat protocol 2013-02-07 22:08:31 +01:00
Sebastien Helleu 7a1f9a1d7f relay: fix commands sync/desync in weechat protocol (bug #38215)
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-03 09:51:15 +01:00
Sebastien Helleu afe729435a relay: fix typo in comment 2013-02-03 08:38:41 +01:00
Sebastien Helleu ac94f68b59 relay: add return of a NULL pointer in command "test" 2013-02-01 09:58:30 +01:00
Sebastien Helleu 08f360692d relay: add comments with example of messages in weechat protocol 2013-02-01 08:53:37 +01:00
Sebastien Helleu 25eaec3864 core: use size of 32 for hashtables (instead of 4, 8 or 16)
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-26 19:26:43 +01:00
Sebastien Helleu 27b539affe core: display error number and string in some network errors
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-24 08:55:04 +01:00
Sebastien Helleu 57024ab1e4 relay: fix duplicated messages sent to irc clients (when messages are redirected) (bug #37870) 2013-01-11 10:30:44 +01:00
Sebastien Helleu ca205ccb8c relay: fix typo in comment 2013-01-11 10:28:28 +01:00
Sebastien Helleu f1580f5276 relay: add debug message for signal "irc_disconnected" 2013-01-11 10:27:26 +01:00
Sebastien Helleu 3c782bd905 relay: fix name of signal in debug message (replace "irc_out" by "irc_outtags") 2013-01-11 09:28:58 +01:00
Sebastien Helleu 7d1ad59dde relay: add message when address family is not supported by protocol (on socket creation) 2013-01-08 08:14:07 +01:00
Sebastien Helleu 1a646d5dbf relay: add error number and string when socket creation fails 2013-01-07 21:34:05 +01:00
Sebastien Helleu 4ebd300340 relay: send UTC time in irc backlog (when server capability "server-time" is enabled) 2013-01-01 15:13:05 +01:00
Sebastien Helleu f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +01:00
Sebastien Helleu 306b209421 relay: fix memory leak when adding hdata to a message (weechat protocol) 2012-12-25 16:59:46 +01:00
Sebastien Helleu cf76379aa9 relay: add backlog, options and server capability "server-time" for irc protocol (task #12076)
New options:
- relay.irc.backlog_max_minutes
- relay.irc.backlog_max_number
- relay.irc.backlog_since_last_disconnect
- relay.irc.backlog_tags
- relay.irc.backlog_time_format
2012-12-24 17:31:33 +01:00
Sebastien Helleu 33f01dcb63 relay: fix crash after /upgrade when a client is connected 2012-12-23 10:51:54 +01:00
Nils Görs 0c15deefc0 relay: add tag "relay_client" in all messages about client 2012-12-21 22:34:12 +01:00
Sebastien Helleu 7eb5cc4b97 core: move comments with description of C file to top of files 2012-12-15 12:27:57 +01:00
Sebastien Helleu 7d34812f1c core: reformat comments for functions 2012-12-13 18:51:44 +01:00
Sebastien Helleu eba2211427 relay: fix crash when receiving a new client on a socket 2012-10-19 19:28:26 +02:00
stfn c2b26972da core: fix gnutls warnings 2012-10-18 22:36:52 +02:00
Sebastien Helleu ed506558e8 core: add option "-quit" for command /upgrade (save session and quit without restarting WeeChat, for delayed restoration) 2012-10-18 20:59:56 +02:00
Sebastien Helleu 82a8acf9ce relay: add support of IPv6, new option relay.network.ipv6, add support of "ipv4." and/or "ipv6." before protocol name, to force IPv4/IPv6 (task #12270) 2012-10-16 19:14:26 +02:00
Sebastien Helleu 33d90d75c3 relay: add missing "ssl." in output of /relay listrelay 2012-10-05 15:21:32 +02:00
Sebastien Helleu b3c4f3d7d2 relay: add tag "relay_client" for messages of new/disconnected client 2012-09-26 16:47:52 +02:00
Sebastien Helleu d5c4f05497 relay: add cast from time_t to long (fix warning under FreeBSD) 2012-08-17 11:05:38 +02:00
Sebastien Helleu a99d136018 core: add new plugin "script" (scripts manager, replacing scripts weeget.py and script.pl) 2012-08-14 18:29:32 +02:00
Sebastien Helleu e41595833a core: update description of plugins and translate them in output of /plugin 2012-08-02 09:21:47 +02:00
Sebastien Helleu 83dc57f56e relay: add missing gnutls lib for link 2012-08-01 17:35:44 +02:00
Sebastien Helleu 3f973f8cbc relay: set Diffie-Hellman parameters on first SSL connection from a client (makes relay plugin load faster), reuse function gnutls_sec_param_to_pk_bits 2012-07-30 09:28:27 +02:00
Sebastien Helleu cdba3da0b7 relay: fix compilation with old gnutls (< 2.12.0): remove call to gnutls_sec_param_to_pk_bits 2012-07-27 23:06:09 +02:00
Sebastien Helleu ddf7be769a relay: remove compiler warnings when gnutls is not enabled/found 2012-07-27 18:19:33 +02:00
Sebastien Helleu 782e01f177 relay: add support of SSL (for irc and weechat protocols), new option relay.network.ssl_cert_key (task #12044) 2012-07-27 17:54:08 +02:00
Sebastien Helleu 51c1168ff3 relay: add "tags_array" in data sent for message id "_buffer_line_added" (WeeChat protocol) 2012-07-23 12:02:43 +02:00
Sebastien Helleu bd7332455d relay: add object type "arr" (array) in WeeChat protocol 2012-07-20 18:18:37 +02:00
Sebastien Helleu cb0bfad148 relay: remove unneeded headers included in relay-upgrade.c 2012-07-17 18:12:09 +02:00
Sebastien Helleu 99c1065bcf relay: move creation of client from relay-upgrade.c to relay-client.c 2012-07-17 09:56:03 +02:00
Sebastien Helleu 380ce5d45d relay: fix outqueue pointers in client after upgrade 2012-07-16 21:59:39 +02:00
Sebastien Helleu 5dfcf614b5 relay: fix NULL pointer on upgrade in client->protocol_args (for WeeChat protocol) 2012-07-16 21:39:43 +02:00
Sebastien Helleu d247d773db relay: fix freeze when writing on relay socket (use non-blocking sockets in relay for irc and weechat protocols) (bug #36655) 2012-07-14 22:41:52 +02:00
Sebastien Helleu a5f68bed01 relay: keep spaces in beginning of "input" received from client (WeeChat protocol) 2012-05-17 22:38:27 +02:00
Sebastien Helleu a62b243af5 relay: add signals "upgrade" and "upgrade_ended" in WeeChat protocol 2012-05-17 11:24:59 +02:00
Sebastien Helleu 04275a7354 relay: fix crash on /upgrade when client is connected using WeeChat protocol 2012-05-17 09:37:04 +02:00
Sebastien Helleu d87eacccc9 relay: redirect some irc messages from clients to hide output (bug #33516)
Messages redirected by relay plugin: mode, ison, list, names, topic, who,
whois, whowas, time, userhost.
2012-03-18 08:58:19 +01:00
Sebastien Helleu d495c41919 relay: add "date_printed" and "highlight" in signal "_buffer_line_added" (WeeChat protocol) 2012-03-06 12:05:33 +01:00
Sebastien Helleu 0f7150db19 relay: use protocol arguments for protocol "irc" only (arguments forbidden for protocol "weechat") 2012-01-23 12:21:29 +01:00