瀏覽代碼

Add files via upload

Capitan Cloud 2 年之前
父節點
當前提交
52f1eeeda6
共有 3 個文件被更改,包括 359 次插入0 次删除
  1. 58 0
      INSTALLATION.md
  2. 80 0
      dd.html
  3. 221 0
      index.html

+ 58 - 0
INSTALLATION.md

@@ -0,0 +1,58 @@
+# INSTALLATION
+   
+  Installing Faceborg is more straightforward than what it could appear..   
+  
+  First, if you use Nginx as reversed proxy just point the root of your web app to /path/to/YourFaceborg/Public   
+  where the public content is located:
+  
+  <ol>  
+  <li>The static content hosted should be just of this kind: html, css, js, png, jpg, jpeg, gif, fonts, map, ico</li>   
+  <li>Example of Nginx minimal configuration:
+     
+      server {   
+     
+        listen 80;
+        listen [::]:80;
+    
+        server_name yourFaceborg.com;
+     
+        root /var/www/YourFaceborg/Public;
+        index index.php; 
+       
+        location / {     
+           
+           if (!-e $request_filename) {
+             rewrite ^(.+)$ /index.php?url=$1 last;
+           }
+        }
+     
+        location ~* ^.+\.(php)$ {     
+          proxy_set_header Host $host;     
+          proxy_set_header X-Real_IP $remote_addr;     
+          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;    
+         
+          proxy_http_version 1.1;     
+          proxy_set_header Connection "";     
+        
+          proxy_pass http://127.0.0.1:8081;        
+        }
+        
+        location ~* ^.+\.(js|map|css|jpg|jpeg|gif|png|ttf|woff|woff2|eot|pdf|html|htm|zip|flv|swf|ico|xml|txt|wav|mp3)$ {
+     
+          gzip on;
+          #gzip_http_version 1.1;
+          gzip_comp_level 6;
+          gzip_types text/css text/javascript application/x-javascript text/html;
+          gzip_min_length 1000;
+
+          expires 30d;
+        }      
+      }     
+     
+     
+  </li>
+  </ol>  
+  
+  Apache instead should have DocumentRoot pointing to /path/to/YourFaceborg/Public .   
+  
+  Dan

+ 80 - 0
dd.html

@@ -0,0 +1,80 @@
+<html>
+<head>
+  
+  <title>5 Mode: Data Disclaimer</title>
+
+  <style>
+    body {
+      background-color: lightgray;
+      margin: 0 0 0 0;
+      font-family: Monospace, Verdana, Serif;
+      font-variant-caps: titling-caps;
+    }
+    a {
+      color: orange;
+      text-decoration: transparent;
+    }
+    a:active {
+      color: orange;
+      text-decoration: transparent;
+    }
+    a:visited {
+      color: orange;
+      text-decoration: transparent;
+    }
+    a:hover {
+      color: orange;
+      text-decoration: transparent;
+    }
+    .desc {
+      color:black;
+      font-size: 1.3vw;
+      position:relative;
+      top:-3vw;
+    }
+    .hop {
+      background-color:#f6f6f6;
+      font-size:5vw;
+      /*font-family: 'Press Start 2P', cursive;*/
+      width: 100%;
+      height: 20%;
+      text-align:center;
+      cursor: pointer;
+    }
+  </style>
+  
+</head>
+
+<body>
+  
+<div class="hop "style="display:table;width:80%;height:100%;clear:both;margin:auto;">
+  <br>  
+  <span style="color:darkgray;">5 Mode: Data Disclaimer</span><br><br>
+  <p class="desc" style="padding:30px;">
+  We go to extraodinary efforts here in 5 Mode to ensure that the data within our website pages is accurate and up-to-date.<br><br>
+
+  We have unique direct touch within our company businesses and development team who provide us with product information starting
+  from before a software announcement through to its launch. Where possible, we verify this information during our review process.
+  Additionally, we love our work so we're always checking and double checking our data, often in combination with user and other
+  contributors feedback.<br><br>
+
+  Even given our herculean efforts we can not guarantee that the information on our website pages is 100% correct.<br><br>
+
+  If a particular information is vital to you, we always recommend asking and testing in a secure developing environment and the
+  best way to start is by visiting the doc of our products, and the doc of the technologies (programming language, webserver, devops,
+  etc.) you are going to use in your places.<br><br>
+
+  If you think that any information of our website is wrong or missing, please contact us <a href="http://5md.io/l/email">here</a>.<br><br>
+
+  Now for the legalese.<br><br>
+
+  5 Mode is not responsible for any errors or omissions, or for the results obtained from the use of the information contained in this website.
+  All information on this site is provided "as is" with no guarantee of completeness, accurancy, timeliness or the results obtained from the use
+  of this information. All the information contained in the linked content is of responsibility of the authors and copyrights holders of that 
+  specific content: we do not assume any responibility for any third-party content linked from this website pages.
+  </p>
+
+</div>
+
+</body>
+</html>

+ 221 - 0
index.html

@@ -0,0 +1,221 @@
+<!DOCTYPE html>
+<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	
+  <meta charset="UTF-8"/>
+  
+  <meta name="viewport" content="width=device-width, initial-scale=1"/>
+  
+<!--
+    Copyright 2021, 2024, 5 Mode
+
+    This file is part of Puzzleu.
+
+    Puzzleu is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    Puzzleu is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with Puzzleu. If not, see <https://www.gnu.org/licenses/>.
+ -->
+     
+  <title>Puzzleu: everyone its puzzle.</title>
+	
+  <link rel="shortcut icon" href="Public/favicon.ico" />
+    
+  <meta name="description" content="Welcome to Puzzleu! Let everyone own its puzzle."/>
+  <meta name="author" content="5 Mode"/> 
+  <meta name="robots" content="index,follow"/>
+  <meta name="keywords" content="Puzzleu,puzzle,gallery,on,premise,solution"/>
+  
+  <script src="Public/js/jquery-3.6.0.min.js" type="text/javascript"></script>
+  <script src="Public/js/common.js" type="text/javascript"></script>
+  <script src="Public/js/bootstrap.min.js" type="text/javascript"></script>
+  
+  <link href="Public/css/bootstrap.min.css" type="text/css" rel="stylesheet">
+  <link href="Public/css/style.css?v=1631827555" type="text/css" rel="stylesheet">
+
+  <script>
+  
+  function hideTitle() {
+    $("#myh1").hide("slow");
+  }
+  
+  function startApp() {
+    
+    $("#HCsplash").css("display","none");
+    //$("#HCsplash").hide("slow");
+    $(document.body).css("background","#ffffff");
+	
+    $("#originsDisplay").show();  
+	  
+    $("#frmHC").show();
+  }			
+
+  function _startApp() {
+    setTimeout("startApp()", 1000);    
+  }
+
+  function setOriginsPos() {
+    h=parseInt(window.innerHeight);
+    w=parseInt(window.innerWidth);
+    mytop = parseInt(window.innerHeight - ($("#originsDisplay").height() + 60));
+    $("#originsDisplay").css("top", mytop+"px");
+    setTimeout("hideOrigins()",15000);
+  }
+
+  function hideOrigins() {
+    $("#originsDisplay").css("visibility","hidden");
+  }  
+	  
+  window.addEventListener("load", function() {
+	
+    $("#frmHC").hide();
+    
+    setTimeout("setOriginsPos()", 500);	  
+	  
+    //Splash
+    $("#HCsplash").show();	
+
+  }, true);
+
+  window.addEventListener("load", function() {
+      
+    // Fisnished the Intro load the app..
+    //document.getElementById("vplayer").onended=_startApp;
+    setTimeout("_startApp()", 6000);
+  
+  });
+
+  </script>    
+       
+</head>
+<body style="background:#0d0d0d;">
+
+<div id="HCsplash" style="padding-top: 40px; text-align:center;co-lor:#d4b0dc;color:#FFFFFF;font-family:'Press Start 2P';">
+    <div id="myh1" style="position:relative; top:0px;"><H1>Puzzleu</H1></div><br><br>
+    <img src="Public/res/AFlogo.png" style="width:310px;">
+</div>  
+  
+<form id="frmHC" method="POST" target="_self" enctype="multipart/form-data" style="display:none;">
+
+<div class="header" style="margin-top:18px;margin-bottom:18px;">
+   <a href="http://puzzleu.5mode-foss.eu" target="_self" style="color:#000000; text-decoration: none;">&nbsp;<img src="Public/res/AFlogo.png" style="width:22px;">&nbsp;Puzzleu</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/par7133/Puzzleu" style="color:#000000;"><span style="color:#119fe2">on</span> github</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:posta@elettronica.lol" style="color:#000000;"><span style="color:#119fe2">for</span> feedback</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="tel:+39-331-4029415" style="font-size:13px;background-color:#15c60b;border:2px solid #15c60b;color:#000000;height:27px;text-decoration:none;">&nbsp;&nbsp;get support&nbsp;&nbsp;</a>
+</div>
+	
+<div style="clear:both; float:left; padding:8px; width:15%; height:750px; border-right: 1px solid #2c2f34; text-align:center;">
+	<div style="padding-left:10px;text-align: left;">
+	  &nbsp;Download<br>	
+	  &nbsp;<a href="https://github.com/par7133/Puzzleu/archive/refs/tags/v1.0.9.zip">Release 1.0.9 (zip)</a><br>
+	  &nbsp;<a href="https://github.com/par7133/Puzzleu/archive/refs/tags/v1.0.9.tar.gz">Release 1.0.9 (tar.gz)</a><br>
+	</div>
+    <br><br>
+    <img src="Public/res/AFgenius.png" alt="AG Genius" title="AG Genius" style="position:relative; left:+6px; width:90%; border: 1px dashed #EEEEEE;">
+    &nbsp;<br><br><br>
+    <br><br><br>
+</div>
+
+<div style="float:left; width:85%;height:100%; padding:8px;">
+	
+	<div id="splash" style="border-radius:20px; position:relative; left:+3px; width:98%; background-color:#f0f8fb; padding: 20px; margin-bottom:8px;">	
+	
+	   <button type="button" class="close" aria-label="Close" onclick="close-Splash();" style="position:relative; left:-10px;">
+        <span aria-hidden="true">&times;</span>
+     </button>
+	
+	   Hello and welcome to Puzzleu!<br><br>
+	   
+	   Puzzleu is a light, simple, software on premise to build and own your photo gallery.<br><br>
+	   
+	   Puzzleu is released under GPLv3 license, it is supplied AS-IS and we do not take any responsibility for its misusage.<br><br>
+	   
+     First step, use the password box and salt fields to create the hash to insert in the config file. Remember to manually set there also the salt value.<br><br>
+	   
+	   As you are going to run Puzzleu in the PHP process context, using a limited web server or phpfpm user, you must follow some simple directives for an optimal first setup:<br>
+	   <ol>
+	   <li>Check the write permissions of your "data" folder in your web app Private path; and set its path in the config file.</li>
+     <li>Set the default Locale.</li>
+     <li>Set FILE_MAX_SIZE (remember that some PHP settings could limit the upload behaviour of Puzzleu too)</li>
+     <li>Set BLOG_MAX_POSTS to limit the number of visible posts in the blog.</li>	  
+     <li>Set PAGINATION true or false to give more public access to your data.</li>
+	   </ol>
+         
+	   <br>	
+		
+     You can access your avatar by http://yourdomain.com/&lt;your_avatar&gt;. Login with the password for the admin view. Drag-n-drop all your resources in the browser window.<br><br>
+		
+	   <a href="/Public/res/screenshot1.png" target="_blank"><img src="/Public/res/screenshot1.png" style="height:230px;width:350px;margin-top:7px;"></a>&nbsp;&nbsp;<a href="/Public/res/screenshot2.png" target="_blank"><img src="/Public/res/screenshot2.png" style="height:230px;width:350px;margin-top:7px;"></a><br><br>
+	
+	Hope you can enjoy it and let us know about any feedback: <a href="mailto:posta@elettronica.lol">posta@elettronica.lol</a>
+	
+        <br><br><br><br><br><br><br>
+     
+	</div>	
+  	
+	<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>		
+	
+</div>
+
+</form>
+
+<div id="originsDisplay">
+      <br>
+       &nbsp;<span class="originLabel">Coding:</span>&nbsp;Italy<br>         
+       &nbsp;<span class="originLabel">Server:</span>&nbsp;United States&nbsp;<br>
+       &nbsp;<span class="originLabel"><a href="http://metrica.yandex.com" class="bbb">Metrics</a>:</span>&nbsp;Russia&nbsp;<br>
+      <br>
+</div>   
+	
+<div class="footer">
+<div id="footerCont">&nbsp;</div>
+<div id="footer"><span style="background:#E1E1E1;color:black;opacity:1.0;margin-right:10px;">&nbsp;&nbsp;<a href="dd.html">Disclaimer</a>&nbsp;&nbsp;A <a href="http://5mode.com">5 Mode</a> project and <a href="http://demo.5mode.com">WYSIWYG</a> system. Some rights reserved.</span></div>	
+</div>	
+	
+<script>
+  
+function setFooterPos2() {
+  if (document.getElementById("footerCont")) {
+    //if ($("#Password").val() === "") {  
+    //    tollerance = 48;
+    //  } else {
+    //  tollerance = 15;
+    //}
+    tollerance = 22;  	  
+    $("#footerCont").css("top", parseInt( window.innerHeight - $("#footerCont").height() - tollerance ) + "px");
+    $("#footer").css("top", parseInt( window.innerHeight - $("#footer").height() - tollerance + 6) + "px");
+  }
+}
+setFooterPos2();
+
+//window.addEventListener("load", function() {
+//    
+//  setTimeout("setFooterPos2()", 4000);
+//
+//}, true);
+  
+</script>  
+
+<!-- Yandex.Metrika counter -->
+<script type="text/javascript" >
+   (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
+   m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
+   (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
+
+   ym(94143276, "init", {
+        clickmap:true,
+        trackLinks:true,
+        accurateTrackBounce:true
+   });
+</script>
+<noscript><div><img src="https://mc.yandex.ru/watch/94143276" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
+<!-- /Yandex.Metrika counter -->
+
+</body>	 
+</html>	 
+