synchrone / sandstorm-radicale

A calendars and contacts app for Sandstorm.io
https://apps.sandstorm.io/app/8kr4rvyrggvzfvc160htzdt4u5rfvjc2dgdn27n5pt66mxa40m1h
13 stars 3 forks source link

Rename ICS filename? #14

Open garrison opened 8 years ago

garrison commented 8 years ago

I'm trying to sync two different Radicale calendars to my phone using Sandstorm and DAVDroid. Right now, my phone refers to both calendars as "calendar.ics". I would be great if this could be renamed; or, alternatively, if I could simply change the name of the filename in the URL to something other than calendar.ics and it would continue to work.

synchrone commented 8 years ago

I believe the actual URL has nothing to do with it. It's better done via DAV:displayname property, given the user agent supports it. We'd better somehow try and make Sandstorm tell us the Grain name the user set, and proxy that into Radicale's property storage.

synchrone commented 8 years ago

@kentonv: would it be possible to implement something to make b0e2c68 doable?

synchrone commented 8 years ago

To temporarily work around this issue, one could use some CalDAV / CardDAV client to set the calendar / addressbook name (e.g OS X Calendar, or similar). This updates respective DAV property and then other clients pick up the displayname, not infer it from the URL.

JamborJan commented 8 years ago

Thanks for the workaround. Having 3 or more same named calendars is kind of a gambling game :-)

Your proposed solution of picking up the grains name would be the most user friendly one. Hopefully it will be possible.