31 Commits

Author SHA1 Message Date
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
4614ae6449 Do old TODO and remove it. Nice. 2010-11-06 22:36:22 +13:00
Andrew McMillan
a828daaecd Support recursive REPORT query if configured to allow it. 2010-11-05 09:54:18 +13:00
Andrew McMillan
3637c99298 Omit the <response> for event outside the time range - when expanded. 2010-10-09 09:00:11 -04:00
Andrew McMillan
845db16c55 Switch event expansion to use vComponent.php rather than iCalendar. 2010-08-30 17:02:17 +12:00
Andrew McMillan
f50d6d7170 Don't exclude NULL DTSTART if reporting on scheduling collection. 2010-03-20 01:07:23 +13:00
Andrew McMillan
58c82938d1 Finally get rid of that PgQuery properly. 2010-03-17 17:32:52 +13:00
Andrew McMillan
73891a9fc0 Migrating REPORT calendar-query to AwlQuery. 2010-03-16 15:08:00 +13:00
Andrew McMillan
961d1c494a Make calendar-query report work with bound collections. 2010-03-15 23:55:29 +13:00
Andrew McMillan
b4e2a14552 Fix RRULE expansion handling. 2010-03-12 18:32:46 +13:00
Andrew McMillan
0e1df68878 Correct allprop/include processing. 2010-02-28 22:39:02 +13:00
Andrew McMillan
d3c4d9d2de Hook the expansion code into the calendar query report. 2010-02-28 11:38:18 +13:00
Andrew McMillan
9460803f71 Add an option to restrict visible contents to a limited date range.
This patch adds ability to hide old events from Caldav clients. New
configuration option $c->hide_older_than accepts an integer number
of days.  For example, setting $c->hide_older_than=90 hides all
events with "end date" older than 90 days. The main purpose of this
patch is allowing to use Sunbird with more than 500 Caldav events
without removing these events from calendar.  Without this patch
the Sunbird slows down and load calendars extremely slowly (up to
10 min. for 1800 events).
2010-02-28 11:19:36 +13:00
Andrew McMillan
fd4639aba0 Switch to using RRule SQL functions. 2009-05-12 14:46:49 +12:00
Andrew McMillan
a34c522ae5 Tweak case where filter-end is set without filter-start (rare). 2009-04-13 20:42:29 +12:00
Andrew McMillan
f19481f849 Fix bug in handling of time-range queries. 2009-04-13 17:37:05 +12:00
Andrew McMillan
066ae3f4e3 Release 0.9.6 2008-11-01 23:08:41 +13:00
Andrew McMillan
ff87efdc1d Use @todo: everywhere for phpdocumentor syntax. 2008-11-01 19:27:33 +13:00
Andrew McMillan
5ec4c33670 Remove case-folding of incoming XML. 2008-10-21 23:04:31 +13:00
Andrew McMillan
63b28cbdbc Tighten query for events within a time period. 2008-06-19 22:21:45 +12:00
Andrew McMillan
15ee25376a Further refinement to selection of REPORT items. 2008-06-18 22:09:41 +12:00
Andrew McMillan
fdd484dd37 Improve performance, with resulting ordering change. 2008-01-24 21:57:26 +13:00
Andrew McMillan
589c0db1bd Efficiency improvements from bypassing get_permissions() call in query. 2008-01-23 18:41:11 +13:00
Andrew McMillan
c6f09b1607 Enforce repeatable ordering on the REPORT response to make regression testing
easier to parse.
2007-10-18 21:45:05 +13:00
Maxime Delorme
b571c3b867 VTODO needs to consider a different field for a time-range query. 2007-10-17 16:40:40 +13:00
Andrew McMillan
f39f6af06a Fix bug in query with empty component filter, and add regression test for that. 2007-08-27 20:27:42 +12:00
Andrew McMillan
f0abf110bf Remove accidentally committed rubbish. Add debugging. 2007-08-24 12:58:55 +12:00
Andrew McMillan
703f09adfb Support basic collations on text-search filter. 2007-08-14 21:04:22 +12:00
Andrew McMillan
825ddeae18 Now working as intended for more complex calendar-query REPORT requests
including multiple PROP-FILTER combinations.
2007-08-07 10:02:02 +12:00
Andrew McMillan
e580fea226 Final completion of refactoring of caldav-REPORT. 2007-06-14 17:28:35 +01:00
Andrew McMillan
4a55b30804 Commence refactoring of calendar-query REPORT. 2007-06-06 23:17:17 +12:00