Giter VIP home page Giter VIP logo

caldavtester's People

Contributors

bgaya avatar brong avatar cyrusdaboo avatar douglm avatar dreid avatar dreness avatar fatkudu avatar glyph avatar ksmurchison avatar m0rgen avatar ralfbecker avatar tobiasfriedrich avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

caldavtester's Issues

Illegal PHOTO properties used in CardDAV/put.xml?

Two tests PUT vcards having the following form:

VERSION:3.0
PHOTO;BASE64:...

The PHOTO properties appear to be illegal per v2.1, v3.0, v4.0 by my reading.

The verifier for the test checks for PHOTO;ENCODING=b:... which is the proper for for v3.0

I don't know if the source resource was deliberately written because its been seen in the wild, or if its a simple typo.

Should we fix the source resource to be v3.0 compliant or fix our implementations to accept such a resource?

Allow other period notations in free-busy report verifier

Test 1 in suite free-busy reports of file scripts/tests/CalDAV/availability.xml uses a dataString verifier, in which the existence of the string FREEBUSY;FBTYPE=BUSY:$now.year.1:0104T170000Z/PT1H is checked.

However, as the same period can also be expressed as period-explicit (RFC 5545, section 3.3.9), this should be considered appropriately by the test, so that a string FREEBUSY;FBTYPE=BUSY:$now.year.1:0104T170000Z/$now.year.1:0104T180000Z wouldn't fail the test either.

Use of undocumented precondition code

CardDAV/errorcondition.xml PUTs invalid vCard data and expects failure. However, it looks for a CARDDAV:valid-addressbook-object-resource precondition which does not appear in RFC 6352. The most appropriate documented precondition code is CARDDAV:valid-address-data.

Should we change the test to look for the documented precondition code, or modifiy the prepostcondition validator to accept multiple values? I looked at doing the latter but I don't understand Python well enough to make the change.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.