Commit Graph
501 Commits
Author SHA1 Message Date
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 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 6679e31862 Rename test result without spaces. 2011-09-27 12:12:22 +13:00
Andrew McMillan 2127c294a3 Various small fixes preparing for release.
Correct logic for auto-creating addressbook for new user.
Fix non-creation of default addressbook.
Fix principal/collection edit to allow write of no privileges.
Fix collection edit timezone list to use new table.
Update davical & libawl version in always.php.
Regression test changes with update to davical.sql.
2011-09-25 22:29:31 +13:00
Andrew McMillan 78e756e8a4 Add source/contact information to capabilities. 2011-09-24 12:56:53 +12:00
Andrew McMillan 037506f205 Add regression test for remote data load. 2011-09-23 13:07:37 +12:00
Andrew McMillan d6ea96d2a0 Do all calculation of onset times in UTC (fixing some bugs). 2011-09-23 13:06:25 +12:00
Andrew McMillan e149c7ebc7 Fix formatting of dates in XML. Fix name of ETag header. 2011-09-21 00:51:38 +12:00
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