* Simplifying view models, step 1: Extracting common terminal configuration into TerminalInfoViewModel.cs. * Simplifying a bit. * SSH view models simplfication. * Refactoring duplicated code. * Refactoring duplicated code. * Renaming a resource file. * Cleanup. * Fixing an issue with TemplateSelectors. * QuickSshDialog created. * Minor fix. * Wiring up QuickSshDialog. * Minor fix. * Fixed an issue with shared resources. * Single-text-box dialog works. * Improving "Quick SSH" look. * Improving data validation workflow to avoid double validations. * Refactoring view models and templates to avoid duplicated code. * Minor fix. * Fixing a bug with mosh. * Cleanup. * Cleanup. * Moving profile view models in a separate folder (namespace). * Few comment lines (short description) added to profile view models. * Removing IDisposable from view-models because event-caused memory leaks will be solved differently. * Implemented quick-ssh shortcuts. * Fixing quick SSH command validation. * Minor change. * Minor change. * Combining "SSH Info" and "Quick SSH" into a single dialog. * Quick SSH profiles. * Fixing a minor bug with custom links. * Fixing remote profiles look and feel. * Minor improvements. * Fixing a minor bug. * Minor changes based on Felix' comments. * Saving executed commands history implemented.
17 lines
360 B
C#
17 lines
360 B
C#
using System;
|
|
|
|
namespace FluentTerminal.App.ViewModels.Profiles
|
|
{
|
|
[Flags]
|
|
public enum SshConnectionInfoValidationResult
|
|
{
|
|
Valid = 0,
|
|
UsernameEmpty = 1,
|
|
HostEmpty = 2,
|
|
SshPortZeroOrNegative = 4,
|
|
MoshPortZeroOrNegative = 8,
|
|
MoshPortRangeInvalid = 16,
|
|
IdentityFileDoesNotExist = 32
|
|
}
|
|
}
|