2758 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
fde9af2a07 The changedsince or changesince parameter has an uncertain name. 2011-10-05 11:42:40 +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
6500f73133 Add protocol://hostname onto location header per spec. 2011-10-05 09:40:24 +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
72c25cf799 Pass through any GET parameters on the .well-known/timezone URL. 2011-10-05 08:53:32 +02:00
Andrew McMillan
f01e6f5eb5 If we didn't actually GET an action, don't have an ugly PHP error. 2011-10-05 08:41:27 +02:00
Andrew McMillan
f3cf86741c Fix handling of .well-known where the base handler is not caldav.php 2011-10-05 08:41:00 +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
c41f4071e4 Get rid of unsightly error due to removal of time_zone table. 2011-09-30 11:56:35 +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
11892c4e97 Release 0.9.9.6 r0.9.9.6 2011-09-27 13:27:56 +13:00
Andrew McMillan
6679e31862 Rename test result without spaces. 2011-09-27 12:12:22 +13:00
Andrew McMillan
90c075a59b New RIMAP driver by Paul van Tilburg. 2011-09-27 11:28:28 +13:00
Andrew McMillan
e4464b5002 Add some useful scripts to package. 2011-09-27 11:27:48 +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
6d89db58d0 Fix setting of PG password from administration.yml during upgrade. 2011-09-24 14:29:41 +12:00
Andrew McMillan
105af2c1b1 Preparing to release 0.9.9.6 2011-09-24 12:59:23 +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
cd7f8c35f2 Update to version 1.2.11 2011-09-24 12:56:11 +12:00
Andrew McMillan
20c3819f85 Output a note regarding which tzdata version we are using as primary source. 2011-09-23 13:08:02 +12:00
Andrew McMillan
037506f205 Add regression test for remote data load. 2011-09-23 13:07:37 +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
8347143879 Refactor this to move duplicated code into functions. 2011-09-23 13:03:07 +12:00
Andrew McMillan
5d3b265ba5 Support multiple SCRIPT= lines in a regression test. 2011-09-23 13:02:28 +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
3ce63406c8 A script that can be run from cron to sync from LDAP.
As proposed by 'mate' on IRC.  This simple code hopefully also
demonstrates a good general starting point to future PHP scripts
running from the command-line within DAViCal.
2011-09-22 15:34:33 +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