summaryrefslogtreecommitdiff
path: root/src/plugins/relay
AgeCommit message (Collapse)Author
2020-03-01core: merge functions string_hash_binary and string_hash into a single ↵Sébastien Helleu
function string_hash
2020-03-01relay: call function string_hash_binary in relay_websocket_build_handshake ↵Sébastien Helleu
to compute SHA1 hash This removes dependency on libgcrypt in relay plugin.
2020-01-12relay: update buffers synchronization when buffers are renamed (closes #1428)Sébastien Helleu
2020-01-04core: update copyright datesSébastien Helleu
2019-12-21relay: reject client with weechat protocol if password or totp is received ↵Sébastien Helleu
in init command but not set in WeeChat (closes #1435)
2019-10-23plugins: sort options added in configuration sectionsSébastien Helleu
2019-10-01core: fix style in CMake filesSébastien Helleu
2019-06-24core: auto disable upgrade process (command line option "--upgrade") if the ↵Sébastien Helleu
file weechat.upgrade is not found
2019-06-15api: add argument "strip_items" in function string_splitSébastien Helleu
2019-06-04relay: set socket option SO_KEEPALIVE only for TCP sockets when creating the ↵Sébastien Helleu
socket (issue #733)
2019-06-04relay: set socket option SO_REUSEADDR only for TCP sockets when creating the ↵Sébastien Helleu
socket (issue #733)
2019-06-04relay: set socket option SO_REUSEADDR only for TCP sockets (issue #733)Sébastien Helleu
2019-06-04relay: add UNIX domain socket completion for command /relay add (issue #733)Sébastien Helleu
2019-06-04relay: fix crash when deleting a relay (issue #733)Sébastien Helleu
2019-06-04relay: fix truncated path when the unix socket path is longer than the ↵Sébastien Helleu
authorized one (issue #733)
2019-05-13relay: remove useless conditionSébastien Helleu
This fixes a compilation warning on FreeBSD.
2019-05-13relay: set address to "local" if not knownSébastien Helleu
2019-05-13core: update translationsSébastien Helleu
2019-05-13relay: rename variables in function relay_config_check_path_lengthSébastien Helleu
2019-05-12relay: fix commentSébastien Helleu
2019-05-12relay: set mode 700 on the unix socket file (only the owner can use it)Sébastien Helleu
2019-05-12relay: do not overwrite a file if it's not a socket, display an error when ↵Sébastien Helleu
the socket can not be created
2019-05-12relay: evaluate path of unix socket relaySébastien Helleu
2019-05-12relay: rename function relay_config_check_path_len to ↵Sébastien Helleu
relay_config_check_path_length
2019-05-12relay: fix update of port/path variables in relay server when options ↵Sébastien Helleu
relay.port.* and relay.path.* are changed with /set
2019-05-12relay: fix section used when the unix relay does not start with "unix."Sébastien Helleu
2019-05-12relay: add unix relay format in /help relaySébastien Helleu
2019-05-12relay: remove extra newline at the end of /help relaySébastien Helleu
2019-05-12relay: remove local variable ptr_server from function ↵Sébastien Helleu
relay_config_check_path_cb (not needed)
2019-05-12relay: improve message displayed on a new clientSébastien Helleu
2019-05-12relay: improve message displayed when the relay is removedSébastien Helleu
2019-05-12relay: improve message displayed when the relay is addedSébastien Helleu
2019-05-12relay: rename function relay_config_create_option_port to ↵Sébastien Helleu
relay_config_create_option_port_path
2019-05-12relay: fix code styleSébastien Helleu
2019-05-12relay: rename variable "un" to "unix_socket"Sébastien Helleu
2019-05-12relay: add UNIX socket support (closes #733)Ryan Farley
2019-04-25cmake: allow custom libdir (fix #1341)Ryan Farley
Allows for custom LIBDIR to specified with cmake builds. WEECHAT_LIBDIR is used for a custom Weechat directory, or set from LIBDIR (as LIBDIR used to be set).
2019-04-13api: return allocated string in hook_info callback and function info_getSébastien Helleu
2019-03-28relay: use option "delay" in call to command_options (closes #1327)Sébastien Helleu
This fixes a crash when sending "/plugin reload relay" from a relay client.
2019-03-24core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage ↵Sébastien Helleu
options This option is OFF by default and should be enabled only for tests, to measure test coverage.
2019-03-12relay: fix compilation warning when gnutls is not foundSébastien Helleu
2019-03-11relay: use empty value by default for option relay.weechat.commands (issue #928)Sébastien Helleu
The relay client is supposed to be safe by default, and the relay connection should be protected by the different ways (restriction on IP address, SSL, strong password, Time-based One-Time Password, local bind address and use of SSH tunnel…). So this option lets the user add extra security by allowing only some commands (whitelist), or allowing any commands except a list of given commands (blacklist).
2019-03-10relay: add forbidden commands /key and /trigger in weechat protocol (issue #928)Sébastien Helleu
2019-03-10relay: add forbidden commands /wait and /repeat in weechat protocol (issue #928)Sébastien Helleu
2019-03-10core: replace argument "keep_eol" by "flags" in function string_split ↵Sébastien Helleu
(closes #1322)
2019-03-09relay: add extra forbidden commands in weechat protocol (issue #928)Sébastien Helleu
Commands were already forbidden (option relay.weechat.commands): - /exec - /upgrade - /quit These extra commands are now forbidden by default: - /fset - /set - /unset - /plugin - /script - /python - /perl - /ruby - /lua - /tcl - /guile - /javascript - /php - /secure
2019-03-02core: use bitwise shift operator to define flag constantsSébastien Helleu
2019-02-28relay: add option relay.weechat.commands (closes #928)Sébastien Helleu
2019-02-24relay: remove obsolete commentSébastien Helleu
2019-01-28relay: fix crash on /upgrade when the real IP is not set (closes #1294)Sébastien Helleu