2531 Commits

Author SHA1 Message Date
Andrew McMillan
b2afb747da Add early check for iconv
Also, we're doing this before we load translation code so
we really can't translate it...

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-05 21:21:55 +13:00
Andrew McMillan
7e0443e866 Add a special option to allow keeping the RRULE, RDATE and EXDATE
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-05 16:01:49 +13:00
Andrew McMillan
e28f200c5f Only add a recurrence-id if this is actually a repeating instance.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-05 11:55:35 +13:00
Andrew McMillan
ca6668c608 Always add a recurrence-id so a client can tell this repeats.
If the recurrence-id is missing the client can't provide an indication
that this is a repeating event.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-05 09:10:47 +13:00
Andrew McMillan
71b1aa3d21 cil-6a80503d: New Issue 2011-01-05 09:09:05 +13:00
Andrew McMillan
5c728365e3 Nail final issue with resourcetypes since refactoring.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-05 00:04:20 +13:00
Andrew McMillan
23b8b84003 Changes due to updated handling of floating times
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 23:30:23 +13:00
Andrew McMillan
655e3bfdaf Updated dav_id's due to more events in test database.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 23:26:12 +13:00
Andrew McMillan
c3ae4d6fe3 Remove unnecessary debugging message.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 23:23:47 +13:00
Andrew McMillan
f4c73afb03 Finally give up on the SQL rrule pre-processing.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 23:23:33 +13:00
Andrew McMillan
775ccceb58 Move debug logged password behind specific 'password' debug setting.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 23:22:49 +13:00
Andrew McMillan
9e32df7ee1 More RRule polishing.
This includes a much improved function for converting two times to a
RFC5545 duration, and a clarification of the UTC() and FloatOrUTC()
methods.  Plus a couple of small bugfixes.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 22:51:57 +13:00
Andrew McMillan
39c6d5e581 Correct regression test data reference. 2011-01-04 18:48:37 +13:00
Andrew McMillan
595e724426 Fix bug in handling bound resources with DAVResource changes.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 18:46:51 +13:00
Andrew McMillan
51576df490 Obfuscate event data when reader only has read-free-busy permission.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 17:08:22 +13:00
Andrew McMillan
e70bcd80d1 Fix caching problems.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 17:00:03 +13:00
Andrew McMillan
52e9ad0018 Fix function declarations. Add comment.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 16:59:24 +13:00
Andrew McMillan
fafa2662b2 Move supported privileges into a private static function, rather
than assign the array in every instance of CalDAVRequest.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 16:59:03 +13:00
Andrew McMillan
d5e0684ad6 Corrected results for spec fixes in expanded calendar-query.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 16:51:08 +13:00
Andrew McMillan
7d135d39fa Correct handling of floating events & BYYEARDAY.
Also some minor refactoring.  Regression tests for all NZ holidays
from 2005 to 2011 (only the calculatable ones for 2005-2008).

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 16:46:57 +13:00
Andrew McMillan
4c15c2a52c cil-1378ca0a: New Issue 2011-01-03 10:26:49 +13:00
Andrew McMillan
20ee255898 Refactor fetching of Principal records from database.
This is a significant refactoring, replacing the old getUserBy*()
functions with a new Principal class, and replacing the old
CalDAVPrincipal class with a new DAVPrincipal class which extends
the Principal class.

At this point all regression tests pass (again) but there could
well be issues for people who use alternative authenticators
such as LDAP, although I have endeavoured to resolve those
potential issues.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-03 10:16:43 +13:00
Andrew McMillan
b35d71e69c List all of a user's calendar homes
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-03 10:11:27 +13:00
Andrew McMillan
493ec64cba Extend default_privileges to members of a group.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-03 10:10:52 +13:00
Andrew McMillan
ceab80bce4 cil-b053479c: New Issue 2011-01-02 15:19:26 +13:00
Andrew McMillan
f305cdf4cb A few more places we need to ensure the collection is uncached.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-01 21:55:55 +13:00
Andrew McMillan
90c35ec385 Add another event into our testing.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-01 21:26:27 +13:00
Andrew McMillan
4178ab4254 Add caching of collection reads
Also a special header is added for telling DAViCal to flush the
cache during regression testing etc.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-01 21:25:46 +13:00
Andrew McMillan
fe095d009d Refactored to provide clearer display of issues. 2011-01-01 21:23:25 +13:00
Andrew McMillan
fbd28407ea Fix cache storing. 2011-01-01 21:22:42 +13:00
Andrew McMillan
5ff2f052c6 Add support for caching of feed, and uncaching on collection change.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-31 20:29:30 +13:00
Andrew McMillan
9f8d4b4346 Actually use new calculated per principal auth_realm.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-30 18:59:19 +13:00
Andrew McMillan
cf771d1eb3 cil-425c24ae: New Issue 2010-12-30 12:45:34 +13:00
Andrew McMillan
5c0dd64d68 Let auth realm be 'per Principal' to work around Mozilla #247486
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-30 12:41:49 +13:00
Andrew McMillan
7c0d2792f3 cil-80a8c1df: New Issue 2010-12-30 12:40:14 +13:00
Andrew McMillan
874b81c1c9 IMAP PAM authentication from Oliver Schulze
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-30 12:29:51 +13:00
Andrew McMillan
1efa534286 Updated information about Chandler.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-30 12:28:07 +13:00
Andrew McMillan
da7f0a8666 Link to wiki page on configuration.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-30 12:27:51 +13:00
Andrew McMillan
57f53fd284 Update sourceforge URLs
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-30 12:27:32 +13:00
Andrew McMillan
f62d05e882 Release 0.9.9.4 r0.9.9.4 2010-12-28 02:20:18 +13:00
Andrew McMillan
d1e380fa43 Ready for release 0.9.9.4 for real this time... 2010-12-28 02:15:22 +13:00
Andrew McMillan
08e5f97c56 Remove unnecessary call to DoQuery()
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-28 02:06:02 +13:00
Andrew McMillan
0041a1e331 Since we haven't read the record yet, we can't refer to it's fields.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-28 00:41:33 +13:00
Andrew McMillan
d615da9c55 Adjust comment wording for clarity.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-28 00:41:11 +13:00
Andrew McMillan
b2f35df817 Just use the fields straight from the database.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 21:30:34 +13:00
Andrew McMillan
c3fab4dcd0 Correct feed modification time using collection modified property.
Also switch to using the caldav_data (modified/created) fields from
the database.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 18:54:31 +13:00
Leho Kraav
cd905df792 issues: update i_54a5f811 with TODO list 2010-12-27 18:50:54 +13:00
Andrew McMillan
ef2b2aea02 Improve docs on DAVResource::NeedPrivilege() method.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 18:24:51 +13:00
Andrew McMillan
1e4c7e7a26 Output the database error when a query fails.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 18:23:53 +13:00
Andrew McMillan
34a27d126d Refactor PUT functions to set modified/created dates more correctly.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 18:23:13 +13:00