4023 Commits

Author SHA1 Message Date
Andrew McMillan
395d14d85d Avoid using unassigned element. 2012-06-11 18:27:38 +12:00
Andrew McMillan
4a3b5c7051 Depend on newer version of libawl-php 2012-06-11 17:29:49 +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
cf934f8a90 Release 1.1.0 2012-05-28 21:27:15 +12:00
Andrew McMillan
2f59a1a172 Handle relative file references better, 2012-05-28 08:07:07 +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
1f5d8ddcac Updated & new regression tests for various XML processing changes. 2012-05-20 21:50:30 +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
9e64d3a5fa Test result of PROPFIND on / 2012-05-14 23:27:22 +12:00
Andrew McMillan
6730055288 Further tests for BIND, particular transitive BINDs. 2012-05-14 23:27:04 +12:00
Andrew McMillan
a32d1f2ac2 Avoid unassigned variable warning. 2012-05-14 23:26:30 +12:00
Andrew McMillan
483683d3f6 Result ordering and other trivial regression test changes. 2012-05-14 23:26:12 +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
5e195b151e A function which can expand collections inside collections.
Including through bindings.
2012-05-05 23:00:28 +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
f05063fedf When logging failed anonymous access, don't crash and burn. 2012-05-05 17:02:22 +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
0d2ef3475d Change the collection ids used in regression testing - modified results. 2012-05-05 16:57:05 +12:00
Andrew McMillan
24d51de757 Change the collection ids used in regression testing. 2012-05-05 16:50:08 +12:00
Andrew McMillan
77fae8cacc A more efficient query for GET including sub-collections. 2012-05-03 20:29:49 +12:00
Andrew McMillan
4c41d63a56 Fix getctag replacement in this test. 2012-05-03 20:28:44 +12:00
Andrew McMillan
677513b49d Current regression test results. 2012-05-03 19:12:42 +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
7f60277b83 Always default the timezone to something, even if the user did not. 2012-05-03 15:42:28 +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
Andrew McMillan
d2d12bbe04 Need $request globally in this function 2012-04-19 18:01:04 +12:00
Andrew McMillan
2115926b5d Correct response code for PROPPATCH and add support for Brief header. 2012-04-19 08:42:38 +12:00
Andrew McMillan
64cc138bc4 Handle modified which is just YYYYMMDDHHMMSS with no indication of datedness. 2012-04-18 23:49:59 +12:00
Andrew McMillan
b8b72d8470 Fix bug in "Edit" of existing grant. 2012-04-18 16:50:58 +12:00