Commit Graph
10 Commits
Author SHA1 Message Date
Adem Baccara 1c216180c7 ci: add action to enforce semantic PR titles and run tests (#55) 2025-09-23 21:53:43 +01:00
Pei-Tang HuangandGitHub 3b9f866d55 feat: Add 60+ SSH config field support with enhanced UI (#50) 2025-09-18 20:36:08 +01:00
Adem BaccaraandGitHub b7fb586e73 feat(parser): refactor ssh_config parser and writer to preserve unmanaged fields, comments, and directives (#45)
This PR introduces a major refactor of the SSH config parsing and writing logic. The new implementation is more robust and secure, ensuring that only the intended changes are applied while preserving the original file’s structure.

Key changes

- Lossless parsing/writing: Preserve unmanaged fields (e.g., `ProxyJump`), comments, and directives such as `Include` and `Match`.

- Library update: Switched to [github.com/kevinburke/ssh_config](https://github.com/kevinburke/ssh_config)
 as the base parser, with a custom fork to support required modifications https://github.com/adembc/ssh_config.

- Backup policy: Before any modification, create a backup of the SSH config file. Maintain up to 10 backups (configurable in the future) and automatically delete older ones.

- IdentityFile handling: Parse IdentityFile as an array instead of a single string, with improved update logic.

- Bug fix: Resolve issue where tags could not be fully removed.

- Multiple aliases: Support defining and managing multiple aliases for a single server.

- Testability: Code has been refactored with testability in mind. Follow-up PRs will include dedicated tests.
2025-09-10 23:24:50 +01:00
Adem BaccaraandGitHub c9b874ff76 feat(ui): remove splash screen and confirm ssh modal (#23) 2025-09-05 00:01:45 +01:00
Robin TuszikandGitHub c1e31290ac feat: add 'j' and 'k' as keybindings for navigation (#9) 2025-09-03 08:22:58 +01:00
Adem BaccaraandGitHub b41eeecbf7 feat(config): add automatic backup before modifying config file (#7) 2025-08-31 10:01:37 +01:00
Adem BaccaraandGitHub 8e3f7ebc37 implement core logic (#3) 2025-08-27 16:56:42 +01:00
Adem BaccaraandGitHub e9225188e8 feat: add makefile and fix lint issues (#2) 2025-08-17 17:54:21 +01:00
Adem Baccara 41efd3823e improve ui architecture 2025-08-17 14:02:53 +01:00
Adem Baccara 78b14d4ad4 separte ui for data and business logic 2025-08-17 11:09:20 +01:00