1483 Commits

Author SHA1 Message Date
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
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
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
Andrew McMillan
54e89d407b Don't allow a / in the UID to infect the path on import. 2011-11-09 09:55:57 +13:00
Rob Ostensen
f7420b1a9b fix propfind depth:1 on bind to external url 2011-11-09 09:17:22 +13:00
Andrew McMillan
372a6a0a2c If this message has an ORGANIZER elsewhere then we give up.
One day we should maybe send a server-side e-mail to them, but
for now that doesn't happen...
2011-11-02 18:43:51 +13:00
Andrew McMillan
b50b2d82ea Force output buffers to be flushed, if they're turned on.
If output buffering is turned on, PHP can be a bit slack about sending
the data to the client before closing the connection with exit(). These
changes ensure we call ob_flush() before we leave.  We call @ob_flush()
so we don't get noisy warnings when output buffering is off...
2011-11-02 18:43:10 +13:00
Andrew McMillan
b3c873d2bb Correct handling of empty CardDAV:address-data element in request. 2011-11-02 10:15:32 +13:00
Andrew McMillan
d8d16c8ee9 Checkpoint the current code for scheduling on DELETE . 2011-11-02 01:30:45 +13:00
Andrew McMillan
fc0db0e23b Fix handling of active flag for general external authentication mechanisms. 2011-11-01 17:47:06 +13:00
Andrew McMillan
10afabbeb9 Rationalise confidential event rewriting and fix $c->hide_alarm function. 2011-10-31 13:15:49 +13:00
Andrew McMillan
02b6d47082 Add the $c->hide_alarms functionality into DAVResource class. 2011-10-30 16:05:14 +13:00
Andrew McMillan
3cc3396d67 Careless typos in code I can't execute :-( 2011-10-29 00:52:54 +13:00
Andrew McMillan
6dcdc9442f Fix missing bracket typo. 2011-10-29 00:48:23 +13:00
Andrew McMillan
384eabdff3 Allow LDAP sync to work if the date is reasonable and no 'format_updated' is set. 2011-10-28 14:30:55 +13:00
Andrew McMillan
1148f0cbc8 Catch more instances of deprecated mapping names. 2011-10-28 14:25:32 +13:00
Andrew McMillan
7cee724a87 Switch out deprecated LDAP mappings before we use them anywhere.
Otherwise the new ones aren't going to work properly!
2011-10-28 14:01:55 +13:00
Andrew McMillan
abbae2b13b Fix LDAP user creation where memcached support is off.
In the event we aren't using memcached we can still initialize at
least the value we were supplied to find the Principal with.
2011-10-28 10:53:27 +13:00
Andrew McMillan
cf43ee224d And this. These are for command-line scripts using DAViCal. 2011-10-27 08:50:30 +13:00
Andrew McMillan
9e6c3cffe7 We need the DAVPrincipal module here in some situations. 2011-10-27 08:47:19 +13:00
Andrew McMillan
cf9af97028 We need $c to be global here. 2011-10-25 08:14:45 +13:00
Andrew McMillan
326b67bc26 A couple more places restricting numeric usernames. 2011-10-25 08:14:25 +13:00
Rob Ostensen
2de1327934 more external bind changes, added a clean up button, urls now show for external collections and added a few strings for translation 2011-10-24 21:18:04 +13:00
Andrew McMillan
8ba55217df More fixes to CalDAV Scheduling
- Handle REPLY from ATTENDEE accepting/declining meeting.
- Handle processing on ORGANIZER further changing meeting.
2011-10-24 18:38:48 +13:00
Andrew McMillan
98fa892dfd Add a config setting to force unnecessary FBTYPE parameter in freebusy response. 2011-10-20 12:22:17 +13:00
Andrew McMillan
160d87f5d2 PROPPATCH response should contain a propstat clause. 2011-10-20 12:21:42 +13:00
Andrew McMillan
fbd08e42c6 Fixes to calendar_auto_schedule.
- Update the SCHEDULE-STATUS parameter correctly when writing the event
to the organiser.
- Don't include ETag in PUT response when scheduling actions occur.
- Write scheduling resources to attendee calendars even when this is
an event modification.
2011-10-20 12:19:08 +13:00
Andrew McMillan
899ba17c1a Handle DTSTART/DTEND/DUE/COMPLETED as appropriate for VTODO/VEVENT
When calculating the overlap of a VTODO COMPLETED was being missed.
2011-10-18 23:04:29 +13:00
Andrew McMillan
2377001d42 A basic, untested, handler for /autodiscover/autodiscover.xml 2011-10-18 16:42:17 +13:00