Commit Graph

21 Commits

Author SHA1 Message Date
Sylvain Zimmer
7cb8d5e7b6 (freebusy) add availability management (#35)
Adds organization-level default calendar sharing controls, "Find a Time" scheduling UI with a Free/Busy timeline showing attendee availability and conflicts, Working hours editor in Settings to manage and save availability, Autocomplete attendee search with debounced, partial name/email matching and timezone display.

Fixes #26. Fixes #25. Fixes #24.
2026-03-10 01:30:42 +01:00
Sylvain Zimmer
9c18f96090 (all) add organizations, resources, channels, and infra migration (#34)
Add multi-tenant organization model populated from OIDC claims with
org-scoped user discovery, CalDAV principal filtering, and cross-org
isolation at the SabreDAV layer.

Add bookable resource principals (rooms, equipment) with CalDAV
auto-scheduling that handles conflict detection, auto-accept/decline,
and org-scoped booking enforcement. Fixes #14.

Replace CalendarSubscriptionToken with a unified Channel model
supporting CalDAV integration tokens and iCal feed URLs, with
encrypted token storage and role-based access control. Fixes #16.

Migrate task queue from Celery to Dramatiq with async ICS import,
progress tracking, and task status polling endpoint.

Replace nginx with Caddy for both the reverse proxy and frontend
static serving. Switch frontend package manager from yarn/pnpm to
npm and upgrade Node to 24, Next.js to 16, TypeScript to 5.9.

Harden security with fail-closed entitlements, RSVP rate limiting
and token expiry, CalDAV proxy path validation blocking internal
API routes, channel path scope enforcement, and ETag-based
conflict prevention.

Add frontend pages for resource management and integration channel
CRUD, with resource booking in the event modal.

Restructure CalDAV paths to /calendars/users/ and
/calendars/resources/ with nested principal collections in SabreDAV.
2026-03-09 09:09:34 +01:00
Sylvain Zimmer
cd2b15b3b5 (entitlements) add Entitlements backend with Deploy Center support (#31)
This checks if the user has access to the app and can create calendars.
2026-03-06 02:47:03 +01:00
Sylvain Zimmer
3e11794d02 💚(repo) fix CI and general cleanup (#12) 2026-02-21 00:49:44 +01:00
Sylvain Zimmer
4f8dbeffbb 🐛(calendars) add default calendar color 2026-02-19 20:44:49 +01:00
Sylvain Zimmer
81954a4ead (invitations) add invitation RSVP links in HTML emails (#10)
Also include many fixes and scalingo deployment
2026-02-19 18:15:47 +01:00
Sylvain Zimmer
3051100f8a 🐛(data) remove Calendar and CalendarShare models
The only source of truth for those is now in the caldav server
2026-02-09 20:48:11 +01:00
Sylvain Zimmer
3a0f64e791 (import) add import modal
Synchronous for now, can be offloaded to worker later.

Also lint the codebase
2026-02-09 18:43:49 +01:00
Nathan Panchout
23a66f21e6 🎨(front,back) minor style and formatting fixes
- Add gap to attendees input layout
- Fix long line formatting in subscription API test

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 17:41:04 +01:00
Nathan Panchout
52a26f5747 (front,back) add tests for visio conference feature
- Frontend: 3 unit tests for generateVisioRoomId (format, length,
  uniqueness)
- Backend: 7 tests for ICalendarParser URL extraction and email
  template rendering with/without visio URL

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 17:39:16 +01:00
Nathan Panchout
e26193dc3c (back) extract ICS URL property and display in invitation emails
Add visio conference URL support to invitation emails:
- Add url field to EventDetails dataclass
- Extract URL property in ICalendarParser.parse()
- Fix extract_property regex to preserve full URLs (was truncating
  https:// by splitting on colon)
- Add conditional visio section to all 8 email templates
  (invitation, update, cancel, reply — HTML and text)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 17:39:08 +01:00
Nathan Panchout
16af201959 (back) add subscription and iCal tests
Add pytest tests for calendar subscription API endpoints
and iCal export functionality. Covers token generation,
validation, expiration and .ics file generation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 16:56:21 +01:00
Nathan Panchout
f329de9354 (back) add subscription and iCal API
Add API endpoints for calendar subscription token management
and iCal export. Includes serializers, viewsets and URL
configuration for subscription URLs and .ics file generation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 16:56:21 +01:00
Nathan Panchout
7e90c960dc (back) add invitation email templates
Add HTML and text email templates for calendar invitations,
updates, cancellations and attendee reply notifications.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 16:56:21 +01:00
Nathan Panchout
c623596cbc (back) add CalendarInvitationService
Add service for handling calendar invitation emails via
IMIP protocol. Supports sending invitations, updates,
cancellations and processing attendee replies.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 16:56:21 +01:00
Nathan Panchout
81e8111988 (back) add CalDAV service
Add CalDAV service for server-side calendar operations
including calendar creation, event management and
synchronization with SabreDAV.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 16:56:21 +01:00
Nathan Panchout
9c414a19a6 (back) add subscription migrations
Add database migrations for CalendarSubscriptionToken model
and create index on token+is_active for efficient lookups.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 16:56:21 +01:00
Nathan Panchout
0cb9b40530 (back) add CalendarSubscriptionToken model
Add model for storing calendar subscription tokens with
secure token generation and expiration handling for
iCal/CalDAV subscription URLs.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 16:56:21 +01:00
Sylvain Zimmer
3ed52ca5d0 (scheduling) add callback from caldav to django for imip 2026-01-11 03:52:43 +01:00
Sylvain Zimmer
bc801d3007 🏗️(caldav) migrate from davical to sabre/dav 2026-01-11 02:28:04 +01:00
Sylvain Zimmer
a36348ead1 🎉(all) bootstrap the Calendars project
This repository was forked from Drive in late December 2025 and
boostraped as a minimal demo of backend+caldav server+frontend
integration. There is much left to do and to fix!
2026-01-09 00:51:25 +01:00