Allow to override the privilege checking in the context to allow special operations (list all locks, for instance) b96fde6
Added the 'isLocked' method in the 'Resource' class and in the 'ContextualFileSystem' class 7e3a142
Modified the 'FileSystem' class and the serialization method to skip/allow non-serializable file system (skip the serialization of a fs if 'fs.serializer()' returns null/undefined) 43acf3f
Changes
Added headers to allow cross domain access to the server 654886c
Fixed the URL decoding in the 'Path' class to be able to work with fully encoded and partially encoded URL 5a743a9
Fixed wrong content length when the content contains special characters + Specified the encoding when writing to the response body (UTF-8) + Minimified the 'Content-Type' header in the 'writeBody' method of the 'RequestContext' class c12096a
Fixed the 'HTTPDigestAuthentication' class of the v1 and v2 to work with the level 0 of the digest authentication 6247297
Fixed the 'LOCK' method which needed the 'owner' in the lock properties (which was made optional in the past) 21a4a94
Fixed a bug saying that the callback is not a function when calling the 'readDir' method of a file system 57056d0
Fixed the standard copy/move methods to copy/move the source content of the resource ec0144e
Fixed the HEAD method crashing when the size of a resource is undefined de276ff
Fixed the constructor by copy of the 'LocalPropertyManager' class and the 'LocalLockManager' class a5fb4c0
Fixed the persistence (untriggered close event on saving) 7e7f86d
Fixed the 'create' method of the 'FileSystem' class which was not creating more than 1 intermediate 4b1cb25
Fixed the 'SimplePathPrivilegeManager' class to add sub-rights when calling the 'setRights' method aaeed0c
Fixed a bad privilege check in the 'FileSystem' class which asked write rights for reading available locks of a resource feb1fe0
Removed a bad privilege check in the 'listDeepLocks' method of the 'FileSystem' class 2023611
Fixed the 'isLocked' method of the 'FileSystem' class to skip privilege checking f201b61
Fixed the 'SimplePathPrivilegeManager' class 25a9529
Changed to check by reference by default when seeking for a file system e39fd71
Added the user as argument in the privilege managers 8908c87
Splitted the 'RequestContext' class into 'RequestContext', 'ExternalRequestContext' and 'HTTPRequestContext' faf8581
Added a constructor to help unserialization in the 'LocalPropertyManager' class and the 'LocalLockManager' class0e78d10 Fixed the 'PhysicalFileSystem' class f8b3b46
The user used by the 'createExternal(...)' static method of the 'RequestContext' class is now a super-admin user unreferenced by the user manager 50e1194
Made the callback optional in the 'addSubTree' of the 'FileSystem' class d81a883
Made the 'treeFilePath' server option of 'autoLoad' optional (default value is the 'treeFilePath' of 'autoSave') 386f04a
Changed the type of the 'privilegeManager' server option from the old 'IPrivilegeManager' to the new 'PrivilegeManager' 386f04a
Added the 'CreateExternalContext' method to the server class to ease the creation of external contexts 358e2ee
Changed the type of the 'path' argument of the methods in 'FileSystem', 'ContextualFileSystem' and 'Resource' from 'Path' to 'Path | string' to be more easy to use 5c987c6
Added the 'PrivilegeManagerInfo' interface 4d29192
Added the 'destinationPath' to the 'RenameInfo' interface 4d29192
Added the 'setCodeFromError' method and the 'defaultStatusCode' method to the 'RequestContext' class 8cf9a53
Added an error class for unserialization error (when the serializer is not found) f488ecc
Added some standard errors to the 'Errors' bundle 37afaaa
Implemented the physical gateway and its FSManager d0aa8c8
Implemented the static methods 'standardMoveWithoutCopy', 'standardMoveByCopy', 'standardFindChildByName', 'standardFindChildren' and 'standardAddToParent' in the 'StandardResource' class 2bb7a4b
Added the ability to parse JSON in the request body cf0debb
Added the 'Allow' header to all the methods and filter the allowed methods according to the existence of the requested resource and its 'ResourceType' 7db537e
Added the server options 'serverName' and 'version' to display in the 'Server' HTTP header fd4158b
Added the 'Server' header to the responses e015847
Added a 'displayName' optional method in the 'IResource' interface c9812d6