forked from collectiveidea/caldav
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathREADME.txt
More file actions
50 lines (35 loc) · 1.13 KB
/
README.txt
File metadata and controls
50 lines (35 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
= CalDAV
== To Do
* Upgrade to using Cucumber and RSpec
* Generate VTIMEZONE
* Generate VFREEBUSY
** Use tzinfo
** Use when creating calendar
** Use when querying caldav
* CalendarQuery
** Make sure all searches are done with UTF-8
** support limit-recurrence-set for partial retrieval of recurring events
* Convert to VPIM
* Implement Calendar Multiget
# TODO: set Content-Type: text/calendar
# TODO: update etag to edit an object
* REPORT
* free-busy-query
== Filtering
CalendarQuery.new.event #=> All events
CalendarQuery.new.event(time1..time2)
CalendarQuery.new.event.uid("UID")
CalendarQuery.new.todo.alarm(time1..time2)
CalendarQuery.new.event.attendee(email).partstat('NEEDS-ACTION')
CalendarQuery.new.todo.completed(false).status(:cancelled => false )
@mycal.find(query)
== Results
CalendarResult.new.limit_recurrence_set(range)
CalendarResult.new.expand_recurrence(range)
CalendarResult.new.freebusy(range)
== Running Tests
gem install mocha
== Notes
Using Darwin Calendar Server
calendar = CalDAV::Calendar.create('http://localhost/calendars/users/admin/<calendar name>', :username => 'admin', :password => 'admin')
calendar.events