chore: 2.3.0 — move to Gitea (CI, R2 releases, links, docs) and dependency refresh #2

Merged
poli0981 merged 7 commits from chore/gitea-migration into main 2026-11-27 03:13:42 +00:00
7 Commits
Author SHA1 Message Date
poli0981andClaude Opus 5.5 686760fc46 ci(security): gitleaks may skip the public Web Analytics token
CI / Web · lint, typecheck, test, build (pull_request) Successful in 57s
CI / Deploy · Cloudflare Workers (pull_request) Skipped
CI / Production smoke (pull_request) Skipped
CI / Tauri · fmt, clippy (pull_request) Successful in 2m51s
Security / workflow-lint (pull_request) Successful in 30s
Reusable / Security / .NET (NuGetAudit) (pull_request) Skipped
Reusable / Security / Secrets (gitleaks) (pull_request) Successful in 10s
Reusable / Security / SAST (Opengrep) (pull_request) Successful in 22s
Reusable / Security / Dependencies (osv-scanner) (pull_request) Successful in 16s
Reusable / Security / Rust (cargo-deny) (pull_request) Successful in 38s
Security / scan (pull_request) Successful in 1m27s
Qodana / tokens (pull_request) Successful in 2s
Qodana / typescript (pull_request) Successful in 2m56s
Qodana / rust (pull_request) Canceled after 12m43s
Reusable / Qodana / Qodana (pull_request) Canceled after 12m43s
The first full-history scan on Gitea found one "generic-api-key": the
Cloudflare Web Analytics beacon token in src/lib/analytics.ts (532b5cf),
which every page that loads the beacon carries and which grants nothing.
.gitleaksignore lists its fingerprint, as youtube-generator does for the
same token. osv-scanner, cargo-deny and Opengrep passed as they are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 09:21:07 +07:00
poli0981andClaude Opus 5.5 addbb393e7 chore(release): 2.3.0
CI / Web · lint, typecheck, test, build (pull_request) Successful in 49s
CI / Deploy · Cloudflare Workers (pull_request) Skipped
CI / Production smoke (pull_request) Skipped
CI / Tauri · fmt, clippy (pull_request) Successful in 2m6s
Qodana / tokens (pull_request) Successful in 6s
Security / workflow-lint (pull_request) Successful in 31s
Reusable / Security / .NET (NuGetAudit) (pull_request) Skipped
Reusable / Security / Secrets (gitleaks) (pull_request) Failing after 10s
Reusable / Security / SAST (Opengrep) (pull_request) Successful in 23s
Reusable / Security / Dependencies (osv-scanner) (pull_request) Successful in 17s
Reusable / Security / Rust (cargo-deny) (pull_request) Successful in 1m33s
Security / scan (pull_request) Failing after 2m25s
Maintenance triage / Close out-of-scope requests (pull_request_target) Successful in 2s
Qodana / typescript (pull_request) Canceled after 0s
Qodana / rust (pull_request) Canceled after 0s
Reusable / Qodana / Qodana (pull_request) Canceled after 0s
- package.json / package-lock.json, src-tauri/Cargo.toml / Cargo.lock: 2.3.0;
  bundle.android.versionCode 20300.
- src-tauri/license.rtf: the documents at the v2.3.0 tag on Gitea.
- CHANGELOG 2.3.0: the move to Gitea, R2 downloads, no macOS build, the
  dependency refresh and the new CI.
- THIRD-PARTY.md: "JSONPrism 2.3.0" and the lockfile versions.
- ROADMAP and CLAUDE.md: current release 2.3.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 09:08:07 +07:00
poli0981andClaude Opus 5.5 0bb615140f docs: the repository lives on Gitea, issues on the GitLab mirror
- README (+vi): Gitea badges (CI, Security, Qodana; the SonarQube badge
  is gone), a "Where things live" section, downloads from
  releases.poli0981.dev through the Gitea release notes, no macOS build
  since 2.2.1, SHA256SUMS without GitHub attestations, contributions via
  the GitLab mirror or patches by e-mail, sponsorship without GitHub
  Sponsors.
- CONTRIBUTING: where to contribute (Gitea read-only, GitLab mirror for
  issues and merge requests, `git format-patch` to code@), Renovate
  instead of Dependabot, manual out-of-scope triage, GitLab issue
  templates, Discord for ideas, the CI deploy job.
- SECURITY: e-mail only (GitHub's private advisories are gone), releases
  on R2 with SHA256SUMS. security.txt changed with the app links.
- TERMS (+vi) section 2 and 9, PRIVACY (+vi) one new row, CODE_OF_CONDUCT:
  GitLab's policies instead of GitHub's, downloads served by Cloudflare R2.
  Not a material change (the website collects nothing new), so
  CONSENT_VERSION stays.
- DEPLOYMENT: Forge and CI, the deploy job, production smoke after it,
  security scans and Qodana on Gitea, the release flow to R2 with the
  manual announcement, the Gitea secrets; the Workers Builds, GitHub Pages
  and SonarQube sections are gone. TAURI-NOTES and ROADMAP likewise.
- MAINTAINERS, DISCLAIMER, ACCESSIBILITY (+vi), dev_env (+vi), LICENSE's
  copyright line: the forge profile and the GitLab mirror.
- CLAUDE.md: a "Forge & CI" section; CI, deploy and release paths.
- Issue templates: GitHub links fixed in .github/ (Gitea reads them);
  config.yml points to the GitLab mirror, e-mail for security and
  Discord. .gitlab/issue_templates (Bug, Accessibility, Converter request,
  Translation) and .gitlab/merge_request_templates/Default.md for the
  mirror.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 09:06:46 +07:00
poli0981andClaude Opus 5.5 c122fddc46 fix(links): the source on Gitea, issues on the GitLab mirror
The GitHub account is gone, so every in-app link to it was dead.

- links.ts: REPO_URL is https://git.poli0981.dev/poli0981/jsonPrism; legal
  documents pin to /src/commit/<sha>/ (or /src/branch/main/ without a
  commit); new ISSUES_URL (GitLab mirror), RELEASES_URL, AUTHOR_URL.
- About: "Report a bug" opens the GitLab mirror; Discussions and GitHub
  Sponsors are gone (no Discussions on Gitea, the Sponsors account went
  with GitHub); the donate list now follows README "Support".
- Header: the repository button is "Source code" with a branch icon
  (nav.github -> nav.source in all four locales); GithubIcon is unused.
- Footer: the maintainer link opens the Gitea profile.
- Locale text names git.poli0981.dev and the GitLab mirror instead of
  GitHub (en, vi, ja, zh-CN; key parity kept).
- security.txt: e-mail only (GitHub's private advisories no longer exist),
  policy link on Gitea. package.json and Cargo.toml metadata likewise.
- .github/FUNDING.yml is GitHub-only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 08:57:41 +07:00
poli0981andClaude Opus 5.5 8715328420 chore(deps): refresh within the current majors, close three advisories
Every update is at least three days old (the shared Renovate preset's
release age); younger releases stay at their previous version.

- npm: Tauri 2.12.5/2.12.6, i18next 27.2.6, react-router 8.5.2, vitest 5.1.1,
  wrangler 4.167.0, knip, lucide-react, axe-core and other patches.
  typescript-eslint 8.74.0 moves to minimatch ^11, which closes
  GHSA-g3hv-75wg-m249 (moderate, dev-only), open since 2.1.1:
  `npm audit` reports 0 vulnerabilities.
- @testing-library/jest-dom 8 (major, tests only): the suite passes as is.
- Cargo: tauri 2.12.7, url 2.5.9 (RUSTSEC-2026-0592) and cookie 0.18.3
  (RUSTSEC-2026-0594); `cargo deny check` is green. Crates younger than three
  days (wry, the toml crates, zlib-rs, …) are held back with --precise.
- deny.toml: ISC is not used by any crate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 08:55:39 +07:00
poli0981andClaude Opus 5.5 414cc60107 chore(deps): Renovate, cargo-deny and osv-scanner instead of Dependabot
- renovate.json extends the shared preset (local>poli0981/renovate-config)
  with this repository's rules, carried over from dependabot.yml and the
  sibling Tauri repos: majors wait for the Dependency Dashboard and land per
  family; Tauri's npm packages and crates in one PR; vitest with its
  coverage plugin; the TypeScript 6 alias stays below 6.1, the TypeScript
  aliases, @types/node, Node and the JDK are bumped by hand; runner labels,
  glib 0.18 and the generated Gradle project are left alone (the last one
  documents why Kotlin's CVE-2026-53914 fix waits for Tauri's template).
  Validated with renovate-config-validator --strict (Renovate 44.262.2).
- src-tauri/deny.toml for cargo-deny: advisories (unmaintained scoped to
  direct dependencies), permissive licences, crates.io only.
- src-tauri/osv-scanner.toml: the six Tauri-stack advisories nobody fixes
  yet (glib 0.18, proc-macro-error, the zbus crates, chrono), each with a
  reason and an expiry date.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 08:49:18 +07:00
poli0981andClaude Opus 5.5 6a29439c46 ci: move the workflows to Gitea Actions
The repository now lives on git.poli0981.dev (ops runbook GITEA-MIGRATION.md,
guide docs/migration/jsonprism.md in poli0981/.github).

- .github/workflows -> .gitea/workflows. Runner labels stay (ubuntu-24.04,
  ubuntu-22.04 are labels of the Gitea runner); apt runs without sudo in the
  job containers.
- ci.yml: SonarQube Cloud removed (D1, with sonar-project.properties); the
  coverage/dist artifacts went with it (the rust job builds dist itself).
  New `deploy` job: `wrangler deploy` on pushes to main (D3, Workers Builds
  pulled from GitHub), then `smoke` calls production-smoke.yml with the
  deployed commit. production-smoke.yml is reusable and runs by hand too.
- release.yml: the Tauri CLI instead of tauri-action; Windows (MSI + NSIS) on
  the host runner, Linux in ubuntu-22.04, Android with the SDK installed in
  the job (D10), APK signature checked with apksigner. SHA256SUMS.txt and
  everything else to R2 (releases.poli0981.dev/jsonprism/<version>/, plus
  jsonprism-latest.apk) through the ops publish-r2.yml, then a draft Gitea
  release with the links. No macOS (D9), no attestations (D7).
- qodana.yml: two callers of the ops reusable-qodana.yml (TS native, Rust in
  Docker Desktop on the host runner); src-tauri/qodana.yaml gets the dhi.io
  apt pin, the 25-minute timeout and leaves type/borrow checks to rustc.
- security.yml (new): actionlint + shellcheck and zizmor on the Gitea
  workflows, and the ops security.yml (gitleaks, Opengrep, osv-scanner,
  cargo-deny), weekly on Friday 13:19 UTC.
- Discord notifiers pinned to ops v2026.11.5 with ops_ref.
- Removed: maintenance-triage.yml (D2), pages-redirect.yml with
  .github/pages-redirect/ and announce-discussion.yml (D11), dependabot.yml
  (Renovate replaces it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 08:49:11 +07:00