Skip to content

Releases: OpenMarshal/npm-WebDAV-Server

v1.3.1

24 May 15:24
Compare
Choose a tag to compare

New features

  • Implemented the callback on the start method 880dd8a
  • Implemented the server option 'hostname' 0ab2be2
  • Implemented DAV:lockdiscovery in PROPFIND 9009ad1

Changes

  • Made the arguments of the start method optional 880dd8a
  • Added a callback to the start method to 'synchronize' with the server opening e3eb1e0

Documentation

  • Modified the sample to use the callback on the start method 4313cba
  • Added the 'hostname' option in the documentation ef4a3c0

Tests

  • Implemented the server start callback in the whole tests 609f855
  • Added more tests for the start method 516a7fb
  • Fixed the try-catch of the PROPFIND method in the tests 38630f5
  • Added tests for copying the properties (COPY method) 911029f
  • Added tests for moving the properties (MOVE method) 7236e50
  • Added tests for DAV:lockdiscovery 2b9cde8

Bug fix

  • Fixed callback error in the start method ca72e94

v1.3.0

23 May 12:06
Compare
Choose a tag to compare

New features

  • Implemented the method 'addResourceTree' in the server class to make the resource tree creation easier bda6e6c
  • Implemented the 'If' header check in all methods where it makes sense fab8388
  • Added a refresh method to the Lock class e90274f

Changes

  • Added 'process.nextTick(...)' when possible, except in resources to keep them simple 17187bd

Documentation

  • Modified the sample to use the new way to create the resource tree (with 'addResourceTree') 0beebbe
  • Specified that the module is compatible from node v4.0.0 to latest bf4fd93

Tests

  • Added tests for the 'addResourceTree' method 1bf0c47
  • Added the 'If' header test for the LOCK test c4d3ace
  • Added the tests for the Lock refresh c4d3ace
  • Added tests for the 'source' header 8c79901
  • Test node v4.0 058106f
  • Do not support node v0.* d4be29c
  • Upgraded tests syntax for node version 0.* f5f6b5c
  • Reverted the node v0.* changes => not supporting v0.* anymore 099d40b
  • Test Travis on all versions of NodeJS 39d1211

Other

  • Added a parser for the 'If' header e4e2208

Bug fix

  • Check if 'fs.constants.O_CREAT' exists for node v5.* and lower e23b5d7

v1.2.0

22 May 14:07
Compare
Choose a tag to compare

New features

  • Added parents lock check 76f3340
  • Added 'source' header to read/write source of the files 842b37a
  • Added the 'canSource' privilege 842b37a
  • Implemented privilege check for most of the WebDAV methods e25fcbc

Changes

  • Upgraded the PUT method c1259de
  • Upgraded the LOCK method 838c51b
  • Changed the '401 Unauthorized' responses status for not allowed opertions to the '403 Forbidden' status e55460e

Documentation

  • Changed interface body into full interface declaration in the documentation bd3c6d7
  • Added a comment to describe 'canSource' in the documentation 7ff9fd9
  • Added the 'canSource' privilege to the documentation a72147f

Tests

  • Added a full range of tests for the UNLOCK method d2d5075
  • Upgraded the LOCK tests 838c51b
  • Upgraded the UNLOCK tests f4f1363
  • Added the 'date' header test 5668628

Other

  • Changed the 'override' word into 'overwrite' which makes more sense f3caaab
  • Removed useless comment 8b5e8c8
  • Converted 'new Error(...)' into the Error 'enum' b2c7bc2
  • Removed useless TODO c65658e
  • Fixed code format 4526ad7

Bug fix

  • Added missing privilege check 3cfdbea
  • Fixed a some bugs about the persistence 0d1c7c1

v1.1.0

21 May 14:02
Compare
Choose a tag to compare

New features

  • Added persistence management (save and load the state of the server) b79a7ac

Changes

  • Implemented a RootFSManager for the RootResource 6ce240c
  • Added optional the resource name (null or undefined => empty string) e11644d

Documentation

  • Added the persistence section in the documentation db11649

Tests

  • Added some tests for the persistence b3474da

Other

v1.0.2

21 May 10:04
Compare
Choose a tag to compare

Bug fix

v1.0.1

21 May 09:58
Compare
Choose a tag to compare

Changes

Documentation

  • Added some documentation f431ca7
  • Fixed '<' by '<' in changelog b766363

Other

  • Cleaned the project 7245ee5
  • Used more restrictive imports in WebDAVServer.ts 327bd78
  • Added export files in main folders of the project for better scallability 66a61c4
  • Added the RFC privileges but not integrated 61b7865

v1.0.0

20 May 20:06
Compare
Choose a tag to compare

New features

  • Implemented LOCK and UNLOCK methods a76f555
  • Implemented the User management 5e7325a
  • Implemented Basic and Digest HTTP authentication 5e7325a
  • Implemented the structure of the privilege management 5e7325a
  • Implemented some privilege/lock checkers 5e7325a
  • Can now convert multi ':' tag names into namespace when producing XML response 3fbfb17
  • Now check attributes to avoid namespace shortname collision when producing XML response 87f7a68

Changes

  • Upgraded the lock management 299e307
  • Added some errors as standard errors for better error management 8a051b2

Documentation

  • Updated the 'disclaimer' section 364152e
  • Fixed bad alt value for npm badge 3c54594
  • Added what will be included in the future release 6495a73

Tests

  • Updated the tests about XML responses af18fcd
  • Implemented tests for the Authentication 2f02c2b
  • Added TypeScript types to package.json 766088b
  • Implemented tests for the LOCK and UNLOCK methods 43f934f

Bug fix

v0.5.0-alpha

17 May 11:48
Compare
Choose a tag to compare

New features

  • Implemented the COPY method 2f45f4b

Documentation

  • Added the method COPY to the supported methods ccc310f

Tests

  • Cleaned tests with error-macro c167e14
  • Added tests for the COPY method 1629103

Other

  • Cleaned imports on the PhysicalResource class 5115994
  • Added getChildPath() method to FSPath class d1053ec

v0.4.0-alpha

16 May 13:04
Compare
Choose a tag to compare

New features

Changes

  • Added a standard method for writing operation results (other than raw data) depending to the Accept header (XML or JSON) 952f217
  • Delegate response writing to the standard writing method in arg (MethodCallArgs) 24836fc

Tests

  • Added tests for JSON and XML responses for PROPPATCH and PROPFIND 3ab05de

Other

  • Added JSON string production from XML string 34dac98
  • Removed useless import from Options.ts 4c50a08
  • Modified muteNodeNS function name to mutateNodeNS 54b3bf6

v0.3.0-alpha

15 May 14:22
Compare
Choose a tag to compare

New features

  • Implemented the MOVE method 2cb0430

Documentation

  • Added the MOVE method as supported methods b591429

Tests

  • Added tests for PROPPATCH for physical resources and virtual folder e4982dd
  • Added more PROPFIND tests a4c9e63
  • Added tests for the MOVE method 715fbbd
  • Cleaned the code of some tests 49ba519

Other

  • Removed deprecated dev dep. @types/xml-js d30d602
  • Forbid the use of console.* c18bcfb
  • Upgraded the rules for TS checking 0ffc065

Bug fix

  • Fixed divers bugs about PROPFIND 031794c
  • Fixed changes of the move() method on the RootResource class 27a4bc1