Commit Graph
1636 Commits
Author SHA1 Message Date
Andrew McMillan 622512e156 Fix handling of Basic Auth headers. 2012-07-08 11:58:12 +12:00
Andrew McMillan c846104d94 Those damn numeric usernames will get you every time. 2012-07-03 23:45:20 +12:00
Andrew McMillan a555fdad40 Deny calendar-query report on root, principal or addressbook
Even if recursive report is enabled.
2012-07-02 22:40:43 +12:00
Andrew McMillan c70c4e40a5 Fix timestamp matching regex. 2012-07-02 21:11:59 +12:00
Andrew McMillan 9eb023f7ef Handle allprop and ommission of prop tag in calendar-query. 2012-06-30 16:04:57 +12:00
Andrew McMillan b281fe8d63 Fall back to using DAVResource for obscure properties. 2012-06-30 16:04:24 +12:00
Andrew McMillan 8417e59918 Better timezone handling for alarm times. 2012-06-30 16:03:53 +12:00
Andrew McMillan 55aefbecce Try to trace how we get caldav.php/ doubled in a path. 2012-06-30 16:03:25 +12:00
Andrew McMillan 9898c42767 Include memory in statistics log. Option to killing current process after exceeding a memory limit. 2012-06-28 22:17:03 +12:00
Andrew McMillan ca19d2369a Fix DISTINCT clause where DAViCal is configured to allow recursive calendars. 2012-06-27 12:16:38 +12:00
Andrew McMillan 35a5518971 Catch 'events' without a DTSTART gracefully and ignore them. 2012-06-25 08:02:08 +12:00
Andrew McMillan 7e1a5905ad Fix notification of deletes when hide_older_than is set. 2012-06-21 22:00:23 +12:00
Andrew McMillan 012a98282f Fix call to BuildDeadPropertyXML. 2012-06-19 10:26:53 +12:00
Andrew McMillan 5ff5933d0c Allow a configurable path replacement regex.
This can simplify migration from .../home/... to .../calendar/...
for example.
2012-06-17 22:25:25 +12:00
Andrew McMillan ec3996bca7 Decide whether we can write the principal before we refer to it... 2012-06-14 21:16:13 +12:00
Andrew McMillan 1cfc01758d When a VEVENT has an invalid repeat frequency we pretend it is DAILY.
And log an error, just to be obnoxious.
2012-06-14 13:37:13 +12:00
Andrew McMillan 2538835a12 Seems that change to output buffer flushing is problematic with zlib. 2012-06-14 13:36:15 +12:00
Andrew McMillan d1c2179bbb Allow a user delegated write access to the principal to maintain it. 2012-06-11 19:43:05 +12:00
Andrew McMillan 395d14d85d Avoid using unassigned element. 2012-06-11 18:27:38 +12:00
Andrew McMillan 46addb00fd Fix some final niggles with setup.php and spurious logged errors. 2012-05-30 23:04:10 +12:00
Andrew McMillan 649be5b452 Add support for $c->hide_older_than to this report.
Based on a suggestion from Ján Máté.
2012-05-28 07:37:41 +12:00
Andrew McMillan 2808bab03b Simplify using GetPath() method. 2012-05-20 21:42:54 +12:00
Andrew McMillan cac1dd1fd0 Use fully namespaced tags. 2012-05-20 21:42:34 +12:00
Andrew McMillan 51e8ddd032 Use fully namespaced tag. 2012-05-20 21:42:19 +12:00
Andrew McMillan b32e2cc452 Fix storing / regurgitating of XML fragments in dead properties.
Requires updated AWL to match.
2012-05-20 21:41:32 +12:00
Andrew McMillan 0070914394 Fix typo. 2012-05-19 10:00:33 +12:00
Andrew McMillan be5227f0ca Add support by Ján Máté for arbitrary collections to create on user creation. 2012-05-15 08:19:58 +12:00
Andrew McMillan 98fe8a9e19 Don't disable upload field. Use library to create 'append mode' field. 2012-05-15 00:21:35 +12:00
Andrew McMillan a32d1f2ac2 Avoid unassigned variable warning. 2012-05-14 23:26:30 +12:00
Andrew McMillan a267a25165 Retry contacting LDAP server and fail with 503 if unavailable.
We can't call $request->DoResponse() at this point because we haven't
done all that stuff yet...
2012-05-14 22:57:52 +12:00
Andrew McMillan 724a549502 Fix thinko. 2012-05-14 22:26:17 +12:00
Andrew McMillan 2ca6093e44 Reduce unnecessary logging. 2012-05-14 21:03:54 +12:00
Andrew McMillan 45d1fd817e Query efficiency fixes. 2012-05-14 21:03:42 +12:00
Andrew McMillan 054e25eac2 You need the library to do the external update. 2012-05-14 21:03:22 +12:00
Andrew McMillan e88d22ec76 Improve query efficiency. 2012-05-14 21:02:58 +12:00
Andrew McMillan 6278dcb4ea Bugfix replacing $row->dav_id with $row->collection_id and lots of whitespace fixes. 2012-05-14 21:02:38 +12:00
Andrew McMillan 47363b4f41 We should error 500 when we have an exception that isn't caught. 2012-05-14 20:54:43 +12:00
Frank Steinberg 0c582b9147 Attendees can only modify own event instance and own PARTSTAT on all attendees' instances. Lookup event upon incoming scheduling messages in ANY calendar, not just the default schedule calendar.
Hi,

this proposed patch does the following:

- When an attendee (not the organizer) modifies an object, these modifications should be applied completely to that user's instance of the object. However, the organizer's and other attendees' instances should not be modified in most aspects: Only the attendee's own PARTSTAT modification should be distributed to the organizer's and other attendees' instances. E.g. modifications on VALARMs or TRANSP settings are individual to that single user that sends the modification.
  However, I have doubts whether the organizer should be able to apply such modifications on all attendees' instances, once they exist for other attendees. Currently, I did not yet change this behavior.

- When a user receives an invitation in his schedule-default-calendar, he might move it to another calendar. When a subsequent modification to the event arrives, another instance (with the same UID!), is created in the schedule-default-calendar. This patch makes the server search for an instance of the event in any of the receiving user's calendar, so that no event duplicates are created.

I am not really familiar with the code as a whole, so that the way I implemented these changes is probably not "correct".

Regards,

 -frank
2012-05-07 09:30:03 +12:00
Andrew McMillan b1256ecb6e When a bind is made to an existing bind, bind to the target of that. 2012-05-05 22:57:43 +12:00
Andrew McMillan 58fe06586e When matching a URL and we have something without a trailing slash, it could also be a binding. 2012-05-05 17:01:40 +12:00
Andrew McMillan 77fae8cacc A more efficient query for GET including sub-collections. 2012-05-03 20:29:49 +12:00
Andrew McMillan 4907d6992e A default timezone if there is not one set in the PHP configuration. 2012-05-03 19:12:22 +12:00
Andrew McMillan 155c70bba5 Changes to the way XML is created, and (to a lesser extent) parsed. 2012-05-03 19:11:28 +12:00
Andrew McMillan 33a84595a0 Merge 'Brief' header support into support for "Prefer: return-minimal"
Also reduce error noise from sending headers when output might already
have started, or trying to flush the output buffer when there isn't one.
2012-05-03 19:09:48 +12:00
Andrew McMillan acc6c719f7 Simple changes for new XML processing. 2012-04-30 14:13:03 +12:00
Andrew McMillan 169b78efa6 Add log_caldav_action() hook on addressbook writes. 2012-04-30 13:27:34 +12:00
Andrew McMillan 3d694a301f If there are no instances ensure earliest_start still gets a value. 2012-04-30 13:27:25 +12:00
Andrew McMillan 9ee6f37d77 Make it possible to see output from /setup.php when DB is unavailable.
Also depends on some changes to AwlDbDialect/AwlQuery.
2012-04-22 10:01:40 +12:00
Daniel Aleksandersen 0d6d43560a Fix failing principal creation for new users using IMAP PAM
auth. Date format was not specified. Returned boolean TRUE
 instead of an actual date in the query.
2012-04-22 09:56:12 +12:00
Daniel Aleksandersen ecbc9f6a4d Provide user feedback when php5-imap is missing. 2012-04-22 09:47:22 +12:00