Compare commits

...

2 Commits

Author SHA1 Message Date
Alain CAO
44526aaf11 Branding 2020-07-17 00:07:05 +02:00
Alain CAO
5abc7917ad Updated retention 2020-07-17 00:07:05 +02:00
5 changed files with 26 additions and 27 deletions

View File

@@ -27,12 +27,11 @@ const config = {
"259200": "3 Days", "259200": "3 Days",
"604800": "1 Week", "604800": "1 Week",
"1209600": "2 Weeks", "1209600": "2 Weeks",
"2419200": "4 Weeks", "1814400": "3 Weeks"
"4838400": "8 Weeks"
}, },
// admin password, set to false to disable /admin page // admin password, set to false to disable /admin page
"adminPass": false, "adminPass": false,
"defaultRetention": "604800", "defaultRetention": "259200",
// expire every file after maxAge (eg never downloaded one-time files) // expire every file after maxAge (eg never downloaded one-time files)
"maxAge": 3600*24*75, // 75 days "maxAge": 3600*24*75, // 75 days
// maximum file-size for previews in byte // maximum file-size for previews in byte

View File

@@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>PsiTransfer Admin</title> <title>SigmaConso File Transfer Admin</title>
<link href="/assets/favicon.ico" rel="icon" type="image/x-icon"> <link href="/assets/favicon.ico" rel="icon" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex,nofollow"> <meta name="robots" content="noindex,nofollow">
@@ -24,11 +24,11 @@
<body> <body>
<div class="container"> <div class="container">
<h1> <div style="float:left; padding-top:3px">
<svg version="1.1" role="presentation" viewBox="0 0 1920 1792" class="fa-icon" style="fill: #0275D8"> <img src="https://www.sigmaconso.com/wp-content/themes/sigmaconso/images/header/logo-sigmaconso.png" style="margin-top:3px">
<path d="M1280 864q0-14-9-23l-352-352q-9-9-23-9t-23 9l-351 351q-10 12-10 24 0 14 9 23t23 9h224v352q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5v-352h224q13 0 22.5-9.5t9.5-22.5zM1920 1152q0 159-112.5 271.5t-271.5 112.5h-1088q-185 0-316.5-131.5t-131.5-316.5q0-130 70-240t188-165q-2-30-2-43 0-212 150-362t362-150q156 0 285.5 87t188.5 231q71-62 166-62 106 0 181 75t75 181q0 76-41 138 130 31 213.5 135.5t83.5 238.5z"></path> </div>
</svg> <h1 style="text-align:center">
PsiTransfer Admin File&nbsp;Transfer
</h1> </h1>
<hr> <hr>
<div id="admin"></div> <div id="admin"></div>

View File

@@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>PsiTransfer</title> <title>SigmaConso File Transfer</title>
<link href="/assets/favicon.ico" rel="icon" type="image/x-icon"> <link href="/assets/favicon.ico" rel="icon" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex,nofollow"> <meta name="robots" content="noindex,nofollow">
@@ -24,11 +24,11 @@
<body> <body>
<div class="container"> <div class="container">
<h1> <div style="float:left; padding-top:3px">
<svg version="1.1" role="presentation" viewBox="0 0 1920 1792" class="fa-icon" style="fill: #0275D8"> <img src="https://www.sigmaconso.com/wp-content/themes/sigmaconso/images/header/logo-sigmaconso.png" style="margin-top:3px">
<path d="M1280 928q0-14-9-23t-23-9h-224v-352q0-13-9.5-22.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 22.5v352h-224q-13 0-22.5 9.5t-9.5 22.5q0 14 9 23l352 352q9 9 23 9t23-9l351-351q10-12 10-24zM1920 1152q0 159-112.5 271.5t-271.5 112.5h-1088q-185 0-316.5-131.5t-131.5-316.5q0-130 70-240t188-165q-2-30-2-43 0-212 150-362t362-150q156 0 285.5 87t188.5 231q71-62 166-62 106 0 181 75t75 181q0 76-41 138 130 31 213.5 135.5t83.5 238.5z"></path> </div>
</svg> <h1 style="text-align:center">
PsiTransfer File&nbsp;Transfer
</h1> </h1>
<hr> <hr>
<div id="download"></div> <div id="download"></div>

View File

@@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>PsiTransfer</title> <title>SigmaConso File Transfer</title>
<link href="/assets/favicon.ico" rel="icon" type="image/x-icon"/> <link href="/assets/favicon.ico" rel="icon" type="image/x-icon"/>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex,nofollow"> <meta name="robots" content="noindex,nofollow">
@@ -27,11 +27,11 @@
</head> </head>
<body> <body>
<div class="container"> <div class="container">
<h1> <div style="float:left; padding-top:3px">
<svg version="1.1" role="presentation" viewBox="0 0 1920 1792" class="fa-icon" style="fill: #0275D8"> <img src="https://www.sigmaconso.com/wp-content/themes/sigmaconso/images/header/logo-sigmaconso.png" style="margin-top:3px">
<path d="M1280 864q0-14-9-23l-352-352q-9-9-23-9t-23 9l-351 351q-10 12-10 24 0 14 9 23t23 9h224v352q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5v-352h224q13 0 22.5-9.5t9.5-22.5zM1920 1152q0 159-112.5 271.5t-271.5 112.5h-1088q-185 0-316.5-131.5t-131.5-316.5q0-130 70-240t188-165q-2-30-2-43 0-212 150-362t362-150q156 0 285.5 87t188.5 231q71-62 166-62 106 0 181 75t75 181q0 76-41 138 130 31 213.5 135.5t83.5 238.5z"></path> </div>
</svg> <h1 style="text-align:center">
PsiTransfer File&nbsp;Transfer
</h1> </h1>
<hr> <hr>
<p class="alert alert-danger"> <p class="alert alert-danger">

View File

@@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>PsiTransfer</title> <title>SigmaConso File Transfer</title>
<link href="/assets/favicon.ico" rel="icon" type="image/x-icon"> <link href="/assets/favicon.ico" rel="icon" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex,nofollow"> <meta name="robots" content="noindex,nofollow">
@@ -27,11 +27,11 @@
<div id="dropHelper"></div> <div id="dropHelper"></div>
<div class="container"> <div class="container">
<h1> <div style="float:left; padding-top:3px">
<svg version="1.1" role="presentation" viewBox="0 0 1920 1792" class="fa-icon" style="fill: #0275D8"> <img src="https://www.sigmaconso.com/wp-content/themes/sigmaconso/images/header/logo-sigmaconso.png" style="margin-top:3px">
<path d="M1280 864q0-14-9-23l-352-352q-9-9-23-9t-23 9l-351 351q-10 12-10 24 0 14 9 23t23 9h224v352q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5v-352h224q13 0 22.5-9.5t9.5-22.5zM1920 1152q0 159-112.5 271.5t-271.5 112.5h-1088q-185 0-316.5-131.5t-131.5-316.5q0-130 70-240t188-165q-2-30-2-43 0-212 150-362t362-150q156 0 285.5 87t188.5 231q71-62 166-62 106 0 181 75t75 181q0 76-41 138 130 31 213.5 135.5t83.5 238.5z"></path> </div>
</svg> <h1 style="text-align:center">
PsiTransfer File&nbsp;Transfer
</h1> </h1>
<hr> <hr>
<div id="upload"></div> <div id="upload"></div>