19 Commits

Author SHA1 Message Date
Prime Build 12feeafb77 Prepare v1.4.0 release (#29)
## Summary

Prepares the v1.4.0 release after the safe in-app updater feature merge.

## Changes

- Bumps project/package/installer metadata from 1.3.1 to 1.4.0.
- Updates changelog and release notes.
- Adds v1.4.0 release notes.
- Updates packaging examples where needed.

## Release highlights

- Safe in-app updater.
- Manual update checks from Settings.
- Optional background update checks with a default 7-day interval.
- Explicit user confirmation before installing updates.
- SHA256 verification when release checksums are available.
- Best-effort Authenticode verification.
- User data preservation during update.

## Validation

- `dotnet build ThreadPilot_1.sln`: passed
- `dotnet test ThreadPilot_1.sln`: passed
2026-06-07 12:27:19 +02:00
Prime Build c058fef7d5 Fix v1.3.1 localization and installer cleanup (#26)
## Summary

Fixes the incomplete Simplified Chinese localization shipped in v1.3.0 and prepares v1.3.1.

## Changes

- Completed zh-CN localization coverage across the main UI.
- Added/updated localization keys for primary views, tray/status text, notifications, and settings.
- Kept en-US as the default language.
- Updated version metadata to 1.3.1.
- Changed installer display name to ThreadPilot while keeping version metadata separate.
- Added guarded cleanup for obsolete ThreadPilot 0.1.0-beta uninstall entry.
- Improved uninstall cleanup for ThreadPilot AppData, startup task, and HKCU Run entry.
- Added localization and packaging metadata tests.

## Validation

- dotnet build ThreadPilot_1.sln: passed, 0 warnings
- dotnet test ThreadPilot_1.sln: passed, 524 tests

## Safety

- No change to elevation behavior.
- No change to affinity/process control behavior.
- No change to power plan or system tweak behavior.
- Normal install/update preserves user settings.
- Full uninstall removes ThreadPilot-owned AppData for the uninstalling user.
2026-06-07 04:33:51 +02:00
Prime Build edd6808c7d Prepare v1.3.0 release (#25) 2026-06-06 18:25:45 +02:00
PrimeBuild-pc e8ba1a7e74 Finalize v1.2.0 release artifact contract 2026-05-23 15:43:12 +02:00
Prime Build 91287c9860 Fix startup binding and prepare v1.2.0 pre-release (#22)
* Fix startup binding and prep v1.2.0

* Polish v1.2.0 validation UX

* Fix final v1.2.0 validation polish

* Make Activity Logs a ThreadPilot audit trail

* Fix high scheduling registry value

* Polish process list and automation settings UX

* Fix process context menu separator styling

* Theme process context menu visuals

* Stabilize process context menu styling

* Remove process menu icon gutter

* Polish startup and idle process refresh

* Finalize PR22 release polish
2026-05-23 14:28:24 +02:00
PrimeBuild-pc fd5f5fa208 Prepare visual refresh release 2026-05-17 01:59:30 +02:00
PrimeBuild-pc 65f8c08f26 Clean up release workflow assets 2026-05-16 23:16:10 +02:00
PrimeBuild-pc fbced16e56 Prepare v1.1.3 release metadata 2026-05-09 23:32:53 +02:00
PrimeBuild-pc 69cc510bc1 Harden services and release coverage pipeline 2026-04-21 19:50:56 +02:00
PrimeBuild-pc 8901150818 Add winget and Chocolatey publish automation
Add automated publish jobs to the release workflow and supporting scripts/docs. .github/workflows/release.yml gains publish-winget and publish-chocolatey jobs that gate on repository secrets, download release artifacts, and either submit a winget-pkgs PR or push a Chocolatey package when the release succeeds. Added build/submit-winget-pr.ps1 to create a fork branch, add manifests and open a PR to microsoft/winget-pkgs, and build/publish-chocolatey.ps1 to pack and push a Chocolatey nupkg (handling idempotent already-exists cases). README.md and docs/release/PACKAGING.md updated to document the new automation and required secrets (WINGET_GITHUB_TOKEN, WINGET_FORK_OWNER, CHOCOLATEY_API_KEY).
2026-04-21 03:01:07 +02:00
PrimeBuild-pc a27906291c Pin git-cliff; remove vendored gitleaks-bin
Replace Docker/action-based changelog generation with a runner-native, pinned git-cliff install (GIT_CLIFF_VERSION=2.10.0) and checksum verification in the release workflow. Update the changelog step to run git-cliff and emit release notes to GITHUB_OUTPUT.

Add .gitignore patterns to prevent committing gitleaks binaries/archives and remove the vendored gitleaks-bin directory and files. Add build/close-secret-scanning-alerts.ps1: a gh-cli-driven PowerShell tool to list and optionally resolve open GitHub secret-scanning alerts (dry-run by default).

Update CONTRIBUTING, RELEASE_RUNBOOK, COMPLIANCE_AUDIT, and SECURITY_CHECKLIST docs with a security tooling policy: do not vendor scanner binaries, install scanners at CI runtime, and document the remediation rationale. These changes address recurring secret-scanning false positives and improve release reproducibility and supply-chain hygiene.
2026-04-21 02:49:38 +02:00
PrimeBuild-pc 0639e0858c chore(release): prepare v1.1.2 release alignment 2026-04-21 01:12:41 +02:00
PrimeBuild-pc a5a832c80b Require admin privileges at startup
Switch the application to require administrator elevation at launch (change manifest to requireAdministrator) and enforce early exit when not elevated. Update App.xaml.cs to log elevation failures, show an elevation-required message, and shut down non-elevated instances (preserving a smoke-test conditional). Update user-facing dialogs and README/TROUBLESHOOTING/SECURITY/PACKAGING docs to reflect the new startup privilege model and packaging requirement.
2026-04-16 01:21:04 +02:00
PrimeBuild-pc efb757d733 Add ElevatedTaskService and remove MSIX packaging
Introduce IElevatedTaskService and ElevatedTaskService to manage scheduled-task based elevated launch and autostart. Update App.xaml.cs to bootstrap elevation, attempt managed elevated launch, and handle task registration markers. Refactor AutostartService to delegate autostart operations to the elevated task service, remove legacy registry usage where appropriate, add logging, and update DI registration and unit tests. Remove MSIX packaging support and related tooling: delete build/build-msix.ps1, remove MSIX publish/validation/upload steps from GitHub Actions, drop MSIX-related csproj targets and EnableMsixTooling, and update docs/README/.gitignore to no longer reference MSIX artifacts.
2026-04-16 00:31:19 +02:00
PrimeBuild-pc c9253f879d Enhance CI/release workflow and app robustness
Add comprehensive CI and release improvements (coverage collection, Codecov upload, SBOM generation), split release workflow into build/smoke-test/release stages with deterministic version resolution, artifact uploads, winget manifest updates and changelog generation. Add a pre-commit hook to block large or unwanted artifacts. Introduce runtime improvements: smoke-test startup mode, improved unhandled/dispatcher/task-exception reporting, ThreadPilotException error codes, single-instance behavior adjustments, and logging enhancements. UI and UX changes include a new Logs tab and LogViewer wiring, DWM title-bar theming helper, navigation serialization/unsaved-changes guard, system-tray update backoff logic, and related viewmodel/service integrations. Also add installer template, helper classes, tests, docs, packaging and build scripts, and minor .gitignore updates.
2026-04-15 22:38:35 +02:00
PrimeBuild-pc 275ac72fa9 Add installer build script, docs; tweak UI/theme
Add a PowerShell installer builder (build/build-installer.ps1) and a pre-tag release checklist (docs/plans/PRE_TAG_RELEASE_CHECKLIST.md); update packaging docs to recommend the new script and document Inno Setup theming. Make Inno Setup scripts (Installer/setup.iss and Installer/Installer.iss) more configurable by introducing MyWizardStyle and guarding MyAppBuildDir so WizardStyle can use dynamic Windows theming. Persist system theme preference when the user has no explicit preference (App.xaml.cs and MainWindow.xaml.cs) and switch to IsHitTestVisible for the performance-overlay blur to avoid disabling input globally. Prevent closing the app while the performance intro is visible with a user-facing message. Minor .gitignore cleanup and packaging text updates.
2026-04-15 02:25:36 +02:00
PrimeBuild-pc 1ab85b21bd Release 1.1.1: installer, elevation & onboarding
Bump release to v1.1.1 and add release/build packaging, installer and onboarding enhancements. Key changes:

- Version bump across csproj, README and release assets to 1.1.1.
- CI/workflow: copy bundled Powerplans into single-file output, install Inno Setup, build Inno Setup installer, include installer artifacts in GitHub release, and stage unified package zips with uninstall/license files.
- Installer: update InstallScript (setup.iss) to point to staged artifacts, include Powerplans folder, and output installer to artifacts/release/installer.
- App startup/elevation: requireAdministrator manifest and App.xaml.cs now requests elevation early, terminating non-elevated instance when elevation is requested/declined.
- UX: add Performance first-run onboarding overlay (modal with blurred background), updated loading overlay visuals, and related MainWindow logic to show/hide intro and persist seen state.
- Settings & config: implement export/import configuration bundle (JSON) with Save/Open dialogs, add ReplaceConfigurationAsync and CloneConfiguration in association service, and adjust settings view labels.
- Power plan features: add PowerPlanService.AddCustomPowerPlanFileAsync and UI/command to add .pow files; adjust Import/Apply button labels.
- Performance tweaks: reduce power plan change delay from 1000ms to 250ms in config, models and viewmodels.
- Theme detection: improve ThemeService to resolve registry values and fallback to system theme helper.
- Misc: various logging/status improvements, packaging script fixes (build-release/build-msix), and added package-release-zips script.

These changes prepare the project for a formal 1.1.1 release with installer distribution, improved elevation handling and onboarding, plus enhanced import/export and custom power plan support.
2026-04-14 03:22:06 +02:00
PrimeBuild-pc 3d00d00cb0 chore: safe root cleanup phase 1 - Refactor .gitignore (più leggibile + pattern moderni) - Move build scripts → build/ - Move installer → Installer/ - Move ico.ico and Powerplans → assets/ - Move TRADEMARK.md → docs/legal/TRADEMARK.md (with root bridge) - Update all internal references (csproj, XAML, C#, .iss, .ps1, docs) - Verified: restore + build + test + publish (SingleFile + MSIX) OK" 2026-04-13 12:39:05 +02:00
PrimeBuild-pc 40fe057602 chore: final repository cleanup and release packaging for v1.1.0 2026-04-12 18:06:29 +02:00