summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-19tests: reduce number of iterations in PBKDF2 tests from 100000 to 1000Sébastien Helleu
This speeds up tests by about 30%.
2020-04-19tests: remove obsolete file test-relay-weechat-protocol.cppSébastien Helleu
2020-04-19core: disable build with obsolete autotools option "--disable-gnutls" ↵Sébastien Helleu
(Travis CI)
2020-04-18doc: fix asciidoctor options in autotools buildSébastien Helleu
2020-04-18doc: fix table sizes on small screensSébastien Helleu
2020-04-18doc: prevent lines from wrapping in <pre> elementsSébastien Helleu
2020-04-18doc: update default trigger cmd_pass in user's guideSébastien Helleu
2020-04-18trigger: do not hide values of options with /set command in cmd_pass triggerSébastien Helleu
2020-04-18doc: update auto-generated files with relay optionsSé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-17doc: fix examples of handshake command (relay 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: use real nonce values in handshake/init examples (relay protocol)Sébastien Helleu
2020-04-17doc: add missing "(id)" in commands handshake and init (relay protocol)Sébastien Helleu
2020-04-17doc: replace "safest" by "most secure" (relay protocol)Sébastien Helleu
2020-04-17doc: add example of option "compression" in command "handshake" (relay protocol)Sébastien Helleu
2020-04-17doc: update German auto-generated filesSébastien Helleu
2020-04-17doc: fix examples of password hashes in commands handshake and init (relay ↵Sébastien Helleu
protocol)
2020-04-17core: update German translationsNils Görs
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-14doc: revert arrows chars in relay protocolSébastien Helleu
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-12core: move line from "Bug fixes" to "New features" (issue #1358)Sé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-12core: update ChangeLog (issue #1461)Sébastien Helleu
2020-04-12core: fix indentationSébastien Helleu
2020-04-12cmake: fix bugged WEECHAT_SHAREDIR definition exposed by DATAROOTDIR renameEli Schwartz
configure.ac defines this to /usr/share/weechat, which means scripts can load from this directory as a fallback for $HOME/.weechat/, but cmake defines this instead as /usr/share, which means system-installed fallback scripts would need to be installed to /usr/share/python/foo.py instead, and that's completely insane! Fix this discrepancy by creating a cmake define specifically for WEECHAT_SHAREDIR based on the datarootdir, just like autotools does it.
2020-04-12cmake: rename internal variable SHAREDIR to DATAROOTDIREli Schwartz
This is how other build systems (e.g. autotools) see the variable, and cmake's own GNUInstallDirs defines the same. It more clearly describes what this setting does vs. the ambiguous "sharedir".
2020-04-12trigger: evaluate arguments of command when the trigger is created (closes ↵Sébastien Helleu
#1472)
2020-04-11core: add contributor in AUTHORS.adoc (issue #1460)Sébastien Helleu
2020-04-11core: update ChangeLog (issue #1460)Sébastien Helleu
2020-04-11core: remove file cmake/FindPackageHandleStandardArgs.cmake from top ↵Sébastien Helleu
Makefile.am (issue #1460)
2020-04-11cmake: removed vendored FindPackageHandleStandardArgsDanilo Spinella
2020-04-11tests: add missing include of locale.hSébastien Helleu
This fixes build of tests on FreeBSD.
2020-04-10tests: fix name of testsSébastien Helleu
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-07tests: add missing include of stdio.h (issue #1469)Sébastien Helleu
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