1457 Commits

Author SHA1 Message Date
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
Andrew McMillan
3067f367d2 Formatting. 2011-10-18 16:40:17 +13:00
Andrew McMillan
113a974799 Make sure the default relationships are created. 2011-10-18 16:39:54 +13:00
Andrew McMillan
70015d7c83 Working on fixing LDAP mappings. 2011-10-18 11:05:45 +13:00
Andrew McMillan
f0c609f169 We should map fields regardless of whether there are defaults set for anything.
They might all be mapped!
2011-10-18 10:53:03 +13:00
Andrew McMillan
3105b0a62d Fix handling of superseded defaults in LDAP field mapping. 2011-10-18 10:42:58 +13:00
Andrew McMillan
63f359d907 Support an array of server_auth_type since Kerberos can send different ones. 2011-10-16 12:03:48 +13:00
Andrew McMillan
4d1f936a8b Fix tools.php to allow importing of a directory of calendars again. 2011-10-14 11:08:17 +13:00
Andrew McMillan
2fd4a95285 Force casting to text in case someone is using integer usernames. 2011-10-14 11:07:33 +13:00
Andrew McMillan
1327fee9a8 Fix wrong array reference. 2011-10-10 22:26:33 +02:00
Andrew McMillan
5067d50215 Fix comment. 2011-10-10 13:48:05 +02:00
Andrew McMillan
d7bd5cb7d1 Fix to not use deprecated call. 2011-10-10 13:47:56 +02:00
Andrew McMillan
97eb7ec6b8 Further fix for BIT(24) handling. Also add some phpdoc. 2011-10-10 13:47:30 +02:00
Andrew McMillan
c747319ab0 Try to fix PostgreSQL 9.x cast issue. 2011-10-07 21:47:22 +02:00
Andrew McMillan
ec2c7084a8 Move 'List External Calendars' to admin menu. 2011-10-07 09:58:57 +02:00
Andrew McMillan
44ba4443f6 Move well-known.php into the include directory.
Also start to add some basic support for autodiscover.xml handling.
2011-10-07 09:58:20 +02:00
Rob Ostensen
7f3024a4b6 add a page to list externally bound calendars, still missing the edit page and a button to remove dangling entries 2011-10-07 09:46:31 +02:00
Andrew McMillan
ce77dae043 Fail more gracefully on crap encoding input. 2011-10-07 08:27:02 +02:00
Andrew McMillan
e913600c70 Switch calendar query to new getVCalendarRange() function.
This fixes various bugs in time-range handling.
2011-10-06 23:34:18 +02:00
Andrew McMillan
d54ad8f488 New function for getting the earliest_start -> latest_end for a VCalendar
Including a new RepeatRuleDateRange class and other ancillary methods.
2011-10-06 23:32:41 +02:00
Andrew McMillan
84a7ea1150 More tweaking of time-range query construction.
And there will be further work on this too...
2011-10-06 11:07:37 +02:00
Andrew McMillan
3e1e8ef031 Correct error text. 2011-10-06 11:05:58 +02:00
Andrew McMillan
f7edceeaa8 Fix regression in lock handling. 2011-10-06 11:05:44 +02:00
Andrew McMillan
0db1fed1de Fix handling where supplied content-type header is busted. 2011-10-06 11:05:15 +02:00
Andrew McMillan
7b93f913db Set limits & defaults on lock duration. 2011-10-06 08:07:59 +02:00
Andrew McMillan
3a4269136c Implement support for proposed tzid parameter on list requests. 2011-10-05 17:01:10 +02:00
Andrew McMillan
147abf71c6 When we create a timezone on PUT we should set the last_modified.
Ideally from the LAST-MODIFIED property in the VTIMEZONE, but failing
that we should at least use the gmdate() of the current time.
2011-10-05 17:00:37 +02:00