1551 Commits

Author SHA1 Message Date
Andrew McMillan
af6cbc335a Fix reference to $domain should be $this->domain. 2012-03-12 13:18:28 +13:00
Andrew McMillan
e4d77756e6 Add $c->auto_refresh_duration option to set a auto refresh on any GET calendar. 2012-03-12 13:02:49 +13:00
Andrew McMillan
8d4dfb5d91 Handle HTTP date formatting for non-english locales (force English names). 2012-03-12 13:02:11 +13:00
Rob Ostensen
ff006ce319 verify required headers are signed 2012-03-12 12:38:49 +13:00
Rob Ostensen
db57e81b8d add disallowed header check and some comments 2012-03-12 12:38:42 +13:00
Rob Ostensen
e7afaef931 fix a few external BIND import bugs 2012-03-12 12:38:22 +13:00
Andrew McMillan
70222291c7 Formatting changes. 2012-03-02 08:57:38 +13:00
Andrew McMillan
df9a8a8911 Avoid variable not assigned warning. 2012-03-02 08:55:09 +13:00
Andrew McMillan
c36982c22f Fix bug introduced with iSchedule support. 2012-03-02 08:54:46 +13:00
Andrew McMillan
4e3cc98f39 Fix defaulting of Depth value for newer PHP versions. 2012-03-02 08:54:13 +13:00
Andrew McMillan
62cf11684d Split major functionality out of GET into it's own include. 2012-02-24 11:18:28 +13:00
Andrew McMillan
f5d2b397fd Only send a Content-Length if the length is > 0 2012-02-24 11:17:54 +13:00
Andrew McMillan
a29968a6cd Detect unsupported sync-level and return specified error.
This covers the -08 of the webdav synchronisation draft.
2012-02-05 09:45:00 -08:00
Andrew McMillan
9397b7dbcd Force casting of user_no to integer. 2012-02-05 09:42:32 -08:00
Rob Ostensen
b11ff47ef6 ischedule: more correct error codes 2012-02-01 12:46:05 -08:00
Rob Ostensen
1834628ae3 remove some of the debugging cruft 2012-02-01 12:46:00 -08: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
Rob Ostensen
d9c64f436e ischedule: correctly set the attendee value on freebusy replies, this one actually works 2012-02-01 12:45:45 -08:00
Rob Ostensen
e00310a56a ischedule: actually add attendee to freebusy reply ics 2012-02-01 12:45:34 -08:00
Andrew McMillan
e9e5073eb5 Implement support for 'Brief' header.
Also add VPOLL and VAVAILABILITY to list of supported components.
2012-01-31 09:23:59 -08:00
Andrew McMillan
beee46dd3c Correct variable name used parsing RFC5545 duration. 2012-01-30 22:25:03 -08:00
Andrew McMillan
9c7083be24 Fix problems calling import collection from external contexts. 2012-01-30 22:25:03 -08:00
Andrew McMillan
5b6d708ba4 Clean up content-type checking so it's not so noisy on null content. 2012-01-30 22:25:03 -08:00
Andrew McMillan
f3b1f7fe98 Make the 'append' option work. 2012-01-30 22:25:02 -08:00
Rob Ostensen
5359e6fb98 ischedule: make invites and replies work 2012-01-31 00:19:45 -06:00
Rob Ostensen
86cfed0dd0 iSchedule: minor fix 2012-01-30 21:21:06 -06:00
Rob Ostensen
f0e912da7e iSchedule changes: fix signed domain, better error handling, cleanups 2012-01-30 21:18:10 -06:00
Rob Ostensen
70fb506ed1 ischedule freebusy should work now 2012-01-30 20:29:48 -06:00
Rob Ostensen
86990f4538 closer to a working version 2012-01-30 19:46:36 -06:00
Rob Ostensen
31f9fdd505 fix xml queries 2012-01-29 12:14:20 -06:00
Rob Ostensen
c46a8aa74d debug logging and some typo fixes 2012-01-26 19:42:59 -06:00
Rob Ostensen
b8ce63a204 return calendar contents if present otherwise return status 2012-01-26 16:17:30 -06:00
Rob Ostensen
c3ec1016a1 remote scheduling requests should work now, still need to handle ADD/CANCEL requests 2012-01-26 16:02:02 -06:00
Rob Ostensen
73718a9ded iSchedule internal round trip with headers and body signing then verification working 2012-01-16 19:08:06 -06:00
Rob Ostensen
f55fd015a9 reformatting to match the rest of DAViCal and a few code changes 2012-01-15 22:19:38 -06:00
Rob Ostensen
8a133dce92 Merge branch 'master' of git://repo.or.cz/davical into sched 2012-01-15 12:27:18 -06:00
Andrew McMillan
3f8fafccb6 Starting on a vtimezone object. 2012-01-15 21:33:45 +13:00
Andrew McMillan
a47e3d9d8b <?php should be in lower case. 2012-01-15 21:33:12 +13:00
Andrew McMillan
f9998cb782 If an external source can supply a useful timezone name, we can use that. 2012-01-15 20:44:46 +13:00
Andrew McMillan
7140963e49 Allow user_no, created and modified to be set on create. 2012-01-15 20:44:10 +13:00
Philipp Matthias Hahn
fb3eca0b07 Use If-Modified-Since-HTTP-Header
Skip downloading a potentially huge calendar file if it the same as out
local copy, using the If-Modified-Since-HTTP-Header.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2012-01-14 19:36:25 +13:00
Philipp Matthias Hahn
c9467618d7 Fix remote time comparison
The PostgreSQL database returns a string like "2013-01-11
18:37:36.737665+01", while curl returns the file-modification-time as a
string repesenting the secondes since the UNIX epoche. Comparing them as
strings us wrong.

Convert them to DateTime() instances instead.
And only do this when the filetime is actually returned.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2012-01-14 19:34:41 +13:00
Andrew McMillan
45eb571c15 Probably a smidgin more efficient this way around. 2012-01-14 19:10:09 +13:00
Andrew McMillan
329f8b51dc LDAP driver should not log password unless password logging is specifically on. 2012-01-14 19:09:53 +13:00
Andrew McMillan
67541c73c2 Handle addressbook import along with calendar import. 2012-01-13 17:42:20 +13:00
Andrew McMillan
03844f7972 Allow adr/tel/email to have TYPEset multiply. 2012-01-13 17:40:32 +13:00
Andrew McMillan
e05253327f Set the default URL to the default calendar name rather than /home/ 2012-01-13 17:34:40 +13:00
Andrew McMillan
2b26ca7d25 Enable the file upload for addressbook collections. 2012-01-13 17:34:11 +13:00
Andrew McMillan
209ff04495 Write UID and REV property if they are missing.
Also allow for TYPE to be multiple for EMAIL/ADR/TEL when parsing.
2012-01-13 17:33:39 +13:00
Andrew McMillan
fa4843d521 This needs to be a vCalendar to do scheduling actions now.
Viz.: dmz-sv-cal.physik.uni-muenchen.de-error_log-20120108:[Wed Jan 04 14:26:16 2012]
[error] [client 10.153.220.88] PHP Catchable fatal error:  Argument 1 passed to
handle_schedule_reply() must be an instance of vCalendar, instance of vComponent
given, called in /usr/share/davical/inc/caldav-POST.php on line 144 and defined
in /usr/share/davical/inc/caldav-PUT-functions.php on line 270
2012-01-13 11:28:44 +13:00