a2930426b4
feat: tenant configs, live signals, and automatic permission management
...
- infrasynth.configs: typed multi-tenant config store (registry, service,
secrets, cache) + public config_changed/config_reset signals and API
- emit the declared-but-dead signals (features flags/overrides, scheduler
task_completed/task_failed, tenancy tenant_updated, audit model_changed)
and per-model audit field exclusions
- security: permission catalog (security_permission), Django-style
model-derived AutoPermission, PermissionRegistry, RoleAssignment,
global-or-tenant Grant/Revoke, catalog API
- consolidate the permission surface: PermissionRegistry only (drop the
settings dict), IsAuthenticatedAndPermitted aliases HybridPermission,
require_permission replaced by required_permissions + require_all
- packaging: add [build-system]; add Forgejo publish workflow (.forgejo)
2026-09-29 17:06:54 -05:00
5df0be1f5c
feat: uniform extensibility across every module
...
Close the remaining places where an extension point was hardcoded, and
expose a stable public import surface for every app.
- files: register_storage_backend(...) / STORAGE_BACKENDS[name]["CLASS"];
unknown backends now fail loudly instead of silently using local
- files: PipelineStepRegistry + @pipeline_step; PIPELINE_EXECUTOR setting
- billing: INVOICE_PDF_BUILDER setting
- security: TWO_FACTOR_SERVICE / TWO_FACTOR_RECOVERY_SERVICE settings
- all app packages expose lazy public exports (PEP 562); infrasynth.shared
re-exports its primitives eagerly
- README documents the per-module extension-point table
- tests/test_extensibility.py pins each hook plus the public surface
2026-09-24 11:08:08 -05:00
551b42eab5
feat: production-hardening pass across the kit
...
Close the gaps between the documented contract (API-STANDARD, TENANCY,
ENTITLEMENTS) and the implementation, and remove committed build artifacts.
Security:
- verify + process inbound webhooks (HMAC/handler verify, size limit,
timestamp tolerance, idempotency via InboundEvent.external_id)
- real 2FA login flow (pre-auth challenge; tokens only after verify/recovery)
- wire HybridPermission into security/audit views; add API-key rotate and
users/<id>/permissions|roles endpoints
- tenant-scoped throttling on by default; webhook replay protection
- verify MercadoPago webhook signatures
- login brute-force guard, configurable password policy, real ALTCHA PoW
Correctness:
- apply verified billing webhooks idempotently (subscription/entitlement/
invoice/PaymentTransaction); scheduled payment lifecycle jobs
- capture audit update diffs automatically; add audit retention purge
- working notification retries, per-channel rate limits, log retention
- pluggable virus scanner, upload-size limit, pipeline toggle
- feature rollout %/environment targeting; settings-driven registrations
- workflow guards (instance cap, route depth, self-assignment, clone on re-entry)
- wire every previously-dead INFRASYNTH_* setting; drop truly dead ones
Delivery:
- README + CHANGELOG; CI format check + coverage gate
- keep test media out of the tree; untrack .coverage, __pycache__,
egg-info, docs/ and invoice artifacts
2026-09-24 10:41:21 -05:00