Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Trouble getting today events with CalDav #89

Closed
JbIPS opened this issue Jul 31, 2015 · 5 comments
Closed

Trouble getting today events with CalDav #89

JbIPS opened this issue Jul 31, 2015 · 5 comments
Labels

Comments

@JbIPS
Copy link

JbIPS commented Jul 31, 2015

Hi,

I'm trying to write an application that get today events from my CozyCloud calendar with CalDav.

I'm writing NodeJS code and I'm using https://github.com/gaye/dav as a connector, but the time-range filters do not seem to be taken into account. I tried https://github.com/jachwe/node-caldav but I get

{ declaration: { attributes: { version: '1.0', encoding: 'utf-8' } },
  root: 
   { name: 'd:error',
     attributes: { 'xmlns:d': 'DAV:', 'xmlns:a': 'http://ajax.org/2005/aml' },
     children: 
      [ { name: 'a:exception',
          attributes: {},
          children: [],
          content: 'ReportNotImplemented' },
        { name: 'a:message',
          attributes: {},
          children: [],
          content: 'ReportNotImplemented' },
        { name: 'a:jsdav-version',
          attributes: {},
          children: [],
          content: '0.3.2' },
        { name: 'd:supported-report', attributes: {}, children: [] } ],
     content: '' } }

So I'm wondering if this functionality has been implemented server side or if I'm the one doing something wrong.

Thank you for your help,

Jb

@frankrousseau
Copy link

Sorry we have never answered to your issue. Do you still face the problem @JbIPS?

@JbIPS
Copy link
Author

JbIPS commented Nov 7, 2015

Never made it work, so I'm currently filtering after my request. Did you do anything that might fix that?

@frankrousseau
Copy link

There were many fixes. So, I don't know if it was fixed. @aenario or @clochix any idea about that?

@clochix
Copy link

clochix commented Nov 7, 2015

I just had a quick look at the code of the jsDAV library and time-range seems to be implemented. But the error you get means that this particular REPORT query seems not implemented.
Could you have a look at the logs of the Sync application, they probably contains some error message?

@JbIPS
Copy link
Author

JbIPS commented Jun 6, 2016

Sorry I forgot about this issue, it's old now, I'm closing it. Thank you

@JbIPS JbIPS closed this as completed Jun 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants