401 Commits

Author SHA1 Message Date
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
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
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
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
ed9b3ae693 Tweaking OPTIONS output. 2010-09-12 16:22:58 +12:00
Andrew McMillan
0d9edf6632 Making regression tests work on Lenny. 2010-09-12 14:47:26 +12:00
Andrew McMillan
937c212b1a [regression tests] Result changes due to UTF8 wrapping fixes in AWL. 2010-09-11 23:13:43 +12:00
Andrew McMillan
6e9cc9dcfd Moving regression tests for WebDAV Bindings. 2010-09-02 21:06:58 +12:00
Andrew McMillan
3ee95b4c5d Move the WebDAV BIND tests to another location. 2010-08-31 14:37:03 +12:00
Andrew McMillan
36dcdabcc6 New/updated freebusy regression tests & results. 2010-08-30 16:58:37 +12:00
Andrew McMillan
fa67ef987e Refactoring free/busy handling to a single core routine with RRule-2 2010-08-30 09:08:17 +12:00
Andrew McMillan
4b37c632f6 Updated regression test results. 2010-08-26 08:59:47 +12:00
Andrew McMillan
8534e03317 Updated test results. 2010-08-18 21:41:27 +12:00
Andrew McMillan
effd9b91ff New sync responses which aren't sync-response. 2010-08-18 21:37:38 +12:00
Andrew McMillan
82265620ed Fix test to match what Mozilla sends. 2010-08-13 11:44:03 +12:00
Andrew McMillan
d07b16bc87 Results of returning applicable permissions by resourcetype. 2010-06-29 23:52:02 +12:00
Andrew McMillan
f2ebbda855 Add parameter for masking privilege output to only applicable set. 2010-06-28 09:31:35 +12:00
Andrew McMillan
eb4193dc0d Update regression tests for DAV support header change. 2010-06-27 18:54:29 +12:00
Andrew McMillan
e37bbd9030 Updated results with fixed RFC5545 wrapping/escaping. 2010-05-27 23:49:16 +12:00
Andrew McMillan
9002e974fc Add a hack so older Mozilla calendar versions don't see auto-schedule. 2010-05-19 23:48:45 +12:00
Andrew McMillan
2f8eb21b82 A few improvements to database creation.
Inspired by Peter Eisentraut's blog post about writing scripts
for PostgreSQL.
2010-05-12 22:14:32 +12:00
Andrew McMillan
6cb50958c8 Internalising data in a few more tests. 2010-04-29 16:02:33 +12:00
Andrew McMillan
d1921b162c Move data into some tests that it was previously external to. 2010-04-29 15:54:01 +12:00
Andrew McMillan
60930acf91 Rename regression tests to 4 digit numbering. 2010-04-29 11:21:05 +12:00
Andrew McMillan
cc3e80ffec If TZ join fails still show what was inserted. 2010-04-28 14:13:09 +12:00
Andrew McMillan
0e72376186 PHP 5.3 URI escaping is in line with RFC 3986, so ~ is not escaped. 2010-04-28 14:11:54 +12:00
Andrew McMillan
930d582e9b Add more odd characters to this test. 2010-04-28 14:11:29 +12:00
Andrew McMillan
6f7d82cb3a Corrected result now duration is more accurately handled. 2010-04-28 14:09:59 +12:00
Andrew McMillan
b44c2e433d Add SQL query to test 244 to highlight the correct results. 2010-04-17 12:30:24 +12:00
Andrew McMillan
34c193f582 Updated freebusy results from RenderGMT() fix. 2010-04-16 12:46:30 +12:00
Andrew McMillan
0ada660a8c Connection/Keep-alive headers removed. 2010-04-15 18:19:19 +12:00
Andrew McMillan
c144f31562 Add test for event with odd characters in it for SQL testing. 2010-04-06 12:17:19 +12:00
Andrew McMillan
cbfaf84f45 Add facility to GET on collection of collections.
Including bound collections into the resultset.
2010-04-03 09:21:50 +13:00
Andrew McMillan
ca674d1cec Changes to repeat rule testing calendar (user2). 2010-03-31 23:03:32 +13:00
Andrew McMillan
69ca0e3d01 Add a repeating event with a day long characteristic. 2010-03-27 17:02:24 +13:00
Andrew McMillan
3074d04916 Apply offset from UTC in the right direction :-) 2010-03-27 12:56:17 +13:00
Andrew McMillan
f59b0a84e8 Fix timezone handling in RRULE expansion. 2010-03-27 11:45:51 +13:00