Allow the ‘Allow’ and ‘DAV’ headers to be appended in a controller
Reported by Stuart Eccles | April 18th, 2007 @ 08:25 PM
Reported by Alex Zepeda in liverail.net
with suggested patch https://blarf.homeip.net/~alex/r...
Allow the ‘Allow’ and ‘DAV’ headers to be appended so that things like CalDAV can be implemented (since CalDAV provides two new methods (REPORT and MKCALENDAR) and requires that it be advertised in the DAV header).
There’s probably a more Ruby like way to do this (right now it’s simply instance variables in the controller). But, you know, to get the ball rolling I figured this was worth a shot.
Comments and changes to this ticket
-

Stuart Eccles May 5th, 2007 @ 04:00 PM
- → Assigned user set to Stuart Eccles
-

Stuart Eccles May 5th, 2007 @ 04:00 PM
- → State changed from open to resolved
Implemented
You now have the following options of adding :extra_actions and :extra_dav_versions to the act_as_railsdav command or act_as_filewebdav command
for example:
act_as_filewebdav :base_dir => 'themes', :extra_actions => ['report', 'mkcalender', 'acl'], :extra_dav_versions => ['access-control', 'calendar-access']
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
People watching this ticket
- Nobody is watching this ticket.