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
Andrew McMillan
86216cd291
Refactored RRule to add support for initialisation from a vProperty.
2010-12-26 01:38:17 +13:00
Andrew McMillan
b4951e885e
Whoops: got version number.
2010-12-25 16:36:28 +13:00
Andrew McMillan
c6777a3931
Preparing for release 0.9.9.4
2010-12-25 16:27:26 +13:00
Andrew McMillan
902bf2ad42
Prepare to release 0.9.9.4
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-25 16:15:58 +13:00
Andrew McMillan
5e4f574818
One final nail in PgQuery's coffin.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-25 16:15:36 +13:00
Andrew McMillan
7cec81592d
More testing stuff.
2010-12-25 16:14:44 +13:00
Andrew McMillan
752df2906f
Changes to Debian packaging for 0.9.9.4 release.
2010-12-25 16:12:42 +13:00
Andrew McMillan
9805a040c8
Another vcard PUT test.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-25 15:57:01 +13:00
Andrew McMillan
8f8f69cde1
Extensively refactored. Added support for creating tickets.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-25 15:56:30 +13:00
Andrew McMillan
84ab84329a
New test for empty propfind request.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-25 15:55:57 +13:00
Andrew McMillan
066732a8a0
Add support for writing scheduling resources on PUT.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-25 15:55:19 +13:00
Andrew McMillan
60315362dd
Starting to add better support for handling floating time.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-25 15:52:16 +13:00
Andrew McMillan
3b1ca368b5
Ignore lots of crap I have in my working directory.
2010-12-25 15:51:24 +13:00
Andrew McMillan
1cbaa5b530
Basic robots.txt that does nothing except stop error log messages.
2010-12-25 14:25:58 +13:00
Andrew McMillan
c24a067d4a
Add cil for internal issue tracking.
2010-12-25 14:24:44 +13:00
Andrew McMillan
9bb339e291
Cut access with invalid/expired tickets out immediately.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-08 12:57:12 +13:00
Andrew McMillan
ac190c7277
Fix bugs in previous commit. Plus regression tests for it.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-07 09:39:16 +13:00
Andrew McMillan
9b079d7549
Handle empty PROPFIND, don't blow up on invalid XML.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-07 09:28:12 +13:00
Andrew McMillan
fd20cfa35b
/.well-known/* now returns a 301 redirect, per spec.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-11-30 12:41:43 +13:00