25 Commits
Author SHA1 Message Date
dependabot[bot] fd543c2951 build(deps): bump the actions group across 1 directory with 3 updates
Bumps the actions group with 3 updates in the / directory: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.39.1 to 4.39.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/9b3254085494b55a0f7c4c2b3d2d52cc712ce370...33d7b85da1a04171e211befe2c739303b9a4c066)

Updates `github/codeql-action/analyze` from 4.39.1 to 4.39.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/9b3254085494b55a0f7c4c2b3d2d52cc712ce370...33d7b85da1a04171e211befe2c739303b9a4c066)

Updates `github/codeql-action/upload-sarif` from 4.39.1 to 4.39.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/9b3254085494b55a0f7c4c2b3d2d52cc712ce370...33d7b85da1a04171e211befe2c739303b9a4c066)

---
updated-dependencies:
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.39.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: github/codeql-action/init
  dependency-version: 4.39.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.39.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-16 09:28:51 +07:00
poli0981andClaude Opus 5.5 dcfe5c6b7c docs: maintenance mode
From 1.3.0 Hash Tool is in maintenance mode. What it accepts is written down once, in CONTRIBUTING.md ("Project
status"): security fixes (high/critical vulnerabilities in .NET or a dependency get a prompt release), dependency and
.NET updates, bug and UI/UX fixes, accessibility, translation fixes, and hash algorithms on real demand; no new
features unless truly necessary.

- README: maintenance, Qodana and .NET 10 LTS badges and a "Project status" section.
- CONTRIBUTING: the policy, the issue forms, and the hash algorithm candidates (BLAKE2b-512, SHA3-256/512, CRC-32C)
  with what each would take; ARCHITECTURE: a checklist for adding an algorithm.
- Issue forms: the feature request form is replaced by "Hash algorithm request" and "Translation problem"; feature
  ideas go to Discussions (Ideas). The accessibility form gives the email address for people who cannot use GitHub.
- Pull request template: the kinds of change that are accepted.
- SECURITY: 1.3.x supported, the security commitment during maintenance, Qodana among the checks.
- CLAUDE.md: the project status for agents.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 09:20:51 +07:00
poli0981andClaude Opus 5.5 f257ec9393 test: property-based tests with FsCheck
FsCheck runs each property on 500 random inputs and reports the smallest one that fails:
- the checksum parser accepts any text (random and checksum-shaped lines) without throwing, and whatever it accepts
  is a hexadecimal digest of the algorithm's length;
- GNU (with backslashes and line breaks in names), BSD and SFV files read back exactly what ChecksumWriter wrote;
- ChecksumEntry.ResolvePath never returns a network or device path and refuses names starting with // or \;
- HashMatcher ignores letter case, spaces and a 0x prefix, rejects wrong lengths and non-hex digits, and accepts the
  reversed CRC32 that Hash Tool 1.1 wrote;
- TextHashing writes every line break the chosen way.

OpenSSF Scorecard counts FsCheck as fuzzing. FsCheck (BSD-3-Clause) is a test-only dependency, updated by Dependabot
with the other test packages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 09:17:31 +07:00
poli0981andClaude Opus 5.5 26fc900197 build(deps): .NET 10.0.15 (SDK 10.0.404) and current packages
- SDK 10.0.404 with the 10.0.15 runtime, a security release (CVE-2026-109475, CVE-2026-105544, CVE-2026-114155,
  CVE-2026-118747) that the self-contained downloads include.
- Avalonia 12.1.6, Microsoft.Extensions and System.IO.Hashing 10.0.15, System.CommandLine 2.0.15,
  Meziantou.Analyzer 3.0.341, dotnet-sonarscanner 12.1.0.
- DisableTransitiveFrameworkReferenceDownloads: projects with a runtime identifier (the NativeAOT CLI) no longer
  restore the ASP.NET Core and Windows Desktop runtime packs, whose advisories raised Dependabot alerts for runtimes
  Hash Tool never ships.
- Dependabot keeps Microsoft.Extensions, System.IO.Hashing, System.CommandLine and the SDK on .NET 10 (LTS): moving
  to a new major version is done on purpose.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 08:48:35 +07:00
poli0981andClaude Opus 5.5 f7e9c932b4 ci: Qodana for .NET analysis
JetBrains Qodana (qodana-dotnet, Ultimate licence) in native mode, with the SDK installed by setup-dotnet and the
settings in qodana.yaml. Results go to Qodana Cloud, to annotations and a pull request comment, and to the
qodana-report artifact. Pull requests analyse the files they change; pushes to main, a weekly run and manual runs
analyse everything. Skipped without QODANA_TOKEN (forks, Dependabot); not a required check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 08:37:59 +07:00
dependabot[bot] c71c703b55 build(deps): bump the actions group with 2 updates
Bumps the actions group with 2 updates: [actions/setup-dotnet](https://github.com/actions/setup-dotnet) and [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action).


Updates `actions/setup-dotnet` from 6.0.0 to 6.1.0
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](https://github.com/actions/setup-dotnet/compare/a98b56852c35b8e3190ac28c8c2271da59106c68...0f4a354dd5547a28c70b7853dbd95d5b67886e73)

Updates `zizmorcore/zizmor-action` from 0.8.0 to 0.8.1
- [Release notes](https://github.com/zizmorcore/zizmor-action/releases)
- [Commits](https://github.com/zizmorcore/zizmor-action/compare/53290badfa369cb0bf7ad16342cb62c2fa47ac7b...45d7276c9ca790aabd705e31ca99c6185c3e76dd)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: zizmorcore/zizmor-action
  dependency-version: 0.8.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-10 21:01:24 +07:00
poli0981andClaude Opus 5.5 86848c004c docs: accessibility statement, issue form and contributor checklist
ACCESSIBILITY.md (goals, what works, supported environments, known
limitations, reporting and severity, contributor checklist), an
"Accessibility issue" form, a PR checklist item, keyboard shortcuts in
docs/USAGE.md, links from README and CONTRIBUTING, and the changelog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:11:50 +07:00
poli0981andClaude Opus 5.5 8465c84f6e build(deps): .NET 10.0.14 (SDK 10.0.403) and current packages and actions
.NET 10.0.14 is an out-of-band security release (Brotli decoder
CVE-2026-111497, SocketAsyncEventArgs CVE-2026-70197). global.json now
requires SDK 10.0.403, so self-contained builds bundle the patched runtime.

- Microsoft.Extensions.*, System.IO.Hashing 10.0.13 -> 10.0.14
- System.CommandLine 2.0.13 -> 2.0.14
- Meziantou.Analyzer 3.0.303 -> 3.0.317 (no new findings)
- github/codeql-action v4.39.0 -> v4.39.1, zizmor-action v0.7.1 -> v0.8.0
  (zizmor 1.31.1 is still the latest)

xunit.v3 stays on 3.2.2: Avalonia.Headless.XUnit 12.1.4 still fails with
xunit.v3 4.x (AvaloniaUI/Avalonia#22072 is open).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 18:12:31 +07:00
dependabot[bot] edfb1007bb build(deps): bump the actions group across 1 directory with 3 updates
Bumps the actions group with 3 updates in the / directory: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.38.3 to 4.39.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/24c54180a607b1449ed407dd24f251e4e9147c8d...6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee)

Updates `github/codeql-action/analyze` from 4.38.3 to 4.39.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/24c54180a607b1449ed407dd24f251e4e9147c8d...6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee)

Updates `github/codeql-action/upload-sarif` from 4.38.3 to 4.39.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/24c54180a607b1449ed407dd24f251e4e9147c8d...6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-25 12:02:14 +07:00
poli0981andClaude Opus 5.5 469da888d7 ci: CodeQL advanced setup so Dependabot pull requests are analysed
CodeQL default setup never analyses Dependabot pull requests, so the
Analyze (actions) and Analyze (csharp) checks that the main ruleset
requires never report there and those pull requests cannot be merged.

The new CodeQL workflow runs the same analysis itself: actions, csharp
and python with build mode none, the default query suite, and default
setup's job names and /language: categories, so existing alerts carry
over. It runs on pushes to main, on pull requests to main (Dependabot's
included: code scanning accepts uploads from pull_request runs despite
their read-only token), weekly and on demand.

Default setup has to be switched off in the repository settings first;
while it is enabled, code scanning rejects uploads from workflows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 11:00:00 +07:00
poli0981andClaude Opus 5.5 ad1f731421 ci: zizmor-action 0.7.1 for zizmor 1.31.1
zizmor-action 0.6.4 refuses versions it does not know ("Unknown version:
1.31.1"); 0.7.1 ships 1.31.1 as its default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 07:25:27 +07:00
poli0981andClaude Opus 5.5 217d3b63d4 ci: analyze with SonarCloud in GitHub Actions
Automatic Analysis is off in SonarCloud; the new SonarCloud workflow runs
SonarScanner for .NET 12.0 around a real Release build, with Cobertura
coverage from the unit tests and from the smoke test run under
dotnet-coverage, and waits for the quality gate. Fork and Dependabot pull
requests get no SONAR_TOKEN, so their analysis is skipped instead of
failing.

Both tools join .config/dotnet-tools.json. Benchmarks are analysed as test
code, eng/ scripts stay out of coverage, and gate failures on main are
reported like other CI failures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 07:25:27 +07:00
poli0981andClaude Opus 5.5 4da9667975 ci: zizmor 1.31.1
The version is an action input, which Dependabot does not update.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 07:25:27 +07:00
poli0981andClaude Opus 5.5 31c39834fa build(deps): let Dependabot update the dotnet tools
Dependabot only reads a tool manifest from .config/dotnet-tools.json, so
vpk, nuget-license and CycloneDX were never proposed for updates. vpk is
grouped with the Velopack library it packs for, and manifest changes now
get the release dry run with the upgrade gate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 07:25:27 +07:00
poli0981andClaude Opus 5.5 535cc85fe9 fix(ci): Dhivehi satellite on Linux builds, Dependabot cooldown
- EnableCustomCulture: on Ubuntu (no ICU data for Dhivehi) MSBuild kept
  ".dv-mv" in the resource name inside the satellite and did not treat
  the folder as a culture when copying it to referencing projects. The
  satellite test now reports what it found if this ever regresses.
- Dependabot waits seven days after a release before proposing it
  (zizmor dependabot-cooldown).
- RELEASING.md: the release commit goes through a pull request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 13:16:40 +07:00
poli0981andClaude Opus 5.5 2529e9104a fix(ci): Linux satellite resources, macOS and Linux packaging checks
- Honour the explicit Culture metadata of every resx
  (RespectAlreadyAssignedItemCulture): Ubuntu's ICU has no Dhivehi, so the
  dv-MV translation was compiled into the main assembly instead of its
  satellite and Linux users would have seen English.
- vpk refuses --bundleId together with --plist; the bundle id comes from
  build/macos/Info.plist.
- Package check reads the root .nuspec on every platform; on Linux the
  app and sq.version live inside the AppImage.
- Use find instead of ls when comparing release assets (shellcheck).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 13:16:40 +07:00
poli0981andClaude Opus 5.5 e7a4830c41 ci: security scanning, release automation with an upgrade gate, Dependabot
- ci.yml: -warnaserror builds (NuGet audit included), Core coverage gate
  (80%), headless smoke test, translation check and a single `ci-ok`
  status for branch protection.
- security.yml: vulnerable packages (JSON report checked explicitly),
  licence allowlist via nuget-license, gitleaks, actionlint and zizmor.
- dependency-review.yml, dependency-submission.yml (full NuGet graph for
  Dependabot alerts) and scorecard.yml.
- release.yml: manual release with a dry-run mode and PR dry runs; builds
  win, osx (arm64), osx-x64 and linux with vpk, smoke-tests every
  published build, checks package identity, updates a real 1.1.3 portable
  install with its own updater before anything is published, builds the
  NativeAOT CLI for four platforms, adds SBOMs, SHA256SUMS and build
  provenance, publishes draft-then-verify, then announces on Discord.
- Notification workflows: explicit workflow names instead of "*", pinned
  to a commit of poli0981/.github, explicit secrets instead of inherit,
  fork runs filtered out; release-pineline.yml renamed.
- dependabot.yml (NuGet, .NET SDK, Actions, grouped), CODEOWNERS, issue
  forms and a pull request template.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 13:16:40 +07:00
poli0981andClaude Opus 5.5 fda1bf2928 i18n: translate the new UI into all 66 languages and normalise the resx files
- eng/loc.py checks every resx against English (keys, placeholders, stray
  indentation, Languages.json and project wiring) and adds, renames or
  removes keys across all files from a JSON file.
- Rewrote every resx in one canonical layout: the indentation an XML
  formatter had baked into multi-line messages is gone, headers are on one
  line, values keep xml:space="preserve".
- Added 80 keys for the new pages and messages, updated nine changed
  texts and removed 70 keys of deleted features, in every language.
- Fixed en-IN/en-SG dropping {2} from the result summary and labelling
  "Reset Settings" as "Reset Theme"; completed the Filipino translation;
  en-GB uses British spelling; zh-Hans-SG follows the mainland terms;
  repaired a Thaana letter inside Dzongkha words and Khmer letters in
  Lao; removed stray keys from de-AT and it-IT.
- Dropped Resources.en-us.resx (identical to the neutral English file,
  which en-US now uses).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 13:16:40 +07:00
poli0981andClaude Opus 5.5 c29fe212ee ci: build and test on Windows, macOS and Linux, check formatting
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 13:16:40 +07:00
poli0981 6b7ccf1b88 refactor: remove discord_notify.py script and update workflows to use reusable workflows 2026-05-09 01:14:06 +07:00
poli0981 6f961d942b feat: add workflows for Discord release announcements and CI failure notifications 2026-05-08 20:22:42 +07:00
poli0981 ac2c36aa03 Add CI failure notification workflow for Discord 2026-05-08 18:32:38 +07:00
poli0981 ab6d789ba6 Add Discord announcement workflow for releases
This workflow announces releases to Discord when a release is published, including optional role pings for stable releases.
2026-05-08 18:31:46 +07:00
poli0981 f4e6287ed6 Add Discord webhook notification helper script
This script provides a helper for sending notifications to Discord via webhooks, supporting both release announcements and CI failure alerts. It includes configuration for colors, message truncation, and environment variable handling.
2026-05-08 18:30:29 +07:00
poli0981 a1a40f72ac feat: add funding information and update README for clarity and new features 2026-02-20 13:31:01 +07:00