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.
- package/README.md +4 -2
- package/admin/assets/index-6afd4b06.js +542 -0
- package/{frontend/assets/sha512-70e9a0d9.js → admin/assets/sha512-f5f12dc1.js} +1 -1
- package/admin/index.html +1 -1
- package/central.json +30 -8
- package/frontend/assets/index-3a379840.js +94 -0
- package/frontend/assets/index-db5f0e4b.css +1 -0
- package/{admin/assets/sha512-2627feb7.js → frontend/assets/sha512-3392c31f.js} +1 -1
- package/frontend/index.html +2 -2
- package/package.json +1 -2
- package/plugins/download-counter/plugin.js +14 -15
- package/src/adminApis.js +1 -0
- package/src/api.auth.js +6 -6
- package/src/api.file_list.js +15 -8
- package/src/api.net.js +97 -72
- package/src/api.plugins.js +15 -26
- package/src/api.vfs.js +9 -12
- package/src/block.js +14 -1
- package/src/commands.js +1 -1
- package/src/comments.js +49 -0
- package/src/config.js +1 -5
- package/src/const.js +3 -2
- package/src/cross.js +43 -2
- package/src/customHtml.js +1 -1
- package/src/debounceAsync.js +18 -1
- package/src/frontEndApis.js +28 -6
- package/src/github.js +24 -30
- package/src/langs/hfs-lang-it.json +5 -3
- package/src/langs/hfs-lang-ru.json +6 -4
- package/src/listen.js +25 -15
- package/src/middlewares.js +3 -1
- package/src/misc.js +6 -5
- package/src/perm.js +19 -12
- package/src/plugins.js +62 -38
- package/src/serveFile.js +2 -3
- package/src/upload.js +5 -1
- package/src/util-files.js +38 -2
- package/src/util-http.js +8 -6
- package/src/vfs.js +24 -32
- package/src/watchLoad.js +5 -12
- package/src/zip.js +4 -4
- package/admin/assets/index-4e55b514.js +0 -536
- package/frontend/assets/index-cadcb0e9.css +0 -1
- 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
|
|
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.
|