Commit Graph
651 Commits
Author SHA1 Message Date
Florian Schlichting 4335e790d1 drop tests/regression-suite/0528, same as 0527 2018-01-09 22:15:29 +01:00
Florian Schlichting 17c2022122 group-member-set and group-membership queries on proxy resources should be handled in DAVResource
Otherwise we cannot be sure if the resource we are looking at is a
proxy. Looking at the request as we did in DAVPrincipal is wrong, as one
request can result in several resources to be examined, only some of
which may be proxies.

BTW looking at the regression test changes, I'm not sure having
calendar-proxy-read-for on proxy principals is correct, but caldav-proxy
seems to have nothing to say on that so we leave it for now.
2018-01-09 22:11:30 +01:00
Florian Schlichting 6687bdcf03 update regression tests due to FetchProxyGroups changes 2018-01-09 01:30:38 +01:00
Florian Schlichting a7ba436f2f advertise support for principal-match REPORT
and a few more bits inspired by CalDAV/aclreports.xml:
    - strict Depth header checking
    - principal-match: match on dav_name if not $match_self
    - principal-match can "alternatively" return resources in a collection
      that belong to a principal, like a user's calendars when we query
      the principal URI
2018-01-08 22:51:22 +01:00
Florian Schlichting 5dc4aed87c testsuite: support /principals/users/ and similar special URLs 2017-10-04 23:28:03 +02:00
Florian Schlichting 8d1a4dba0f testsuite: update for calendar-user-type support 2017-10-04 23:28:03 +02:00
Florian Schlichting 2ed5edaf5a Update scheduling test-suite: consistent linebreaks, unnecessary quoting, etags 2017-10-04 23:28:03 +02:00
Florian Schlichting 50dd8a8d73 fix confusing comments 2017-10-04 23:28:03 +02:00
Florian Schlichting 39001794a3 Update caldav_functions.sql for Postgresql 10
From version 10, Postgresql does not allow set-returning functions in
CASE statements. As we're using the functions recursively, we cannot
use LATERAL as suggested in the error message, but we can switch the
condition inside-out with only a limited amount of repetition.
2017-10-04 22:36:29 +02:00
Florian Schlichting 44ff0b3286 update tests for changed etags, unstable REV/UID or sort order, improved property parsing
Changed line wrapping in awl is one major reason for etag changes.

With this commit, all tests in regression-suite, binding and carddav
pass for me, using the configuration outlined in README.regression_tests
2017-09-21 00:39:30 +02:00
Florian Schlichting 0cab01f390 dav_test: all files and I/O are UTF-8 2017-09-21 00:39:24 +02:00
Florian Schlichting 7e3a9a476f group memberships for the calendar-proxy-{read,write} pseudo-principal are always empty
Only regular principals can be members in any groups, for
pseudo-principals group membership doesn't make sense. In case somebody
asks, do not return the group memberships of the parent principal but
rather provide an empty answer.
2017-09-19 21:22:58 +02:00
Florian Schlichting a6b286ab98 caldav-proxy 5.2: calendar-proxy-read/write are themselves principal resources
Fixes the CalDAV/calendaruserproxy.xml test.
2017-09-19 21:19:02 +02:00
Florian Schlichting 63c4de9f34 do not advertise ?add_member on a principal
We wouldn't know what to do with that anyway...

Fixes the CalDAV/add-member.xml test.
2017-09-19 21:16:43 +02:00
Florian Schlichting 74828c8c60 Update testsuite for changes related to #112 (4cf6628) 2017-04-07 14:17:00 +02:00
Florian Schlichting dc9edfcfda Update regression suite for gratuitous whitespace changes 2017-01-17 23:40:54 +01:00
Florian Schlichting 727fe290b4 make clean should also clean regression testing artefacts 2017-01-10 22:14:36 +01:00
Florian Schlichting 202542dc1b updates for bulk addressbook import 2017-01-07 02:17:29 +01:00
Florian Schlichting f8ee381840 Add a test case for /user/calendar-proxy-read/ with return=minimal
and update 0525-iCal-PROPFIND now that we return a result for proxy
group-member-set
2017-01-04 22:32:58 +01:00
Florian Schlichting 10ed3ffc84 misc changes to get more tests to pass
Status: binding almost passes, carddav and scheduling have some issues,
timezone seems hopeless (dependency on remote URL that is 404)
2017-01-01 20:46:36 +01:00
Florian Schlichting 4ef5730bef Restore-Database.result: error setting plpgsql COMMENT and lots more setval in dump 2017-01-01 20:46:36 +01:00
Florian Schlichting fa2517b983 Update other testsuites for contenttype, PROPPATCH and 204 No Content changes 2017-01-01 20:46:31 +01:00
Florian Schlichting e565cc0a5e Apache 2.4.24 doesn't send Content-Length: 0 headers for 204 No Content responses
...and is more strict parsing HTTP. Let tests pass on both old and new
versions.
2017-01-01 16:28:37 +01:00
Florian Schlichting eaef540766 replace RRule with RRule-v2 2016-12-30 08:54:14 +01:00
Florian Schlichting b1ae485973 document the setup that will get regression-suite to pass
The other suites don't pass for me at the moment.
2016-12-01 20:29:28 +01:00
Andrew McMillan 1ab66a70b5 Some database changes for server-side attendee handling. 2016-06-22 23:44:10 +01:00
Andrew McMillan 9997f3a912 Enforce ordering on sample data for more consistent test results. 2016-06-22 23:12:23 +01:00
Andrew McMillan b73ad6ae19 Regression result changes with calendar-free-busy-set disabled.
The calendar-free-busy-set functionality is old and superseded.
2016-06-22 23:11:40 +01:00
Andrew McMillan 208173043a Update to regression test results for PROPPATCH bugfix. 2016-06-22 23:10:20 +01:00
Andrew McMillan 8bb5e72c7b Updated regression test results from updates to contenttype 2016-06-22 23:08:56 +01:00
Andrew McMillan 9580da622a Support regression testing with postgres on non-default port
[from github handle-remote-attendees branch]
2015-12-27 13:02:38 +01:00
Florian Schlichting 0b1ab8dc65 document testing setup 2014-10-02 02:01:16 +02:00
Andrew McMillan f3b67a2c62 Improve result checking 2013-10-15 23:48:29 +13:00
Andrew McMillan 9fe1bc73b2 Case folding of property names 2013-10-15 23:47:47 +13:00
Andrew McMillan 74e690103b Reorder results 2013-10-15 23:46:25 +13:00
Andrew McMillan 54222e32a5 Improve successful result checking. 2013-10-15 23:46:06 +13:00
Andrew McMillan 0f4cb2a8a8 Result of character escape fixing. 2013-10-15 23:45:19 +13:00
Andrew McMillan 58bbe1c8c3 Change to read all calendars and then discard inaccessible ones 2013-10-15 23:43:35 +13:00
Andrew McMillan 5290db2657 Changes to VCALENDAR content due to parser / renderer changes. 2013-09-26 16:27:45 +02:00
Andrew McMillan 02ca39d2fe Changed etags. 2013-09-26 16:27:17 +02:00
Andrew McMillan 7f83ffc31a Changes to sending of DAV header. 2013-09-26 16:26:46 +02:00
Andrew McMillan 413c26dd71 More aggressively set timezone for regression testing. 2013-09-26 16:25:01 +02:00
Andrew McMillan 8b52d69e1e Force consistent result ordering. 2013-09-24 12:15:02 +02:00
Andrew McMillan 7346c35c0c Results changed for new VXXXXX parser. 2013-09-24 12:14:42 +02:00
Andrew McMillan 50c25cc740 Add options to do colourized, side-by-side & meld reviewing of results. 2013-09-24 11:46:37 +02:00
Andrew McMillan 2589a886f8 Fix deprecated warning. 2013-09-24 11:45:47 +02:00
Andrew McMillan 1a86165883 Changes to default supported-component-set. 2013-09-02 14:22:12 +12:00
Andrew McMillan bc1ef8b26c ETag/path changes due to regression.host changes. 2013-09-02 14:18:11 +12:00
Andrew McMillan 48d22782f7 Correct regression host name. 2013-07-15 13:11:08 +12:00
Andrew McMillan a3b197a209 Ensure test responses are displayed in their unprocessed form. 2012-08-09 14:10:41 +12:00