Commit Graph

102 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] c3ee0d8f5e Initial plan 2026-03-29 15:56:22 +00:00
Christian Krakau-Louis 1b83b2cce1 Merge pull request #30 from christianlouis/copilot/build-dashboard-visualizations
Replace mock dashboard data with real database queries and report-derived timelines
2026-03-29 17:49:50 +02:00
copilot-swe-agent[bot] 6329d3aa35 Use timezone-aware UTC datetimes for timestamp conversions
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/ea784ce3-2c1c-45f8-ad6d-46e92cf15ed7

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 15:45:26 +00:00
copilot-swe-agent[bot] e51fbe755e Replace mock dashboard data with real database queries and report-derived timelines
- Replace mock statistics in stats_summarizer.py with real SQLAlchemy queries
  against DMARCReport, ReportRecord, and Domain models
- Replace random compliance timeline in domains.py with real data from ReportStore
- Remove unused `import random` from domains.py
- Add comprehensive tests for StatsSummarizer (global/domain/caching)
- Add tests for compliance timeline (deterministic, multi-report aggregation)
- Mark Dashboard Visualizations as complete in TODO.md

Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/ea784ce3-2c1c-45f8-ad6d-46e92cf15ed7

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 15:43:33 +00:00
copilot-swe-agent[bot] f8887b50f4 Initial plan 2026-03-29 15:28:52 +00:00
semantic-release e09f39954f chore(release): v1.0.4 2026-03-29 15:27:30 +00:00
Christian Krakau-Louis 91cd221ef1 Merge pull request #29 from christianlouis/copilot/fix-black-formatting-issues
fix: remove unused pytest import from test_config.py
2026-03-29 17:26:34 +02:00
copilot-swe-agent[bot] 8e6ab244ad fix: remove unused pytest import from test_config.py
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/63e79da9-2002-429a-b696-7147dc579668

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 15:15:46 +00:00
copilot-swe-agent[bot] de4d1b2b34 style: apply black formatting to test_config.py
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/a0201223-b428-496d-90c7-cd268fee7774

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 13:52:28 +00:00
copilot-swe-agent[bot] 9588ce4e0d Initial plan 2026-03-29 13:51:38 +00:00
semantic-release e057a9c013 chore(release): v1.0.3 2026-03-29 13:01:35 +00:00
Christian Krakau-Louis dd73af5d37 Merge pull request #28 from christianlouis/copilot/fix-env-variable-decoding
Fix JSONDecodeError when BACKEND_CORS_ORIGINS is set to empty string
2026-03-29 15:00:40 +02:00
copilot-swe-agent[bot] 9f99b6c6d7 fix: handle empty BACKEND_CORS_ORIGINS env var to prevent JSONDecodeError
In pydantic_settings v2, List[str] fields are JSON-parsed by the env
source before pydantic validators run. When BACKEND_CORS_ORIGINS=""
(empty string) in Kubernetes, json.loads("") raised JSONDecodeError,
crashing alembic migrations.

Fixes:
- Add env_ignore_empty=True to class Config so pydantic_settings skips
  empty-string env vars and falls back to the field default
- Update assemble_cors_origins validator to explicitly handle empty and
  whitespace-only strings (returns []), JSON array strings (parsed via
  json.loads), and filters empty tokens from comma-separated values
- Add backend/app/tests/test_config.py covering all CORS origins
  parsing scenarios including the empty-string regression case

Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/53bb1064-2a32-4691-8397-9d4663bc18a8

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 12:08:59 +00:00
copilot-swe-agent[bot] 4713e0bec7 Initial plan 2026-03-29 12:02:16 +00:00
semantic-release ea317bac32 chore(release): v1.0.2 2026-03-29 11:45:17 +00:00
Christian Krakau-Louis e471404538 Merge pull request #27 from christianlouis/copilot/fix-script-location-error
fix: initialize Alembic migrations to resolve container startup failure
2026-03-29 13:44:27 +02:00
copilot-swe-agent[bot] 2192944acf fix: add Alembic migration setup to resolve missing script_location error
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/bfb1bb7e-b0da-45b8-b034-b2331488905e

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 11:37:18 +00:00
Christian Krakau-Louis 3ae290823e Merge pull request #24 from christianlouis/copilot/update-pylint-warnings-in-main
Fix pylint/isort/flake8/black contradictions; consolidate linter config; pylint 10.00/10
2026-03-29 13:36:11 +02:00
Christian Krakau-Louis c549e5dfbb Merge branch 'main' into copilot/update-pylint-warnings-in-main 2026-03-29 13:36:01 +02:00
Christian Krakau-Louis a90c9b393e Delete .github/workflows/test.yml 2026-03-29 13:35:32 +02:00
copilot-swe-agent[bot] bad7a9ddc2 Initial plan 2026-03-29 11:32:06 +00:00
copilot-swe-agent[bot] 01d0331136 Resolve linter contradictions: consolidate config, fix isort first-party, pylint 10/10
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/1e4a1f06-55b9-4040-853e-6aaf9ee574c8

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 11:31:15 +00:00
copilot-swe-agent[bot] f2a015971d Plan: resolve linter contradictions
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/1e4a1f06-55b9-4040-853e-6aaf9ee574c8

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 11:29:14 +00:00
Christian Krakau-Louis f7774dc3b2 Merge pull request #25 from christianlouis/copilot/autodeploy-dmarq-stack-update
chore(ci): auto-deploy newest release to preprod via GitOps on main push
2026-03-29 13:24:59 +02:00
copilot-swe-agent[bot] 50aa5bd5da Fix pylint warnings: logging, globals, exceptions, imports, duplicates
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/576427d4-4f6a-46d2-b75f-6862ecbcf526

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 11:21:35 +00:00
copilot-swe-agent[bot] c07649a6bc chore(ci): add GitOps job to auto-update preprod k8s manifest on main push
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/9b92152b-16c9-499f-8708-e6b9b8e527aa

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 11:21:10 +00:00
copilot-swe-agent[bot] 286012fdd4 Initial plan 2026-03-29 11:17:49 +00:00
Christian Krakau-Louis 20affacd0f Merge pull request #23 from christianlouis/copilot/improve-ci-cd-pipeline
ci: consolidate into single fail-early parallel pipeline
2026-03-29 13:14:32 +02:00
copilot-swe-agent[bot] e22557c509 ci: consolidate into single fail-early CI pipeline
- Add .github/workflows/ci.yml with three sequential stages:
  1. lint (black + isort + flake8 + pylint) — gates everything
  2. test / security / codeql / dependency-review — run in parallel
  3. docker build & publish — gated by test + security, main only
- Remove .github/workflows/pylint.yml (redundant duplicate)
- Remove .github/workflows/test.yml (replaced by ci.yml)
- Remove .github/workflows/security.yml (replaced by ci.yml)
- Replace `safety` (requires paid API key) with `pip-audit` (free)
- Keep .github/workflows/release.yml unchanged

Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/931fa366-d98e-42b6-9f93-93c19af6d72b

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 11:09:27 +00:00
copilot-swe-agent[bot] 6eb99da749 Initial plan 2026-03-29 11:08:04 +00:00
semantic-release 9b21f5df80 chore(release): v1.0.1 2026-03-29 11:07:04 +00:00
Christian Krakau-Louis 714dd0a241 Merge pull request #22 from christianlouis/copilot/check-black-formatting-errors
fix: apply black formatting to reports.py and dmarc_parser.py
2026-03-29 13:06:14 +02:00
copilot-swe-agent[bot] af6d66d004 Initial plan 2026-03-29 11:06:05 +00:00
copilot-swe-agent[bot] 821d9dc863 fix: apply black formatting to reports.py and dmarc_parser.py
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/b108ee4f-3479-43fa-a9e9-23a697718aa3

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 11:05:07 +00:00
copilot-swe-agent[bot] d580da6fee Initial plan 2026-03-29 11:04:28 +00:00
Christian Krakau-Louis 6752897aca Merge pull request #20 from christianlouis/copilot/redesign-tests-framework
Fix deprecated CI actions, AGENTS.md merge conflict, CodeQL URL sanitization alerts, and flake8 complexity violations
2026-03-29 13:03:10 +02:00
Christian Krakau-Louis b0f3daea38 Merge branch 'main' into copilot/redesign-tests-framework 2026-03-29 13:01:28 +02:00
copilot-swe-agent[bot] 271b29186a Fix flake8 C901 complexity violations and F824 unused global in 5 files
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/e58d59de-a79d-48e1-a4fc-ffb61b868593

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 10:58:33 +00:00
copilot-swe-agent[bot] 7752479444 plan: add flake8 complexity + unused global fixes to checklist
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/e58d59de-a79d-48e1-a4fc-ffb61b868593

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 10:54:05 +00:00
copilot-swe-agent[bot] ccb447f29b Merge origin/main: move AGENTS.md → docs/development/agents.md, add CHANGELOG, VERSION, release workflow
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/e58d59de-a79d-48e1-a4fc-ffb61b868593

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 10:48:48 +00:00
semantic-release ed9132e2f0 chore(release): v1.0.0 2026-03-29 10:46:24 +00:00
Christian Krakau-Louis 7ac74aa03a Merge pull request #21 from christianlouis/copilot/clean-up-documentation-and-files
Clean up repo root, add TODO with implementation gap analysis, add semantic release
2026-03-29 12:45:37 +02:00
copilot-swe-agent[bot] ba0800db81 Address review feedback: add error handling to sync_version.py, fix ROADMAP refs in issues.json
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/00a0c62f-f046-4f73-9c6a-79073906264c

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 10:30:53 +00:00
copilot-swe-agent[bot] 78fb8a1491 Fix deprecated actions: upload-artifact v3→v4, codeql-action v2→v3, dependency-review v3→v4; restrict Docker publish to main only
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/44b3da10-0967-404e-a999-f1e471d6aff9

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 10:30:28 +00:00
copilot-swe-agent[bot] 630be30a82 Add semantic release with automatic versioning, CHANGELOG, and VERSION file
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/00a0c62f-f046-4f73-9c6a-79073906264c

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 10:29:29 +00:00
copilot-swe-agent[bot] a769e64b7c Add explicit permissions to CI workflow jobs (CodeQL security fix)
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/9d256101-34b6-4861-a8cf-7f86f32b54d5

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 10:25:58 +00:00
copilot-swe-agent[bot] 86e7598f03 Address code review: fix E501 consistency in AGENTS.md, fix exception handling in test_security.py
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/9d256101-34b6-4861-a8cf-7f86f32b54d5

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 10:24:47 +00:00
copilot-swe-agent[bot] bab702a010 Add Docker build & GHCR publish stage, fix CI workflows, update AGENTS.md and testing docs
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/9d256101-34b6-4861-a8cf-7f86f32b54d5

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 10:23:49 +00:00
copilot-swe-agent[bot] f686e854cb Move docs from root to docs/ directory, create CHANGELOG.md and TODO.md
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/00a0c62f-f046-4f73-9c6a-79073906264c

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 10:22:06 +00:00
copilot-swe-agent[bot] 5fa315c8e3 Redesign test framework: fix conftest, rewrite all tests, fix model index conflicts, fix black formatting
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/9d256101-34b6-4861-a8cf-7f86f32b54d5

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 10:19:43 +00:00