1719 Commits

Author SHA1 Message Date
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
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
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
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
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
Rob Ostensen
5bea2e16d1 When creating an external bind attempts to create an external bind to the local host should be excluded 2011-12-02 11:16:28 -06:00
Rob Ostensen
35e1ae64b0 Merge branch 'master' of git://repo.or.cz/davical into sched 2011-12-02 11:15:31 -06: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
Andrew McMillan
a4ddc7a6c9 Another small fix for BIT24 casting for the LDAP driver... 2011-11-26 17:27:13 +13:00
Andrew McMillan
4a934c57b0 Remove password from LDAP log messages. 2011-11-25 08:18:44 +13:00
Andrew McMillan
3929c55c9d The 404 section of a sync-report response should be a <response>
Hangover from old code.
2011-11-24 15:32:17 +13:00
Andrew McMillan
026c03d7a7 Fix for MOVE into a bound location. 2011-11-22 23:47:04 +13:00
Andrew McMillan
23d454a6d0 The tooltips for schedule-send and schedule-deliver should be different! 2011-11-21 10:54:57 +13:00
Andrew McMillan
606043b5df Handle strict result ordering for regression tests. 2011-11-21 10:54:17 +13:00
Andrew McMillan
684f2eca08 Clarify name of header. 2011-11-21 10:47:43 +13:00