hfs 0.45.0 → 0.46.0-alpha3
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 +7 -8
- package/admin/assets/{index-101f19c9.js → index-74847322.js} +133 -133
- package/{frontend/assets/sha512-b32d8af7.js → admin/assets/sha512-734ea9fb.js} +1 -1
- package/admin/index.html +1 -1
- package/frontend/assets/index-d7a9a422.js +94 -0
- package/frontend/assets/index-db36ef67.css +1 -0
- package/{admin/assets/sha512-c0389c0d.js → frontend/assets/sha512-acedcaa7.js} +1 -1
- package/frontend/index.html +2 -3
- package/package.json +3 -3
- package/src/adminApis.js +7 -2
- package/src/api.plugins.js +2 -4
- package/src/commands.js +2 -0
- package/src/const.js +2 -2
- package/src/github.js +49 -29
- package/src/plugins.js +10 -3
- package/src/serveGuiFiles.js +0 -7
- package/src/update.js +1 -4
- package/src/util-files.js +7 -2
- package/src/vfs.js +6 -12
- package/frontend/assets/index-59572489.css +0 -1
- package/frontend/assets/index-5aeff3af.js +0 -94
package/README.md
CHANGED
|
@@ -153,7 +153,7 @@ Configuration can be done in several ways
|
|
|
153
153
|
- passing via command line at start in the form `--NAME VALUE`
|
|
154
154
|
- directly editing the `config.yaml` file. As soon as you save it is reloaded and changes are applied
|
|
155
155
|
|
|
156
|
-
`NAME` stands for the property name that you want to change. See the complete list
|
|
156
|
+
`NAME` stands for the property name that you want to change. See the [complete list](config.md).
|
|
157
157
|
|
|
158
158
|
### Where is it stored
|
|
159
159
|
|
|
@@ -166,7 +166,7 @@ You can decide a different cwd passing `--cwd SOME_FOLDER` parameter at command
|
|
|
166
166
|
You can decide also a different file for config by passing `--config SOME_FILE`, or inside an *env* called `HFS_CONFIG`.
|
|
167
167
|
Any relative path provided is relative to the *cwd*.
|
|
168
168
|
|
|
169
|
-
[Check details about config file format](
|
|
169
|
+
[Check details about config file format](config.md).
|
|
170
170
|
|
|
171
171
|
## Security
|
|
172
172
|
|
|
@@ -179,15 +179,14 @@ While this project focuses on ease of use, we care about security.
|
|
|
179
179
|
Some actions you can take for improved security:
|
|
180
180
|
- use https, better if using a proper certificate, even free with [Letsencrypt](https://letsencrypt.org/).
|
|
181
181
|
- have a domain (ddns is ok too), start vhosting plugin, configure your domain, enable "Block requests that are not using any of the domains above"
|
|
182
|
-
- install
|
|
183
|
-
- start antibrute plugin (it's started by default)
|
|
182
|
+
- install rejetto/antidos plugin
|
|
183
|
+
- start antibrute plugin (but it's started by default)
|
|
184
184
|
- disable "unprotected admin on localhost"
|
|
185
185
|
|
|
186
186
|
## Hidden features
|
|
187
187
|
|
|
188
188
|
- Appending `#LOGIN` to address will bring up the login dialog
|
|
189
189
|
- Appending ?lang=CODE to address will force a specific language
|
|
190
|
-
- env `SESSION_DURATION` can be set to any number of seconds. Default is 1 day.
|
|
191
190
|
- right/ctrl/command click on toggle-all checkbox will invert each checkbox state
|
|
192
191
|
|
|
193
192
|
## Contribute
|
|
@@ -211,14 +210,14 @@ There are several ways to contribute
|
|
|
211
210
|
If you'd like to make a change yourself in the code, please first open an "issue" or "discussion" about it,
|
|
212
211
|
so we'll try to cooperate and understand what's the best path for it.
|
|
213
212
|
|
|
214
|
-
- [Make a plugin](
|
|
213
|
+
- [Make a plugin](dev-plugins.md)
|
|
215
214
|
|
|
216
215
|
A plugin can change the look (a theme), and/or introduce a new functionality.
|
|
217
216
|
|
|
218
217
|
## More
|
|
219
218
|
|
|
220
|
-
- [Build yourself](
|
|
219
|
+
- [Build yourself](dev.md)
|
|
221
220
|
|
|
222
221
|
- [License](https://github.com/rejetto/hfs/blob/master/LICENSE.txt)
|
|
223
222
|
|
|
224
|
-
- [To-do list](
|
|
223
|
+
- [To-do list](todo.md)
|