[Calypso] calypso with davdroid: in the direction of principals

Sebastian Bachmann me at free-minds.net
Mon Dec 9 09:31:09 PST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
it seems like to have this patch working you need a git repository
initalized at ~/.config/calypso/calendars (or at the location you keep
your folders). If you only have git repositories in the specific
calendar and addresses folders it will not work.

- -sebastan

On 11/10/2013 08:26 AM, chrysn wrote:
> hello calypso developers,
> 
> as to use a davdroid[1] client (android 4.0+, only supports 
> autoconfiguration) with calypso, i should have started
> implementing principals.
> 
> instead, i hacked my way around it til it fit.
> 
> the attached crude patch makes things work so-and-so for davdroid,
> and as a side effect also makes calypso usable with acal. (they
> have in common that they don't allow some call manual
> configuration, and others call infrastructure for supporting broken
> servers).
> 
> among other nasty things, this patch forces users to observe a 
> `/${USERNAME}/{calendar,addresses}{,-about}` folder structure,
> where the -about folders need to be present just so i can easily
> get a Collection object.
> 
> i like the flexible layout calypso provides, so what we should aim
> for as a more permanent solution is a way to attach a label to a
> folder whether it contains addresses or calendar items (for
> calypso, so far it's perfectly ok to contain both, but clients
> don't like that). then, in combination with the permissions system
> already in place, i think that there should be purely synthetic
> (one could say virtual) locations for urls like principal or the
> list of calendars accessible from that principal (which are what
> now are the -about urls). the latter might in theory be merged into
> the principal, but that caused troubles in practice (might have
> been an error on my side, i was pretty focused on just getting it
> to work). unless webdav specs dictate otherwise, i'd suggest
> addresses like /+${USERNAME}{,/addresses,/calendars} for principal
> and the lists of addresses and calendars, respectively.
> 
> (speaking of slashes: it seems to be calypso's stance that
> resources' urls don't end in slashes. caused troubles with
> davdroid[2], not sure what to think of it).
> 
> 
> best regards chrysn
> 
> 
> [1] http://davdroid.bitfire.at/ [2]
> https://github.com/rfc2822/davdroid/issues/64
> 
> 
> 
> _______________________________________________ Calypso mailing
> list Calypso at keithp.com 
> http://keithp.com/cgi-bin/mailman/listinfo/calypso
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBAgAGBQJSpf5dAAoJEAhgHfpCPcybwVAH/16mqb/Y+GdK06FWj/ski8ni
xO+ddKgZMyTsBedI2rlgTz5Ax3HjoywPO6das4rQTOA26rvq4smk6ldrH/vgwW3w
y/pevnP4J76tGCKgidFsG4TKNV5brKUZhMhPv1lcAbvrJWmQedXu0cllGmkzRqcg
xAwJR2aonJ2So6H+FYu3IeO2l3BUerOuOZY8L6+C/3jYLaeJOkWCtd/JG//s7fBZ
BmNW4ibrqmNQ9fyX3Huw5dPtx1HyRHmWIosuD7tYBCG625lBqDbE8o/ZsG+y7mRg
cRQP4cwqeZEJEcGDpT3H45lSKiI2zogj7pgh4UsyVXefVyTlDKQwDE0bDFKNIOc=
=8o/a
-----END PGP SIGNATURE-----


More information about the Calypso mailing list