Skip to content

v1.6.0

Compare
Choose a tag to compare
@AdrienCastex AdrienCastex released this 09 Jun 20:20
· 503 commits to master since this release

New features

  • Now PROPFIND can filter properties depending on the request body (according to the RFC) 7af0e36
  • Added a 'strictMode' to let more flexibilities to the communications client/server
  • Implemented the new chunked version of the PUT method 7f605b1
  • Added the 'deallocate' method to the virtual stored resource management 7506c3c
  • Added a middleware for the 'SimpleVirtualStoredContentManager' class a322b75

Changes

  • Added the 'DAV' header with the values '1,2' => class 1 + 2 supported (RFC) 27abc4e
  • Add a trailing '/' to the resource path of collections (folders) in the 'DAV:href' tag (response) 7af0e36
  • Removed the 'DAV' in the OPTION method file to provide it to all responses 63aa8a3
  • Added more compliance with the WebDAV RFC (body checking, errors returned, etc...) 46cbef7
  • Added xmlns attribute for 'DAV:' presence in a tag name 3bc3f07
  • Replaced the middleware 'stream.Writable' into a 'stream.Transform' for the VirtualStoredFile 36bc500
  • Modified the HEAD method implementation to avoid the use of the 'read' method of the resources 25d120b
  • Removed the un/serialization of the locks in the FSManagers 2786bea
  • Now throw an Error when the 'SimpleVirtualStoredContentManager' instance is not initialized, helping for debugging c3eb727
  • The member 'managerUID' can now be accessed from outside of the error class 'ManagerNotFound' 6378c48
  • Added the content uid to the list of the arguments of the 'IVirtualStoredContentManagerMiddleware' methods 4f9cbf1
  • Added a local cache for lock discovery in PROPFIND bc744b0
  • Now skip the tag 'owner' in the PROPFIND response when the lock has no owner content e3d81c8

Documentation

  • Added the 'strictMode' server option in the README 24dd02b

Tests

  • Removed useless test in the 'VirtualFSManager' class c4dc8db
  • Removed debug display in tests 40fa39a
  • Fixed the way to get the lock-token from a LOCK response in the tests a745c95

Other

  • Removed displays (console.log) efa5449
  • Removed tests for compliance in the PROPFIND method 6298c65
  • Splitted the 'WebDAVServer' class file into smaller files 1f1d13c
  • Splitted the 'ResourceTester' class file into smaller files 8f8af70
  • Added a dot (.) at the end of the text of each common error 1daac87
  • Used more standard errors 155035c

Bug fix

  • Fixed a potential '//' at the end of the path of a resource 27abc4e
  • Fixed an XML bug leading to an infinite loop 3bc3f07
  • Fixed the issue of not applying to the name of XML elements the default namespace aa793d5
  • Added event inheritance in the 'VirtualStoredFile' class eaefedc
  • Cleaned the 'lib' folder e2e054c
  • Added the un/serialization of the property 'contentUid' for the 'VirtualStoredFile' class 62556f5
  • Fixed CodeClimate issues (code formatting) 325f30f
  • Fixed recurrent size error in the Propfind method 67d7485
  • Fixed negative values in the lock-token generation 5ad148f
  • Fixed unremoved resource from parent when calling 'delete' on a VirtualStoredFile a81a906
  • Fixed a bug when serializing a VirtualStoredFile having a content length of 0 c81190d
  • Added missing exports e8aa467