1374 Commits

Author SHA1 Message Date
Andrew McMillan
e149c7ebc7 Fix formatting of dates in XML. Fix name of ETag header. 2011-09-21 00:51:38 +12:00
Andrew McMillan
2608eef8e2 Allow to override the format for output. 2011-09-21 00:50:06 +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
0605bfab46 Error response when requested tz format is not supported. 2011-09-19 12:35:21 +12:00
Andrew McMillan
d6524a87f4 Rewrite time-range SQL clauses for greater clarity. 2011-09-19 12:34:26 +12:00
Andrew McMillan
b569f93858 Fixes to tz/get. 2011-09-19 11:25:13 +12:00
Andrew McMillan
eaeec0bc02 This is the fix we are looking for regarding time-range queries. 2011-09-19 11:08:44 +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
b160ead5a0 Basic 'capabilities' response for timezone protocol. 2011-09-17 17:59:36 +12:00
Andrew McMillan
67ccb2ae03 Fix an error in calendar-query handling of time-range queries. 2011-09-17 15:38:57 +12:00
Andrew McMillan
af3478cd25 [Unfinished] Migrating away from deprecated iCalendar class.
This is working, to a point...  Some regression tests are still failing
and I need to investigate why, but this is substantially finished. The
remaining fixes will need to be in AWL/vCalendar in any case.
2011-09-14 23:05:20 +12:00
Andrew McMillan
1a35a111e7 Ensure username is initialised to something appropriate.
Per:
http://sourceforge.net/tracker/?func=detail&atid=890787&aid=3409180&group_id=179845
2011-09-14 23:03:44 +12:00
Andrew McMillan
805a91f3ef Fix deprecated calls. 2011-09-14 23:02:53 +12:00
Andrew McMillan
bc1e264c6b Allow null dtstart to match any range, as per Scheduling Draft. 2011-09-14 11:27:15 +12:00
Andrew McMillan
963de077d8 Fix typo in "SCHEDULE-AGENT" parameter name. 2011-09-14 11:26:53 +12:00
Rob Ostensen
b947e1c7e2 skip scheduling attendees with schedule-agent set to something other than server
Signed-off-by: Rob Ostensen <rob@boxacle.net>
2011-09-14 11:25:28 +12:00
Andrew McMillan
4e5b824302 Make PUT processing use olson_from_tzstring(). 2011-09-13 13:12:35 +12:00
Andrew McMillan
f71859792b Handle empty groups better. 2011-09-13 08:09:50 +12:00
Andrew McMillan
997650ce79 Call method correctly. 2011-09-12 19:48:46 +12:00
Andrew McMillan
ca6b47abe2 Ensure type_id has a reasonable default value. 2011-09-12 19:27:59 +12:00
Andrew McMillan
26ce3a83f4 Fix reference to private static variable. 2011-09-12 18:58:28 +12:00
Andrew McMillan
9743c72c05 Fix DB version number and function mistakenly coded in always.php. 2011-09-12 14:36:56 +12:00
Andrew McMillan
aa05688e4e Test for IsCollection() before IsBinding() when we are deleting. 2011-09-12 10:52:16 +12:00
Andrew McMillan
39a67097f8 Get rid of unnecessary string. 2011-09-11 23:44:18 +12:00
Andrew McMillan
91f5ea62e0 These error messages should be the same. Let's not confuse the translators! 2011-09-11 00:55:23 +12:00
Andrew McMillan
6f8e2b1d6e Strip any protocol/host/port part from a MOVE Destination. 2011-09-11 00:45:29 +12:00
Rob Ostensen
a4523dc7dd don't deliver to the current user when scheduling 2011-09-10 11:22:11 +12:00
Andrew McMillan
9a5f021173 To better represent the line where errors occurred... 2011-09-10 09:09:14 +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
c6a1451f14 Fix unassigned variable warning. 2011-09-09 22:53:03 +12:00
Andrew McMillan
f4be0d071e Add support for the CalDAV:schedule-default-calendar-URL property. 2011-09-09 10:27:38 +12:00
Andrew McMillan
14e59fa781 Changing signatures of the write_resource() function. 2011-09-08 23:27:44 +12:00
Andrew McMillan
3b76856b44 Refactor write_resource to accept a DAVResource rather than just a path. 2011-09-08 13:51:31 +12:00
Andrew McMillan
1cf247cf39 Rename caldav-PUT.php to reflect it's calendaring association. 2011-09-08 13:45:15 +12:00
Andrew McMillan
7e0b88ed77 Decruftify, and allow the squid pam to use 'path' instead of 'script' in it's config. 2011-09-08 11:34: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
5665f5b2e8 Treat empty string as null in this case. 2011-09-07 23:56:34 +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
7ab6326341 Add back default relationships, which still have some utility in complex environments. 2011-08-29 09:03:10 +12:00
Andrew McMillan
c0a64931a2 When email addresses are used as user names in Davical, the
MacOS X 10.6 Addressbook cannot login to CardDav account. This
is caused by a bug in Addressbook URL parsing and cannot be
fixed on the client side. To allow "user@domainname" users to
login as "user" I created a patch which solves this problem
on server side.

There is a new configuration option:

$c->login_append_domain_if_missing

and if it is set to 1, then the "@$c->domain_name" is appended
to user login (before the authentication) if it not
contains @ character.

From 'mate' on IRC.
2011-08-28 16:35:42 +12:00
Andrew McMillan
4edb01930f Only include override components if they happen within the period. 2011-08-26 02:20:12 +12:00
Andrew McMillan
7214c586ae Logging here should be as 'PUT', in general. 2011-08-26 01:03:53 +12:00
Andrew McMillan
b4dfa9c1bf Rewriting some TODO comments as @todo 2011-08-26 01:03:13 +12:00