1346 Commits

Author SHA1 Message Date
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
Andrew McMillan
a6c23f3e1a [Incomplete] Add overridden components into event expansion.
We need to make sure this only inserts overrides that are within
the expansion period, or which override events within the expansion
period, but this quick hack is better than not doing it at all!
2011-08-25 15:07:04 +12:00
Rob Ostensen
a6ff1760f2 make refreshing actually work 2011-08-25 14:17:36 +12:00
Rob Ostensen
b2ef0b0bf2 Add the required fields to dav_binding and clean up the SQL to better match the rest of the source.
Add a header/last-modified check to skip the import on calendars that haven't changed.
2011-08-25 14:17:28 +12:00
Rob Ostensen
6331c50003 initial support for remote url BINDing 2011-08-25 14:17:15 +12:00
Andrew McMillan
55398e3540 PROPPATCH is allowed on binds. 2011-08-25 14:15:37 +12:00
Andrew McMillan
b901981c7c Fix calendar-query handling of properties. 2011-08-24 20:38:32 +12:00
Andrew McMillan
a8024d2633 Fix XML output of <error> block. 2011-08-23 10:47:00 +12:00
Andrew McMillan
452cd69100 Handle <prop> following <filter> & a single-ended time filter. 2011-08-23 10:44:37 +12:00
Andrew McMillan
db9083b587 Include tablename qualifier. 2011-06-03 14:46:33 -07:00
Andrew McMillan
2a1af89c77 Fix further issues with prop-filter handling. 2011-06-03 13:59:35 -07:00
Andrew McMillan
5e3ed8dedc Fix bug handling multiple prop-filter clauses. 2011-06-03 13:43:25 -07:00
Andrew McMillan
06dcb0b166 Tidy up formatting. 2011-06-03 13:41:53 -07:00
Andrew McMillan
71831f8e5f This is not a todo item, it's a comment. 2011-06-03 13:39:20 -07:00
Andrew McMillan
996bbedab2 Allow the calendar-query expansion to return all events in floating time. 2011-05-31 23:08:32 -07:00
Andrew McMillan
4bba200385 Add first cut implementation of principal-match report. 2011-05-18 23:39:46 +12:00
Andrew McMillan
17104fc027 The correct fix: refer to static class variables with the correct syntax :-) 2011-05-18 23:36:39 +12:00
Andrew McMillan
03c1cb7cc7 Try and workaround some PHP versions not initialising static instance
vars.
2011-05-18 23:19:47 +12:00
Andrew McMillan
4a72ff16a3 Respond with 5.3; no Scheduling Support for user rather than 3.7
Also allow for this response when someone manually disables
the scheduling extensions support.
2011-05-17 00:21:08 +12:00
Andrew McMillan
b301a36aca When sync-collection is asked for data, only return it if < 50 rows.
The resource data element is not *actually* allowed, per the spec, but
some clients do use it, and some servers do support it.  In the case
of an initial sync which requests it we don't want to send down a huge
response to an ill-considered client.
2011-05-13 14:54:28 +12:00
Andrew McMillan
54bc63e90f caldav-client fix from Jorge. 2011-05-13 14:54:28 +12:00
Andrew McMillan
086c7e5f12 Debugging, but commented out in case it's needed in the future. 2011-05-13 14:54:28 +12:00
DAViCal Administrator
13fa85d8ab Only rollback if we are in a transaction. 2011-05-12 17:44:52 -04:00
Andrew McMillan
d6916b205c Add another search path for Fedora. 2011-04-07 23:33:44 +12:00
Andrew McMillan
72baec50a7 Handle triggers that are after the thing they are related to.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-04-04 18:02:42 +12:00
Andrew McMillan
48f83e7c92 Reinstate Basic Auth fallback disabled for testing.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-04-03 21:36:13 +12:00
Andrew McMillan
d83d7a0ef2 Fix raw_post handling for other front-ends.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-04-03 21:34:59 +12:00
Andrew McMillan
ba1e80d185 Add support for Digest authentication.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-04-03 20:38:46 +12:00
Andrew McMillan
1816d313bd Move header logging from CalDAVRequest to caldav.php
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-04-03 20:38:23 +12:00