3037 Commits

Author SHA1 Message Date
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
fPXvbXrYmxTbfQg0eIAclIwd2hJQeLbwZR6I1Zg26pWMndNY31cO0nJkXp0KH9Xo
0CLFKuqkDlash1+kaRx0xO39JCVZZWT9AjG9A8FWXLD1jH9U5q/HRCqr+2+LM3Zf
3+/PNMUCgYEA4RlR8sKEpzBHFKz0sWGN8RYmIyD8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1qDbC2axqd
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
Andrew McMillan
e5eeffe935 Updated german translation. 2012-01-13 23:40:42 +13:00
Andrew McMillan
67541c73c2 Handle addressbook import along with calendar import. 2012-01-13 17:42:20 +13:00
Andrew McMillan
6b88c6b8b2 CardDAV test & result changes for new processing. 2012-01-13 17:41:09 +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
Andrew McMillan
edc075a54a Get rid of unnecessary decbin. 2012-01-13 11:27:32 +13:00
Rob Ostensen
887aa8259c Merge branch 'master' of git://repo.or.cz/davical into sched 2012-01-12 13:46:10 -06:00
Andrew McMillan
b491d914ea Allow for silly programs that send content-type XML with a GET request. 2012-01-12 18:44:28 +13:00
Andrew McMillan
c48d19895e Support use of HTTP_AUTHORIZATION in addition to AUTHORIZATION cgi.
This is supplied by older versions of FastCGI.
2012-01-12 14:01:44 +13:00
Andrew McMillan
33effe2a70 Add a default for min_age. 2012-01-12 13:59:34 +13:00
Andrew McMillan
90a34a78ec Finally really fix that permissions issue in Principal. 2012-01-12 10:26:53 +13:00
Andrew McMillan
6915ef3d49 Fix Principal::Create() for default_privileges. 2012-01-09 23:32:50 +13:00
Rob Ostensen
ebfeeb220e add checks to prevent external binds from being created or updated if curl is missing, add check to setup page 2012-01-07 14:38:58 +13:00
Rob Ostensen
063da3a23d add checks to prevent external binds from being created or updated if curl is missing, add check to setup page 2012-01-05 21:24:02 -06:00
Rob Ostensen
c9d0fcc647 Merge branch 'master' into sched 2012-01-05 20:44:04 -06:00
Andrew McMillan
067cbdc841 Release 1.0.1 r1.0.1 2012-01-05 12:30:52 +13:00
Andrew McMillan
c2efe47a61 Apply latest translations from transifex. 2012-01-05 12:06:53 +13:00