Commit d99e92f
authored
Fix and Optimize Configuration, SSH Key Handling, and UI (#21)
* Fix startup error when files are not readable.
* Added Winget Pipeline
* Extended FileInfoWindow
* Implemented PasswordBox with toggleable password visibility
* Update CI
* Minor version bump
* Added Password in File Info view
* Introduced object for BasicSshKeyFileInformation
* Reniced SshKeyFileInformation.cs
* Fixes some errors in SshKeyFileInformation.cs; Updated file reading logic for ppk files
* Removed obsolete comments
* Refactoring #1
* fixed reactive chain
* 😁
* Optimized Reactive chains
* -
* Added new icon, changed resolverchain
* Refactor icon size handling, improve SSH key collection tracking, and update reactive bindings.
* Relocate and optimize asset management: replace SVG icon with ICO format, restructure image paths, and update project references accordingly.
* Add light theme assets, theme selection settings, and dynamic icon support.
* Refactor theme resources, improve reactive property bindings, update dependencies, and enhance SSH key file handling logic.
* Refactor SubmitButtons as reusable control, replace redundant button definitions, and apply dynamic theme resources.
* Add SubmitButtons control to EditKnownHostsWindow.axaml
* Removed obsolete Interfaces
* Minor fixes
* Adjust Colors throughout the application
* removed logger from SshKeyFilePassword.cs
* Changes on FileInfoWindow
* Color occurences changed to dynamic resource
* Update ReactiveUI
* Started to implement password change
* Implemented password change ability
* Disabled selection of items in SshKeyComboBoxStyle, when they are not initialized
* Changed writing and disabled false-positive error in SshKeyItemContainerTheme
* Implemented retry abort mechanism
* Reformat & Cleanup; Changed to ServerConnection.cs
* Changes in ConnectToServerViewModel
* Removed redundant interfaces; reformat & cleanup
* Implemented headered item
* Minor refactoring in server handling
* added ideas and refactoring suggestions
* Refactoring of SshKeyManager.cs
* Cleanup of old Extensions, compute fingerprint by ourselfs - even if key is encrypted
* Enabled Logging by SSH.NET
* Refactoring progress
* Refactoring Progress #2
* SshKeyFileInformation changed to OAPHs
* not working sorter
* Update package dependencies across all projects to latest stable versions
* Remove custom Sorter control, migrate to Avalonia DataGrid for key listing adjustments
* Replace ContextMenus with FlyoutButtons, update styling and font sizes, and add Xaml.Behaviors.Avalonia dependency.
* Add font size adjustment feature to Application Settings with binding and reset option.
* Add dynamic font size management with resource observables, MaterialIcon size adjustments, and NumericUpDown control in Application Settings.
* Refactor icon size handling: adjust MaterialIconSize resource, streamline size-related properties, and improve logging logic.
* Update DataGrid column properties, add loading spinner, and improve reactive processing state handling.
* Update localization bindings for tab headers, improve string resource handling, and streamline German translations.
* Refactor SSH key export logic: simplify case handling, improve error messaging, and update dynamic window title formatting.
* Refactor reactive properties and commands: streamline syntax, enhance property accessibility, and improve dynamic window title logic.
* Refactor ViewModelBase hierarchy: simplify generics, remove redundant logger dependencies, and streamline initialization patterns.
* Refactor various components: optimize property and method signatures, streamline placeholders and localization, and remove redundant dependencies.
* Refactor KnownHostsFile and related components: optimize initialization, enhance file handling logic, and streamline key export functionality.
* Refactor KnownHosts handling: optimize file updates, consolidate constructors, and streamline bindings in KnownHosts GUI rendering.
* Optimize AuthorizedKeys handling: add change detection for file updates, prevent unnecessary writes to file and server, and fix BUG comment.
* Refactor dependency injection tests: use DryIoc container directly and refine registration logic to improve clarity and accuracy.
* Add `Window_OnClosing` handler for dialogs, adjust window properties, and include ReactiveUI references in project.
* add todo;
* Prevent window closing interruptions: handle `Window_OnClosing` to cancel external close attempts and streamline closing logic.
* Refactor ApplicationSettings components: enhance UI alignment properties, add "Open Cache Folder" command, and streamline font size initialization logic.
* Refactor SshKeyManager file watcher: integrate Avalonia Dispatcher for UI thread invocation and streamline event handling logic.
* Refactor dialog closing logic: introduce `_isInternalClose` flag to prevent external close interruptions and streamline event handling. Optimize reactive properties in `SshKeyFileInformation` for better initialization and UI thread integration.
* Refactor `SshKeyFileInformation`: remove reactive properties and disposables to simplify initialization and make properties immutable.
* Refactor `FlyoutButton` UI: simplify tooltip and key count display logic, remove spinning icon animation, and streamline related ViewModel properties.
* Refactor `ApplicationSettingsWindow`: update UI for cache options, enhance layout alignment, and remove unused reactive properties in ViewModel.
* Replace DryIoc with Microsoft.Extensions.DependencyInjection for dependency injection, update related service registrations, and refactor impacted components accordingly.
* Adjust DependencyInjectionExtensions
* Cleanuip Dialoghost
* Fix icon store filling
* Reformat & Cleanup
* small fixes
* Added processing animation
* Icon Updates
* Added some findings, need more.
* Update package dependencies to latest versions and improve DI test robustness
* Refactor key file format handling: simplify `Password.Set` logic, update binding properties for key formats, clean up TODOs, and enhance backup file deletion logic.
* Refactor and modularize SSH key management: introduce new interfaces and services (`IDirectoryCrawler`, `IKeyFileBackupService`, `IKeyFileWriterService`, and `ISshKeyGenerator`), implement `SshKeyFactory` and `KeyFileBackupService`, and update `SshKeyManager` to use dependency injection and improve maintainability.
* Simplify "Provide Password" button in SshKeyFileStyle and fix export format in MainWindowViewModel.
* Update ReactiveUI and ReactiveUI.SourceGenerators to latest versions in project files.
* Add TODO comment to enable scanning of additional user-scoped paths in DirectoryCrawler.
* Added AppConfiguration; Added WriteableConfiguration interface
* Added writeableconfig to appsettingsviewmodel
* Restrict ComboBoxItem binding in SshKeyFileStyle and remove redundant DataType specification.
* Refactor DirectoryCrawler to support async disk enumeration and enable scanning of configurable lookup paths.
* Add `PathExtensions` utility class for file/directory management and integrate usage into configuration and logging workflows.
* Added ComboBox for path selection in AddKeyWindow and font size binding adjustments
* Ensure main window is brought to front on open, then clear topmost flag
* Refactor configuration system: replaced `IWritableConfiguration` with `IMutableConfiguration`, updated usages across the app, and improved settings UI layout.
* Refactor SSH key file format handling: replace `SshKeyFormatExtension` constants with `PathExtensions`, add missing utility functions, and update references across the codebase.
* Add lookup path management in ApplicationSettings: enable adding and removing paths with UI integration and validation logic
* Refactor ApplicationSettings: enhance lookup path management, implement new bindings for HeaderedItem, throttle reactive commands, and extract `PathDeletableConverter` to a dedicated file.
* Refactor application configuration: update font size type to `double`, introduce `ApplyConfiguration` method for dynamic theme and log level application, and optimize reactive bindings in `ApplicationSettingsViewModel`.
* Add `CollectionIndexConverter` for 1-based indexing in lookup paths and update `ApplicationSettingsWindow` bindings to include index display
* Update `ApplicationSettingsWindow`: localize lookup paths header text and add German translation
* Add `TooltippedIcon` control and integrate it into `ApplicationSettingsWindow` for enhanced UI element descriptions
* Add hover-based tooltip functionality to `TooltippedIcon` with extended pointer handling and popup interactions
* Update dependencies: bump Avalonia packages to 12.0.2, ReactiveUI to 23.2.27, and other minor version upgrades
* clean up indentation, adjust formatting across services and views, and streamline property definitions.
* Centralize NuGet package version management and refactor project files to improve readability and reduce redundancy.
* Fix SSH key format detection: ensure `.EndsWith` is used for extension comparison to handle edge cases1 parent e4807aa commit d99e92f
177 files changed
Lines changed: 8221 additions & 4329 deletions
File tree
- .github/workflows
- OpenSSH_GUI.Core
- Configuration
- Enums
- Extensions
- Interfaces
- Credentials
- Hosts
- KnownHosts
- Lib
- AuthorizedKeys
- Credentials
- Keys
- KnownHosts
- Misc
- MVVM
- Resources
- Converter
- Wrapper
- Services
- Hosted
- OpenSSH_GUI.Dialogs
- Enums
- Interfaces
- Models
- Services
- Views
- OpenSSH_GUI.SshConfig
- Extensions
- Models
- Options
- Parsers
- Serializers
- Services
- OpenSSH_GUI.Tests
- Core
- Extensions
- MVVM
- SshConfig
- OpenSSH_GUI
- Assets
- Converters
- Extensions
- Logging/Enricher
- Resources
- Controls
- Styles
- ViewModels
- Views
- images
- openssh-gui-bin
- openssh-gui-git
- openssh-gui-nightly
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
150 | | - | |
151 | | - | |
| 151 | + | |
| 152 | + | |
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
| |||
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
180 | | - | |
| 181 | + | |
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
| |||
191 | 192 | | |
192 | 193 | | |
193 | 194 | | |
194 | | - | |
| 195 | + | |
195 | 196 | | |
196 | | - | |
197 | | - | |
198 | | - | |
| 197 | + | |
199 | 198 | | |
200 | 199 | | |
201 | 200 | | |
| |||
216 | 215 | | |
217 | 216 | | |
218 | 217 | | |
219 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| |||
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
159 | 167 | | |
160 | 168 | | |
161 | 169 | | |
162 | 170 | | |
163 | 171 | | |
164 | 172 | | |
165 | 173 | | |
166 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
167 | 180 | | |
168 | 181 | | |
169 | 182 | | |
170 | 183 | | |
171 | 184 | | |
172 | 185 | | |
173 | 186 | | |
174 | | - | |
| 187 | + | |
175 | 188 | | |
176 | 189 | | |
177 | 190 | | |
| |||
185 | 198 | | |
186 | 199 | | |
187 | 200 | | |
188 | | - | |
| 201 | + | |
189 | 202 | | |
190 | 203 | | |
191 | | - | |
| 204 | + | |
| 205 | + | |
192 | 206 | | |
193 | 207 | | |
194 | 208 | | |
| |||
208 | 222 | | |
209 | 223 | | |
210 | 224 | | |
211 | | - | |
| 225 | + | |
212 | 226 | | |
213 | 227 | | |
214 | 228 | | |
| |||
228 | 242 | | |
229 | 243 | | |
230 | 244 | | |
231 | | - | |
| 245 | + | |
232 | 246 | | |
233 | 247 | | |
234 | 248 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
Lines changed: 52 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
Lines changed: 53 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
0 commit comments