mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-31 18:46:02 +00:00
Tests for non-self access to freebusy deny access to CONFIDENTIAL meeting
This commit is contained in:
parent
a44218fc4f
commit
6fe68065b3
36
testing/tests/regression-suite/834-Spec-FREEBUSY-1.result
Normal file
36
testing/tests/regression-suite/834-Spec-FREEBUSY-1.result
Normal file
@ -0,0 +1,36 @@
|
||||
HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Content-Length: 876
|
||||
Content-Type: text/calendar
|
||||
|
||||
BEGIN:VCALENDAR
|
||||
PRODID:-//Catalyst.Net.NZ//NONSGML AWL Calendar//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VFREEBUSY
|
||||
DTSTAMP:yyyymmddThhmmssZ
|
||||
DTSTART:20061004T140000Z
|
||||
DTEND:20070105T220000Z
|
||||
FREEBUSY:20061031T210000/PT1H
|
||||
FREEBUSY:20061101T210000/PT1H
|
||||
FREEBUSY:20061102T210000/PT1H
|
||||
FREEBUSY:20061109T210000/PT1H
|
||||
FREEBUSY:20061116T210000/PT1H
|
||||
FREEBUSY:20061123T210000/PT1H
|
||||
FREEBUSY:20061130T210000/PT1H
|
||||
FREEBUSY:20061207T210000/PT1H
|
||||
FREEBUSY:20061214T210000/PT1H
|
||||
FREEBUSY:20061221T210000/PT1H
|
||||
FREEBUSY:20061228T210000/PT1H
|
||||
FREEBUSY:20070104T210000/PT1H
|
||||
FREEBUSY:20061101T233000/PT1H
|
||||
FREEBUSY:20061102T183000/PT2H
|
||||
FREEBUSY:20061202T183000/PT2H
|
||||
FREEBUSY:20070102T183000/PT2H
|
||||
FREEBUSY:20061103T030000/PT1H45M
|
||||
FREEBUSY:20061117T030000/PT1H45M
|
||||
FREEBUSY:20061201T030000/PT1H45M
|
||||
FREEBUSY:20061215T030000/PT1H45M
|
||||
FREEBUSY:20061229T030000/PT1H45M
|
||||
FREEBUSY:20061223T000000/PT2H
|
||||
END:VFREEBUSY
|
||||
END:VCALENDAR
|
||||
22
testing/tests/regression-suite/834-Spec-FREEBUSY-1.test
Normal file
22
testing/tests/regression-suite/834-Spec-FREEBUSY-1.test
Normal file
@ -0,0 +1,22 @@
|
||||
#
|
||||
# Request a REPORT which should report only freebusy
|
||||
#
|
||||
TYPE=REPORT
|
||||
URL=http://mycaldav/caldav.php/user1/home/
|
||||
HEADER=User-Agent: CALDAV compliance testing
|
||||
HEADER=Accept: text/calendar
|
||||
HEADER=Content-Type: text/xml
|
||||
HEADER=Depth: 1
|
||||
HEAD
|
||||
|
||||
AUTH=manager1:manager1
|
||||
|
||||
BEGINDATA
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<C:free-busy-query xmlns:C="urn:ietf:params:xml:ns:caldav">
|
||||
<C:time-range start="20061004T140000Z"
|
||||
end="20070105T220000Z"/>
|
||||
</C:free-busy-query>
|
||||
ENDDATA
|
||||
|
||||
REPLACE=/^DTSTAMP:\d{8}T\d{6}Z$/DTSTAMP:yyyymmddThhmmssZ/
|
||||
66
testing/tests/regression-suite/835-freebusy.result
Normal file
66
testing/tests/regression-suite/835-freebusy.result
Normal file
@ -0,0 +1,66 @@
|
||||
HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Content-Length: 1813
|
||||
Content-Type: text/calendar
|
||||
|
||||
BEGIN:VCALENDAR
|
||||
PRODID:-//Catalyst.Net.NZ//NONSGML AWL Calendar//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VFREEBUSY
|
||||
DTSTAMP:yyyymmddThhmmssZ
|
||||
DTSTART:yyyymmddThhmmss
|
||||
DTEND:yyyymmddThhmmss
|
||||
FREEBUSY:20061102T210000/PT1H
|
||||
FREEBUSY:20061109T210000/PT1H
|
||||
FREEBUSY:20061116T210000/PT1H
|
||||
FREEBUSY:20061123T210000/PT1H
|
||||
FREEBUSY:20061130T210000/PT1H
|
||||
FREEBUSY:20061207T210000/PT1H
|
||||
FREEBUSY:20061214T210000/PT1H
|
||||
FREEBUSY:20061221T210000/PT1H
|
||||
FREEBUSY:20061228T210000/PT1H
|
||||
FREEBUSY:20070104T210000/PT1H
|
||||
FREEBUSY:20070111T210000/PT1H
|
||||
FREEBUSY:20070118T210000/PT1H
|
||||
FREEBUSY:20070125T210000/PT1H
|
||||
FREEBUSY:20070201T210000/PT1H
|
||||
FREEBUSY:20070208T210000/PT1H
|
||||
FREEBUSY:20070215T210000/PT1H
|
||||
FREEBUSY:20070222T210000/PT1H
|
||||
FREEBUSY:20070301T210000/PT1H
|
||||
FREEBUSY:20070308T210000/PT1H
|
||||
FREEBUSY:20070315T210000/PT1H
|
||||
FREEBUSY:20070322T210000/PT1H
|
||||
FREEBUSY:20070329T210000/PT1H
|
||||
FREEBUSY:20070405T210000/PT1H
|
||||
FREEBUSY:20070412T210000/PT1H
|
||||
FREEBUSY:20070419T210000/PT1H
|
||||
FREEBUSY:20061202T183000/PT2H
|
||||
FREEBUSY:20070102T183000/PT2H
|
||||
FREEBUSY:20070202T183000/PT2H
|
||||
FREEBUSY:20070302T183000/PT2H
|
||||
FREEBUSY:20070402T183000/PT2H
|
||||
FREEBUSY:20070502T183000/PT2H
|
||||
FREEBUSY:20070602T183000/PT2H
|
||||
FREEBUSY:20070702T183000/PT2H
|
||||
FREEBUSY:20061117T030000/PT1H45M
|
||||
FREEBUSY:20061201T030000/PT1H45M
|
||||
FREEBUSY:20061215T030000/PT1H45M
|
||||
FREEBUSY:20061229T030000/PT1H45M
|
||||
FREEBUSY:20070112T030000/PT1H45M
|
||||
FREEBUSY:20070126T030000/PT1H45M
|
||||
FREEBUSY:20070209T030000/PT1H45M
|
||||
FREEBUSY:20070223T030000/PT1H45M
|
||||
FREEBUSY:20070309T030000/PT1H45M
|
||||
FREEBUSY:20070323T030000/PT1H45M
|
||||
FREEBUSY:20070406T030000/PT1H45M
|
||||
FREEBUSY:20070420T030000/PT1H45M
|
||||
FREEBUSY:20070504T030000/PT1H45M
|
||||
FREEBUSY:20070518T030000/PT1H45M
|
||||
FREEBUSY:20070601T030000/PT1H45M
|
||||
FREEBUSY:20070615T030000/PT1H45M
|
||||
FREEBUSY:20070629T030000/PT1H45M
|
||||
FREEBUSY:20070713T030000/PT1H45M
|
||||
FREEBUSY:20061223T000000/PT2H
|
||||
END:VFREEBUSY
|
||||
END:VCALENDAR
|
||||
12
testing/tests/regression-suite/835-freebusy.test
Normal file
12
testing/tests/regression-suite/835-freebusy.test
Normal file
@ -0,0 +1,12 @@
|
||||
#
|
||||
# Request a freebusy report by URL
|
||||
#
|
||||
TYPE=GET
|
||||
URL=http://mycaldav/freebusy.php/user1/home/
|
||||
HEAD
|
||||
|
||||
AUTH=manager1:manager1
|
||||
|
||||
REPLACE=/^DTSTAMP:\d{8}T\d{6}Z$/DTSTAMP:yyyymmddThhmmssZ/
|
||||
REPLACE=/^DTSTART:\d{8}T\d{6}$/DTSTART:yyyymmddThhmmss/
|
||||
REPLACE=/^DTEND:\d{8}T\d{6}$/DTEND:yyyymmddThhmmss/
|
||||
Loading…
x
Reference in New Issue
Block a user