refactor(config): migrer CalDAV vers l'endpoint commun #59

Merged
Codex merged 1 commits from refactor/issue-16-caldav-endpoint into main 2026-09-13 12:10:42 +02:00
Collaborator

Résumé

  • introduit ExternalEndpoint Pydantic v2 (SecretStr, frozen=True, extra='forbid', validation Annotated/AfterValidator) ;
  • migre CalDAV vers CALDAV_ENDPOINT__URL ;
  • conserve CALDAV_URL pendant la transition avec DeprecationWarning ;
  • conserve la règle CalDAV HTTPS, avec HTTP limité au loopback explicitement autorisé.

Validation

  • PYTHONPATH=$PWD pytest --import-mode=importlib tests/unit/test_config.py tests/unit/test_caldav_security.py tests/unit/test_caldav_gateway.py tests/integration/test_caldav_sync.py -q : 84 passed
  • ruff check . : OK
  • mypy . : Success, 110 fichiers
  • hooks pre-commit complets : OK
  • git diff --check : OK

PR empilée initiale pour #16. Les migrations RSS et Pronote seront proposées séparément au-dessus de cette branche.

@reviewer revue demandée.

## Résumé - introduit `ExternalEndpoint` Pydantic v2 (`SecretStr`, `frozen=True`, `extra='forbid'`, validation `Annotated`/`AfterValidator`) ; - migre CalDAV vers `CALDAV_ENDPOINT__URL` ; - conserve `CALDAV_URL` pendant la transition avec `DeprecationWarning` ; - conserve la règle CalDAV HTTPS, avec HTTP limité au loopback explicitement autorisé. ## Validation - `PYTHONPATH=$PWD pytest --import-mode=importlib tests/unit/test_config.py tests/unit/test_caldav_security.py tests/unit/test_caldav_gateway.py tests/integration/test_caldav_sync.py -q` : 84 passed - `ruff check .` : OK - `mypy .` : Success, 110 fichiers - hooks pre-commit complets : OK - `git diff --check` : OK PR empilée initiale pour #16. Les migrations RSS et Pronote seront proposées séparément au-dessus de cette branche. @reviewer revue demandée.
Codex added 1 commit 2026-09-13 11:50:48 +02:00
Codex merged commit c8c282bf75 into main 2026-09-13 12:10:42 +02:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: AntoineVe/college-infos#59