-
Notifications
You must be signed in to change notification settings - Fork 44
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
VTODO support #103
Comments
Hi @christian-esken, can you please add an HTTP TRACE of the error? |
From what I see, VTODO should already be supported in CalDAVCollection, based on the current release, we only utilize VCALENDAR for the main object. You can choose to utilize VTODO component if you wish to do so. If there is something where we limit to VEVENT do let us know. We do have lower level api's under the methods if you wish to utilize one as such. |
There are some hardcoded VEVENT constants used in CalDAVCollection, so I worked around in changing them to VTODO in my VTodoCalDAVCollection.java. I willl give details soon. I feel pretty overloaded currently, so let me check first and I will give feedback in a week. |
@christian-esken can you point to them? are you referencing this method?
do other methods work?
|
Once we remove deprecated methods, we should probably generalize getMasterEvent -> getMasterComponent. @christian-esken PR and associated tests (possibily small, incremental PR since we're now using circleci for CI) are welcome for both ;) |
Sounds good, will deal with those soon. |
@ioggstream The methods are:
I am refering the 0.9x version. If I create a PR, should I directly head for the master branch? I do not see a branch for 0.9x. So I would just fork, work on master and do a PR, right? |
Hi Christian.
We worm on the master. Those methods shouldbe generalized to work with any
components.
Those methods should be deprecated if they are still not, and should invoke
for now the new generale methods.
@TheAntimist what do you think?
@christian: I suggest you to check if your app works with master before
patching.
Thx to all,
R
Il giorno gio 31 gen 2019, 17:01 Christian Esken <notifications@github.com>
ha scritto:
… @ioggstream <https://github.com/ioggstream> The methods are:
- updateMasterEvent()
- getMasterEvent()
I am refering the 0.9x version. If I create a PR, should I directly head
for the master branch? I do not see a branch for 0.9x. So I would just
fork, work on master and do a PR, right.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#103 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABFobCXqZFVaJzRHWvxbUMXmnoNUKNXKks5vIxNegaJpZM4aRpsI>
.
|
I agree with @ioggstream, our development is now focused on Master, which is currently based on Apache HttpClient 4 (1.0.0-rc.2 on maven) . As mentioned some API changes do require you to update your app. |
Reproduce
Use the caldav4j library
Steps to reproduce the issue:
Version: com.github.caldav4j:caldav4j:0.9.2
Added dependencies:
implementation 'com.trivago:triava:2.0.1'
implementation 'javax.servlet:javax.servlet-api:3.1.0'
Server: OwnCloud with Calendar extension
Code: https://github.com/christian-esken/todo4you/blob/master/app/src/main/java/de/todo4you/todo4you/caldav/VTodoCalDAVCollection.java
I expect
caldav4j to support VTODO entities. Operations: GET. ADD. MODIFY (Hint: these may not be offical DAV terms, but it should be clear what they mean. In SQL terms; SELECT, INSERT, UPDATE).
Instead
MODIFY is not supported, as far as I saw in examples, docs and browsing source code. GET and ADD is possible.
Notes
This ticket can be treated as a question. What I would like to know:
The text was updated successfully, but these errors were encountered: