fix: some issues
This commit is contained in:
parent
a11aeeea8c
commit
08432a07c1
@ -8,6 +8,13 @@
|
|||||||
"nswag"
|
"nswag"
|
||||||
],
|
],
|
||||||
"rollForward": false
|
"rollForward": false
|
||||||
|
},
|
||||||
|
"refitter": {
|
||||||
|
"version": "1.5.5",
|
||||||
|
"commands": [
|
||||||
|
"refitter"
|
||||||
|
],
|
||||||
|
"rollForward": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -29,6 +29,7 @@
|
|||||||
<entry key="Flawless.Client/Views/ModalBox/PasswordChangeDialogView.axaml" value="Flawless.Client/Flawless.Client.csproj" />
|
<entry key="Flawless.Client/Views/ModalBox/PasswordChangeDialogView.axaml" value="Flawless.Client/Flawless.Client.csproj" />
|
||||||
<entry key="Flawless.Client/Views/ModalBox/SimpleMessageDialogView.axaml" value="Flawless.Client/Flawless.Client.csproj" />
|
<entry key="Flawless.Client/Views/ModalBox/SimpleMessageDialogView.axaml" value="Flawless.Client/Flawless.Client.csproj" />
|
||||||
<entry key="Flawless.Client/Views/ModalBox/UserCreateDialogView.axaml" value="Flawless.Client/Flawless.Client.csproj" />
|
<entry key="Flawless.Client/Views/ModalBox/UserCreateDialogView.axaml" value="Flawless.Client/Flawless.Client.csproj" />
|
||||||
|
<entry key="Flawless.Client/Views/ModalBox/WebhookEditDialogView.axaml" value="Flawless.Client/Flawless.Client.csproj" />
|
||||||
<entry key="Flawless.Client/Views/RegisterPageView.axaml" value="Flawless.Client/Flawless.Client.csproj" />
|
<entry key="Flawless.Client/Views/RegisterPageView.axaml" value="Flawless.Client/Flawless.Client.csproj" />
|
||||||
<entry key="Flawless.Client/Views/RegisterView.axaml" value="Flawless.Client/Flawless.Client.csproj" />
|
<entry key="Flawless.Client/Views/RegisterView.axaml" value="Flawless.Client/Flawless.Client.csproj" />
|
||||||
<entry key="Flawless.Client/Views/RepositoryPage/IssueEditDialogView.axaml" value="Flawless.Client/Flawless.Client.csproj" />
|
<entry key="Flawless.Client/Views/RepositoryPage/IssueEditDialogView.axaml" value="Flawless.Client/Flawless.Client.csproj" />
|
||||||
|
|||||||
@ -54,6 +54,7 @@
|
|||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AUserManager_00601_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E3_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fd56cb0a089b14dab96ad3ee133819f966d938_003F9c_003F183f8355_003FUserManager_00601_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AUserManager_00601_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E3_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fd56cb0a089b14dab96ad3ee133819f966d938_003F9c_003F183f8355_003FUserManager_00601_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AValueTuple_00602_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E3_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fa6b7f037ba7b44df80b8d3aa7e58eeb2e8e938_003Fa7_003F76eb4679_003FValueTuple_00602_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AValueTuple_00602_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E3_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fa6b7f037ba7b44df80b8d3aa7e58eeb2e8e938_003Fa7_003F76eb4679_003FValueTuple_00602_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AViewForMixins_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E3_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003F404d064a80dc4960b93f90c9bd69770750810_003F65_003F2791a1c7_003FViewForMixins_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AViewForMixins_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E3_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003F404d064a80dc4960b93f90c9bd69770750810_003F65_003F2791a1c7_003FViewForMixins_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003A_005F_005FMicroComIAvnPlatformThreadingInterfaceProxy_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003FLibrary_003FApplication_0020Support_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003F89ef5ce97ada4a3e80613a86a8b6865a47200_003F5e_003F862bfb92_003F_005F_005FMicroComIAvnPlatformThreadingInterfaceProxy_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
<s:String x:Key="/Default/Environment/AssemblyExplorer/XmlDocument/@EntryValue"><AssemblyExplorer>
|
<s:String x:Key="/Default/Environment/AssemblyExplorer/XmlDocument/@EntryValue"><AssemblyExplorer>
|
||||||
<Assembly Path="C:\Users\Cardi\.nuget\packages\irihi.ursa\1.10.0\lib\net8.0\Ursa.dll" />
|
<Assembly Path="C:\Users\Cardi\.nuget\packages\irihi.ursa\1.10.0\lib\net8.0\Ursa.dll" />
|
||||||
<Assembly Path="C:\Users\Cardi\.nuget\packages\irihi.ursa.themes.semi\1.10.0\lib\netstandard2.0\Ursa.Themes.Semi.dll" />
|
<Assembly Path="C:\Users\Cardi\.nuget\packages\irihi.ursa.themes.semi\1.10.0\lib\netstandard2.0\Ursa.Themes.Semi.dll" />
|
||||||
|
|||||||
@ -297,7 +297,7 @@ public class RepositoryService : BaseService<RepositoryService>
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
var issues = (await api.Gateway.List(repo.Name, repo.OwnerName))
|
var issues = (await api.Gateway.List(repo.OwnerName, repo.Name))
|
||||||
.Result.ToImmutableDictionary(x => (ulong) x.Id);
|
.Result.ToImmutableDictionary(x => (ulong) x.Id);
|
||||||
|
|
||||||
for (var i = 0; i < repo.Issues.Count; i++)
|
for (var i = 0; i < repo.Issues.Count; i++)
|
||||||
@ -615,7 +615,7 @@ public class RepositoryService : BaseService<RepositoryService>
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
var members = await api.Gateway.GetUsers(repo.Name, repo.OwnerName);
|
var members = await api.Gateway.GetUsers(repo.OwnerName, repo.Name);
|
||||||
|
|
||||||
// Update existed
|
// Update existed
|
||||||
var dict = members.Result.ToDictionary(m => m.Username);
|
var dict = members.Result.ToDictionary(m => m.Username);
|
||||||
@ -1247,7 +1247,7 @@ public class RepositoryService : BaseService<RepositoryService>
|
|||||||
}
|
}
|
||||||
|
|
||||||
var rsp = await api.Gateway.CreateCommit(repo.OwnerName, repo.Name,
|
var rsp = await api.Gateway.CreateCommit(repo.OwnerName, repo.Name,
|
||||||
new StreamPart(str, Path.GetFileName(tempDepotPath)), message, snapshot, null!, null!);
|
new StreamPart(str, Path.GetFileName(tempDepotPath)), message, snapshot, [], string.Empty);
|
||||||
|
|
||||||
// Move depot file to destination
|
// Move depot file to destination
|
||||||
var depotsPath = PathUtility.GetWorkspaceDepotCachePath(Api.Current.Username.Value!, repo.OwnerName, repo.Name);
|
var depotsPath = PathUtility.GetWorkspaceDepotCachePath(Api.Current.Username.Value!, repo.OwnerName, repo.Name);
|
||||||
|
|||||||
@ -6,6 +6,7 @@
|
|||||||
xmlns:vm="clr-namespace:Flawless.Client.ViewModels.ModalBox"
|
xmlns:vm="clr-namespace:Flawless.Client.ViewModels.ModalBox"
|
||||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
x:DataType="vm:IssueEditDialogViewModel"
|
x:DataType="vm:IssueEditDialogViewModel"
|
||||||
|
MinWidth="400"
|
||||||
x:Class="Flawless.Client.Views.ModalBox.IssueDetailEditView">
|
x:Class="Flawless.Client.Views.ModalBox.IssueDetailEditView">
|
||||||
|
|
||||||
<u:Form>
|
<u:Form>
|
||||||
|
|||||||
@ -6,6 +6,7 @@
|
|||||||
xmlns:u="https://irihi.tech/ursa"
|
xmlns:u="https://irihi.tech/ursa"
|
||||||
x:DataType="vm:MergeDialogViewModel"
|
x:DataType="vm:MergeDialogViewModel"
|
||||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
|
MinWidth="400"
|
||||||
x:Class="Flawless.Client.Views.ModalBox.MergeDialogView">
|
x:Class="Flawless.Client.Views.ModalBox.MergeDialogView">
|
||||||
<ListBox ItemsSource="{Binding MergeFiles}">
|
<ListBox ItemsSource="{Binding MergeFiles}">
|
||||||
<ListBox.ItemTemplate>
|
<ListBox.ItemTemplate>
|
||||||
|
|||||||
@ -2,7 +2,8 @@
|
|||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:vm="using:Flawless.Client.ViewModels.ModalBox"
|
xmlns:vm="using:Flawless.Client.ViewModels.ModalBox"
|
||||||
x:Class="Flawless.Client.Views.ModalBox.PasswordChangeDialogView"
|
x:Class="Flawless.Client.Views.ModalBox.PasswordChangeDialogView"
|
||||||
x:DataType="vm:PasswordChangeDialogViewModel">
|
x:DataType="vm:PasswordChangeDialogViewModel"
|
||||||
|
MinWidth="400">
|
||||||
|
|
||||||
<Grid Margin="10" RowDefinitions="Auto,Auto,Auto">
|
<Grid Margin="10" RowDefinitions="Auto,Auto,Auto">
|
||||||
<TextBox Watermark="Old Password"
|
<TextBox Watermark="Old Password"
|
||||||
|
|||||||
@ -5,6 +5,7 @@
|
|||||||
xmlns:u="https://irihi.tech/ursa"
|
xmlns:u="https://irihi.tech/ursa"
|
||||||
xmlns:vm="using:Flawless.Client.ViewModels.ModalBox"
|
xmlns:vm="using:Flawless.Client.ViewModels.ModalBox"
|
||||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
|
MinWidth="400"
|
||||||
x:Class="Flawless.Client.Views.ModalBox.WebhookEditDialogView"
|
x:Class="Flawless.Client.Views.ModalBox.WebhookEditDialogView"
|
||||||
x:DataType="vm:WebhookEditDialogViewModel">
|
x:DataType="vm:WebhookEditDialogViewModel">
|
||||||
|
|
||||||
|
|||||||
@ -10,9 +10,9 @@
|
|||||||
|
|
||||||
<DockPanel>
|
<DockPanel>
|
||||||
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal" Spacing="8" Margin="0 0 0 12">
|
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal" Spacing="8" Margin="0 0 0 12">
|
||||||
<u:IconButton Icon="{StaticResource SemiIconRefresh}" Content="刷新"
|
<u:IconButton Icon="{StaticResource SemiIconRefresh}" Content="Refresh"
|
||||||
Command="{Binding RefreshRepositoryIssuesAsyncCommand}"/>
|
Command="{Binding RefreshRepositoryIssuesAsyncCommand}"/>
|
||||||
<u:IconButton Icon="{StaticResource SemiIconPlus}" Content="新建 Issue"
|
<u:IconButton Icon="{StaticResource SemiIconPlus}" Content="Create"
|
||||||
Command="{Binding CreateIssueCommand}"/>
|
Command="{Binding CreateIssueCommand}"/>
|
||||||
<!-- <ComboBox ItemsSource="{Binding IssueFilters}" SelectedIndex="0" -->
|
<!-- <ComboBox ItemsSource="{Binding IssueFilters}" SelectedIndex="0" -->
|
||||||
<!-- Width="120" PlaceholderText="筛选状态"/> -->
|
<!-- Width="120" PlaceholderText="筛选状态"/> -->
|
||||||
@ -39,7 +39,7 @@
|
|||||||
<StackPanel Grid.Column="1" Grid.Row="1" Orientation="Horizontal" Spacing="8">
|
<StackPanel Grid.Column="1" Grid.Row="1" Orientation="Horizontal" Spacing="8">
|
||||||
<TextBlock Text="{Binding Author}"
|
<TextBlock Text="{Binding Author}"
|
||||||
Foreground="{DynamicResource SemiSecondaryTextColor}"/>
|
Foreground="{DynamicResource SemiSecondaryTextColor}"/>
|
||||||
<TextBlock Text="{Binding CreatedAt, StringFormat='创建于 {0:yyyy-MM-dd}'}"
|
<TextBlock Text="{Binding CreatedAt, StringFormat='Create At {0:yyyy-MM-dd}'}"
|
||||||
Foreground="{DynamicResource SemiSecondaryTextColor}"/>
|
Foreground="{DynamicResource SemiSecondaryTextColor}"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user