XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEToolBox

【WPF】XFE工具箱

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFEToolBox

新增独立 NTFS/USN 索引服务与客户端集成

新增并集成一个可选的以 LocalSystem 运行的独立 NTFS/USN 索引服务及全套生态:包含服务端引擎(NtfsIndexEngine、NtfsNativeVolume、NtfsCatalog、USN 回放、分片建立、低优先级 IO、持久化 checkpoint 与 NtfsAuditLog 审计)、服务宿主与 IPC 协议(命名管道安全、Trust 校验、SecurePipeFactory、Host)和客户端协议/实现;客户端 FileSearchRuntime 支持探测/合并/回退远端服务、ServiceStatus、远端查询合并与范围覆盖逻辑;本地索引增加可安静取消与访问筛选(FileSearchIndex.TrySearch、Search 增加 filter,取消时返回 null);安装器与设置集成服务安装/卸载选项(Installer UI/InstallPage、InstallProgress 调用、UnelevatedApplicationLauncher、IndexingServiceInstallation 含提权流程与路径/ACL 确认);安全硬化(拒绝重解析点/硬链接作为安装源,为发行/缓存设置 SYSTEM/Administrators 权限,RunAsClient 中按调用者 ACL 校验 CallerFileAccess 可见性);构建/发布支持(新增 IndexingServiceBundle.targets,将服务发布到客户端 IndexingService 子目录,方案/项目添加服务与验证工具);大量测试/验证/基准工具与单元测试(LiveValidation、Validation、Measure、Run-ServiceValidation 等);UI/交互调整(设置页显示服务状态、命令面板轮询刷新、搜索面板合并本地/远端结果并调整“加载更多”行为与输入对齐/样式修正)。

4020bd8
XFE工作室室长 <mail@xfegzs.com>
提交于

代码差异

64 个文件 +6098 -77
Added .BuildValidation/search-icons-focused-release/test-results.json +66 -0
Added .BuildValidation/search-icons-focused-release/test-results.xml +6 -0
Modified .gitignore +1 -0
Modified XFEToolBox.Client.Core/Search/FileSearchIndex.cs +28 -15
Added XFEToolBox.Client.Core/Search/Service/IndexingServiceClient.cs +79 -0
Added XFEToolBox.Client.Core/Search/Service/IndexingServiceProtocol.cs +90 -0
Added XFEToolBox.Client.Core/Search/Service/IndexingServiceTrust.cs +82 -0
Modified XFEToolBox.Client.Installer/Profiles/SystemProfile.cs +2 -0
Modified XFEToolBox.Client.Installer/README.md +14 -1
Added XFEToolBox.Client.Installer/Utilities/UnelevatedApplicationLauncher.cs +80 -0
Modified XFEToolBox.Client.Installer/ViewModel/Pages/InstallPageViewModel.cs +3 -0
Modified XFEToolBox.Client.Installer/ViewModel/Pages/InstallProgressPageViewModel.cs +1 -7
Modified XFEToolBox.Client.Installer/Views/Pages/InstallPage.xaml +8 -2
Modified XFEToolBox.Client.Installer/Views/Pages/InstallProgressPage.xaml.cs +8 -0
Modified XFEToolBox.Client.Installer/XFEToolBox.Client.Installer.csproj +2 -0
Added XFEToolBox.Client.Wpf.Test/IndexingServiceInstallationTests.cs +39 -0
Added XFEToolBox.Client.Wpf.Test/IndexingServiceRuntimeTests.cs +219 -0
Added XFEToolBox.Client.Wpf.Test/QuickSearchInputAlignmentTests.cs +98 -0
Added XFEToolBox.Client.Wpf.Test/ShellFileIconTests.cs +199 -0
Added XFEToolBox.Indexing.Service/Engine/NtfsAuditLog.cs +57 -0
Added XFEToolBox.Indexing.Service/Engine/NtfsCatalog.cs +241 -0
Added XFEToolBox.Indexing.Service/Engine/NtfsIndexEngine.cs +473 -0
Added XFEToolBox.Indexing.Service/Engine/NtfsIoPriority.cs +27 -0
Added XFEToolBox.Indexing.Service/Engine/NtfsMetadata.cs +116 -0
Added XFEToolBox.Indexing.Service/Engine/NtfsNativeVolume.cs +184 -0
Added XFEToolBox.Indexing.Service/Host/IndexingServiceHost.cs +204 -0
Added XFEToolBox.Indexing.Service/Host/IndexingWindowsService.cs +50 -0
Added XFEToolBox.Indexing.Service/IPC/CallerFileAccess.cs +90 -0
Added XFEToolBox.Indexing.Service/IPC/SecurePipeFactory.cs +44 -0
Added XFEToolBox.Indexing.Service/Program.cs +43 -0
Added XFEToolBox.Indexing.Service/XFEToolBox.Indexing.Service.csproj +15 -0
Added XFEToolBox.Test/IndexingServiceProtocolTests.cs +105 -0
Added XFEToolBox.Test/QuietFileSearchTests.cs +69 -0
Modified XFEToolBox.sln +7 -0
Modified XFEToolBox/Utilities/FileSearchRuntime.cs +182 -29
Added XFEToolBox/Utilities/IndexingServiceInstallation.cs +112 -0
Added XFEToolBox/Utilities/ShellFileIconService.cs +271 -0
Modified XFEToolBox/ViewModel/Pages/FileSearchResultViewModel.cs +69 -1
Modified XFEToolBox/ViewModel/Pages/SettingPageViewModel.cs +49 -0
Modified XFEToolBox/Views/Pages/SettingPage.xaml +12 -0
Modified XFEToolBox/Views/Pages/SettingPage.xaml.cs +1 -0
Modified XFEToolBox/Views/Windows/CommandPaletteWindow.xaml +29 -11
Modified XFEToolBox/Views/Windows/CommandPaletteWindow.xaml.cs +30 -6
Modified XFEToolBox/XFEToolBox.Client.csproj +1 -0
Added build/IndexingServiceBundle.targets +23 -0
Added tests/Indexing.ConnectionDiagnostics/Indexing.ConnectionDiagnostics.csproj +9 -0
Added tests/Indexing.ConnectionDiagnostics/Program.cs +72 -0
Added tests/Indexing.LiveValidation/Indexing.LiveValidation.csproj +11 -0
Added tests/Indexing.LiveValidation/Measure-ServiceResources.ps1 +21 -0
Added tests/Indexing.LiveValidation/Program.cs +294 -0
Added tests/Indexing.LiveValidation/Run-OneShotValidation.ps1 +68 -0
Added tests/Indexing.LiveValidation/Run-ServiceValidation.ps1 +186 -0
Added tests/Indexing.LiveValidation/Verifier.cs +111 -0
Added tests/Indexing.Validation/Indexing.Validation.csproj +12 -0
Added tests/Indexing.Validation/Program.cs +407 -0
Added tests/Indexing.WpfLiveValidation/Indexing.WpfLiveValidation.csproj +13 -0
Added tests/Indexing.WpfLiveValidation/Program.cs +377 -0
Added tests/Indexing.WpfLiveValidation/README.md +20 -0
Added tests/Indexing.WpfLiveValidation/app.manifest +9 -0
Added tests/IndexingService.Validation/IndexingService.Validation.csproj +11 -0
Added tests/IndexingService.Validation/InstallerSourceSafetyTests.cs +93 -0
Added tests/IndexingService.Validation/Program.cs +281 -0
Modified tests/QuickSearch.Validation/README.md +38 -5