Commit Graph
529 Commits
Author SHA1 Message Date
Andrew McMillan 07f5e14857 The tz/expand action - basically we have a timezone service now. 2011-09-19 23:52:22 +12:00
Andrew McMillan 7f45695b62 Fix XMLNS on tz/list 2011-09-19 23:51:46 +12:00
Andrew McMillan 3fc3713a33 Reordered response. 2011-09-19 12:35:34 +12:00
Andrew McMillan 0605bfab46 Error response when requested tz format is not supported. 2011-09-19 12:35:21 +12:00
Andrew McMillan b569f93858 Fixes to tz/get. 2011-09-19 11:25:13 +12:00
Andrew McMillan 64e98acd1a Start to support 'get' action. 2011-09-19 08:41:55 +12:00
Andrew McMillan 1e81d0325e Support strict result ordering in list for consistent regression answers. 2011-09-19 08:41:27 +12:00
Andrew McMillan 45ed6fb3f4 list & updatecheck actions are now working to load all Olson zones from files. 2011-09-19 08:40:54 +12:00
Andrew McMillan 5f4b40a643 One more fix for timezone database changes. 2011-09-18 17:03:37 +12:00
Andrew McMillan f9ad324ba1 Adjustments to timezones representation in the database to support timezone protocol. 2011-09-17 23:40:04 +12:00
Andrew McMillan 93b790cd52 Tests for open-ended time-range calendar-query. 2011-09-17 17:59:02 +12:00
Andrew McMillan 731677d623 Roughing out implementation of timezone server. 2011-09-14 23:02:34 +12:00
Andrew McMillan 4e5b824302 Make PUT processing use olson_from_tzstring(). 2011-09-13 13:12:35 +12:00
Andrew McMillan aa05688e4e Test for IsCollection() before IsBinding() when we are deleting. 2011-09-12 10:52:16 +12:00
Andrew McMillan 4f01fe0a17 Add items to attendee's calendars as well as to their inboxes on PUT. 2011-09-10 00:17:27 +12:00
Andrew McMillan bdb360f082 Add support for the schedule-default-calendar-URL property. 2011-09-09 22:54:38 +12:00
Andrew McMillan 8b77885cac Add test of error response for a REPORT which is not supported. 2011-09-09 22:53:52 +12:00
Andrew McMillan d78620398c Fix METHOD on scheduling request. 2011-09-08 09:40:47 +12:00
Andrew McMillan 7a37beff80 Fix PROPPATCH behaviour on bound resources.
It is OK to modify dead properties on a bound resource as long as you
have permission on the folder containing the binding.  For active
properties we have special logic for modifying the displayname but all
others are refused.
2011-09-08 08:42:18 +12:00
Andrew McMillan 376c03c81a Correct handling of PUT with unreferenced VTIMEZONE 2011-09-07 23:55:49 +12:00
Andrew McMillan d75f7c2b77 Changes to the format of dates in the <creationdate> tag. 2011-09-07 23:55:19 +12:00
Andrew McMillan fa48854fbe Changes to the number of rows in the test DB. 2011-09-07 23:54:38 +12:00
Andrew McMillan 13ce4c147a Add support for writing local scheduling requests on PUT.
In the new Scheduling Extensions for CalDAV the server is expected
to construct iCalendar METHOD:REQUEST invitations and put them into
the scheduling inbox for each (local) attendee.  This patch does
that, and hopefully breaks the back of implementing the full
scheduling extensions.
2011-09-07 23:40:28 +12:00
Andrew McMillan 27deec06ac Test results including calendar-auto-schedule header as default. 2011-08-24 20:39:58 +12:00
Andrew McMillan 4bba200385 Add first cut implementation of principal-match report. 2011-05-18 23:39:46 +12:00
Andrew McMillan aaa0908b1a Add new import test with UTF-8 and missing UID.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-04-03 21:35:49 +12:00
Andrew McMillan 39f9ac1cea Force line endings to consistent CRLF in GET.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-02-22 15:42:35 +13:00
Andrew McMillan 2b072fda13 Additional collection during regression testing.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-02-22 15:42:05 +13:00
Andrew McMillan 076cf0f7ee Changes to recurrence-id order in test.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-16 16:45:48 +13:00
Andrew McMillan 49a62c701b Expanded events moved recurrence-id.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-12 10:03:58 +13:00
Andrew McMillan e28f200c5f Only add a recurrence-id if this is actually a repeating instance.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-05 11:55:35 +13:00
Andrew McMillan 23b8b84003 Changes due to updated handling of floating times
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 23:30:23 +13:00
Andrew McMillan 655e3bfdaf Updated dav_id's due to more events in test database.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 23:26:12 +13:00
Andrew McMillan 39c6d5e581 Correct regression test data reference. 2011-01-04 18:48:37 +13:00
Andrew McMillan 595e724426 Fix bug in handling bound resources with DAVResource changes.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 18:46:51 +13:00
Andrew McMillan d5e0684ad6 Corrected results for spec fixes in expanded calendar-query.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 16:51:08 +13:00
Andrew McMillan 7d135d39fa Correct handling of floating events & BYYEARDAY.
Also some minor refactoring.  Regression tests for all NZ holidays
from 2005 to 2011 (only the calculatable ones for 2005-2008).

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 16:46:57 +13:00
Andrew McMillan b35d71e69c List all of a user's calendar homes
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-03 10:11:27 +13:00
Andrew McMillan f305cdf4cb A few more places we need to ensure the collection is uncached.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-01 21:55:55 +13:00
Andrew McMillan 90c35ec385 Add another event into our testing.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-01 21:26:27 +13:00
Andrew McMillan 4178ab4254 Add caching of collection reads
Also a special header is added for telling DAViCal to flush the
cache during regression testing etc.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-01 21:25:46 +13:00
Andrew McMillan 1e4c7e7a26 Output the database error when a query fails.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 18:23:53 +13:00
Andrew McMillan 34a27d126d Refactor PUT functions to set modified/created dates more correctly.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 18:23:13 +13:00
Andrew McMillan be71269331 Move test data into test.
Also added a DTSTAMP property to the data, which Chandler (at
least the very old version I was using when I did this testing
in the first place) omitted.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 18:22:30 +13:00
Andrew McMillan b15fcb3f77 Refactoring of RRule-v2, which incidentally fixes a bug!
VALUE=DATE:YYYYMMDD dates should now work better, and all date
parsing is much more robust.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-26 17:41:52 +13:00
Andrew McMillan 7cec81592d More testing stuff. 2010-12-25 16:14:44 +13:00
Andrew McMillan 9805a040c8 Another vcard PUT test.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-25 15:57:01 +13:00
Andrew McMillan 84ab84329a New test for empty propfind request.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-25 15:55:57 +13:00
Andrew McMillan ac190c7277 Fix bugs in previous commit. Plus regression tests for it.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-07 09:39:16 +13:00
Andrew McMillan fd20cfa35b /.well-known/* now returns a 301 redirect, per spec.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-11-30 12:41:43 +13:00