Sébastien Helleu
705d86e684
core: update copyright dates
2017-01-01 11:32:04 +01:00
Sébastien Helleu
d4a9c48cc8
relay: set status to AUTH_FAILED in case of auth failure in irc protocol (issue #825 )
2016-10-25 07:23:26 +02:00
Sébastien Helleu
133cbbd947
relay: set status to AUTH_FAILED in case of auth failure in weechat protocol ( closes #825 )
2016-10-21 07:49:10 +02:00
Sébastien Helleu
09c52755d1
relay: return an empty hdata when the requested hdata or pointer is not found ( closes #767 )
2016-07-29 15:55:42 +02:00
Sébastien Helleu
20c86db0d8
api: remove functions printf_date() and printf_tags()
2016-06-18 08:49:35 +02:00
Sébastien Helleu
499b9be1fb
relay: add option relay.network.allow_empty_password ( closes #735 )
2016-05-18 07:55:03 +02:00
Sébastien Helleu
af83fb55e1
relay: allow escape of comma in command "init" (weechat protocol) (issue #730 )
2016-05-13 19:37:19 +02:00
Sébastien Helleu
cf6aca1619
core: add pointer in some callbacks ( closes #406 )
...
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-21 18:11:21 +01:00
Sébastien Helleu
a4d1dfa8f4
relay: do not execute any command received from an irc relay client ( closes #699 )
2016-03-05 10:59:37 +01:00
Sébastien Helleu
45a1174000
relay: fix the max number of clients connected on a port, allow value 0 for "no limit" ( closes #669 )
2016-02-08 21:14:48 +01:00
Sébastien Helleu
c8f7ac8941
relay: do not print final '\0' in raw message for a websocket PING message received
2016-02-06 14:37:07 +01:00
Sébastien Helleu
9263634d2e
relay: fix websocket frame decoding, answer a PONG to PING ( closes #675 )
2016-02-06 14:08:20 +01:00
Sébastien Helleu
fee26b9c54
relay: fix comment
2016-02-04 20:40:37 +01:00
Sébastien Helleu
02bcee02e9
relay: fix typo in a comment
2016-02-02 07:00:40 +01:00
Sébastien Helleu
1a94193147
relay: fix command "input" received from clients (weechat protocol) ( closes #663 )
...
The command "input" received with only spaces in content of message was
ignored by WeeChat (because of the split on spaces).
2016-01-23 10:37:07 +01:00
Sébastien Helleu
3330724574
core: update copyright dates
2016-01-01 11:09:53 +01:00
Nick
52820627f0
relay: add option relay.irc.backlog_since_last_message
2015-12-20 08:19:59 +01:00
Sébastien Helleu
2a96bc67b0
relay: remove useless condition always evaluated to true
2015-09-13 07:53:54 +02:00
Sébastien Helleu
f68896fdd3
relay: display the arrow before client id and protocol in raw buffer
...
This prevents the arrow to be truncated if the option
weechat.look.prefix_align_max is set to a non-zero value.
2015-08-23 10:08:56 +02:00
Sébastien Helleu
0443ef49e7
relay: use API function string_hex_dump() to display raw message
2015-08-22 09:42:09 +02:00
Sébastien Helleu
e5d9e977e4
relay: add a variable to read only one time the HTTP header "X-Real-IP" in the hashtable
2015-06-13 07:39:21 +02:00
Tor Hveem
fc8f7b49dd
relay: print value of HTTP Header X-Real-IP
...
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-06-11 16:50:19 +02:00
Sébastien Helleu
71dd64678c
core: add comments after some #endif
2015-04-30 21:15:30 +02:00
Sébastien Helleu
c9c8625581
relay: fix up/down keys on relay buffer ( closes #335 )
2015-02-20 22:33:48 +01:00
Anders Bergh
00730c0f9c
relay: remove v4-mapped addresses in /help relay.network.allowed_ips
...
v4-mapped addresses aren't used since commit 85339f6 .
2015-02-04 07:48:06 +01:00
Sébastien Helleu
b0117f0d18
core: add gnutls version in #if compiler directives
2015-01-21 07:50:54 +01:00
Sébastien Helleu
cf5501f69c
core: add priority in plugins to initialize them in order
...
Current order is: charset, logger, exec, trigger, aspell, alias, fifo, xfer,
irc, relay, guile/lua/perl/python/ruby/tcl, script.
2015-01-15 07:40:38 +01:00
Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sébastien Helleu
0cd2aff765
core: use https for WeeChat URLs
2014-12-13 09:16:09 +01:00
Sébastien Helleu
1f1611c916
relay: wait for message CAP END before sending join of channels and backlog to the client ( closes #223 )
2014-12-07 19:14:37 +01:00
Sébastien Helleu
a697dfcc4d
relay: rename info/infolist callbacks
2014-12-02 07:37:36 +01:00
Sébastien Helleu
1ef3237b6b
api: return value in function command(), remove WeeChat error after command callback if return code is WEECHAT_RC_ERROR
2014-11-22 08:14:29 +01:00
Sébastien Helleu
debfb57d0f
relay: send messages "_buffer_localvar_*" and "_buffer_type_changed" with sync "buffers" ( closes #191 )
2014-11-16 10:53:55 +01:00
Sébastien Helleu
cdca3094ec
relay: disable SSLv3 by default
...
The new default value for option relay.network.ssl_priorities is now
"NORMAL:-VERS-SSL3.0".
2014-11-04 20:53:04 +01:00
Sébastien Helleu
e85ae88b25
relay: don't remove relay from config when the binding fails ( closes #225 ), add options "stop" and "restart" in command /relay
2014-11-02 11:16:39 +01:00
Sébastien Helleu
134a5f53d4
relay: add option relay.network.ssl_priorities ( closes #234 )
2014-10-26 18:03:47 +01:00
Sébastien Helleu
1bda9f1077
relay: use comma separator in option relay.irc.backlog_tags, check the value of option when it is changed with /set
2014-10-08 22:25:35 +02:00
Sébastien Helleu
64348fbd6e
relay: add host in sender for IRC backlog PRIVMSG messages sent to clients
2014-10-08 22:15:23 +02:00
Sébastien Helleu
69a0b8ecf5
relay: add quotes in comment
2014-09-28 14:45:57 +02:00
Anders Bergh
85339f6083
relay: don't print ::ffff: in v4-mapped addresses.
2014-09-28 14:45:57 +02:00
Sébastien Helleu
c99df96ebd
relay: fix send of signals "relay_client_xxx" ( closes #214 )
...
The signals about relay client status changes were sent only when the client
has ended. Now it is went on any status change.
2014-09-26 04:09:25 +02:00
Sébastien Helleu
7b546bea2e
api: use microseconds instead of milliseconds in functions util_timeval_diff and util_timeval_add
2014-08-29 18:17:27 +02:00
Sébastien Helleu
795b9c9da9
relay: fix memory leak during handshake on websocket
2014-08-09 17:41:16 +02:00
Sébastien Helleu
7a76a959ec
relay: fix memory leak when receiving several lines from client (weechat protocol)
2014-08-09 17:40:18 +02:00
Sébastien Helleu
a6aee98cb1
relay: fix memory leak when receiving commands from client (weechat protocol)
2014-08-09 17:15:22 +02:00
Sébastien Helleu
4c871760d2
relay: remove dead assignment
2014-08-09 16:37:10 +02:00
Sébastien Helleu
ddd7a85f2d
relay: fix crash when an IRC "MODE" command is received from client without arguments
2014-08-09 16:14:44 +02:00
Sébastien Helleu
6295adad6d
relay: fix number of bytes sent/received on 32-bit systems
2014-08-02 16:17:30 +02:00
Sébastien Helleu
bb779271ae
relay: don't send signals "buffer_clear" and "buffer_line_added" for relay raw/list buffers to clients (weechat protocol)
2014-05-29 16:49:50 +02:00
Sébastien Helleu
faae8f470b
relay: check pointers received in hdata command to prevent crashes with bad pointers (WeeChat protocol)
2014-05-24 18:18:11 +02:00