Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
4d4dee5
chore(hygiene): replace real sample domains with reserved placeholders
tis24dev Jul 10, 2026
ec42d63
fix(cpanel): truncate fractional disk figures in flexInt64 instead of…
tis24dev Jul 10, 2026
5200fa6
feat(migrate,webfiles): allow 1:1 same-domain main-to-main docroot la…
tis24dev Jul 10, 2026
46bef2d
fix(cpanel): percent-encode UAPI arg values so MySQL passwords surviv…
tis24dev Jul 10, 2026
5c6ec9b
feat(events): structured JSONL event stream + JSON run report
tis24dev Jul 10, 2026
e10446c
chore(style): remove em/en dashes from Go string literals
tis24dev Jul 10, 2026
d8926e5
feat(cpanel): add read-only inventory collectors + API2 transport
tis24dev Jul 10, 2026
846b6f3
refactor(redact): unify three drifted secret redactors into internal/…
tis24dev Jul 10, 2026
f34d8fc
feat(inventory): add read-only account-inventory program
tis24dev Jul 11, 2026
453d2fd
perf(inventory): batch the account-inventory collection into O(1) ser…
tis24dev Jul 11, 2026
ebbae02
fix(cpanel): accept string-valued SSL cert numeric fields (flexInt64)
tis24dev Jul 12, 2026
4b75b1a
feat(migration): add workbench session-governance leaf + migration CLI
tis24dev Jul 12, 2026
6193301
ci: add golangci-lint workflow
tis24dev Jul 13, 2026
9d20121
deps(deps): bump golang.org/x/crypto in the minor-updates group (#23)
dependabot[bot] Jul 15, 2026
88829fe
ci: bump the actions-updates group with 4 updates (#24)
dependabot[bot] Jul 15, 2026
15cc874
feat(dns): add DNS write vertical (apply + verify) as Batch D1
tis24dev Jul 16, 2026
a81bf8f
feat(cron): add cron write vertical (apply + verify) as Batch D3
tis24dev Jul 16, 2026
3b59a7f
feat(email): add email-config write vertical (apply + verify) as Batc…
tis24dev Jul 16, 2026
b59caa2
ci(lint): configure golangci-lint conventions and fix flagged issues
tis24dev Jul 16, 2026
2398c1e
fix(security): create artifact directories 0700 not 0755 (gosec G301)
tis24dev Jul 16, 2026
2a7c3f0
fix(security): confine file opens with os.Root, drop dir chmod (gosec…
tis24dev Jul 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
cache: false

- name: Initialize CodeQL
uses: github/codeql-action/init@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a
uses: github/codeql-action/init@99df26d4f13ea111d4ec1a7dddef6063f76b97e9
with:
languages: go

Expand All @@ -46,6 +46,6 @@ jobs:
run: go build ./...

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a
uses: github/codeql-action/analyze@99df26d4f13ea111d4ec1a7dddef6063f76b97e9
with:
category: "/language:go"
40 changes: 40 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Go Lint

run-name: Go lint - ${{ github.ref_name }}

"on":
push:
branches:
- main
- dev
pull_request: {}
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
lint:
name: golangci-lint
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
with:
persist-credentials: false

- name: Setup Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16
with:
go-version-file: go.mod
cache: false

- name: Run golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9
with:
version: v2.12.2
2 changes: 1 addition & 1 deletion .github/workflows/security-ultimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
# UPLOAD SARIF
########################################
- name: Upload GoSec SARIF
uses: github/codeql-action/upload-sarif@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a
uses: github/codeql-action/upload-sarif@99df26d4f13ea111d4ec1a7dddef6063f76b97e9
with:
sarif_file: gosec.sarif

Expand Down
42 changes: 42 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
version: "2"

run:
timeout: 5m
modules-download-mode: readonly

linters:
default: standard
settings:
errcheck:
exclude-functions:
- fmt.Fprint
- fmt.Fprintf
- fmt.Fprintln
staticcheck:
# `checks` REPLACES golangci-lint's default set (it does not append), so
# the six ST* checks disabled by default must be restated or they turn
# back on. -QF1001 (De Morgan) and -QF1002 (tagged switch) are deliberate
# style opt-outs; -fmt.Fprint* errcheck is handled above by convention.
checks:
- all
- -ST1000
- -ST1003
- -ST1016
- -ST1020
- -ST1021
- -ST1022
- -QF1001
- -QF1002
exclusions:
rules:
# Deferred Close / best-effort cleanup in tests is idiomatic; keep every
# other linter (staticcheck, unused, ...) active on test files.
- path: _test\.go$
linters:
- errcheck

issues:
# Defaults (50 / 3) truncated the reported set and made it nondeterministic;
# uncap so the gate sees the whole codebase.
max-issues-per-linter: 0
max-same-issues: 0
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[![License: PolyForm NC](https://img.shields.io/badge/license-PolyForm%20Noncommercial-blue.svg)](https://polyformproject.org/licenses/noncommercial/1.0.0/)
[![Go](https://img.shields.io/badge/Go-1.25+-success.svg?logo=go)](https://go.dev/)
[![codecov](https://codecov.io/gh/tis24dev/cPanel_self-migration/graph/badge.svg?branch=main)](https://codecov.io/gh/tis24dev/cPanel_self-migration)
[![Go Report Card](https://goreportcard.com/badge/github.com/tis24dev/cPanel_self-migration)](https://goreportcard.com/report/github.com/tis24dev/cPanel_self-migration)
[![Go Lint](https://github.com/tis24dev/cPanel_self-migration/actions/workflows/lint.yml/badge.svg?branch=dev)](https://github.com/tis24dev/cPanel_self-migration/actions/workflows/lint.yml)
[![GoSec](https://img.shields.io/github/actions/workflow/status/tis24dev/cPanel_self-migration/security-ultimate.yml?label=GoSec&logo=go)](https://github.com/tis24dev/cPanel_self-migration/actions/workflows/security-ultimate.yml)
[![CodeQL](https://img.shields.io/github/actions/workflow/status/tis24dev/cPanel_self-migration/codeql.yml?label=CodeQL&logo=github)](https://github.com/tis24dev/cPanel_self-migration/actions/workflows/codeql.yml)
[![Dependabot](https://img.shields.io/badge/Dependabot-enabled-success?logo=dependabot)](https://github.com/tis24dev/cPanel_self-migration/network/updates)
Expand Down
Loading
Loading