Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CalDAV autodiscovery #718

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

MelissaAutumn
Copy link
Member

@MelissaAutumn MelissaAutumn commented Oct 10, 2024

Fixes #446

I started off just re-enabling the old behaviour but found it didn't really work in context of the FTUE. So I've added the ability to save CalDAV principal servers as an external connection. That required a lot of additional work, whoops!

Note: This does not affect the "Add a single caldav calendar" functionality that exists on the calendars setting page. This simply treats a caldav principal server connection like we would google oauth.

Changes:

  • Added a python Tools method to fix-up malformed caldav urls
  • Added a python Tools method to perform a dns SRV lookup for a caldav entry
  • Implemented sync_calendars for caldav connector
  • Renamed ftueStep.GooglePermissions to ftueStep.CalendarProvider
  • Add a switch button during the FTUE calendar provider step
  • Add modal text
  • Refactor LoginView::handleFormError to be generic and now lives in utils
  • Allow force fetching of external connections
  • Add CalDAV as an external connection option
  • Refactor GoogleOauthProvider to be more in-line with how CalDAVProvider works
  • Add shortcuts for decrypt/encrypt in Python utils
  • Cache dns lookup for the remainder of the ttl

Screenshots

image image image image

* Renamed ftueStep.GooglePermissions to ftueStep.CalendarProvider
* Add a switch button during the FTUE calendar provider step
* Add modal text
* Refactor LoginView::handleFormError to be generic and now lives in utils
* Allow force fetching of external connections
* Add CalDAV as an external connection option
* Refactor GoogleOauthProvider to be more in-line with how CalDAVProvider works
* Add shortcuts for decrypt/encrypt in Python utils
* Cache dns lookup for the remainder of the ttl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n update A string has been added or needs updating
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CalDAV auto discovery
1 participant