2503 Commits

Author SHA1 Message Date
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
Leho Kraav
2ebaecd3e3 feed.php: remove hardcoded LIMIT ALL 2010-12-27 12:35:35 +13:00
Leho Kraav
c3828f491c feed.php: make a string translatable 2010-12-27 12:35:28 +13:00
Leho Kraav
0ac934268f since we're implementing Atom, refactoring all rss -> feed seems appropriate.
this seems better than going for only atom.php, since we can add more
feed formats in the future under the same infrastructure i.e.
feed.php/user1/home/?format=json.
2010-12-27 12:35:12 +13:00
Andrew McMillan
5a014c35f0 Fix references to $c global.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 10:50:36 +13:00
Andrew McMillan
afa74df5c5 Fix corner case of event with no summary.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-26 23:57:26 +13:00
Andrew McMillan
bda998ea60 Fix errors in po files pointed out by Transifex uploading.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-26 23:32:51 +13:00
Andrew McMillan
f2486296a7 A new AtomFeed class for building an Atom feed.
Plus the change in rss.php to use it.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-26 23:31:47 +13:00
Andrew McMillan
e5f5f8fc3b New url() and GetProperty() methods matching DAVResource.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-26 17:44:16 +13:00
Andrew McMillan
6328126c04 GetProperty() now returns a clone() if it is an object. New url() method.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-26 17:43:57 +13:00
Andrew McMillan
b15fcb3f77 Refactoring of RRule-v2, which incidentally fixes a bug!
VALUE=DATE:YYYYMMDD dates should now work better, and all date
parsing is much more robust.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-26 17:41:52 +13:00
Andrew McMillan
0ed9b058c3 Switch to creating an atom feed, which is a better feed standard.
Along with many other small changes and enhancements that ensued
as I ran my eyes over the code.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-26 17:38:10 +13:00
Leho Kraav
5ece951362 A new URL to provide an RSS feed of a calendar's changes. 2010-12-26 09:50:40 +13:00
Andrew McMillan
8790a9aaa6 Add *.swp 2010-12-26 01:53:47 +13:00
Andrew McMillan
c189b36c28 Fix references to internal static variable. 2010-12-26 01:52:44 +13:00