hfs 0.33.0 → 0.34.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 +2 -1
- package/admin/assets/{index-5e32462d.js → index-e640676c.js} +100 -100
- package/{frontend/assets/sha512-ddfc56b5.js → admin/assets/sha512-c5be9c34.js} +1 -1
- package/admin/index.html +1 -1
- package/frontend/assets/index-eebe42f5.css +1 -0
- package/frontend/assets/index-f36b3979.js +85 -0
- package/{admin/assets/sha512-533f4dba.js → frontend/assets/sha512-6fd22a89.js} +1 -1
- package/frontend/index.html +3 -2
- package/package.json +1 -1
- package/plugins/download-counter/plugin.js +3 -2
- package/plugins/download-counter/public/main.js +2 -0
- package/plugins/download-counter/public/style.css +2 -0
- package/src/api.file_list.js +4 -3
- package/src/api.vfs.js +9 -14
- package/src/const.js +1 -1
- package/src/frontEndApis.js +26 -1
- package/src/serveFile.js +1 -1
- package/src/serveGuiFiles.js +2 -0
- package/src/vfs.js +1 -0
- package/frontend/assets/index-71b9ad8e.js +0 -85
- package/frontend/assets/index-a6f88231.css +0 -1
- package/plugins/download-counter/public/hits.js +0 -5
package/README.md
CHANGED
|
@@ -180,8 +180,9 @@ Valid keys in a node are:
|
|
|
180
180
|
- `"*"`: any account can, i.e. anyone who logged in.
|
|
181
181
|
- `[ frank, peter ]`: the list of accounts who can.
|
|
182
182
|
- `can_see`: specify who can see this entry. Even if a user can download you can still make the file not appear in the list.
|
|
183
|
+
Remember that to see in the list you must also be able to download (read), or else you won't see it anyway. Value is a `WhoCan` descriptor, refer above.
|
|
183
184
|
- `can_upload` specify who can upload. Applies to folders with a source. Default is none.
|
|
184
|
-
|
|
185
|
+
- `can_delete` specify who can delete. Applies to folders with a source. Default is none.
|
|
185
186
|
- `masks`: maps a file mask to a set of properties as the one documented in this section. E.g.
|
|
186
187
|
```
|
|
187
188
|
masks:
|