chore: keep host/client specifics out of the tree (env & config) #74

Merged
eSlider merged 1 commits from chore/showroom-generic into main 2026-09-22 22:40:50 +01:00
Owner

Showroom-safe cleanup. The tree no longer carries internal hosts, IPs, ports, personal names, client domains or client file names.

Behaviour is unchanged; the specifics are now supplied per deployment:

  • catalog: hardcoded mail-org / project classifiers -> YAML-driven Classifier (OO_CATALOG_CONFIG or --config); neutral default classifies nothing as work. New catalog/classify.go + classify.example.yaml + tests.
  • storage_fallback: drop the baked-in MinIO endpoint IP; require MINIO_ENDPOINT (+ keys) from env.
  • kontolink: build DocEditor links from ONLYOFFICE_URL (no hardcoded portal host); kontoblatt: no client file id in the output name.
  • oo: load .env CLI-wide (bootstrap.LoadEnv in execute) so non-authenticating commands (catalog scans) see OO_CATALOG_CONFIG.
  • genericize comments/docs/fixtures (AGENTS.md, README, .env.example, docs/crm-associations, catalog tests, ES/pdfattach tests, mails).

Verification: go build/vet/test green; gitleaks on main..HEAD: no leaks.

Showroom-safe cleanup. The tree no longer carries internal hosts, IPs, ports, personal names, client domains or client file names. Behaviour is unchanged; the specifics are now supplied per deployment: - catalog: hardcoded mail-org / project classifiers -> YAML-driven Classifier (OO_CATALOG_CONFIG or --config); neutral default classifies nothing as work. New catalog/classify.go + classify.example.yaml + tests. - storage_fallback: drop the baked-in MinIO endpoint IP; require MINIO_ENDPOINT (+ keys) from env. - kontolink: build DocEditor links from ONLYOFFICE_URL (no hardcoded portal host); kontoblatt: no client file id in the output name. - oo: load .env CLI-wide (bootstrap.LoadEnv in execute) so non-authenticating commands (catalog scans) see OO_CATALOG_CONFIG. - genericize comments/docs/fixtures (AGENTS.md, README, .env.example, docs/crm-associations, catalog tests, ES/pdfattach tests, mails). Verification: go build/vet/test green; gitleaks on main..HEAD: no leaks.
eSlider added 1 commit 2026-09-22 22:03:46 +01:00
chore: keep host/client specifics out of the tree (env & config)
Release Please / Release Please (push) Skipped
Release / GoReleaser (push) Skipped
Tests / Secret scan (gitleaks) (push) Skipped
Tests / Test (Go 1.25) (push) Skipped
Tests / Test (Go stable) (push) Skipped
Tests / Secret scan (gitleaks) (pull_request) Successful in 4s
Tests / Test (Go 1.25) (pull_request) Successful in 59s
Tests / Test (Go stable) (pull_request) Successful in 1m7s
afb93feae5
Showroom-safe: the tree no longer carries internal hosts, IPs, ports,
personal names, client domains or client file names. Behaviour is
unchanged and now supplied per deployment.

- catalog: hardcoded mail-org / project classifiers become a YAML-driven
  Classifier (OO_CATALOG_CONFIG or --config); neutral default classifies
  nothing as work. New catalog/classify.go + example + tests.
- storage_fallback: drop the baked-in MinIO endpoint IP; require
  MINIO_ENDPOINT (+ keys) from the env.
- kontolink: build DocEditor links from $ONLYOFFICE_URL instead of a
  hardcoded portal host; kontoblatt: no client file id in the output name.
- oo: load .env CLI-wide (bootstrap.LoadEnv in execute) so
  non-authenticating commands (catalog scans) also see config.
- genericize comments/docs/fixtures (AGENTS, README, .env.example,
  crm-associations, catalog tests, ES/pdfattach tests, mails).
eSlider merged commit 71d421fb41 into main 2026-09-22 22:40:50 +01:00
eSlider deleted branch chore/showroom-generic 2026-09-22 22:40:50 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eSlider/go-onlyoffice#74