Support custom BPQ Telnet prompts and banners, fix installer arguments
This commit is contained in:
1 parent
33d2cc4fbd
commit
2b00b1cbbd
14 files changed
+168
-44
No files matched your search
@@ -4,10 +4,14 @@ A local web dashboard for BPQ32: node status, BBS, Winlink, forwarding, chat, tr
|
||||
|
||||
## Interface language
|
||||
|
||||
Use the Italian / UK flag switch in the login screen or dashboard header to select **Italiano** or **English**. On the first visit, the initial language is chosen from the first preferred browser language: Italian for `it` / `it-*`, English otherwise. After that the saved choice is used; there is no Auto mode. Switching language applies immediately, without signing out or interrupting a radio session. Dates and numbers follow the selected language; the local timezone is unchanged. Mail, bulletin subjects and bodies, chat messages, attachment contents, terminal output and radio traffic remain original. No online translation service is used.
|
||||
Use the Italian / UK flag switch in the login screen or dashboard header to select **Italiano** or **English**. Set `"language": "en"` or `"language": "it"` in `console.config.json` to choose the default for new browsers (or install with `-Language en` / `node install.mjs --language en`). If omitted, the first preferred browser language selects Italian for `it` / `it-*`, English otherwise. A language already saved in a browser takes precedence. After that the saved choice is used; there is no Auto mode. Switching language applies immediately, without signing out or interrupting a radio session. Dates and numbers follow the selected language; the local timezone is unchanged. Mail, bulletin subjects and bodies, chat messages, attachment contents, terminal output and radio traffic remain original. No online translation service is used.
|
||||
|
||||
Interface copy is maintained in `public/i18n.js`; add new UI phrases and parameterised status patterns there. Mark custom data widgets with `data-no-i18n` so their content is preserved.
|
||||
|
||||
## Telnet login compatibility
|
||||
|
||||
Terminal and Chat read `LOGINPROMPT` and `PASSWORDPROMPT` from the Telnet port in `BPQ32.cfg`. Standard `Username:`, `Login:`, `User:` and `Password:` prompts also work. `PASSWORD` is not the prompt setting. Custom CTEXT banners do not need the word Welcome or a node prompt; both `ALIAS:CALL>` and `ALIAS:CALL}` work. After the password, the clients wait for 400 ms of quiet after non-empty banner text; a repeated login/password prompt or explicit denial rejects the login. Password echoes are removed before displaying the terminal banner, and Chat discards the Telnet banner before sending `CHAT`. A server that sends no text at all after the password times out instead of reporting an unconfirmed login as successful. Restart BPQ Console after changing prompt settings.
|
||||
|
||||
## Requirements
|
||||
|
||||
- Windows and Windows PowerShell 5.1 or later.
|
||||
|
||||
Reference in new issue
Block a user