]> jfr.im git - uguu.git/blobdiff - dist.json
Update 'docker/Dockerfile'
[uguu.git] / dist.json
index 8036c5ffc83b88a2eb26b7a16bb536f556e222bc..5ab37cb1a38f3c6502a94023762b24e09c990004 100644 (file)
--- a/dist.json
+++ b/dist.json
@@ -1,28 +1,69 @@
 {
-       "init": {
-          "allowErrors": false
-        },
-        "dest": "dist",
-        "pkgVersion": "<%= pkg.version %>",
-       "banners": [
-               "banners/malware_scans.swig",
-               "banners/donations.swig"
-       ],
-       "src": [
-               "templates/index.swig",
-               "templates/faq.swig",
-               "templates/tools.swig"
-       ],
-       "generateRobotstxt": false,
-       "generateSitemap": false,
-       "max_upload_size": 128,
-       "production": false,
-       "siteName": "SITENAME",
-       "siteUrl": "https://yoursite.com",
-       "abuseContact": "abuse@example.com",
-       "infoContact": "info@example.com",
-       "ServerCountryLocation": "Sweden",
-       "paypalUrl": "",
-       "bitcoinAddress": "",
-       "flattrUrl": ""
+  "init": {
+    "allowErrors": false
+  },
+  "dest": "dist",
+  "pkgVersion": "1.5.2",
+  "banners": [
+    "banners/malware_scans.swig",
+    "banners/donations.swig"
+  ],
+  "src": [
+    "templates/index.swig",
+    "templates/faq.swig",
+    "templates/tools.swig"
+  ],
+  "generateRobotstxt": false,
+  "generateSitemap": false,
+  "max_upload_size": 128,
+  "production": false,
+  "siteName": "SITENAME",
+  "siteUrl": "https://yoursite.com",
+  "abuseContact": "abuse@example.com",
+  "infoContact": "info@example.com",
+  "ServerCountryLocation": "Sweden",
+  "SiteMetaInfo": "SITENAME is a temporary file hosting service, upload files up to 128MiB for 24 hours.",
+  "ToolsDesc": "The following tools might need editing to work on this clone of Uguu, usually editing the URL works.",
+  "paypalUrl": "",
+  "bitcoinAddress": "",
+  "flattrUrl": "",
+  "DB_MODE": "sqlite",
+  "DB_PATH": "/var/www/db/uguu.sq3",
+  "DB_USER": "NULL",
+  "DB_PASS": "NULL",
+  "LOG_IP": false,
+  "ANTI_DUPE": false,
+  "BLACKLIST_DB": true,
+  "FILTER_MODE": true,
+  "FILES_ROOT": "/var/www/files/",
+  "FILES_RETRIES": 15,
+  "SSL": true,
+  "URL": "a.uguu.se",
+  "NAME_LENGTH": 8,
+  "ID_CHARSET": "abcdefghijklmnopqrstuvwxyzABCDEFGHJKLMNOPQRSTUVWXYZ",
+  "BLOCKED_EXTENSIONS": [
+    "exe",
+    "scr",
+    "com",
+    "vbs",
+    "bat",
+    "cmd",
+    "htm",
+    "html",
+    "jar",
+    "msi",
+    "apk",
+    "phtml",
+    "svg"
+  ],
+  "BLOCKED_MIME": [
+    "application/msword",
+    "text/html",
+    "application/x-dosexec",
+    "application/java",
+    "application/java-archive",
+    "application/x-executable",
+    "application/x-mach-binary",
+    "image/svg+xml"
+  ]
 }