summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-04-27api: add hdata "completion_word" (issue #1484)Sébastien Helleu
2020-04-27api: add functions completion_new, completion_search and completion_free ↵Sébastien Helleu
(issue #1484)
2020-04-26relay: fix error message for an invalid buffer received in a command ↵Sébastien Helleu
(weechat protocol)
2020-04-24core: add default key alt-shift-N to toggle nicklist barSébastien Helleu
2020-04-24buflist: add default key alt-shift-B to toggle buflistSébastien Helleu
2020-04-24buflist: add options enable/disable/toggle in command /buflistSébastien Helleu
2020-04-21core: translate log message when the signal SIGHUP is receivedSébastien Helleu
2020-04-21core: restore signal "signal_sighup", and if eaten do not reload configurationSébastien Helleu
2020-04-22core: reload config on SIGHUPTom Fitzhenry
fixes https://github.com/weechat/weechat/issues/1476
2020-04-20tests: add tests on functions relay_auth_password_hash_algo_search and ↵Sébastien Helleu
relay_auth_generate_nonce
2020-04-19core: add command line option "--stdout" in weechat-headless binary (closes ↵Sébastien Helleu
#1475, closes #1477)
2020-04-19core: log to stdout, if headlessTom Fitzhenry
Fixes https://github.com/weechat/weechat/issues/1475 .
2020-04-18trigger: do not hide values of options with /set command in cmd_pass triggerSébastien Helleu
2020-04-18core: make GnuTLS a required dependencySébastien Helleu
2020-04-18relay: move variable nonce in relay client structureSébastien Helleu
2020-04-18relay: allow only one handshake in weechat protocolSébastien Helleu
2020-04-18relay: immediately close connection if the handshake failed (weechat protocol)Sébastien Helleu
2020-04-17relay: rename configuration options and keywords in handshake command ↵Sébastien Helleu
(weechat protocol) Configuration options renamed: * relay.network.auth_password -> relay.network.password_hash_algo * relay.network.hash_iterations -> relay.network.password_hash_iterations Handshake command options renamed: * password -> password_hash_algo Handshake reply keys renamed: * auth_password -> password_hash_algo * hash_iterations -> password_hash_iterations
2020-04-17doc: replace "safest" by "most secure" (relay protocol)Sébastien Helleu
2020-04-16relay: fix "id" sent in response to handshake command (weechat protocol)Sébastien Helleu
2020-04-15relay: add missing gcrypt lib in CMake and autotools filesSébastien Helleu
This fixes build on Cygwin.
2020-04-14relay: add command "handshake" in weechat relay protocol and nonce to ↵Sébastien Helleu
prevent replay attacks (closes #1474) This introduces a new command called "handshake" in the weechat relay protocol. It should be sent by the client before the "init" command, to negotiate the way to authenticate with a password. 3 new options are added: * relay.network.auth_password * relay.network.hash_iterations * relay.network.nonce_size
2020-04-12relay: update message displayed when the client is connected/authenticatedSébastien Helleu
2020-04-12relay: add option relay.network.auth_timeoutSébastien Helleu
2020-04-12relay: add a function to send outqueue to the clientSébastien Helleu
2020-04-12relay: update default colors for client statusSébastien Helleu
Colors changed: * relay.color.status_active: lightblue -> green * relay.color.status_auth_failed: lightred -> lightmagenta * relay.color.status_connecting: yellow -> white * relay.color.status_waiting_auth: brown -> yellow The color relay.color.status_disconnected remains lightred by default.
2020-04-12relay: actually use the client status "waiting_auth" in irc and weechat ↵Sébastien Helleu
protocols (closes #1358) Now the status "waiting_auth" is used and displayed in the relay buffer. When a client connects, there are now 2 messages (except for irc protocol if there's no password required): relay: new client on port 9000: 1/weechat/1.2.3.4 (waiting auth) relay: client 1/weechat/1.2.3.4 authenticated If the authentication fails, the messages are: relay: new client on port 9000: 1/weechat/1.2.3.4 (waiting auth) =!= relay: authentication failed with client 1/weechat/1.2.3.4
2020-04-12relay: add comments in truct t_relay_weechat_dataSébastien Helleu
2020-04-12trigger: evaluate arguments of command when the trigger is created (closes ↵Sébastien Helleu
#1472)
2020-04-08tests: add tests on calc functionsSébastien Helleu
Functions tested: - calc_operator_precedence - calc_pop_value - calc_list_free_cb - calc_operation - calc_operation_stacks
2020-04-07core: fix memory leak in calculation of expression on FreeBSD (closes #1469)Sébastien Helleu
The memory leak was caused by a bug in function setlocale on FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243195 The fix is the following: * Remove the calls to setlocale when formatting the result. * The function snprintf is still called, and then is now locale dependent, for example in French the decimal separator is a comma instead of a dot. * A new function calc_sanitize_decimal_number is introduced to "sanitize" a decimal number: keep only the decimal separator (replace it by a dot) and remove any other separator found. Unit tests are added on these functions: * calc_sanitize_decimal_number * calc_format_result
2020-04-07core: fix resize of a bar when its size is 0 (automatic) (closes #1470)Sébastien Helleu
2020-04-06buflist: evaluate option buflist.look.sort (closes #1465)Sébastien Helleu
The evaluation allows to use different sort for the bar items, for example with such value: ${if:${bar_item.name}==buflist?number:short_name} This sorts by number on the first bar item and by short name on the two other bar items.
2020-04-04python: fix crash when invalid UTF-8 string is in a WeeChat hashtable ↵Sébastien Helleu
converted to a Python dict (closes #1463)
2020-04-02fset: fix help on options fset.format.option1 and fset.format.option2Sébastien Helleu
2020-03-30irc: add missing modifier "irc_color_decode_ansi" in comment on function ↵Sébastien Helleu
irc_color_modifier_cb
2020-03-28irc: move functions irc_protocol_get_message_tags and ↵Sébastien Helleu
irc_protocol_parse_time before protocol callbacks
2020-03-28irc: remove empty linesSébastien Helleu
2020-03-27irc: fix typo in description of message 001Sébastien Helleu
2020-03-27irc: add examples of NOTICE and PRIVMSG messages to channel opsSébastien Helleu
2020-03-23core: fix compiler warnings on CygwinSébastien Helleu
2020-03-22ruby: fix compiler warning on third argument of function ↵Sébastien Helleu
weechat_ruby_hash_foreach_cb
2020-03-21irc: use larger buffer for message in function ↵Sébastien Helleu
irc_message_split_authenticate, just in case
2020-03-21irc: split AUTHENTICATE message in 400-byte chunks (closes #1459)Sébastien Helleu
2020-03-21irc: replace "char *" by "const char *" in arguments of split functionsSébastien Helleu
2020-03-20api: add info "auto_connect" (closes #1453)Sébastien Helleu
2020-03-15irc: set channel modes to NULL instead of "+" when no modes are remainingSébastien Helleu
2020-03-15irc: add another example of MODE messageSébastien Helleu
2020-03-15irc: remove unused variable "modes" from function ↵Sébastien Helleu
irc_bar_item_buffer_name_content
2020-03-12irc: fix variable name in function irc_server_connect when GnuTLS is disabledSébastien Helleu