Commit Graph
512 Commits
Author SHA1 Message Date
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
Andrew McMillan 88c45e1e7b sync-collection results change with -04 alignment.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-11-30 12:39:46 +13:00
Andrew McMillan 5ac737c354 Various test result changes. 2010-11-30 12:39:02 +13:00
Andrew McMillan 6f87c13cf2 Make list of test suites overridable in configuration. 2010-11-21 00:52:11 +13:00
Andrew McMillan 5788a5b62d Changes to IDs due to minor regression process change. 2010-11-06 22:35:31 +13:00
Andrew McMillan 515a31bbc8 Add the ACL to the supported methods. 2010-11-06 19:02:55 +13:00
Andrew McMillan 6533a89b7e Change regression runner to look for sample data with tests. 2010-11-06 18:05:04 +13:00
Andrew McMillan cd6a609ea2 Always grant 'DAV::read' privilege from principal to group members.
Some clients want to read the group principal before they're happy
to access the group's calendar collections.  This grants them the
DAV::read privilege so they can do that.

Also see: https://bugzilla.mozilla.org/show_bug.cgi?id=610087
2010-11-06 15:12:35 +13:00
Andrew McMillan 1fd83c54ca New tests, especially focused on expansion and privacy checks. 2010-10-09 09:22:43 -04:00
Andrew McMillan a47f636392 Updated test results 2010-10-09 09:21:33 -04:00
Andrew McMillan 250c66e8d5 Move the first expanded REPORT test to a better name. 2010-10-07 18:27:20 -04:00
Andrew McMillan d75b525cf4 Don't supply freebusy for 0-duration events. 2010-10-07 17:27:21 -04:00
Andrew McMillan 6c4e2de41b Another regression test for free/busy catching many events. 2010-10-07 15:47:25 -04:00
Andrew McMillan 2cb3b14f2a Add an event with a thoroughly bogus tzid to ensure we cope. 2010-10-07 15:39:32 -04:00
Andrew McMillan 6635026ca1 Minor changes due to the recent enhancements. 2010-09-25 22:33:07 +12:00
Andrew McMillan 296379c734 Add an 'all' regression set which creates the initial DB for the others.
As a result we don't need to keep the initial databases in Git, or
in the release, and we have a way of running all regression tests
as well as just running small subsets when we need to.
2010-09-25 22:29:54 +12:00
Andrew McMillan b80dd10c7b Add a configuration option to use the older 'sync-response' tag.
When the WebDAV sync draft first came out the responses were each
contained in a DAV::sync-response tag, but by -03 this has changed
to a DAV::response tag since the format of the tag contents now
match this existing tag structure.

Unfortunately some client software in the wild depends on this
being a DAV::sync-response so the config option is needed to
interoperate with this software.
2010-09-25 17:18:54 +12:00
Andrew McMillan a9453bf589 Regression tests including sync on addressbkook collections. 2010-09-23 23:22:29 +12:00