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
Andrew McMillan
be71269331
Move test data into test.
...
Also added a DTSTAMP property to the data, which Chandler (at
least the very old version I was using when I did this testing
in the first place) omitted.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 18:22:30 +13:00
Andrew McMillan
5ad371a910
Don't allow feed access unless user has at least freebusy privileges.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 17:13:43 +13:00
Andrew McMillan
520077a9a5
Add categories to the Atom content.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 13:03:26 +13:00
Andrew McMillan
18e58fa796
Reinstate the summary field in the Atom.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 13:03:03 +13:00
Andrew McMillan
4876542537
Fix whitespace.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 12:46:00 +13:00
Andrew McMillan
815ca239bb
Add an AddCategory() method to AtomEntry.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 12:45:44 +13:00
Leho Kraav
6e1a6f3381
feed.php: add support for displaying event categories
2010-12-27 12:37:34 +13:00
Leho Kraav
22555f22b8
issues: wrap-up for overnight activity on rss branch
2010-12-27 12:37:27 +13:00
Leho Kraav
2b19868bf3
feed.php: migrate from no-locale-supporting DateTime->format() -> strftime()
2010-12-27 12:37:23 +13:00
Leho Kraav
904f3069ab
add et_EE to support locales
2010-12-27 12:37:16 +13:00
Leho Kraav
338cb7f35d
feed.php: hyperlink urls in description and remove an erroneous setDescription
2010-12-27 12:37:03 +13:00
Leho Kraav
4b4b21ee45
feed.php: fix adding $p_time to itself one too many times in our funky ? :
2010-12-27 12:36:43 +13:00
Leho Kraav
81eba961c8
feed.php: let's dbg_error_log peculiar VCALENDAR component instead of echo
2010-12-27 12:36:15 +13:00
Leho Kraav
37cf2f618d
feed.php: make sure we do htmlspecialchars on most to-be-xml content
2010-12-27 12:35:52 +13:00