diff options
Diffstat (limited to 'doc/pl')
-rw-r--r-- | doc/pl/autogen/plugin_api/infos.adoc | 4 | ||||
-rw-r--r-- | doc/pl/autogen/user/relay_options.adoc | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/doc/pl/autogen/plugin_api/infos.adoc b/doc/pl/autogen/plugin_api/infos.adoc index a53603c7a..faa6492de 100644 --- a/doc/pl/autogen/plugin_api/infos.adoc +++ b/doc/pl/autogen/plugin_api/infos.adoc @@ -112,6 +112,10 @@ | weechat | term_width | szerokość terminala | - +| weechat | totp_generate | generate a Time-based One-Time Password (TOTP) | secret (in base32), timestamp (optional, current time by default), number of digits (optional, between 4 and 10, 6 by default) + +| weechat | totp_validate | validate a Time-based One-Time Password (TOTP): 1 if TOTP is correct, otherwise 0 | secret (in base32), one-time password, timestamp (optional, current time by default), number of passwords before/after to test (optional, 0 by default) + | weechat | uptime | uptime WeeChat (format: "dni:hh:mm:ss") | "dni" (ilość dni) lub "sekundy" (ilość sekund) (opcjonalne) | weechat | version | wersja WeeChat | - diff --git a/doc/pl/autogen/user/relay_options.adoc b/doc/pl/autogen/user/relay_options.adoc index 147790ab1..aae46290c 100644 --- a/doc/pl/autogen/user/relay_options.adoc +++ b/doc/pl/autogen/user/relay_options.adoc @@ -164,6 +164,18 @@ ** wartości: dowolny ciąg ** domyślna wartość: `+"NORMAL:-VERS-SSL3.0"+` +* [[option_relay.network.totp_secret]] *relay.network.totp_secret* +** opis: pass:none[secret for the generation of the Time-based One-Time Password (TOTP), encoded in base32 (only letters and digits from 2 to 7); it is used as second factor in weechat protocol, in addition to the password, which must not be empty (empty value means no TOTP is required) (note: content is evaluated, see /help eval)] +** typ: ciąg +** wartości: dowolny ciąg +** domyślna wartość: `+""+` + +* [[option_relay.network.totp_window]] *relay.network.totp_window* +** opis: pass:none[number of Time-based One-Time Passwords to accept before and after the current one: 0 = accept only the current password, 1 = accept one password before, the current, and one after, 2 = accept two passwords before, the current, and two after, ...; a high number reduces the security level (0 or 1 are recommended values)] +** typ: liczba +** wartości: 0 .. 256 +** domyślna wartość: `+0+` + * [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins* ** opis: pass:none[rozszerzone wyrażenia regularne POSIX ze źródłami dozwolonymi dla gniazd webowych (nie wrażliwe na wielkość znaków, umieszczenie "(?-i)" na początku sprawi, że wielość znaków będzie miała znaczenie), przykład: "^http://(www\.)?przykład\.(com|org)"] ** typ: ciąg |