hfs 0.49.2 → 0.50.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 +2 -0
- package/admin/assets/{index-79c48481.js → index-18a6b5e2.js} +319 -61
- package/admin/assets/{index-1c2b890b.css → index-f3fd8783.css} +1 -1
- package/{frontend/assets/sha512-da48f0d4.js → admin/assets/sha512-58cb94a6.js} +1 -1
- package/admin/index.html +2 -2
- package/central.json +5 -0
- package/frontend/assets/index-629107cf.js +94 -0
- package/frontend/assets/{index-b50efd06.css → index-88f77c85.css} +1 -1
- package/{admin/assets/sha512-bdc531ce.js → frontend/assets/sha512-0e660b94.js} +1 -1
- package/frontend/index.html +2 -2
- package/package.json +3 -2
- package/plugins/antibrute/plugin.js +1 -1
- package/plugins/vhosting/plugin.js +3 -3
- package/src/adminApis.js +18 -12
- package/src/api.accounts.js +7 -1
- package/src/api.auth.js +7 -31
- package/src/api.file_list.js +6 -1
- package/src/api.monitor.js +10 -6
- package/src/api.vfs.js +6 -8
- package/src/apiMiddleware.js +12 -12
- package/src/auth.js +49 -0
- package/src/connections.js +6 -1
- package/src/const.js +3 -2
- package/src/cross.js +27 -3
- package/src/customHtml.js +1 -1
- package/src/geo.js +61 -0
- package/src/index.js +4 -1
- package/src/log.js +2 -2
- package/src/middlewares.js +24 -21
- package/src/perm.js +1 -6
- package/src/plugins.js +1 -3
- package/src/serveFile.js +2 -2
- package/src/serveGuiFiles.js +3 -6
- package/src/srp.js +22 -0
- package/src/upload.js +2 -2
- package/src/vfs.js +11 -16
- package/src/zip.js +2 -0
- package/frontend/assets/index-5f1c6cb8.js +0 -94
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{height:100dvh}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:100vh;background:#000}#root{min-height:100%;display:flex}main{word-break:break-word}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.MuiTreeItem-content{box-sizing:border-box}.MuiDataGrid-columnHeaders{background-color:#8882}.wrap .MuiDataGrid-cellContent{white-space:normal}ol,ul{margin-top:.2em;padding-left:1.5em}.dialog-alert .MuiDialogContent-root{max-width:45em;padding:.5em 1em}.animated-dashed-line{width:100%;height:2px;background-image:linear-gradient(to right,currentColor 50%,transparent 50%);background-size:10px 100%;animation:animate-dash 1s alternate linear infinite}@keyframes animate-dash{to{background-position:20px 0}}
|
|
1
|
+
:root{height:100dvh}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:100vh;background:#000}#root{min-height:100%;display:flex}main{word-break:break-word}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.MuiTreeItem-content{box-sizing:border-box}.MuiDataGrid-columnHeaders{background-color:#8882}.wrap .MuiDataGrid-cellContent{white-space:normal}ol,ul{margin-top:.2em;margin-bottom:.2em;padding-left:1.5em}.dialog-alert .MuiDialogContent-root{max-width:45em;padding:.5em 1em}.animated-dashed-line{width:100%;height:2px;background-image:linear-gradient(to right,currentColor 50%,transparent 50%);background-size:10px 100%;animation:animate-dash 1s alternate linear infinite}@keyframes animate-dash{to{background-position:20px 0}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as OF,c as UF}from"./index-
|
|
1
|
+
import{g as OF,c as UF}from"./index-18a6b5e2.js";function gF(sF,hF){for(var eF=0;eF<hF.length;eF++){const tF=hF[eF];if(typeof tF!="string"&&!Array.isArray(tF)){for(const w in tF)if(w!=="default"&&!(w in sF)){const lF=Object.getOwnPropertyDescriptor(tF,w);lF&&Object.defineProperty(sF,w,lF.get?lF:{enumerable:!0,get:()=>tF[w]})}}}return Object.freeze(Object.defineProperty(sF,Symbol.toStringTag,{value:"Module"}))}var dF={exports:{}};/*
|
|
2
2
|
* [js-sha512]{@link https://github.com/emn178/js-sha512}
|
|
3
3
|
*
|
|
4
4
|
* @version 0.8.0
|
package/admin/index.html
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
<title>HFS Admin</title>
|
|
8
8
|
|
|
9
9
|
<link rel="icon" type="image/svg+xml" href="/hfs-logo-icon.svg" />
|
|
10
|
-
<script type="module" crossorigin src="/assets/index-
|
|
11
|
-
<link rel="stylesheet" href="/assets/index-
|
|
10
|
+
<script type="module" crossorigin src="/assets/index-18a6b5e2.js"></script>
|
|
11
|
+
<link rel="stylesheet" href="/assets/index-f3fd8783.css">
|
|
12
12
|
</head>
|
|
13
13
|
<body>
|
|
14
14
|
<div id="root"></div>
|
package/central.json
CHANGED
|
@@ -29,6 +29,11 @@
|
|
|
29
29
|
"regexpFailure": "false",
|
|
30
30
|
"regexpSuccess": "true"
|
|
31
31
|
},
|
|
32
|
+
{
|
|
33
|
+
"url": "https://byhmniehcu2jzoeododjam6i5a0yszsf.lambda-url.eu-central-1.on.aws/?url=$URL",
|
|
34
|
+
"regexpFailure": "false",
|
|
35
|
+
"regexpSuccess": "true"
|
|
36
|
+
},
|
|
32
37
|
{
|
|
33
38
|
"url": "http://hfstest.rejetto.com/v3?url=$URL",
|
|
34
39
|
"regexpFailure": "\"error\"",
|