hfs 0.34.0 → 0.35.0-rc1
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 +11 -0
- package/admin/assets/index-0859bb0d.js +415 -0
- package/{frontend/assets/sha512-6fd22a89.js → admin/assets/sha512-1ab69ff8.js} +1 -1
- package/admin/index.html +1 -1
- package/frontend/assets/index-21e40dc5.js +85 -0
- package/frontend/assets/index-c4c325e9.css +1 -0
- package/{admin/assets/sha512-c5be9c34.js → frontend/assets/sha512-5cf58050.js} +1 -1
- package/frontend/index.html +2 -2
- package/package.json +3 -2
- package/plugins/antibrute/plugin.js +1 -1
- package/plugins/download-counter/public/main.js +2 -2
- package/plugins/download-counter/public/style.css +0 -1
- package/src/adminApis.js +2 -0
- package/src/api.lang.js +59 -0
- package/src/const.js +1 -1
- package/src/frontEndApis.js +23 -0
- package/src/plugins.js +1 -0
- package/src/serveGuiFiles.js +1 -1
- package/admin/assets/index-e640676c.js +0 -414
- package/frontend/assets/index-eebe42f5.css +0 -1
- package/frontend/assets/index-f36b3979.js +0 -85
package/README.md
CHANGED
|
@@ -36,11 +36,13 @@ You won't find all previous features here (yet), but still we got:
|
|
|
36
36
|
- resumable downloads
|
|
37
37
|
- resumable uploads
|
|
38
38
|
- download folders as zip archive
|
|
39
|
+
- remote delete
|
|
39
40
|
- simple website serving
|
|
40
41
|
- plug-ins
|
|
41
42
|
- log file
|
|
42
43
|
- speed throttler
|
|
43
44
|
- admin web interface
|
|
45
|
+
- multi-language front-end
|
|
44
46
|
- virtual hosting (plug-in)
|
|
45
47
|
- anti-brute-force (plug-in)
|
|
46
48
|
|
|
@@ -80,6 +82,15 @@ If you want to run HFS as a service
|
|
|
80
82
|
- run `npm -g update hfs`
|
|
81
83
|
- run the service installation again
|
|
82
84
|
|
|
85
|
+
## Internationalization
|
|
86
|
+
|
|
87
|
+
It is possible to show the Front-end in other languages.
|
|
88
|
+
In the Languages section of the Admin-panel you'll be able to install lang files.
|
|
89
|
+
You can find some of these files at https://github.com/rejetto/hfs/tree/main/langs
|
|
90
|
+
To download a file: open it, right-click on the "Raw" button, Save.
|
|
91
|
+
|
|
92
|
+
Files must be named `hfs-lang-CODE.json` (lowercase), where `CODE` is the ISO code for your language (e.g. pt-br for Brazilian).
|
|
93
|
+
|
|
83
94
|
## Plug-ins
|
|
84
95
|
|
|
85
96
|
To install a plugin you just copy its folder inside `plugins` folder.
|