Add terminal code snippets feature #341

Merged
ZacharyZcR merged 4 commits from feature/terminal-snippets into dev-1.8.0 2025-10-04 01:35:22 +00:00

4 Commits

Author SHA1 Message Date
ZacharyZcR af58e84ae3 Fix snippets API integration and database table creation 2025-10-04 06:50:27 +08:00
ZacharyZcR f92cfbfec7 Add terminal code snippets feature 2025-10-04 06:36:51 +08:00
ZacharyZcR fb3f5f435b Add TOTP/2FA authentication support for SSH connections
Implement keyboard-interactive authentication to support servers with
PAM-based two-factor authentication configured. When TOTP verification
is detected, users are prompted with an inline modal to enter their
authentication code.

Fixes #220
2025-10-04 04:49:18 +08:00
ZacharyZcR 522fe3e571 Add support for passwordless host authentication
Allow adding SSH hosts without authentication credentials by introducing
a new "none" auth type. This enables users to configure hosts for later
use with SSH agent or manual credential addition.

Changes:
- Add authType "none" to type definitions
- Update frontend form to support "None" authentication option
- Skip credential validation for "none" auth type
- Update backend to accept hosts without credentials
- Add i18n support for English and Chinese

Fixes #278
2025-10-04 04:17:07 +08:00