-
Notifications
You must be signed in to change notification settings - Fork 12
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
Could you explain if your bundle workable and how to set up it? #1
Comments
Currently only WebDAV is supported, but I just added the needed CalDAV plugin configuration to the bundle. As far as I understand reading the You could try the following configuration:
|
Thank you a lot! |
Well there is no concrete version at packagist, this bundle is not really in a stage where a version number makes sense. Using |
This looks very interesting. Have you considered adding the above example to the Docs? |
Definitely, time is the only problem currently ;-) |
I'm about to give this a go... What configuration would you recommend for a basic WebDAV implementation in Symfony 2.4? UPDATE: I was able to get it working (with only a rudimentary knowledge of how to put it all together), but I'd be grateful if you can provide an example configuration and a controller that shows how to integrate Gaufrette collections and Doctrine and while it's at it make coffee... :-) |
A sample config using the gaufrette local adapter: secotrust_sabre_dav:
base_uri: /app_dev.php/dav/
plugins:
browser: true
services:
gaufrette.adapter:
class: Gaufrette\Adapter\Local
arguments:
- "%kernel.root_dir%/../web/uploads"
gaufrette.filesystem:
class: Gaufrette\Filesystem
arguments:
- @gaufrette.adapter
gaufrette.dav.collection:
class: Secotrust\Bundle\SabreDavBundle\SabreDav\Gaufrette\Collection
arguments:
- @gaufrette.filesystem
tags:
- { name: secotrust.sabredav.collection } I never created a doctrine implementation and I think that you will always need a custom implementation to create a directory tree and serve the files. This bundle could provide base classes for this tasks. |
Wow! Exactly. I didn't have Gaufrette configured as a service, and I was stuck using the filesystem adapter separately. This. Is. Great. Thanks! |
I need to integrate sabredav server to my Symfony 2 application in order to provide calDAV to our users. And i want to use your bundle.
But i faced with some problems during integration your bundle. Here is no documentation. But as i understand i need to define collection with tag secotrust.sabredav.collection. But how should looks this collection? Could you provide any example?
Thanks!
The text was updated successfully, but these errors were encountered: