2896 Commits

Author SHA1 Message Date
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
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
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
Andrew McMillan
5df8e7c0b5 Fix missing braces around admin restriction. 2012-01-05 11:26:58 +13:00
Andrew McMillan
70f6587a18 Release 1.0.0 r1.0.0 2012-01-04 16:48:45 +13:00
Andrew McMillan
ea465c5285 Website tweaks. 2012-01-04 16:19:29 +13:00
Andrew McMillan
d226395258 Minor updates to tests. 2011-12-14 22:19:16 +13:00
Andrew McMillan
71b90d367a Handle bound resources correctly in sync-collection report. 2011-12-14 22:18:24 +13:00
Andrew McMillan
e641ed0876 Catch missing-xml in request separately from invalid-xml. 2011-12-14 22:18:14 +13:00
Andrew McMillan
1d424693ad Fix missing END:VCALENDAR. 2011-12-07 14:55:22 +13:00
Andrew McMillan
23dd6285d7 Add the "CardDAV" word into DAViCal's description. 2011-12-07 14:55:03 +13:00
Andrew McMillan
612ac73a30 Try to short-circuit so we only do expansion if we know we need it. 2011-12-07 14:53:26 +13:00
Andrew McMillan
b4e50d8803 One more sync-action in prior tests. 2011-12-03 14:22:09 +13:00
Andrew McMillan
6483b562ca Now returning a slightly informative error message. 2011-12-03 14:21:34 +13:00
Andrew McMillan
77a0fe293b Fix date-time formatting. 2011-12-03 14:20:43 +13:00
Andrew McMillan
65319da222 Switch to non-deprecated name. 2011-12-03 14:20:24 +13:00
Andrew McMillan
7332b7820d Note in phpdoc that this is deprecated and what to use instead. 2011-12-03 14:20:12 +13:00
Andrew McMillan
f0e60b8fb2 Use supplied content_type even on zero-length requests. 2011-12-03 14:19:50 +13:00
Rob Ostensen
44df9b9f32 When creating an external bind attempts to create an external bind to the local host should be excluded 2011-12-03 14:18:23 +13:00
Andrew McMillan
91d6a69899 Strip URL-unfriendly characters from UID before using it as URL segment. 2011-11-30 09:17:28 +13:00
Andrew McMillan
65c420679b Fix missing bracket. 2011-11-30 08:38:22 +13:00
Andrew McMillan
f1519a7f1f Slightly more helpful 403 response. 2011-11-29 23:34:50 +13:00
Andrew McMillan
0ff0f66b2d Fix logic error in hide_TODO setting. 2011-11-27 22:02:25 +13:00
Andrew McMillan
ea5a7987e4 Make hide_alarm work on bound resources. 2011-11-27 22:02:11 +13:00