1408 Commits

Author SHA1 Message Date
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
Andrew McMillan
7e5b6a28b6 We need to coalesce the last_modified data as well as the created. 2011-10-05 16:59:32 +02:00
Andrew McMillan
060eeb1b54 changedsince is > not >= :-) 2011-10-05 11:47:59 +02:00
Andrew McMillan
9860f6a013 Expand also has a dtstamp that needs to be set correctly. 2011-10-05 11:45:52 +02:00
Andrew McMillan
36d35410a2 Don't send an empty lang attribute. 2011-10-05 11:42:59 +02:00
Andrew McMillan
3559f6e932 Fix the last_modified and dtstamp? Nearly? 2011-10-05 11:20:58 +02:00
Andrew McMillan
e6ddf79f3e Correct the last modified value for the timezone server. 2011-10-05 10:54:52 +02:00
Andrew McMillan
3d598f290d Fix headers. 2011-10-05 21:03:52 +13:00
Andrew McMillan
9e8e0e6898 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/davical 2011-10-05 20:42:19 +13:00
Andrew McMillan
46f0bd289a Errors in timezone protocol should be in timezone xmlns 2011-10-05 09:41:33 +02:00
Andrew McMillan
850baa0dbf Support gzip/deflate/compress encoding of incoming entity for PUT etc. 2011-10-05 09:41:00 +02:00
Andrew McMillan
adc9849bac Merge branch 'master' of git+ssh://repo.or.cz/srv/git/davical
Conflicts:

	inc/tz/get.php
2011-10-05 20:20:37 +13:00
Andrew McMillan
04482d5033 Fix Content-Disposition. 2011-10-05 09:19:03 +02:00
Andrew McMillan
dd08c6f890 Fix Content-Disposition. 2011-10-05 09:17:54 +02:00
Andrew McMillan
5077ca16af Add a content-disposition header. 2011-10-05 09:09:44 +02:00
Andrew McMillan
bcb1710d3c Add 'helpful' support for content-encoding on PUT for Helge :-) 2011-10-04 16:17:19 +02:00
Andrew McMillan
8e18449096 Updated MKCOL/MKCALENDAR to support setting a supported-calendar-component-set 2011-10-03 17:57:28 +02:00
Andrew McMillan
323e6a3011 The final revision of the sync-collection report requires the token to be a URI.
We'll use a 'data' URI (like CalendarServer does) to jump through this
arbitrary hoop.
2011-10-03 16:29:11 +02:00
Andrew McMillan
31ed1a4188 Correctly create the addressbook collection as an addressbook. 2011-10-03 13:46:06 +02:00
Andrew McMillan
c4f8ec2b15 Fix the way default privileges are set for the SQL. 2011-09-30 15:16:08 +02:00
Andrew McMillan
0feb4e23d5 Fix bug handling COUNT= with BYDAY=multiple and FREQ=WEEKLY 2011-09-28 13:35:29 +08:00
Andrew McMillan
e64f92ff86 Fix handling of BYMONTHDAY=-N in repeat rules.
It seems PHP's date::setDate function doesn't do what we want when
you hand it a negative integer so we need to override a little more
of it's behaviour.  We have to make sure that date::modify is not
called with a days greater than the month we might land in when we
add a number of months to it.
2011-09-28 05:21:31 +08:00
Andrew McMillan
90c075a59b New RIMAP driver by Paul van Tilburg. 2011-09-27 11:28:28 +13:00
Andrew McMillan
2127c294a3 Various small fixes preparing for release.
Correct logic for auto-creating addressbook for new user.
Fix non-creation of default addressbook.
Fix principal/collection edit to allow write of no privileges.
Fix collection edit timezone list to use new table.
Update davical & libawl version in always.php.
Regression test changes with update to davical.sql.
2011-09-25 22:29:31 +13:00
Andrew McMillan
32662509e9 When external authentication is optional, check internal first.
Internal authentication will always succeed or fail quickly, whereas
external auth may fail slowly, so we check the known quick failure case
first.
2011-09-24 14:31:00 +12:00
Andrew McMillan
963f23110d Hopefully nail that last LDAP niggle. 2011-09-24 12:57:14 +12:00
Andrew McMillan
78e756e8a4 Add source/contact information to capabilities. 2011-09-24 12:56:53 +12:00
Andrew McMillan
d6ea96d2a0 Do all calculation of onset times in UTC (fixing some bugs). 2011-09-23 13:06:25 +12:00
Andrew McMillan
b6f2f9c7da Move the zone update code out of an online process. 2011-09-22 15:34:52 +12:00
Andrew McMillan
d4e29a91b6 $_SERVERS['SERVER_PORT'] might not be set in some circumstances. 2011-09-22 13:46:26 +12:00
Andrew McMillan
b3758feb2b Forgot to declare use of $c 2011-09-22 09:42:59 +12:00
Andrew McMillan
df3a901c91 Rather than fixing in drivers_ldap, fix properly in Principal class.
This fixes a bug in the Principal class when updating where
fields are set on the principal, but are not being updated and
end up getting set to NULL as a result.
2011-09-22 09:40:10 +12:00
Andrew McMillan
bc36ff60a3 Update timezone database from remote server. 2011-09-22 07:54:09 +12:00
Andrew McMillan
fe659b4aaa Set 'active' and 'default_privileges' fallback values. 2011-09-22 07:53:04 +12:00
Andrew McMillan
e149c7ebc7 Fix formatting of dates in XML. Fix name of ETag header. 2011-09-21 00:51:38 +12:00
Andrew McMillan
2608eef8e2 Allow to override the format for output. 2011-09-21 00:50:06 +12:00
Andrew McMillan
07f5e14857 The tz/expand action - basically we have a timezone service now. 2011-09-19 23:52:22 +12:00
Andrew McMillan
7f45695b62 Fix XMLNS on tz/list 2011-09-19 23:51:46 +12:00
Andrew McMillan
0605bfab46 Error response when requested tz format is not supported. 2011-09-19 12:35:21 +12:00
Andrew McMillan
d6524a87f4 Rewrite time-range SQL clauses for greater clarity. 2011-09-19 12:34:26 +12:00
Andrew McMillan
b569f93858 Fixes to tz/get. 2011-09-19 11:25:13 +12:00
Andrew McMillan
eaeec0bc02 This is the fix we are looking for regarding time-range queries. 2011-09-19 11:08:44 +12:00
Andrew McMillan
64e98acd1a Start to support 'get' action. 2011-09-19 08:41:55 +12:00
Andrew McMillan
1e81d0325e Support strict result ordering in list for consistent regression answers. 2011-09-19 08:41:27 +12:00
Andrew McMillan
45ed6fb3f4 list & updatecheck actions are now working to load all Olson zones from files. 2011-09-19 08:40:54 +12:00
Andrew McMillan
5f4b40a643 One more fix for timezone database changes. 2011-09-18 17:03:37 +12:00
Andrew McMillan
f9ad324ba1 Adjustments to timezones representation in the database to support timezone protocol. 2011-09-17 23:40:04 +12:00
Andrew McMillan
b160ead5a0 Basic 'capabilities' response for timezone protocol. 2011-09-17 17:59:36 +12:00
Andrew McMillan
67ccb2ae03 Fix an error in calendar-query handling of time-range queries. 2011-09-17 15:38:57 +12:00
Andrew McMillan
af3478cd25 [Unfinished] Migrating away from deprecated iCalendar class.
This is working, to a point...  Some regression tests are still failing
and I need to investigate why, but this is substantially finished. The
remaining fixes will need to be in AWL/vCalendar in any case.
2011-09-14 23:05:20 +12:00