Commit Graph

587 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 88e8abae4e Initial plan 2026-03-29 00:52:22 +00:00
copilot-swe-agent[bot] 4d1451ecde test: add 23 unit tests for provider endpoints
Cover all 9 endpoints in providers.py:
- Provider presets (list all, get by ID, not found)
- Gmail credential CRUD (create, update, get, delete)
- Import labels update
- Gmail authorize URL (success, not configured)
- Debug email (success, no credentials, injection failure)
- OAuth callback (new/update cred, not configured, token exchange
  failure, missing access token, verification failure)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 00:45:50 +00:00
copilot-swe-agent[bot] 65318b8c1b Add unit tests for mail account endpoints (30 tests)
Comprehensive test coverage for backend/app/api/v1/endpoints/mail_accounts.py:
- CRUD operations (create, list, get, update, delete)
- Subscription limit enforcement and superuser bypass
- Account toggle with ERROR→ACTIVE status reset
- Pull-now with disabled account guard
- Test connection (new and existing) with decrypt failure handling
- Auto-detect mail settings
- Paginated processing runs and logs

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 00:37:44 +00:00
copilot-swe-agent[bot] 4d07d04c63 Add comprehensive unit tests for auth endpoints
22 tests covering:
- Helper functions (_domain_of, _check_domain_allowed, _default_tier, _is_admin_email)
- POST /register (success, duplicate email, domain restriction)
- POST /login (success, user not found, wrong password, inactive, admin auto-promotion)
- POST /google (existing user, new user, unverified email, domain restriction)
- GET /google/authorize-url (correct URL construction)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 00:30:38 +00:00
copilot-swe-agent[bot] 55536c964f Initial plan 2026-03-29 00:21:25 +00:00
Christian Krakau-Louis 5ea44d1822 Merge pull request #127 from christianlouis/copilot/improve-test-coverage-tasks
Add 40 unit tests for backend/app/workers/tasks.py (9% → 96% coverage)
2026-03-29 01:15:53 +01:00
Christian Krakau-Louis 815629910b Merge branch 'main' into copilot/improve-test-coverage-tasks 2026-03-29 01:15:40 +01:00
Christian Krakau-Louis b6999baf2c Merge pull request #129 from christianlouis/copilot/improve-test-coverage-admin-file
Add 87 unit tests for admin endpoints (24% → 100% coverage)
2026-03-29 01:15:13 +01:00
Christian Krakau-Louis ddad290e82 Merge branch 'main' into copilot/improve-test-coverage-tasks 2026-03-29 01:11:22 +01:00
Christian Krakau-Louis 3cd7a781f6 Merge branch 'main' into copilot/improve-test-coverage-admin-file 2026-03-29 01:10:45 +01:00
semantic-release 2c1f7125e4 0.6.0
Automatically generated by python-semantic-release
2026-03-29 00:10:29 +00:00
Christian Krakau-Louis e2c5c8580b Merge pull request #130 from christianlouis/copilot/improve-frontend-test-coverage
feat: frontend test coverage 6 → 119 tests across all components
2026-03-29 01:10:08 +01:00
Christian Krakau-Louis aa754bf217 Merge branch 'main' into copilot/improve-frontend-test-coverage 2026-03-29 01:10:01 +01:00
Christian Krakau-Louis f847625442 Merge pull request #128 from christianlouis/copilot/improve-test-coverage-mail-processor
Improve mail_processor.py test coverage from 42% to 98%
2026-03-29 01:08:15 +01:00
copilot-swe-agent[bot] 5423f2bb94 Fix duplicate ### Fixed section in CHANGELOG.md
Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/d17e4b46-03fd-450a-af61-1870011377b4

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 00:07:49 +00:00
copilot-swe-agent[bot] e52f00bc16 Move model imports to module level per code review feedback
Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/519609d2-8cd4-44e8-96b0-4e9aaa76b45a

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 00:06:19 +00:00
copilot-swe-agent[bot] da9d822afa Add 87 unit tests for admin endpoints (24% → 100% coverage), fix conftest.py fixtures
Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/d17e4b46-03fd-450a-af61-1870011377b4

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 00:06:02 +00:00
copilot-swe-agent[bot] 769907a65b feat: add NotificationWizard + ProviderWizard tests, fix lint, update docs
Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/6b527e29-8e26-4f86-88e2-847687f759ad

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 00:05:38 +00:00
copilot-swe-agent[bot] 983ce75264 Add 40 unit tests for backend/app/workers/tasks.py (9% → 96% coverage)
Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/519609d2-8cd4-44e8-96b0-4e9aaa76b45a

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 00:04:40 +00:00
copilot-swe-agent[bot] eb47594e53 Add 46 unit tests for mail_processor.py: POP3, forwarding, connection testing, and IMAP edge cases (coverage 42%→98%)
Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/4dd19cb3-dd43-4b00-be39-493fa3a35458

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 00:03:58 +00:00
copilot-swe-agent[bot] 63839c3886 feat: add frontend test coverage for date-utils, api interceptors, AuthGuard, QueryProvider, DashboardLayout
Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/6b527e29-8e26-4f86-88e2-847687f759ad

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 00:00:08 +00:00
copilot-swe-agent[bot] 7dd0b5f600 chore: initial plan for frontend test coverage
Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/6b527e29-8e26-4f86-88e2-847687f759ad

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-28 23:56:11 +00:00
copilot-swe-agent[bot] 187bf16866 Initial plan 2026-03-28 23:53:30 +00:00
copilot-swe-agent[bot] c0e2dd22cb Initial plan 2026-03-28 23:52:43 +00:00
copilot-swe-agent[bot] 8b6436d1c6 Initial plan 2026-03-28 23:52:20 +00:00
copilot-swe-agent[bot] 0bf943d24f Initial plan 2026-03-28 23:51:54 +00:00
Christian Krakau-Louis 0568caeb8f Merge pull request #125 from christianlouis/copilot/fix-mail-account-processing-issues
Silence recurring log noise from aioimaplib and Gmail discovery client
2026-03-29 00:51:20 +01:00
Christian Krakau-Louis cd85fba347 Merge pull request #126 from christianlouis/copilot/add-logos-to-mail-accounts
Add domain-based logo fallback for mail accounts without provider_name
2026-03-29 00:49:17 +01:00
copilot-swe-agent[bot] dd9a80a8c5 Add domain-based logo fallback for mail accounts without provider_name
Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/2a2d3ad8-ff03-4ff2-9dc0-0d1e58ac050d

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-28 23:42:28 +00:00
copilot-swe-agent[bot] 029c272a4e Fix log noise: cache_discovery=False for Gmail API, suppress aioimaplib INFO logs
Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/8855bf16-124d-4d85-b6bd-ab82e8361114

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-28 23:40:49 +00:00
copilot-swe-agent[bot] 337423bf68 Initial plan 2026-03-28 23:36:56 +00:00
copilot-swe-agent[bot] 63bb458815 Initial plan 2026-03-28 23:36:10 +00:00
semantic-release 703bbb42d3 0.5.1
Automatically generated by python-semantic-release
2026-03-28 23:35:28 +00:00
Christian Krakau-Louis c813df8a03 Merge pull request #124 from christianlouis/copilot/fix-eslint-require-imports
fix(frontend): convert jest.config.js to ES module syntax
2026-03-29 00:35:06 +01:00
copilot-swe-agent[bot] 0a0836e993 fix: convert jest.config.js to jest.config.mjs (ES module syntax)
Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/6e25705d-50db-4b0c-969c-1be4cb3f1745

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-28 23:27:56 +00:00
copilot-swe-agent[bot] b866627937 Initial plan 2026-03-28 23:26:24 +00:00
semantic-release 3db6c9fb11 0.5.0
Automatically generated by python-semantic-release
2026-03-28 23:23:27 +00:00
Christian Krakau-Louis d098126542 Merge pull request #123 from christianlouis/copilot/setup-codecov-integration
feat(ci): Add Codecov integration with frontend Jest coverage
2026-03-29 00:23:02 +01:00
copilot-swe-agent[bot] 0645bc0462 feat(ci): add Codecov integration with frontend Jest coverage and CODECOV_TOKEN
Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/53f8deb9-5c3a-4940-a058-c8ee7e4104e0

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-28 23:14:15 +00:00
copilot-swe-agent[bot] 2638f415aa Initial plan 2026-03-28 23:07:47 +00:00
semantic-release 3a11e07f09 0.4.5
Automatically generated by python-semantic-release
2026-03-28 23:07:38 +00:00
Christian Krakau-Louis 85fdf0a600 Merge pull request #122 from christianlouis/copilot/run-safety-scan-json
ci: replace `safety scan` with `pip-audit` to fix interactive EOF failure
2026-03-29 00:07:19 +01:00
copilot-swe-agent[bot] 8152635238 fix(ci): replace safety scan with pip-audit to fix CI EOF error
Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/986fc7f4-e884-4169-bd81-eca034e926e2

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-28 23:04:23 +00:00
copilot-swe-agent[bot] 61d525cb82 Initial plan 2026-03-28 23:03:11 +00:00
semantic-release 90665ea100 0.4.4
Automatically generated by python-semantic-release
2026-03-28 22:51:23 +00:00
Christian Krakau-Louis 9712e8a3b6 Merge pull request #121 from christianlouis/copilot/fix-new-mail-account-wizard
fix: mail account wizard shows [object Object] on save error
2026-03-28 23:51:01 +01:00
copilot-swe-agent[bot] 191fee9be4 fix: show proper error message instead of [object Object] in mail account wizard
Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/404b7221-8b33-4178-8601-6c0815552c7f

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-28 22:14:58 +00:00
copilot-swe-agent[bot] 5ff5cb54be Initial plan 2026-03-28 22:09:14 +00:00
Christian Krakau-Louis d6235852c2 Merge pull request #120 from christianlouis/copilot/debug-t-online-mail-issue
Fix all IMAP emails appearing empty (T-Online, GMX, and any IMAP account)
2026-03-28 23:08:56 +01:00
copilot-swe-agent[bot] da05016143 Fix IMAP emails appearing empty: accept bytearray from aioimaplib literals
aioimaplib stores RFC822 literal data as bytearray in response.lines,
not bytes. The extraction loop checked isinstance(line, bytes) which
returns False for bytearray, silently dropping every email body and
causing all IMAP emails (T-Online, GMX, etc.) to appear empty.

Fix: accept (bytes, bytearray) and convert to bytes() immediately so
the rest of the pipeline is unaffected. Two new regression tests mirror
the real aioimaplib behaviour by passing bytearray as the literal.

Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/341f5c82-70f8-438d-91ca-8e906a06c400

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-28 22:08:04 +00:00