Skip to content

Support for custom CalDav servers#1

Open
simonepsp wants to merge 1 commit intoPunkt-Tronics-AG:dailyviewfrom
simonepsp:dailyview
Open

Support for custom CalDav servers#1
simonepsp wants to merge 1 commit intoPunkt-Tronics-AG:dailyviewfrom
simonepsp:dailyview

Conversation

@simonepsp
Copy link

@simonepsp simonepsp commented Jul 8, 2023

Worked on custom CalDav server support as I truly think all the Punkt MP02 users out there would benefit from it (including myself). Still relays on Apostrophy services if user doesn't input any custom URL.
It has been tested on a 2.7" virtual device connected to a local CalDav server (Radicale). I've also added translation for all the currently supported languages (thanks ChatGPT).
However, it should be sideloaded on an actual MP02 device to check for possible UI issues (I'd love to do that but I can't...)

TODO:

  • Alter db table to include ServerURL column without reinstalling the app. This is not done automatically and I think it should be fixed before release.
  • Clean up code?
CleanShot 2023-07-08 at 17 29 15@2x CleanShot 2023-07-07 at 19 25 12@2x CleanShot 2023-07-07 at 19 54 57@2x

@wzbfyb
Copy link

wzbfyb commented Jul 10, 2023

excellent, thanks! looking forward as I run selfhosted CalDav for a while.

@simonepsp
Copy link
Author

Is this project still maintained?

@PhilipPunkt
Copy link
Contributor

@simonepsp Hello, this is very interesting. The project is still maintained and we are looking into your pull request. In the meantime if you want to test it on a device, we have an alternative. Please get in touch at punkt@github.com.
Thank you.

@remowashere
Copy link

remowashere commented Aug 12, 2023

A workaround; you can use a tool like vdirsyncer which can sync from and to caldav / carddav. I'm using it to sync our iCloud calendars to Aphy as I have absolutely no need for an additional aphy.io mailbox.

https://vdirsyncer.pimutils.org/en/stable/tutorial.html

@sibeliusg
Copy link

@remowashere can you give a tutorial on how to use vdirsyncer with Dailyview? Do I understand it right, that I don't need an Aphy-Account for this to work?

@remowashere
Copy link

@sibeliusg No sadly you do need an Aphy account (which is just a roundcube frontend with standard caldav support). Vdirsyncer only syncs caldav to caldav, in my case iCloud to Aphy. After syncing, the appointments will be shown in Dailyview (at least, those times that Dailyview actually shows anything)

@sibeliusg
Copy link

@remowashere okay, it would have been too good to be true. Thank you for your fast response. My first caldav-server (Posteo) is fee-based. I'm not going to pay for two.

@dosch
Copy link

dosch commented Aug 31, 2023

This (and CardDav support) are the features keeping me from purchasing a Punkt phone. Please merge and add CardDav as well so any Dav server (like Nextcloud) can be used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants