Commit Graph
3 Commits
Author SHA1 Message Date
Pierre Martin 058229dce3 feat: write the mairie status back to Nextcloud over CalDAV
REPORT by UID gives href + ETag + calendar-data, then PUT with If-Match: the
resource URL is never guessed and a concurrent edit yields 412 instead of an
overwrite. URL_COLLECTION is derived from URL_CALENDRIER.
2026-08-13 16:50:16 +02:00
Pierre MartinandClaude Opus 4.8 532c17747f refactor: drop the now dead compterEvenements helper
It existed as T1's proof of life; the rendered list proves it better.
liste.js was its only caller and no longer counts VEVENTs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-14 18:23:38 +02:00
Pierre MartinandClaude Opus 4.8 1432aba561 feat: read raw iCalendar feed via browser session
Isolated CalDAV transport module that reuses the browser's Nextcloud
session (cookies, no stored password). Returns a discriminated result
and detects the HTTP-200 login-page redirect by sniffing the body for
BEGIN:VCALENDAR. compterEvenements counts real VEVENT line starts as the
T1 proof of life.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 00:07:43 +02:00