| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218 |
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"><head>
- <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-
- <meta charset="UTF-8">
- <meta name="style" content="day1">
-
- <meta name="viewport" content="width=device-width, initial-scale=1">
-
- <!--
- Copyright 2021, 2024 5 Mode
- This file is part of Msg.
- Msg 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.
- Msg 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 Msg. If not, see <https://www.gnu.org/licenses/>.
- -->
-
- <title>Msg: everyone its conversation.</title>
-
- <link rel="shortcut icon" href="http://msg.5mode-foss.eu/favicon.ico">
-
- <meta name="description" content="Welcome to Msg">
- <meta name="author" content="5 Mode">
- <meta name="keywords" content="msg,msgbox,voice,machine,on,premise,solution">
- <meta name="robots" content="index,follow">
-
- <script src="Public/static/js/jquery-3.6.0.min.js" type="text/javascript"></script>
- <script src="Public/static/js/common.js" type="text/javascript"></script>
- <script src="Public/static/js/sha.js" type="text/javascript"></script>
-
- <link href="Public/static/css/bootstrap.min.css" type="text/css" rel="stylesheet">
- <link href="Public/static/css/style.css" type="text/css" rel="stylesheet">
- <script>
- /*
- * Display the current hash for the config file
- *
- * @returns void
- */
- function showEncodedPassword() {
- if ($("#Password").val() === "") {
- $("#Password").addClass("emptyfield");
- return;
- }
- //if ($("#Salt").val() === "") {
- // $("#Salt").addClass("emptyfield");
- // return;
- //}
- passw = encryptSha2( $("#Password").val() + $("#Salt").val());
- msg = "Please set your hash in the config file with this value:";
- alert(msg + "\n\n" + passw);
- }
-
- function hideTitle() {
- $("#myh1").hide("slow");
- }
-
- function startApp() {
- //$("#HCsplash").hide("slow");
- $("#HCsplash").css("display","none");
- $(document.body).css("background","#ffffff");
-
- //$("#originsDisplay").show();
-
- $("#frmHC").show();
- }
- 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();
- $(document.body).css("background","#000000");
- setTimeout("setOriginsPos()", 500);
-
- $("#HCsplash").show("slow");
-
- setTimeout("hideTitle()", 2000);
-
- setTimeout("startApp()", 4000);
- }, true);
- </script>
-
- </head>
- <body style="background: rgb(255, 255, 255) none repeat scroll 0% 0%;">
- <div id="HCsplash" style="padding-top: 160px; text-align: center; color: rgb(255, 255, 255); display: none;">
- <div id="myh1" style="display: inline;"><h1>Msg</h1></div><br>
- <img src="Public/static/res/AFlogo.png" style="width:310px;">
- </div>
- <form id="frmHC" method="POST" target="_self" enctype="multipart/form-data" style="">
- <div class="header">
- <a id="ahome" href="http://msg.5mode-foss.eu/" target="_blank" style="color:black; text-decoration: none;"><img id="logo-hmm" src="Public/static/res/AFlogo.png" style="width:48px;"> Msg</a> <a id="agithub" href="https://github.com/par7133/Msg" style="color:#000000"><span style="color:#119fe2">on</span> github</a>
- <!-- <a id="afeedback" href="mailto:code@gaox.io" style="color:#000000"><span style="color:#119fe2">for</span> feedback</a> <a id="asupport" href="tel:+39-378-0812391" style="font-size:13px;background-color:#15c60b;border:2px solid #15c60b;color:black;height:27px;text-decoration:none;"> get support </a>-->
- </div>
- <br>
- <div style="clear:both; padding:8px; width:100%; height:110px; overflow-y:auto; text-align:center; border-right: 1px solid #2c2f34;">
- <div style="float:left; width:160px; padding-left:10px;text-align: left;">
- <a href="https://github.com/par7133/Msg/archive/refs/tags/v1.0.6.zip">1.0.6 (zip)</a><br>
- <a href="https://github.com/par7133/Msg/archive/refs/tags/v1.0.6.tar.gz">1.0.6 (tar.gz)</a><br>
- </div>
- <!--<img src="/Public/static/res/AFgenius.png" alt="AF Genius" title="AF Genius" style="position:relative; left:+6px; width:90%; border: 1px dashed #EEEEEE;">-->
- <div style="float:left;width:210px;text-align:left;">
- <input type="text" id="Password" name="Password" placeholder="password" style="font-size:10px; background:#ffffff; color:#000000; width: 90%; height:30px; border-radius:3px;" autocomplete="off"><br>
- <input type="text" id="Salt" placeholder="salt" style="position:relative; top:+5px; font-size:10px; background:#ffffff; color:#000000; width: 90%; height:30px; border-radius:3px;" autocomplete="off"><br>
- <a href="#" onclick="showEncodedPassword();" style="position:relative; top:+5px; color:#000000; font-size:12px;">Hash Me!</a>
- </div>
- <br><br><br>
- <br><br><br>
- </div>
- <div style="width:100%;height:750px;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">×</span>
- </button>
-
- Hello and welcome to Msg!<br><br>
-
- Msg is a light and simple software on premise to have your voice machine.<br><br>
-
- Msg 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 left side panel password and salt fields to
- create the hash to every of your friends in the config file. Remember to
- manually set there also the salt value.<br><br>
-
- As you are going to run Msg 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 permissions of your "data" folder in your web app private path; and set its path in the config file.</li>
- <li>Finish to setup the configuration file apporpriately, in the specific:</li>
- <ul>
- <li>Configure the APP_FILE_MAX_SIZE for the upload appropriately.</li>
- <li>Configure the APP_BLOG_MAX_POSTS attributes as required.</li>
- <li>Configure the PAGINATION flag as required.</li>
- </ul>
- </ol>
-
- <br>
-
- Feedback: <a href="mailto:code@gaox.io">code@gaox.io</a>
-
- <br><br><br><br><br>
-
- </div>
-
- <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
- <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
- <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
- <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
- <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
- <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
-
- </div>
- <div class="footer">
- <div id="footerCont" style="top: 709px;"> </div>
- <div id="footer" style="top: 715px;"><span style="background:#E1E1E1;color:black;opacity:1.0;margin-right:10px;"> <a href="https://5mode.com/dd.html">Disclaimer</a> A <a href="http://5mode.com/">5 Mode</a> project and <a href="http://demo.5mode.com/">WYSIWYG</a> system. CC</span></div>
- </div>
- </form>
- <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");
- }
- }
- window.addEventListener("load", function() {
-
- setTimeout("setFooterPos2()", 4000);
- }, true);
-
- </script>
-
- </body>
- </html>
|