hfs 0.27.2 → 0.29.0
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 +3 -2
- package/admin/assets/{index-509bb1d6.js → index-cbb42a0e.js} +104 -104
- package/admin/assets/{index-60a380a7.css → index-f8049da8.css} +1 -1
- package/{frontend/assets/sha512-bf915587.js → admin/assets/sha512-3273321f.js} +1 -1
- package/admin/index.html +2 -2
- package/frontend/assets/index-72e96bb2.js +85 -0
- package/frontend/assets/index-cbcc6ac5.css +1 -0
- package/{admin/assets/sha512-738f0943.js → frontend/assets/sha512-2c2fa926.js} +1 -1
- package/frontend/index.html +2 -2
- package/package.json +7 -5
- package/plugins/vhosting/plugin.js +1 -1
- package/src/QuickZipStream.js +1 -24
- package/src/adminApis.js +2 -4
- package/src/api.accounts.js +1 -1
- package/src/api.auth.js +4 -0
- package/src/api.vfs.js +4 -9
- package/src/apiMiddleware.js +10 -6
- package/src/config.js +2 -1
- package/src/const.js +2 -1
- package/src/frontEndApis.js +22 -1
- package/src/github.js +2 -0
- package/src/index.js +2 -1
- package/src/listen.js +5 -2
- package/src/log.js +2 -2
- package/src/middlewares.js +22 -36
- package/src/misc.js +26 -1
- package/src/plugins.js +5 -7
- package/src/serveFile.js +4 -2
- package/src/serveGuiFiles.js +1 -24
- package/src/update.js +2 -2
- package/src/upload.js +92 -0
- package/src/util-files.js +3 -12
- package/src/util-os.js +41 -0
- package/src/vfs.js +15 -10
- package/src/zip.js +6 -4
- package/frontend/assets/index-6e178dfd.css +0 -1
- package/frontend/assets/index-aea7654e.js +0 -85
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ You won't find all previous features here (yet), but still we got:
|
|
|
34
34
|
- search
|
|
35
35
|
- accounts
|
|
36
36
|
- resumable downloads
|
|
37
|
-
-
|
|
37
|
+
- resumable uploads
|
|
38
38
|
- download folders as zip archive
|
|
39
39
|
- simple website serving
|
|
40
40
|
- plug-ins
|
|
@@ -145,7 +145,7 @@ an *env* called `HFS_CONFIG`. Any relative path provided is relative to the *cwd
|
|
|
145
145
|
- `https_port` listen on a specific port. Default is 443.
|
|
146
146
|
- `cert` use this file for https certificate. Minimum to start https is to give a cert and a private_key. Default is none.
|
|
147
147
|
- `private_key` use this file for https private key. Default is none.
|
|
148
|
-
- `allowed_referer` you can decide what domains can link to your files. Wildcards supported. Default is any.
|
|
148
|
+
- `allowed_referer` you can decide what domains can link to your files. Wildcards supported. Default is empty, meaning any.
|
|
149
149
|
- `block` a list of rules that will block connections. E.g.:
|
|
150
150
|
```
|
|
151
151
|
block:
|
|
@@ -157,6 +157,7 @@ an *env* called `HFS_CONFIG`. Any relative path provided is relative to the *cwd
|
|
|
157
157
|
- `custom_header` provide HTML code to be put at the top of your Frontend. Default is none.
|
|
158
158
|
- `localhost_admin` should Admin be accessed without credentials when on localhost. Default is true.
|
|
159
159
|
- `proxies` number of proxies between server and clients to be trusted about providing clients' IP addresses. Default is 0.
|
|
160
|
+
- `keep_unfinished_uploads` should unfinished uploads be deleted immediately when interrupted. Default is true.
|
|
160
161
|
|
|
161
162
|
#### Virtual File System (VFS)
|
|
162
163
|
|