636 Commits

Author SHA1 Message Date
Andrew McMillan
7c15051f84 Further fixes to WebDAV synchronization.
This should be fully reliable now and also cleans out all sync
changes more than one week old.  update-database is needed to pull
the new function.
2012-04-17 15:44:09 +12:00
Andrew McMillan
8158eaa1ea Changes to the way PROPPATCH returns errors.
This is cleaner and perhaps a little more informative.
2012-04-16 12:57:16 +12:00
Andrew McMillan
beecb1674d Test result changes for previous commit. 2012-04-16 12:56:08 +12:00
Andrew McMillan
200b3a08dd Refactor checking of If-*-Match headers into a single place.
This also exposes and fixes a bug in PUT vcard where If-None-Match: "*"
was not being correctly processed.
2012-04-04 16:20:41 +12:00
Andrew McMillan
739d024305 Further regression test results changes from the caldav-proxy header. 2012-03-22 14:56:02 +13:00
Andrew McMillan
de0a010db7 As a result of some changes to when sync tokens first get created. 2012-03-22 14:15:49 +13:00
Andrew McMillan
f401bfcd9e A couple of common iCal4/iCal5 PROPFIND requests. 2012-03-22 14:09:28 +13:00
Andrew McMillan
09d8447951 Minor change to freebusy report test. 2012-03-22 14:05:34 +13:00
Andrew McMillan
ac6d040bd8 Fix a bug in GET on collections. 2012-03-22 14:05:06 +13:00
Andrew McMillan
dade978eb6 Slight header changes as a result of caldav proxy changes. 2012-03-22 13:55:03 +13:00
Andrew McMillan
f47ad7b669 Allow dav_test to be used against random SSL certs. 2012-03-12 13:20:33 +13:00
Andrew McMillan
0153070bea Updated test results. 2012-03-12 13:19:41 +13:00
Andrew McMillan
a01f7c8025 Correct error response. 2012-03-02 08:58:58 +13:00
Andrew McMillan
36a66597cd Ordering changes. 2012-03-02 08:58:29 +13:00
Andrew McMillan
1d1b104dfa Changed default Depth for PROPFIND. 2012-03-02 08:57:54 +13:00
Andrew McMillan
69999da862 Changes due to responding that VPOLL/VAVAILABILITY are OK. 2012-03-02 08:56:24 +13:00
Rob Ostensen
90f597f46c ischedule: fake session info when writing into scheduling collections
update ischedule regression test results
2012-02-01 12:45:52 -08:00
Andrew McMillan
e8a7a7b79a Allow specifying that this test will use Digest authentication. 2012-01-30 22:25:03 -08:00
Rob Ostensen
d50c29d749 initial tests for remote iSchedule requests signed using test keys
-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEArTRqr/W5wSlxDKthes0Bz2fIkukLOu0tNIbxO9GpsjgaE3ju
Pnl9XlkMxvkGQ5k7NTy2yRIYDFqDzT150MiMLsIbOnXlOZVizlM8MXe65do6BNCn
jNZRNj30pEHirhJsQf0eEc9+AY1qDbC2axqd1Nf8MNl0bJ58O0ZCPnzdDNxsWp16
midWoj0uceonpg1qxp7kYD2CC5/WcrsBHc8Lt3y2N9X4pamAvd0fAfVXYrzLSVvm
c1b09yEq3weT4R4Jiizjb7UPPZCyarDDOUKfjcBsPCJtBDv7al6easoCUvHviJKy
48bmcFcgnyL1FfKVdIaKlyb3nLj9dFTFm/tdTQIDAQABAoIBAArzCFeNUiva4dGq
N+Rad2XUKsLWxqX3/maWrUNZ0r94enWGrJD4fytqt7sQXQwC8NJBv1Bgu3J0emaM
H1pKg0olbTE56L7GKdPfQSvjZMZJEGfjhOQLXGDwc7m6jIjykzNsu+zmUBHrDaxF
4pJMwXOGH+Q6qvh+4F2i6Gco35SDdAtRiMmZZMsMzHX4hEgAzbhdumDT0jj5Zina
fPXvbXrYmxTbfQg0eIAclIwd2hJQeLbwZR6I1Zg26pWMndNY31cO0nJkXp0KH9Xo
0CLFKuqkDlash1+kaRx0xO39JCVZZWT9AjG9A8FWXLD1jH9U5q/HRCqr+2+LM3Zf
3+/PNMUCgYEA4RlR8sKEpzBHFKz0sWGN8RYmIyD8sE371+ZASYti3NfKkbohjezi
KH5mvv7jvXvg1EABfRVsvsLV53VC9TFcy8Oi7TVBfFGPWuH0U2aTugcukp5pJHYq
7w5nu+2u33P7ccFMajiC/RMpBc0nxifEmD8urjzNcF3LXzpY3YxyVRsCgYEAxPtf
qv4+X9S6gKpj3euy9t4Ltahou7GtMVNITp/uSguAGKkL+0UTLjGtk1E1rOxTOEMu
yJdSUlDu9cZhXEN0NRE780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:08:42 -06:00
Andrew McMillan
6b88c6b8b2 CardDAV test & result changes for new processing. 2012-01-13 17:41:09 +13:00
Andrew McMillan
d226395258 Minor updates to tests. 2011-12-14 22:19:16 +13:00
Andrew McMillan
71b90d367a Handle bound resources correctly in sync-collection report. 2011-12-14 22:18:24 +13:00
Andrew McMillan
e641ed0876 Catch missing-xml in request separately from invalid-xml. 2011-12-14 22:18:14 +13:00
Andrew McMillan
1d424693ad Fix missing END:VCALENDAR. 2011-12-07 14:55:22 +13:00
Andrew McMillan
b4e50d8803 One more sync-action in prior tests. 2011-12-03 14:22:09 +13:00
Andrew McMillan
6483b562ca Now returning a slightly informative error message. 2011-12-03 14:21:34 +13:00
Andrew McMillan
91d6a69899 Strip URL-unfriendly characters from UID before using it as URL segment. 2011-11-30 09:17:28 +13:00
Andrew McMillan
8c1100ec26 Correct sync report response. 2011-11-26 23:19:59 +13:00
Andrew McMillan
62b6921c5d Switch to PostgreSQL 9.1 for my development environment. 2011-11-26 23:19:34 +13:00
Andrew McMillan
cfff87f1e5 Further testing for some combinations of sync token. 2011-11-09 10:06:51 +13:00
Andrew McMillan
4b519bb7f1 Correct sync requests to match new format for sync token. 2011-11-09 09:57:08 +13:00
Andrew McMillan
0c5be26d82 Regression test updates for DELETE scheduling handling. 2011-11-02 18:44:27 +13:00
Andrew McMillan
a2b3e2e869 Regression tests for empty CardDAV:address-data element. 2011-11-02 10:16:06 +13:00
Andrew McMillan
d8d16c8ee9 Checkpoint the current code for scheduling on DELETE . 2011-11-02 01:30:45 +13:00
Andrew McMillan
10afabbeb9 Rationalise confidential event rewriting and fix $c->hide_alarm function. 2011-10-31 13:15:49 +13:00
Andrew McMillan
8ba55217df More fixes to CalDAV Scheduling
- Handle REPLY from ATTENDEE accepting/declining meeting.
- Handle processing on ORGANIZER further changing meeting.
2011-10-24 18:38:48 +13:00
Andrew McMillan
5f3c87f1f9 More data in database. 2011-10-20 12:20:10 +13:00
Andrew McMillan
7f26b16da8 Support DOSQL to to arbitrary SQL before actual regression test. 2011-10-20 12:19:43 +13:00
Andrew McMillan
fbd08e42c6 Fixes to calendar_auto_schedule.
- Update the SCHEDULE-STATUS parameter correctly when writing the event
to the organiser.
- Don't include ETag in PUT response when scheduling actions occur.
- Write scheduling resources to attendee calendars even when this is
an event modification.
2011-10-20 12:19:08 +13:00
Andrew McMillan
ce77dae043 Fail more gracefully on crap encoding input. 2011-10-07 08:27:02 +02:00
Andrew McMillan
5b921b3884 Test for 'deflate' content encoding. 2011-10-07 07:34:49 +02:00
Andrew McMillan
e913600c70 Switch calendar query to new getVCalendarRange() function.
This fixes various bugs in time-range handling.
2011-10-06 23:34:18 +02:00
Andrew McMillan
d1f0a1cc76 New & variously improved regression tests. 2011-10-06 11:10:02 +02:00
Andrew McMillan
8e18449096 Updated MKCOL/MKCALENDAR to support setting a supported-calendar-component-set 2011-10-03 17:57:28 +02:00
Andrew McMillan
323e6a3011 The final revision of the sync-collection report requires the token to be a URI.
We'll use a 'data' URI (like CalendarServer does) to jump through this
arbitrary hoop.
2011-10-03 16:29:11 +02:00
Andrew McMillan
c41f4071e4 Get rid of unsightly error due to removal of time_zone table. 2011-09-30 11:56:35 +02:00
Andrew McMillan
0feb4e23d5 Fix bug handling COUNT= with BYDAY=multiple and FREQ=WEEKLY 2011-09-28 13:35:29 +08:00
Andrew McMillan
e64f92ff86 Fix handling of BYMONTHDAY=-N in repeat rules.
It seems PHP's date::setDate function doesn't do what we want when
you hand it a negative integer so we need to override a little more
of it's behaviour.  We have to make sure that date::modify is not
called with a days greater than the month we might land in when we
add a number of months to it.
2011-09-28 05:21:31 +08:00
Andrew McMillan
11892c4e97 Release 0.9.9.6 2011-09-27 13:27:56 +13:00
Andrew McMillan
6679e31862 Rename test result without spaces. 2011-09-27 12:12:22 +13:00