hfs 0.48.3 → 0.49.0-alpha2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/README.md +4 -2
  2. package/admin/assets/index-6afd4b06.js +542 -0
  3. package/{frontend/assets/sha512-70e9a0d9.js → admin/assets/sha512-f5f12dc1.js} +1 -1
  4. package/admin/index.html +1 -1
  5. package/central.json +30 -8
  6. package/frontend/assets/index-3a379840.js +94 -0
  7. package/frontend/assets/index-db5f0e4b.css +1 -0
  8. package/{admin/assets/sha512-2627feb7.js → frontend/assets/sha512-3392c31f.js} +1 -1
  9. package/frontend/index.html +2 -2
  10. package/package.json +1 -2
  11. package/plugins/download-counter/plugin.js +14 -15
  12. package/src/adminApis.js +1 -0
  13. package/src/api.auth.js +6 -6
  14. package/src/api.file_list.js +15 -8
  15. package/src/api.net.js +97 -72
  16. package/src/api.plugins.js +15 -26
  17. package/src/api.vfs.js +9 -12
  18. package/src/block.js +14 -1
  19. package/src/commands.js +1 -1
  20. package/src/comments.js +49 -0
  21. package/src/config.js +1 -5
  22. package/src/const.js +3 -2
  23. package/src/cross.js +43 -2
  24. package/src/customHtml.js +1 -1
  25. package/src/debounceAsync.js +18 -1
  26. package/src/frontEndApis.js +28 -6
  27. package/src/github.js +24 -30
  28. package/src/langs/hfs-lang-it.json +5 -3
  29. package/src/langs/hfs-lang-ru.json +6 -4
  30. package/src/listen.js +25 -15
  31. package/src/middlewares.js +3 -1
  32. package/src/misc.js +6 -5
  33. package/src/perm.js +19 -12
  34. package/src/plugins.js +62 -38
  35. package/src/serveFile.js +2 -3
  36. package/src/upload.js +5 -1
  37. package/src/util-files.js +38 -2
  38. package/src/util-http.js +8 -6
  39. package/src/vfs.js +24 -32
  40. package/src/watchLoad.js +5 -12
  41. package/src/zip.js +4 -4
  42. package/admin/assets/index-4e55b514.js +0 -536
  43. package/frontend/assets/index-cadcb0e9.css +0 -1
  44. package/frontend/assets/index-e24651da.js +0 -94
package/README.md CHANGED
@@ -26,6 +26,7 @@ This is a full rewrite of [the Delphi version](https://github.com/rejetto/hfs2).
26
26
  ## Features
27
27
 
28
28
  - https
29
+ - easy certificate generation
29
30
  - unicode
30
31
  - virtual file system
31
32
  - mobile friendly
@@ -44,10 +45,11 @@ This is a full rewrite of [the Delphi version](https://github.com/rejetto/hfs2).
44
45
  - virtual hosting (plug-in)
45
46
  - anti-brute-force (plug-in)
46
47
  - [reverse-proxy support](https://github.com/rejetto/hfs/wiki/Reverse-proxy)
48
+ - comments in file descript.ion
47
49
 
48
50
  ## Installation
49
51
 
50
- NB: minimum Windows version required is 8.1 , Windows Server 2012 R2 (because of Node.js 16)
52
+ NB: minimum Windows version required is 8.1 , Windows Server 2012 R2 (because of Node.js 18)
51
53
 
52
54
  1. go to https://github.com/rejetto/hfs/releases
53
55
  2. click on `Assets`
@@ -68,7 +70,7 @@ If you don't like this behavior, disable it in the Admin-panel or enter this con
68
70
 
69
71
  If your system is not Windows/Linux/Mac or you just don't want to run the binaries, you can try this alternative version:
70
72
 
71
- 1. [install node.js](https://nodejs.org)
73
+ 1. [install node.js](https://nodejs.org) version 18
72
74
  2. execute at command line `npx hfs@latest`
73
75
 
74
76
  The `@latest` part is optional, and ensures that you are always up to date.