2731 Commits

Author SHA1 Message Date
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
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
970eddb8b7 Add timezone and scheduling to the default regression set. 2011-09-20 11:44:48 +12:00
Andrew McMillan
5104ca25a4 Provide an alternative 1.2.10 with the check_db_revision() function fixed. 2011-09-20 08:55:26 +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
f9c0c86d9c Ignore those directories where we build timezone components. 2011-09-19 14:03:57 +12:00
Andrew McMillan
3fc3713a33 Reordered response. 2011-09-19 12:35:34 +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
cdc23ea732 Add etag to timezone table. 2011-09-19 08:42:28 +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
93b790cd52 Tests for open-ended time-range calendar-query. 2011-09-17 17:59:02 +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
Andrew McMillan
1a35a111e7 Ensure username is initialised to something appropriate.
Per:
http://sourceforge.net/tracker/?func=detail&atid=890787&aid=3409180&group_id=179845
2011-09-14 23:03:44 +12:00
Andrew McMillan
805a91f3ef Fix deprecated calls. 2011-09-14 23:02:53 +12:00
Andrew McMillan
731677d623 Roughing out implementation of timezone server. 2011-09-14 23:02:34 +12:00
Andrew McMillan
bc1e264c6b Allow null dtstart to match any range, as per Scheduling Draft. 2011-09-14 11:27:15 +12:00