Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-21 | core: restore signal "signal_sighup", and if eaten do not reload configuration | Sébastien Helleu | |
2020-04-20 | tests: add tests on functions relay_auth_password_hash_algo_search and ↵ | Sébastien Helleu | |
relay_auth_generate_nonce | |||
2020-04-19 | tests: reduce number of iterations in PBKDF2 tests from 100000 to 1000 | Sébastien Helleu | |
This speeds up tests by about 30%. | |||
2020-04-19 | tests: remove obsolete file test-relay-weechat-protocol.cpp | Sébastien Helleu | |
2020-04-14 | relay: 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-11 | tests: add missing include of locale.h | Sébastien Helleu | |
This fixes build of tests on FreeBSD. | |||
2020-04-10 | tests: fix name of tests | Sébastien Helleu | |
2020-04-08 | tests: add tests on calc functions | Sébastien Helleu | |
Functions tested: - calc_operator_precedence - calc_pop_value - calc_list_free_cb - calc_operation - calc_operation_stacks | |||
2020-04-07 | tests: add missing include of stdio.h (issue #1469) | Sébastien Helleu | |
2020-04-07 | core: 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-03-31 | tests: add tests on function irc_protocol_cb_353 with option ↵ | Sébastien Helleu | |
irc.look.color_nicks_in_names set to on | |||
2020-03-30 | tests: add tests on IRC color functions | Sébastien Helleu | |
Functions tested: - irc_color_convert_rgb2irc - irc_color_convert_term2irc - irc_color_for_tags - irc_color_modifier_cb - irc_color_weechat_add_to_infolist | |||
2020-03-30 | tests: add test with remapped color in function irc_color_decode | Sébastien Helleu | |
2020-03-28 | tests: add tests on remaining IRC protocol functions and callbacks | Sébastien Helleu | |
2020-03-28 | tests: add tests on function irc_protocol_get_message_tags | Sébastien Helleu | |
2020-03-26 | tests: add tests on function irc_protocol_cb_ping | Sébastien Helleu | |
2020-03-25 | tests: add tests on function irc_protocol_cb_part | Sébastien Helleu | |
2020-03-24 | tests: add test with no arguments for AWAY command | Sébastien Helleu | |
2020-03-24 | tests: add tests on IRC protocol functions with not enough arguments | Sébastien Helleu | |
2020-03-21 | irc: split AUTHENTICATE message in 400-byte chunks (closes #1459) | Sébastien Helleu | |
2020-03-19 | tests: add tests on functions irc_protocol_cb_mode and irc_protocol_cb_nick | Sébastien Helleu | |
2020-03-18 | tests: add tests on functions irc_protocol_cb_kick and irc_protocol_cb_kill | Sébastien Helleu | |
2020-03-17 | tests: add tests on function irc_protocol_cb_join | Sébastien Helleu | |
2020-03-16 | tests: add tests on function irc_protocol_cb_chghost | Sébastien Helleu | |
2020-03-15 | tests: rename function run_cmd_server to server_recv | Sébastien Helleu | |
2020-03-13 | tests: always run callback in calls to function config_file_option_set | Sébastien Helleu | |
2020-03-11 | tests: add tests on IRC protocol functions and some callbacks | Sébastien Helleu | |
Functions tested: * irc_protocol_is_numeric_command * irc_protocol_log_level_for_command * irc_protocol_tags * irc_protocol_nick_address * irc_protocol_cb_account * irc_protocol_cb_away * irc_protocol_cb_001 * irc_protocol_cb_005 | |||
2020-03-05 | tests: add tests on functions weecrypto_totp_generate and ↵ | Sébastien Helleu | |
weecrypto_totp_validate | |||
2020-03-04 | tests: add tests on functions weecrypto_hash and weecrypto_hash_pbkdf2 with ↵ | Sébastien Helleu | |
NULL hash | |||
2020-03-03 | tests: add tests on function weecrypto_get_hash_algo | Sébastien Helleu | |
2020-03-02 | core: require libgcrypt >= 1.7.0 for SHA3 algorithms | Sébastien Helleu | |
2020-03-02 | tests: fix generation of test scripts with Python 3.8 | Sébastien Helleu | |
2020-03-02 | relay: accept hash of password in init command with option "password_hash" | Sébastien Helleu | |
Allowed algorithms are: * PBKDF2 (SHA256 or SHA512, salt, iterations) * SHA256 * SHA512 | |||
2020-03-01 | api: add function crypto_hash_pbkdf2 | Sébastien Helleu | |
2020-03-01 | core: move crypto functions to wee-crypto.c, rename API function string_hash ↵ | Sébastien Helleu | |
to crypto_hash | |||
2020-03-01 | core: merge functions string_hash_binary and string_hash into a single ↵ | Sébastien Helleu | |
function string_hash | |||
2020-03-01 | core: add function secure_hash_pbkdf2 | Sébastien Helleu | |
2020-02-29 | core: add support of CRC32 algorithm in hash functions | Sébastien Helleu | |
2020-02-29 | api: add functions string_hash_binary and string_hash | Sébastien Helleu | |
2020-02-29 | tests: add tests on function secure_derive_key | Sébastien Helleu | |
2020-02-29 | core: add functions to compute binary/hex hash of data | Sébastien Helleu | |
2020-02-08 | tests: add tests on ANSI default text/background colors | Sébastien Helleu | |
2020-02-04 | tests: add eval tests with debug enabled | Sébastien Helleu | |
2020-02-03 | tests: add unit tests on function util_file_get_content | Sébastien Helleu | |
2020-02-02 | tests: add unit tests on function util_get_time_diff | Sébastien Helleu | |
2020-01-27 | tests: add eval tests with hdata variables of different types | Sébastien Helleu | |
2020-01-27 | tests: add eval tests on conditions with text after closing parenthesis | Sébastien Helleu | |
2020-01-27 | tests: add eval tests on conditions with leading and trailing spaces (ignored) | Sébastien Helleu | |
2020-01-27 | tests: add eval tests on "regex not matching" comparison | Sébastien Helleu | |
2020-01-27 | tests: add eval tests with hdata list name and pointer | Sébastien Helleu | |