3007 Commits

Author SHA1 Message Date
Andrew McMillan
85924de63c A command-line script to load a calendar from an iCalendar file.
Currently only tested for calendars, but I suspect it will also
work just fine for an addressbook also.
2012-02-21 20:54:53 +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
Andrew McMillan
b158253e45 Work from new iana timezone registry. 2012-02-01 12:47:37 -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
9540e01cd4 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/davical 2012-01-31 09:44:41 -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
016dbefcfa Don't include the example .htaccess on Debian systems. 2012-01-31 09:22: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
e8a7a7b79a Allow specifying that this test will use Digest authentication. 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
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
fPXvbXrYmxTbfQg0eIAclIwd2hJQeLbwZR6I1Zg26pWMndNY31c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DKthes0B
z2fIkukLOu0tNIbxO9GpsjgaE3juPnl9XlkMxvkGQ5k7NTy2yRIYDFqDzT150MiM
LsIbOnXlOZVizlM8MXe65do6BNCnjNZRNj30pEHirhJsQf0eEc9+AY1qDbC2axqd
1Nf8MNl0bJ58O0ZCPnzdDNxsWp16midWoj0uceonpg1qxp7kYD2CC5/WcrsBHc8L
t3y2N9X4pamAvd0fAfVXYrzLSVvmc1b09yEq3weT4R4Jiizjb7UPPZCyarDDOUKf
jcBsPCJtBDv7al6easoCUvHviJKy48bmcFcgnyL1FfKVdIaKlyb3nLj9dFTFm/td
TQIDAQAB
-----END PUBLIC KEY-----
2012-01-26 16:08:42 -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
Andrew McMillan
170bb90d09 Correct variable name used parsing RFC5545 duration. 2012-01-25 08:13:11 +13:00
Andrew McMillan
46c8b64864 Fix problems calling import collection from external contexts. 2012-01-23 23:02:03 +13:00
Andrew McMillan
8190f35257 Allow specifying that this test will use Digest authentication. 2012-01-23 23:01:03 +13:00
Andrew McMillan
3d55f164e2 Clean up content-type checking so it's not so noisy on null content. 2012-01-23 09:43:33 +13: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
e1e357d342 Merge branch 'sched' of boxacle.net:/var/www/cave-man.org/htdocs/projects/davical into sched 2012-01-16 14:49:11 -06:00
Andrew McMillan
9b5554eac8 Make the 'append' option work. 2012-01-17 08:08:36 +13: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
cb85bb002e Merge branch 'master', remote-tracking branch 'origin' into sched 2012-01-15 22:10:28 -06:00
Rob Ostensen
1a7e1b5759 Merge branch 'master' of git://repo.or.cz/davical 2012-01-15 22:07:13 -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
Philipp Matthias Hahn
05613124ce Compute version only once
In a make-file the =-assignment is replaced textually each time it is
referenced, which leads to the shell fragments to be executed each time.
Use the :=-assignment instead, which computes the value only once.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2012-01-14 19:34:11 +13:00
Philipp Matthias Hahn
83b11a162d Use automatic Makefile variables
Instead of repeating the file names, use the automatic variables for the
target and the first source file.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2012-01-14 19:34:06 +13:00
Philipp Matthias Hahn
1e04f898e5 Make several targets .PHONY
If a file with the name of the target would exist, re-building would
fail.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2012-01-14 19:33:44 +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
927a98482f Release 1.0.2 r1.0.2 2012-01-14 10:46:56 +13:00