relay: increase default limits for IRC backlog options

Default value is changed for the following options:

* relay.irc.backlog_max_minutes: from 1440 to 0 (unlimited)
* relay.irc.backlog_max_number: from 256 to 1024
This commit is contained in:
Sébastien Helleu 2020-05-12 18:54:52 +02:00
parent 2c303d1698
commit 4f4f32b9ed
8 changed files with 15 additions and 14 deletions

View File

@ -34,6 +34,7 @@ New features::
* buflist: add default key kbd:[Alt+Shift+B] to toggle buflist
* buflist: add options enable/disable/toggle in command /buflist
* buflist: evaluate option buflist.look.sort so that sort can be customized for each of the three buflist bar items (issue #1465)
* relay: increase default limits for IRC backlog options
* relay: add command "handshake" in weechat relay protocol and nonce to prevent replay attacks, add options relay.network.password_hash_algo, relay.network.password_hash_iterations, relay.network.nonce_size (issue #1474)
* relay: add command "completion" in weechat relay protocol to perform a completion on a string at a given position (issue #1484)
* relay: add option relay.network.auth_timeout

View File

@ -2826,13 +2826,13 @@
** Beschreibung: pass:none[Zeitangabe, in Minuten, wie lange die Zeilen im Verlaufsspeicher für jeden IRC Channel gehalten werden sollen (0 = unbegrenzt, Beispiele: 1440 = einen Tag, 10080 = eine Woche, 43200 = einen Monat, 525600 = ein Jahr)]
** Typ: integer
** Werte: 0 .. 2147483647
** Standardwert: `+1440+`
** Standardwert: `+0+`
* [[option_relay.irc.backlog_max_number]] *relay.irc.backlog_max_number*
** Beschreibung: pass:none[maximale Anzahl an Zeilen im Verlaufsspeicher. Dies gilt für jeden IRC Channel (0: keine Zeilenbegrenzung)]
** Typ: integer
** Werte: 0 .. 2147483647
** Standardwert: `+256+`
** Standardwert: `+1024+`
* [[option_relay.irc.backlog_since_last_disconnect]] *relay.irc.backlog_since_last_disconnect*
** Beschreibung: pass:none[Verlaufsspeicher anzeigen, beginnend mit dem Client der zuletzt beendet wurde]

View File

@ -2826,13 +2826,13 @@
** description: pass:none[maximum number of minutes in backlog per IRC channel (0 = unlimited, examples: 1440 = one day, 10080 = one week, 43200 = one month, 525600 = one year)]
** type: integer
** values: 0 .. 2147483647
** default value: `+1440+`
** default value: `+0+`
* [[option_relay.irc.backlog_max_number]] *relay.irc.backlog_max_number*
** description: pass:none[maximum number of lines in backlog per IRC channel (0 = unlimited)]
** type: integer
** values: 0 .. 2147483647
** default value: `+256+`
** default value: `+1024+`
* [[option_relay.irc.backlog_since_last_disconnect]] *relay.irc.backlog_since_last_disconnect*
** description: pass:none[display backlog starting from last client disconnect]

View File

@ -2826,13 +2826,13 @@
** description: pass:none[nombre maximum de minutes dans l'historique par canal IRC (0 = sans limite, exemples : 1440 = une journée, 10080 = une semaine, 43200 = un mois, 525600 = une année)]
** type: entier
** valeurs: 0 .. 2147483647
** valeur par défaut: `+1440+`
** valeur par défaut: `+0+`
* [[option_relay.irc.backlog_max_number]] *relay.irc.backlog_max_number*
** description: pass:none[nombre maximum de lignes dans l'historique par canal IRC (0 = sans limite)]
** type: entier
** valeurs: 0 .. 2147483647
** valeur par défaut: `+256+`
** valeur par défaut: `+1024+`
* [[option_relay.irc.backlog_since_last_disconnect]] *relay.irc.backlog_since_last_disconnect*
** description: pass:none[afficher l'historique en démarrant depuis la dernière déconnexion du client]

View File

@ -2826,13 +2826,13 @@
** descrizione: pass:none[numero massimo di minuti nella cronologia per canale IRC (0 = nessun limite, esempi: 1440 = un giorno, 10000 = una settimana; 43200 = un mese, 525600 = un anno)]
** tipo: intero
** valori: 0 .. 2147483647
** valore predefinito: `+1440+`
** valore predefinito: `+0+`
* [[option_relay.irc.backlog_max_number]] *relay.irc.backlog_max_number*
** descrizione: pass:none[numero massimo di righe nella cronologia per canale IRC (0 = nessun limite)]
** tipo: intero
** valori: 0 .. 2147483647
** valore predefinito: `+256+`
** valore predefinito: `+1024+`
* [[option_relay.irc.backlog_since_last_disconnect]] *relay.irc.backlog_since_last_disconnect*
** descrizione: pass:none[mostra la cronologia a partire dall'ultima disconnessione del client]

View File

@ -2826,13 +2826,13 @@
** 説明: pass:none[IRC チャンネルごとのバックログの最大時間 (分) (0 = 制限無し、例: 1440 = 1 日、10080 = 1 週間、43200 = 1 ヶ月、525600 = 1 年間)]
** タイプ: 整数
** 値: 0 .. 2147483647
** デフォルト値: `+1440+`
** デフォルト値: `+0+`
* [[option_relay.irc.backlog_max_number]] *relay.irc.backlog_max_number*
** 説明: pass:none[IRC チャンネルごとのバックログの最大行数 (0 = 制限無し)]
** タイプ: 整数
** 値: 0 .. 2147483647
** デフォルト値: `+256+`
** デフォルト値: `+1024+`
* [[option_relay.irc.backlog_since_last_disconnect]] *relay.irc.backlog_since_last_disconnect*
** 説明: pass:none[最後にクライアントを切断した以降のバックログを表示]

View File

@ -2826,13 +2826,13 @@
** opis: pass:none[maksymalna ilość minut w historii każdego bufora dla kanału IRC (0 = bez ograniczeń, przykłady: 1440 = dzień, 10080 = tydzień, 43200 = miesiąc, 525600 = rok)]
** typ: liczba
** wartości: 0 .. 2147483647
** domyślna wartość: `+1440+`
** domyślna wartość: `+0+`
* [[option_relay.irc.backlog_max_number]] *relay.irc.backlog_max_number*
** opis: pass:none[maksymalna ilość linii w historii każdego bufora dla kanału IRC (0 = bez ograniczeń)]
** typ: liczba
** wartości: 0 .. 2147483647
** domyślna wartość: `+256+`
** domyślna wartość: `+1024+`
* [[option_relay.irc.backlog_since_last_disconnect]] *relay.irc.backlog_since_last_disconnect*
** opis: pass:none[wyświetlaj backlog zaczynając od ostatniego rozłączenia klienta]

View File

@ -1214,14 +1214,14 @@ relay_config_init ()
N_("maximum number of minutes in backlog per IRC channel "
"(0 = unlimited, examples: 1440 = one day, 10080 = one week, "
"43200 = one month, 525600 = one year)"),
NULL, 0, INT_MAX, "1440", NULL, 0,
NULL, 0, INT_MAX, "0", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
relay_config_irc_backlog_max_number = weechat_config_new_option (
relay_config_file, ptr_section,
"backlog_max_number", "integer",
N_("maximum number of lines in backlog per IRC channel "
"(0 = unlimited)"),
NULL, 0, INT_MAX, "256", NULL, 0,
NULL, 0, INT_MAX, "1024", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
relay_config_irc_backlog_since_last_disconnect = weechat_config_new_option (
relay_config_file, ptr_section,