17 Commits

Author SHA1 Message Date
Florian Schlichting
f44a996432 do not report VTODO in freebusy (fixes: #267)
RFC 4791 clearly states in 7.10:
    Only VEVENT components without a TRANSP property or with the TRANSP
    property set to OPAQUE, and VFREEBUSY components SHOULD be considered
    in generating the free busy time information.

Looking at fa67ef987e, this used to be VFREEBUSY until the refactoring, and
0886-REPORT-freebusy.test still had that.

Apparently we're not (yet) considering VAVAILABILITY (RFC 7953) here.
2022-10-04 08:47:53 +02:00
Jamie McClymont
4f06aeec10 Use first_instance_start / last_instance_end to filter freebusy queries 2019-01-03 17:48:43 +13:00
Jamie McClymont
5fc3875345 Pull the freebusy floating-time handling into a function 2019-01-03 16:04:28 +13:00
Jamie McClymont
ec67b28bf0 Guess the timezone of non-all-day floating events in freebusy
Signed-off-by: Jamie McClymont <jamiemcclymont@catalyst.net.nz>
2018-11-09 15:41:02 +13:00
Jamie McClymont
91aaf48648 Guess the timezone of VALUE=DATE events in freebusy
Resolves #146
2018-10-31 12:09:45 +13:00
Florian Schlichting
eaef540766 replace RRule with RRule-v2 2016-12-30 08:54:14 +01:00
Florian Schlichting
40ff70e11f freebusy-functions.php: regular debug logging 2016-11-30 23:03:18 +01:00
Andrew McMillan
1141a43089 Fixing and debugging. 2013-09-26 16:09:36 +02:00
Andrew McMillan
f074f214d0 Freebusy should use vComponent rather than the deprecated iCalComponent 2013-09-24 15:43:00 +02:00
Andrew McMillan
cf9af97028 We need $c to be global here. 2011-10-25 08:14:45 +13:00
Andrew McMillan
98fa892dfd Add a config setting to force unnecessary FBTYPE parameter in freebusy response. 2011-10-20 12:22:17 +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
57df0e140f Log item class, in case people are complaining about permission failures. 2010-10-09 09:02:31 -04:00
Andrew McMillan
d75b525cf4 Don't supply freebusy for 0-duration events. 2010-10-07 17:27:21 -04:00
Andrew McMillan
b673ec32e6 Ensure we get a duration, and default to 1 day if not. 2010-09-02 23:05:30 +12:00
Andrew McMillan
50fccc73d8 Working freebusy refactored to use a single core routine. 2010-08-30 18:55:23 +12:00
Andrew McMillan
fa67ef987e Refactoring free/busy handling to a single core routine with RRule-2 2010-08-30 09:08:17 +12:00