How to use the xandikos.webdav.create_href function in xandikos

To help you get started, we’ve selected a few xandikos examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jelmer / xandikos / xandikos / access.py View on Github external
def get_value(self, base_href, resource, el, environ):
        for href in resource.get_group_membership():
            el.append(webdav.create_href(href, base_href=href))
github jelmer / xandikos / xandikos / scheduling.py View on Github external
def get_value(self, base_href, resource, el, environ):
        for href in resource.get_calendar_user_address_set():
            el.append(webdav.create_href(href, base_href))
github jelmer / xandikos / xandikos / caldav.py View on Github external
async def get_value(self, base_href, resource, el, environ):
        for href in resource.get_calendar_proxy_write_for():
            el.append(webdav.create_href(href, base_href))
github jelmer / xandikos / xandikos / access.py View on Github external
def get_value(self, base_href, resource, el, environ):
        owner_href = resource.get_owner()
        if owner_href is not None:
            el.append(webdav.create_href(owner_href, base_href=base_href))
github jelmer / xandikos / xandikos / carddav.py View on Github external
async def get_value(self, href, resource, el, environ):
        el.append(webdav.create_href(
            resource.get_principal_address(), href))
github jelmer / xandikos / xandikos / scheduling.py View on Github external
def get_value(self, href, resource, el, environ):
        el.append(webdav.create_href(resource.get_schedule_inbox_url(), href))
github jelmer / xandikos / xandikos / timezones.py View on Github external
def get_value(self, base_href, resource, el, environ):
        for timezone_service_href in self._timezone_services:
            el.append(webdav.create_href(timezone_service_href, base_href))
github jelmer / xandikos / xandikos / caldav.py View on Github external
async def get_value(self, base_href, resource, el, environ):
        el.append(webdav.create_href(resource.get_source_url(), base_href))