github sabre-io/dav 1.0.0

latest releases: 4.7.0, 4.6.0, 4.5.1...
10 years ago
  • Added: SimpleDirectory class. This class allows creating static directory
    structures with ease.
  • Changed: Custom complex properties and exceptions now get an instance of
    Sabre_DAV_Server as their first argument in serialize()
  • Changed: Href complex property now prepends server's baseUri
  • Changed: delete before an overwriting copy/move is now handles by server class
    instead of tree classes
  • Changed: events must now explicitly return false to stop execution. Before,
    execution would be stopped by anything loosely evaluating to false.
  • Changed: the getPropertiesForPath method now takes a different set of
    arguments, and returns a different response. This allows plugin developers to
    return statuses for properties other than 200 and 404. The hrefs are now also
    always calculated relative to the baseUri, and not the uri of the request.
  • Changed: generatePropFindResponse is renamed to generateMultiStatus, and now
    takes a list of properties similar to the response of getPropertiesForPath.
    This was also needed to improve flexibility for plugin development.
  • Changed: Auth plugins are no longer included. They were not yet stable
    quality, so they will probably be reintroduced in a later version.
  • Changed: PROPPATCH also used generateMultiStatus now.
  • Removed: unknownProperties event. This is replaced by the afterGetProperties
    event, which should provide more flexibility.
  • Fixed: Only calling getSize() on IFile instances in httpHead()
  • Added: beforeBind event. This is invoked upon file or directory creation
  • Added: beforeWriteContent event, this is invoked by PUT and LOCK on an
    existing resource.
  • Added: beforeUnbind event. This is invoked right before deletion of any
    resource.
  • Added: afterGetProperties event. This event can be used to make modifications
    to property responses.
  • Added: beforeLock and beforeUnlock events.
  • Added: afterBind event.
  • Fixed: Copy and Move could fail in the root directory. This is now fixed.
  • Added: Plugins can now be retrieved by their classname. This is useful for
    inter-plugin communication.
  • Added: The Auth backend can now return usernames and user-id's.
  • Added: The Auth backend got a getUsers method
  • Added: Sabre_DAV_FSExt_Directory now returns quota info

Don't miss a new dav release

NewReleases is sending notifications on new releases.