]> jfr.im git - uguu.git/blobdiff - dist.json
major code cleanup and more error checking added.
[uguu.git] / dist.json
index 9d07f6577a0b9152f2d4dec37cd52e3e7dd71796..19c4378b3ac710cccda35120a686bc154da0e171 100644 (file)
--- a/dist.json
+++ b/dist.json
@@ -1,73 +1,73 @@
 {
-       "init": {
-          "allowErrors": false
-        },
-        "dest": "dist",
-        "pkgVersion": "1.3.0",
-       "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_CONN": "/path/to/db/uguu.sq3",
-       "DB_USER": "NULL",
-       "DB_PASS": "NULL",
-       "LOG_IP": false,
-       "ANTI_DUPE": false,
-       "BLACKLIST_DB": true,
-       "FILTER_MODE": true,
-       "FILES_ROOT": "/path/files",
-       "FILES_RETRIES": 15,
-       "SSL": true,
-       "URL": "a.uguu.se",
-       "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" 
-       ],
-       "DOUBLE_DOTS": [
-               "tar.gz",
-               "tar.cp"
-       ]
+  "init": {
+    "allowErrors": false
+  },
+  "dest": "dist",
+  "pkgVersion": "1.3.0",
+  "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": "/Users/go.johansson/PERSONAL_REPOS/Uguu/uguu.sq3",
+  "DB_USER": "NULL",
+  "DB_PASS": "NULL",
+  "LOG_IP": true,
+  "ANTI_DUPE": false,
+  "BLACKLIST_DB": true,
+  "FILTER_MODE": true,
+  "FILES_ROOT": "/Users/go.johansson/PERSONAL_REPOS/Uguu/dist/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"
+  ],
+  "DOUBLE_DOTS": [
+    "tar.gz",
+    "tar.cp"
+  ]
 }
\ No newline at end of file