Inviato al Server il primo freeplanet.app
e popolodelnuovomondo.insiemesipuo.app
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
APP_VERSION="0.1.6"
|
APP_VERSION="0.1.6"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="12"
|
APP_ID="1"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
DIRECTORY_SERVER="freeplanet_serverside"
|
DIRECTORY_SERVER="freeplanet_serverside"
|
||||||
SERVERDIR_WEBSITE=""
|
SERVERDIR_WEBSITE=""
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
APP_VERSION="0.1.6"
|
APP_VERSION="0.1.6"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="12"
|
APP_ID="1"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
DIRECTORY_SERVER=freeplanet_serverside
|
DIRECTORY_SERVER=freeplanet_serverside
|
||||||
SERVERDIR_WEBSITE=popolodelnuovomondo.app
|
SERVERDIR_WEBSITE=www.freeplanet.app
|
||||||
SERVERPW_WEBSITE=pwdadmin@1AOK
|
SERVERPW_WEBSITE=pwdadmin@1AOK
|
||||||
APP_URL="https://popolodelnuovomondo.insiemesipuo.app"
|
APP_URL="https://www.freeplanet.app"
|
||||||
URL_FACEBOOK="https://www.facebook.com/"
|
URL_FACEBOOK="https://www.facebook.com/freeplanetapp"
|
||||||
PROVA_PAOLO="PROVA ENV FUNZIONA!"
|
PROVA_PAOLO="PROVA ENV FUNZIONA!"
|
||||||
LANG_DEFAULT="it"
|
LANG_DEFAULT="it"
|
||||||
PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
APP_VERSION="0.1.6"
|
APP_VERSION="0.1.6"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="12"
|
APP_ID="1"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
DIRECTORY_SERVER=test.freeplanet_serverside
|
DIRECTORY_SERVER=test.freeplanet_serverside
|
||||||
SERVERDIR_WEBSITE="test.freeplanet.app"
|
SERVERDIR_WEBSITE="test.freeplanet.app"
|
||||||
SERVERPW_WEBSITE="pwdadmin@1AOK"
|
SERVERPW_WEBSITE="pwdadmin@1AOK"
|
||||||
APP_URL="https://testpopolodelnuovomondo.insiemesipuo.app"
|
APP_URL="https://test.freeplanet.app"
|
||||||
URL_FACEBOOK="https://www.facebook.com/"
|
URL_FACEBOOK="https://www.facebook.com/freeplanetapp"
|
||||||
PROVA_PAOLO="PROVA ENV FUNZIONA!"
|
PROVA_PAOLO="PROVA ENV FUNZIONA!"
|
||||||
LANG_DEFAULT="it"
|
LANG_DEFAULT="it"
|
||||||
PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
||||||
|
|||||||
28
_ALL_SITES/freeplanet.app/.env.development
Executable file
28
_ALL_SITES/freeplanet.app/.env.development
Executable file
@@ -0,0 +1,28 @@
|
|||||||
|
APP_VERSION="0.1.5"
|
||||||
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
|
APP_ID="1"
|
||||||
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
DIRECTORY_SERVER="freeplanet_serverside"
|
||||||
|
SERVERDIR_WEBSITE=""
|
||||||
|
SERVERPW_WEBSITE=""
|
||||||
|
APP_URL="http://localhost"
|
||||||
|
URL_FACEBOOK="https://www.facebook.com/freeplanetapp"
|
||||||
|
PROVA_PAOLO="PROVA ENV FUNZIONA!"
|
||||||
|
LANG_DEFAULT="it"
|
||||||
|
PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
||||||
|
MASTER_KEY="KKPPSS5KJK435J3KSS9F9D8S9F8SD3CR3T"
|
||||||
|
MONGODB_HOST="http://192.168.1.8:3000"
|
||||||
|
LOGO_REG="freeplanet-logo-full.svg"
|
||||||
|
TEST_NAME="Paolo"
|
||||||
|
TEST_SURNAME="Arena"
|
||||||
|
TEST_EMAIL="paolo@freeplanet.app"
|
||||||
|
TEST_USERNAME="paoloar773"
|
||||||
|
TEST_PASSWORD="passpao1fr@1A"
|
||||||
|
TEST_APORTADOR=""
|
||||||
|
PUBLICKEY_PUSH='BDncvMiUZmjaCG2Kr1V9N0_33hOG-AuNSbHSvL24y2dzBiUjAxKm02emx5SeJvz2IGmtRf6YqCgopeQwCwUmZw8'
|
||||||
|
IN_CONSTRUCTION="0"
|
||||||
|
DEBUG="1"
|
||||||
|
TELEGRAM_SUPPORT=""
|
||||||
|
PROJECT_ID_MAIN="5cc0a13fe5c9d156728f400a"
|
||||||
|
TEST_CELL=""
|
||||||
|
ISTEST=1
|
||||||
28
_ALL_SITES/freeplanet.app/.env.production
Executable file
28
_ALL_SITES/freeplanet.app/.env.production
Executable file
@@ -0,0 +1,28 @@
|
|||||||
|
APP_VERSION="0.1.5"
|
||||||
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
|
APP_ID="1"
|
||||||
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
DIRECTORY_SERVER=freeplanet_serverside
|
||||||
|
SERVERDIR_WEBSITE=www.freeplanet.app
|
||||||
|
SERVERPW_WEBSITE=pwdadmin@1AOK
|
||||||
|
APP_URL="https://www.freeplanet.app"
|
||||||
|
URL_FACEBOOK="https://www.facebook.com/freeplanetapp"
|
||||||
|
PROVA_PAOLO="PROVA ENV FUNZIONA!"
|
||||||
|
LANG_DEFAULT="it"
|
||||||
|
PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
||||||
|
MASTER_KEY="KKPPSS5KJK435J3KSS9F9D8S9F8SD3CR3T"
|
||||||
|
MONGODB_HOST="https://www.freeplanet.app:3000"
|
||||||
|
LOGO_REG='freeplanet-logo-full.svg'
|
||||||
|
TEST_NAME=""
|
||||||
|
TEST_SURNAME=""
|
||||||
|
TEST_EMAIL=""
|
||||||
|
TEST_USERNAME=""
|
||||||
|
TEST_PASSWORD=""
|
||||||
|
TEST_APORTADOR="------"
|
||||||
|
PUBLICKEY_PUSH="BNM-cEpTbPVc_ujXf3QOC8ggf7b-X44P44esfJUWqNOFq1XhWCoZJpOi71_cbXC5SnfO9HassQ6OouAYgtBA9Pw"
|
||||||
|
IN_CONSTRUCTION="1"
|
||||||
|
DEBUG="1"
|
||||||
|
TELEGRAM_SUPPORT="https://t.me/freeplanet_supporto"
|
||||||
|
PROJECT_ID_MAIN="5cc0a13fe5c9d156728f400a"
|
||||||
|
TEST_CELL=""
|
||||||
|
ISTEST=0
|
||||||
28
_ALL_SITES/freeplanet.app/.env.test
Executable file
28
_ALL_SITES/freeplanet.app/.env.test
Executable file
@@ -0,0 +1,28 @@
|
|||||||
|
APP_VERSION="0.1.5"
|
||||||
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
|
APP_ID="1"
|
||||||
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
DIRECTORY_SERVER=test.freeplanet_serverside
|
||||||
|
SERVERDIR_WEBSITE="test.freeplanet.app"
|
||||||
|
SERVERPW_WEBSITE="pwdadmin@1AOK"
|
||||||
|
APP_URL="https://test.freeplanet.app"
|
||||||
|
URL_FACEBOOK="https://www.facebook.com/freeplanetapp"
|
||||||
|
PROVA_PAOLO="PROVA ENV FUNZIONA!"
|
||||||
|
LANG_DEFAULT="it"
|
||||||
|
PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
||||||
|
MASTER_KEY="KKPPSS5KJK435J3KSS9F9D8S9F8SD3CR3T"
|
||||||
|
MONGODB_HOST="https://test.freeplanet.app:3001"
|
||||||
|
LOGO_REG="freeplanet-logo-full.svg"
|
||||||
|
TEST_NAME="Paolo"
|
||||||
|
TEST_SURNAME="Arena"
|
||||||
|
TEST_EMAIL="paolo@freeplanet.app"
|
||||||
|
TEST_USERNAME="paoloar77"
|
||||||
|
TEST_PASSWORD="passpao1fr@1A"
|
||||||
|
TEST_APORTADOR=""
|
||||||
|
PUBLICKEY_PUSH="BNRBtL3iaLVGW-aQckwQBmh5uKKzcizOZsMjnzCtSuHkssEhbyioEN2E_CwItDLDShMO-OQ1uhK51ty6zG_gCT8"
|
||||||
|
IN_CONSTRUCTION="0"
|
||||||
|
DEBUG="1"
|
||||||
|
TELEGRAM_SUPPORT=""
|
||||||
|
PROJECT_ID_MAIN="5cc0a13fe5c9d156728f400a"
|
||||||
|
TEST_CELL=""
|
||||||
|
ISTEST=1
|
||||||
0
_ALL_SITES/freeplanet.app/root/home/home.scss
Executable file
0
_ALL_SITES/freeplanet.app/root/home/home.scss
Executable file
58
_ALL_SITES/freeplanet.app/root/home/home.ts
Executable file
58
_ALL_SITES/freeplanet.app/root/home/home.ts
Executable file
@@ -0,0 +1,58 @@
|
|||||||
|
import {
|
||||||
|
defineComponent, ref, computed,
|
||||||
|
} from 'vue'
|
||||||
|
|
||||||
|
import { tools } from '@src/store/Modules/tools'
|
||||||
|
import { CSkill } from '@/components/CSkill'
|
||||||
|
import { CFinder } from '@/components/CFinder'
|
||||||
|
import { CChartMap } from '@src/components/CChartMap'
|
||||||
|
import { CMapsEsempio } from '@src/components/CMapsEsempio'
|
||||||
|
import { CVerifyEmail } from '@src/components/CVerifyEmail'
|
||||||
|
import { CVerifyTelegram } from '@src/components/CVerifyTelegram'
|
||||||
|
import { useGlobalStore } from '@store/globalStore'
|
||||||
|
import { useUserStore } from '@store/UserStore'
|
||||||
|
import { static_data } from '@/db/static_data'
|
||||||
|
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
|
name: 'Home',
|
||||||
|
components: { CSkill, CChartMap, CMapsEsempio, CFinder, CVerifyEmail, CVerifyTelegram },
|
||||||
|
setup() {
|
||||||
|
const globalStore = useGlobalStore()
|
||||||
|
const userStore = useUserStore()
|
||||||
|
|
||||||
|
function isEmailVerified() {
|
||||||
|
return userStore.my.verified_email
|
||||||
|
}
|
||||||
|
|
||||||
|
function TelegCode() {
|
||||||
|
return userStore.my.profile.teleg_checkcode
|
||||||
|
}
|
||||||
|
|
||||||
|
function TelegVerificato(): boolean {
|
||||||
|
return userStore.my.profile ? userStore.my.profile.teleg_id! > 0 : false
|
||||||
|
}
|
||||||
|
|
||||||
|
function openrighttoolbar() {
|
||||||
|
globalStore.rightDrawerOpen = true
|
||||||
|
}
|
||||||
|
|
||||||
|
function isLogged() {
|
||||||
|
return userStore.isLogged
|
||||||
|
}
|
||||||
|
function isUserOk() {
|
||||||
|
return userStore.isUserOk()
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
tools,
|
||||||
|
static_data,
|
||||||
|
isEmailVerified,
|
||||||
|
TelegCode,
|
||||||
|
TelegVerificato,
|
||||||
|
isLogged,
|
||||||
|
openrighttoolbar,
|
||||||
|
isUserOk,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
})
|
||||||
73
_ALL_SITES/freeplanet.app/root/home/home.vue
Executable file
73
_ALL_SITES/freeplanet.app/root/home/home.vue
Executable file
@@ -0,0 +1,73 @@
|
|||||||
|
<template>
|
||||||
|
<q-page class="">
|
||||||
|
|
||||||
|
<!--<CChartMap
|
||||||
|
title="Mappa"
|
||||||
|
subtitle="cartina..."
|
||||||
|
serie1="Serie 1"
|
||||||
|
>
|
||||||
|
|
||||||
|
</CChartMap>-->
|
||||||
|
|
||||||
|
<!--<CMapsEsempio></CMapsEsempio>-->
|
||||||
|
|
||||||
|
<div v-if="isLogged()">
|
||||||
|
<CVerifyEmail v-if="!isEmailVerified()">
|
||||||
|
|
||||||
|
</CVerifyEmail>
|
||||||
|
|
||||||
|
<CVerifyTelegram v-if="TelegCode() || !TelegVerificato()">
|
||||||
|
|
||||||
|
</CVerifyTelegram>
|
||||||
|
|
||||||
|
<div v-if="isUserOk()">
|
||||||
|
<q-banner rounded class="bg-primary text-white">
|
||||||
|
<div class="text-h6 text-center">
|
||||||
|
Ora Accedi al Bot Telegram <br>
|
||||||
|
per vedere tutti i Menu e le chat !
|
||||||
|
</div>
|
||||||
|
<template v-slot:action>
|
||||||
|
<q-btn flat color="white" label="Accedi al Bot Telegram" @click="getLinkBotTelegram()"/>
|
||||||
|
</template>
|
||||||
|
</q-banner>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div v-else>
|
||||||
|
<div class="q-pa-md q-gutter-sm">
|
||||||
|
<q-banner rounded class="bg-primary text-white">
|
||||||
|
<div class="text-h6 text-center">
|
||||||
|
Accedi al menu inserendo le tue credenziali 🔑<br><br>
|
||||||
|
📝 Non sei <strong>Registrato</strong>?<br>
|
||||||
|
👉🏻 Chiedi in chat il link a chi ti ha <strong>invitato</strong>.<br>
|
||||||
|
</div>
|
||||||
|
<template v-slot:action>
|
||||||
|
<q-btn flat color="white" label="Accedi al Login" @click="openrighttoolbar"/>
|
||||||
|
</template>
|
||||||
|
</q-banner>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
v-if="!isLogged() && static_data.functionality.ENABLE_REGISTRATION && static_data.functionality.SHOW_REG_BUTTON"
|
||||||
|
style="margin:20px; text-align: center;">
|
||||||
|
<q-btn rounded size="lg" color="primary" @click="openrighttoolbar">{{ $t('login.enter') }}
|
||||||
|
</q-btn>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<div v-if="!isLogged && static_data.functionality.ENABLE_REGISTRATION" align="center" style="margin:20px;">
|
||||||
|
<q-btn rounded size="lg" color="primary" to="/signup">{{$t('reg.submit')}}
|
||||||
|
</q-btn>
|
||||||
|
</div>
|
||||||
|
-->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</q-page>
|
||||||
|
|
||||||
|
</template>
|
||||||
|
<script lang="ts" src="./home.ts">
|
||||||
|
</script>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
@import './home.scss';
|
||||||
|
</style>
|
||||||
@@ -760,12 +760,16 @@ const msg_it = {
|
|||||||
manageremail: 'Email Gestione',
|
manageremail: 'Email Gestione',
|
||||||
replyTo: 'Reply To',
|
replyTo: 'Reply To',
|
||||||
host: 'Host',
|
host: 'Host',
|
||||||
|
host_test: 'Host Test',
|
||||||
portapp: 'Porta',
|
portapp: 'Porta',
|
||||||
dir: 'Directory',
|
dir: 'Dir',
|
||||||
|
dir_test: 'Dir Test',
|
||||||
email_from: 'Email From',
|
email_from: 'Email From',
|
||||||
email_pwd: 'Email Pwd',
|
email_pwd: 'Email Pwd',
|
||||||
telegram_key: 'Chiave Bot Telegram',
|
telegram_key: 'Chiave Bot',
|
||||||
telegram_bot_name: 'Telegram BotName',
|
telegram_bot_name: 'BotName',
|
||||||
|
telegram_key_test: 'Chiave Bot Test',
|
||||||
|
telegram_bot_name_test: 'BotName Test',
|
||||||
pathreg_add: 'Suffisso',
|
pathreg_add: 'Suffisso',
|
||||||
},
|
},
|
||||||
skill: {
|
skill: {
|
||||||
|
|||||||
28
_ALL_SITES/popolodelnuovomondo.app/.env.development
Executable file
28
_ALL_SITES/popolodelnuovomondo.app/.env.development
Executable file
@@ -0,0 +1,28 @@
|
|||||||
|
APP_VERSION="0.1.6"
|
||||||
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
|
APP_ID="12"
|
||||||
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
DIRECTORY_SERVER="freeplanet_serverside"
|
||||||
|
SERVERDIR_WEBSITE=""
|
||||||
|
SERVERPW_WEBSITE=""
|
||||||
|
APP_URL="http://localhost"
|
||||||
|
URL_FACEBOOK="https://www.facebook.com/"
|
||||||
|
PROVA_PAOLO="PROVA ENV FUNZIONA!"
|
||||||
|
LANG_DEFAULT="it"
|
||||||
|
PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
||||||
|
MASTER_KEY="KKPPSS5KJK435J3KSS9F9D8S9F8SD3CR3T"
|
||||||
|
MONGODB_HOST="http://192.168.1.8:3000"
|
||||||
|
LOGO_REG="freeplanet-logo-full.svg"
|
||||||
|
TEST_NAME="Paolo"
|
||||||
|
TEST_SURNAME="Arena"
|
||||||
|
TEST_EMAIL="paolo@freeplanet.app"
|
||||||
|
TEST_USERNAME="paoloar773"
|
||||||
|
TEST_PASSWORD="passpao1fr@1A"
|
||||||
|
TEST_APORTADOR=""
|
||||||
|
PUBLICKEY_PUSH='BDncvMiUZmjaCG2Kr1V9N0_33hOG-AuNSbHSvL24y2dzBiUjAxKm02emx5SeJvz2IGmtRf6YqCgopeQwCwUmZw8'
|
||||||
|
IN_CONSTRUCTION="0"
|
||||||
|
DEBUG="1"
|
||||||
|
TELEGRAM_SUPPORT=""
|
||||||
|
PROJECT_ID_MAIN="5cc0a13fe5c9d156728f400a"
|
||||||
|
TEST_CELL=""
|
||||||
|
ISTEST=1
|
||||||
28
_ALL_SITES/popolodelnuovomondo.app/.env.production
Executable file
28
_ALL_SITES/popolodelnuovomondo.app/.env.production
Executable file
@@ -0,0 +1,28 @@
|
|||||||
|
APP_VERSION="0.1.6"
|
||||||
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
|
APP_ID="12"
|
||||||
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
DIRECTORY_SERVER=freeplanet_serverside
|
||||||
|
SERVERDIR_WEBSITE=popolodelnuovomondo.app
|
||||||
|
SERVERPW_WEBSITE=pwdadmin@1AOK
|
||||||
|
APP_URL="https://popolodelnuovomondo.insiemesipuo.app"
|
||||||
|
URL_FACEBOOK="https://www.facebook.com/"
|
||||||
|
PROVA_PAOLO="PROVA ENV FUNZIONA!"
|
||||||
|
LANG_DEFAULT="it"
|
||||||
|
PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
||||||
|
MASTER_KEY="KKPPSS5KJK435J3KSS9F9D8S9F8SD3CR3T"
|
||||||
|
MONGODB_HOST="https://www.freeplanet.app:3000"
|
||||||
|
LOGO_REG='freeplanet-logo-full.svg'
|
||||||
|
TEST_NAME=""
|
||||||
|
TEST_SURNAME=""
|
||||||
|
TEST_EMAIL=""
|
||||||
|
TEST_USERNAME=""
|
||||||
|
TEST_PASSWORD=""
|
||||||
|
TEST_APORTADOR="------"
|
||||||
|
PUBLICKEY_PUSH="BNM-cEpTbPVc_ujXf3QOC8ggf7b-X44P44esfJUWqNOFq1XhWCoZJpOi71_cbXC5SnfO9HassQ6OouAYgtBA9Pw"
|
||||||
|
IN_CONSTRUCTION="1"
|
||||||
|
DEBUG="1"
|
||||||
|
TELEGRAM_SUPPORT="https://t.me/freeplanet_supporto"
|
||||||
|
PROJECT_ID_MAIN="5cc0a13fe5c9d156728f400a"
|
||||||
|
TEST_CELL=""
|
||||||
|
ISTEST=0
|
||||||
28
_ALL_SITES/popolodelnuovomondo.app/.env.test
Executable file
28
_ALL_SITES/popolodelnuovomondo.app/.env.test
Executable file
@@ -0,0 +1,28 @@
|
|||||||
|
APP_VERSION="0.1.6"
|
||||||
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
|
APP_ID="12"
|
||||||
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
DIRECTORY_SERVER=test.freeplanet_serverside
|
||||||
|
SERVERDIR_WEBSITE="testpopolodelnuovomondo.insiemesipuo.app"
|
||||||
|
SERVERPW_WEBSITE="pwdadmin@1AOK"
|
||||||
|
APP_URL="https://testpopolodelnuovomondo.insiemesipuo.app"
|
||||||
|
URL_FACEBOOK="https://www.facebook.com/"
|
||||||
|
PROVA_PAOLO="PROVA ENV FUNZIONA!"
|
||||||
|
LANG_DEFAULT="it"
|
||||||
|
PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
||||||
|
MASTER_KEY="KKPPSS5KJK435J3KSS9F9D8S9F8SD3CR3T"
|
||||||
|
MONGODB_HOST="https://test.freeplanet.app:3001"
|
||||||
|
LOGO_REG="freeplanet-logo-full.svg"
|
||||||
|
TEST_NAME="Paolo"
|
||||||
|
TEST_SURNAME="Arena"
|
||||||
|
TEST_EMAIL="paolo@freeplanet.app"
|
||||||
|
TEST_USERNAME="paoloar77"
|
||||||
|
TEST_PASSWORD="passpao1fr@1A"
|
||||||
|
TEST_APORTADOR=""
|
||||||
|
PUBLICKEY_PUSH="BNRBtL3iaLVGW-aQckwQBmh5uKKzcizOZsMjnzCtSuHkssEhbyioEN2E_CwItDLDShMO-OQ1uhK51ty6zG_gCT8"
|
||||||
|
IN_CONSTRUCTION="0"
|
||||||
|
DEBUG="1"
|
||||||
|
TELEGRAM_SUPPORT=""
|
||||||
|
PROJECT_ID_MAIN="5cc0a13fe5c9d156728f400a"
|
||||||
|
TEST_CELL=""
|
||||||
|
ISTEST=1
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
const msg_website_it = {
|
const msg_website_it = {
|
||||||
ws: {
|
ws: {
|
||||||
sitename: 'FreePlanet',
|
sitename: 'PopoloDelNuovoMondo',
|
||||||
siteshortname: 'FreePlanet',
|
siteshortname: 'PDNM',
|
||||||
botname: 'il Bot di FreePlanet',
|
botname: 'il Bot di PdNM',
|
||||||
},
|
},
|
||||||
products: {
|
products: {
|
||||||
quantity: 'Quantità',
|
quantity: 'Quantità',
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ const routes_admin: IListRoutes[] = [
|
|||||||
{
|
{
|
||||||
active: true,
|
active: true,
|
||||||
order: 10,
|
order: 10,
|
||||||
path: '/admin',
|
path: '/admin/sites',
|
||||||
materialIcon: 'event_seat',
|
materialIcon: 'event_seat',
|
||||||
name: 'pages.Sites',
|
name: 'pages.Sites',
|
||||||
component: () => import('@/rootgen/admin/sites/sites.vue'),
|
component: () => import('@/rootgen/admin/sites/sites.vue'),
|
||||||
@@ -366,7 +366,7 @@ const baseroutes: IListRoutes[] = [
|
|||||||
inmenu: true,
|
inmenu: true,
|
||||||
infooter: true,
|
infooter: true,
|
||||||
},
|
},
|
||||||
{
|
/*{
|
||||||
active: true,
|
active: true,
|
||||||
order: 100,
|
order: 100,
|
||||||
path: '/presentazione',
|
path: '/presentazione',
|
||||||
@@ -376,7 +376,7 @@ const baseroutes: IListRoutes[] = [
|
|||||||
reqauth: false,
|
reqauth: false,
|
||||||
inmenu: true,
|
inmenu: true,
|
||||||
infooter: true,
|
infooter: true,
|
||||||
},
|
},*/
|
||||||
{
|
{
|
||||||
active: true,
|
active: true,
|
||||||
order: 120,
|
order: 120,
|
||||||
@@ -558,7 +558,7 @@ const baseroutes: IListRoutes[] = [
|
|||||||
isseparator: true,
|
isseparator: true,
|
||||||
inmenu: true,
|
inmenu: true,
|
||||||
},
|
},
|
||||||
{
|
/*{
|
||||||
active: true,
|
active: true,
|
||||||
order: 80,
|
order: 80,
|
||||||
path: '/calendario-eventi',
|
path: '/calendario-eventi',
|
||||||
@@ -568,7 +568,7 @@ const baseroutes: IListRoutes[] = [
|
|||||||
extraclass: 'isCalendar',
|
extraclass: 'isCalendar',
|
||||||
inmenu: true,
|
inmenu: true,
|
||||||
infooter: true
|
infooter: true
|
||||||
},
|
},*/
|
||||||
{
|
{
|
||||||
active: true,
|
active: true,
|
||||||
order: 1000,
|
order: 1000,
|
||||||
|
|||||||
@@ -284,9 +284,9 @@ module.exports = configure((ctx) => ({
|
|||||||
},
|
},
|
||||||
|
|
||||||
manifest: {
|
manifest: {
|
||||||
name: 'FreePlanet',
|
name: 'PopoloDelNuovoMondo',
|
||||||
short_name: 'FreePlanet',
|
short_name: 'PdNM',
|
||||||
description: 'New Free Social',
|
description: 'Popolo del Nuovo Mondo',
|
||||||
display: 'standalone',
|
display: 'standalone',
|
||||||
orientation: 'portrait',
|
orientation: 'portrait',
|
||||||
background_color: '#ffffff',
|
background_color: '#ffffff',
|
||||||
|
|||||||
0
_ALL_SITES/popolodelnuovomondo.app/root/home/home.scss
Executable file
0
_ALL_SITES/popolodelnuovomondo.app/root/home/home.scss
Executable file
58
_ALL_SITES/popolodelnuovomondo.app/root/home/home.ts
Executable file
58
_ALL_SITES/popolodelnuovomondo.app/root/home/home.ts
Executable file
@@ -0,0 +1,58 @@
|
|||||||
|
import {
|
||||||
|
defineComponent, ref, computed,
|
||||||
|
} from 'vue'
|
||||||
|
|
||||||
|
import { tools } from '@src/store/Modules/tools'
|
||||||
|
import { CSkill } from '@/components/CSkill'
|
||||||
|
import { CFinder } from '@/components/CFinder'
|
||||||
|
import { CChartMap } from '@src/components/CChartMap'
|
||||||
|
import { CMapsEsempio } from '@src/components/CMapsEsempio'
|
||||||
|
import { CVerifyEmail } from '@src/components/CVerifyEmail'
|
||||||
|
import { CVerifyTelegram } from '@src/components/CVerifyTelegram'
|
||||||
|
import { useGlobalStore } from '@store/globalStore'
|
||||||
|
import { useUserStore } from '@store/UserStore'
|
||||||
|
import { static_data } from '@/db/static_data'
|
||||||
|
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
|
name: 'Home',
|
||||||
|
components: { CSkill, CChartMap, CMapsEsempio, CFinder, CVerifyEmail, CVerifyTelegram },
|
||||||
|
setup() {
|
||||||
|
const globalStore = useGlobalStore()
|
||||||
|
const userStore = useUserStore()
|
||||||
|
|
||||||
|
function isEmailVerified() {
|
||||||
|
return userStore.my.verified_email
|
||||||
|
}
|
||||||
|
|
||||||
|
function TelegCode() {
|
||||||
|
return userStore.my.profile.teleg_checkcode
|
||||||
|
}
|
||||||
|
|
||||||
|
function TelegVerificato(): boolean {
|
||||||
|
return userStore.my.profile ? userStore.my.profile.teleg_id! > 0 : false
|
||||||
|
}
|
||||||
|
|
||||||
|
function openrighttoolbar() {
|
||||||
|
globalStore.rightDrawerOpen = true
|
||||||
|
}
|
||||||
|
|
||||||
|
function isLogged() {
|
||||||
|
return userStore.isLogged
|
||||||
|
}
|
||||||
|
function isUserOk() {
|
||||||
|
return userStore.isUserOk()
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
tools,
|
||||||
|
static_data,
|
||||||
|
isEmailVerified,
|
||||||
|
TelegCode,
|
||||||
|
TelegVerificato,
|
||||||
|
isLogged,
|
||||||
|
openrighttoolbar,
|
||||||
|
isUserOk,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
})
|
||||||
76
_ALL_SITES/popolodelnuovomondo.app/root/home/home.vue
Executable file
76
_ALL_SITES/popolodelnuovomondo.app/root/home/home.vue
Executable file
@@ -0,0 +1,76 @@
|
|||||||
|
<template>
|
||||||
|
<q-page class="">
|
||||||
|
|
||||||
|
<!--<CChartMap
|
||||||
|
title="Mappa"
|
||||||
|
subtitle="cartina..."
|
||||||
|
serie1="Serie 1"
|
||||||
|
>
|
||||||
|
|
||||||
|
</CChartMap>-->
|
||||||
|
|
||||||
|
<!--<CMapsEsempio></CMapsEsempio>-->
|
||||||
|
|
||||||
|
|
||||||
|
<div v-if="isLogged()">
|
||||||
|
<CVerifyEmail v-if="!isEmailVerified()">
|
||||||
|
|
||||||
|
</CVerifyEmail>
|
||||||
|
|
||||||
|
<CVerifyTelegram v-if="TelegCode() || !TelegVerificato()">
|
||||||
|
|
||||||
|
</CVerifyTelegram>
|
||||||
|
|
||||||
|
<div v-if="isUserOk()">
|
||||||
|
<div v-if="isUserOk()">
|
||||||
|
<q-banner rounded class="bg-primary text-white">
|
||||||
|
<div class="text-h6 text-center">
|
||||||
|
Ora Accedi al Bot Telegram <br>
|
||||||
|
per vedere tutti i Menu e le chat !
|
||||||
|
</div>
|
||||||
|
<template v-slot:action>
|
||||||
|
<q-btn icon="fab fa-telegram" flat color="white" label="Accedi al Bot Telegram" @click="getLinkBotTelegram()"/>
|
||||||
|
</template>
|
||||||
|
</q-banner>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div v-else>
|
||||||
|
<div class="q-pa-md q-gutter-sm">
|
||||||
|
<q-banner rounded class="bg-primary text-white">
|
||||||
|
<div class="text-h6 text-center">
|
||||||
|
Accedi al menu inserendo le tue credenziali 🔑<br><br>
|
||||||
|
📝 Non sei <strong>Registrato</strong>?<br>
|
||||||
|
👉🏻 Chiedi in chat il link a chi ti ha <strong>invitato</strong>.<br>
|
||||||
|
</div>
|
||||||
|
<template v-slot:action>
|
||||||
|
<q-btn flat color="white" label="Accedi al Login" @click="openrighttoolbar"/>
|
||||||
|
</template>
|
||||||
|
</q-banner>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
v-if="!isLogged() && static_data.functionality.ENABLE_REGISTRATION && static_data.functionality.SHOW_REG_BUTTON"
|
||||||
|
style="margin:20px; text-align: center;">
|
||||||
|
<q-btn rounded size="lg" color="primary" @click="openrighttoolbar">{{ $t('login.enter') }}
|
||||||
|
</q-btn>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<div v-if="!isLogged && static_data.functionality.ENABLE_REGISTRATION" align="center" style="margin:20px;">
|
||||||
|
<q-btn rounded size="lg" color="primary" to="/signup">{{$t('reg.submit')}}
|
||||||
|
</q-btn>
|
||||||
|
</div>
|
||||||
|
-->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</q-page>
|
||||||
|
|
||||||
|
</template>
|
||||||
|
<script lang="ts" src="./home.ts">
|
||||||
|
</script>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
@import './home.scss';
|
||||||
|
</style>
|
||||||
@@ -760,12 +760,16 @@ const msg_it = {
|
|||||||
manageremail: 'Email Gestione',
|
manageremail: 'Email Gestione',
|
||||||
replyTo: 'Reply To',
|
replyTo: 'Reply To',
|
||||||
host: 'Host',
|
host: 'Host',
|
||||||
|
host_test: 'Host Test',
|
||||||
portapp: 'Porta',
|
portapp: 'Porta',
|
||||||
dir: 'Directory',
|
dir: 'Dir',
|
||||||
|
dir_test: 'Dir Test',
|
||||||
email_from: 'Email From',
|
email_from: 'Email From',
|
||||||
email_pwd: 'Email Pwd',
|
email_pwd: 'Email Pwd',
|
||||||
telegram_key: 'Chiave Bot Telegram',
|
telegram_key: 'Chiave Bot',
|
||||||
telegram_bot_name: 'Telegram BotName',
|
telegram_bot_name: 'BotName',
|
||||||
|
telegram_key_test: 'Chiave Bot Test',
|
||||||
|
telegram_bot_name_test: 'BotName Test',
|
||||||
pathreg_add: 'Suffisso',
|
pathreg_add: 'Suffisso',
|
||||||
},
|
},
|
||||||
skill: {
|
skill: {
|
||||||
|
|||||||
26
__inizia.sh
Normal file
26
__inizia.sh
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
|
||||||
|
if [ "$site" = "" ]; then
|
||||||
|
echo "Lancio senza Parametri !"
|
||||||
|
else
|
||||||
|
echo "INIZIO DI $site ... "
|
||||||
|
mkdir __$site
|
||||||
|
|
||||||
|
cp -R src/db _BAK/1/
|
||||||
|
cp -R src/statics _BAK/1/
|
||||||
|
cp -R quasar.conf.js _BAK/1/
|
||||||
|
cp -R package.json _BAK/1/
|
||||||
|
cp -R .env.development _BAK/1/
|
||||||
|
cp -R .env.production _BAK/1/
|
||||||
|
cp -R .env.test _BAK/1/
|
||||||
|
cp -R root/home _BAK/1/
|
||||||
|
|
||||||
|
cp -R _ALL_SITES/$site/db src/
|
||||||
|
cp -R _ALL_SITES/$site/statics src/
|
||||||
|
cp -R _ALL_SITES/$site/quasar.conf.js .
|
||||||
|
cp -R _ALL_SITES/$site/package.json .
|
||||||
|
cp -R _ALL_SITES/$site/.env.development .
|
||||||
|
cp -R _ALL_SITES/$site/.env.production .
|
||||||
|
cp -R _ALL_SITES/$site/.env.test .
|
||||||
|
cp -R _ALL_SITES/$site/root/home src/root/
|
||||||
|
|
||||||
|
fi
|
||||||
22
__termine.sh
Normal file
22
__termine.sh
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
|
||||||
|
if [ "$site" = "" ]; then
|
||||||
|
echo "Lancio senza Parametri !"
|
||||||
|
else
|
||||||
|
echo "TERMINA DI LAVORARE SU $site: (Sovrascrivo !)"
|
||||||
|
echo "TERMINA DI LAVORARE SU $site: (Sovrascrivo !)" > now.txt
|
||||||
|
|
||||||
|
rmdir __$site
|
||||||
|
|
||||||
|
cp -R _ALL_SITES/$site _BAK/4/
|
||||||
|
|
||||||
|
cp -R src/db _ALL_SITES/$site/
|
||||||
|
cp -R src/statics _ALL_SITES/$site/
|
||||||
|
cp -R ./quasar.conf.js _ALL_SITES/$site/
|
||||||
|
cp -R ./package.json _ALL_SITES/$site/
|
||||||
|
cp -R ./.env.development _ALL_SITES/$site/
|
||||||
|
cp -R ./.env.production _ALL_SITES/$site/
|
||||||
|
cp -R ./.env.test _ALL_SITES/$site/
|
||||||
|
mkdir _ALL_SITES/$site/root
|
||||||
|
cp -R src/root/home _ALL_SITES/$site/root/
|
||||||
|
|
||||||
|
fi
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
source ./.env.test
|
source ./.env.test
|
||||||
|
|
||||||
msg="*** Sincronizzazione ??? $DIRECTORY_LOCAL e $DIRECTORY_SERVER (Y/N) ? "
|
msg="*** Sincronizzazione ??? $DIRECTORY_LOCAL e $SERVERDIR_WEBSITE (Y/N) ? "
|
||||||
|
|
||||||
if [ "$1" = "" ]; then
|
if [ "$1" = "" ]; then
|
||||||
read -p "$msg" risposta
|
read -p "$msg" risposta
|
||||||
|
|||||||
@@ -2,22 +2,6 @@
|
|||||||
|
|
||||||
site=freeplanet.app
|
site=freeplanet.app
|
||||||
|
|
||||||
echo "INIZIA A LAVORARE SU $site: (Sovrascrivo !)" > now.txt
|
rmdir __popolodelnuovomondo.app
|
||||||
|
|
||||||
mkdir NEWFREEPLANET
|
|
||||||
rmdir POPOLODELNUOVOMONDO
|
|
||||||
|
|
||||||
cp -R src/sites _BAK/3/
|
|
||||||
cp -R quasar.conf.js _BAK/3/
|
|
||||||
cp -R package.json _BAK/3/
|
|
||||||
cp -R .env.development _BAK/3/
|
|
||||||
cp -R .env.production _BAK/3/
|
|
||||||
cp -R .env.test _BAK/3/
|
|
||||||
|
|
||||||
cp -R _ALL_SITES/$site/statics src/
|
|
||||||
cp -R _ALL_SITES/$site/db src/
|
|
||||||
cp -R _ALL_SITES/$site/quasar.conf.js .
|
|
||||||
cp -R _ALL_SITES/$site/.env.development .
|
|
||||||
cp -R _ALL_SITES/$site/.env.production .
|
|
||||||
cp -R _ALL_SITES/$site/.env.test .
|
|
||||||
|
|
||||||
|
source __inizia.sh
|
||||||
|
|||||||
@@ -2,22 +2,6 @@
|
|||||||
|
|
||||||
site=popolodelnuovomondo.app
|
site=popolodelnuovomondo.app
|
||||||
|
|
||||||
echo "INIZIA A LAVORARE SU $site: (Sovrascrivo !)" > now.txt
|
rmdir __newfreeplanet.app
|
||||||
|
|
||||||
rmdir NEWFREEPLANET
|
|
||||||
mkdir POPOLODELNUOVOMONDO
|
|
||||||
|
|
||||||
cp -R src/sites _BAK/1/
|
|
||||||
cp -R quasar.conf.js _BAK/1/
|
|
||||||
cp -R package.json _BAK/1/
|
|
||||||
cp -R .env.development _BAK/1/
|
|
||||||
cp -R .env.production _BAK/1/
|
|
||||||
cp -R .env.test _BAK/1/
|
|
||||||
|
|
||||||
cp -R _ALL_SITES/$site/statics src/
|
|
||||||
cp -R _ALL_SITES/$site/db src/
|
|
||||||
cp -R _ALL_SITES/$site/quasar.conf.js .
|
|
||||||
cp -R _ALL_SITES/$site/.env.development .
|
|
||||||
cp -R _ALL_SITES/$site/.env.production .
|
|
||||||
cp -R _ALL_SITES/$site/.env.test .
|
|
||||||
|
|
||||||
|
source __inizia.sh
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "popolodelnuovomondo",
|
"name": "freeplanet",
|
||||||
"version": "0.0.8",
|
"version": "0.0.7",
|
||||||
"description": "Popolo Del Nuovo Mondo",
|
"description": "FreePlanet",
|
||||||
"productName": "Popolo Del Nuovo Mondo",
|
"productName": "FreePlanet",
|
||||||
"author": "Paolo Arena",
|
"author": "Paolo Arena",
|
||||||
"private": true,
|
"private": true,
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ module.exports = configure((ctx) => ({
|
|||||||
},
|
},
|
||||||
devServer: {
|
devServer: {
|
||||||
https: false,
|
https: false,
|
||||||
port: 8083,
|
port: 8082,
|
||||||
open: false, // opens browser window automatically
|
open: false, // opens browser window automatically
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -196,9 +196,10 @@
|
|||||||
}}
|
}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="text-center">
|
<div v-if="isLogged()"
|
||||||
<span class="text-white" v-if="Verificato()"> {{t('reg.verificato')}} </span>
|
class="text-verified">
|
||||||
<span class="text-white background-red" v-else> {{t('reg.non_verificato')}} </span>
|
<!-- <span class="text-white" v-if="Verificato()"> {{t('reg.verificato')}} </span> -->
|
||||||
|
<span class="text-user text-italic bg-red" v-if="!Verificato()"> {{t('reg.non_verificato')}} </span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="isLogged()" id="user-actions" class="column justify-center q-gutter-sm q-ma-sm center-150">
|
<div v-if="isLogged()" id="user-actions" class="column justify-center q-gutter-sm q-ma-sm center-150">
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ const routes_admin: IListRoutes[] = [
|
|||||||
{
|
{
|
||||||
active: true,
|
active: true,
|
||||||
order: 10,
|
order: 10,
|
||||||
path: '/admin',
|
path: '/admin/sites',
|
||||||
materialIcon: 'event_seat',
|
materialIcon: 'event_seat',
|
||||||
name: 'pages.Sites',
|
name: 'pages.Sites',
|
||||||
component: () => import('@/rootgen/admin/sites/sites.vue'),
|
component: () => import('@/rootgen/admin/sites/sites.vue'),
|
||||||
|
|||||||
@@ -123,12 +123,15 @@ export interface ISites {
|
|||||||
manageremail?: string
|
manageremail?: string
|
||||||
replyTo?: string
|
replyTo?: string
|
||||||
host?: string
|
host?: string
|
||||||
|
host_test?: string
|
||||||
portapp?: string
|
portapp?: string
|
||||||
dir?: string
|
dir?: string
|
||||||
email_from?: string
|
email_from?: string
|
||||||
email_pwd?: string
|
email_pwd?: string
|
||||||
telegram_key?: string
|
telegram_key?: string
|
||||||
telegram_bot_name?: string
|
telegram_bot_name?: string
|
||||||
|
telegram_key_test?: string
|
||||||
|
telegram_bot_name_test?: string
|
||||||
pathreg_add?: string
|
pathreg_add?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,12 +21,35 @@
|
|||||||
</CVerifyTelegram>
|
</CVerifyTelegram>
|
||||||
|
|
||||||
<div v-if="isUserOk()">
|
<div v-if="isUserOk()">
|
||||||
<CFinder/>
|
<q-banner rounded class="bg-primary text-white">
|
||||||
|
<div class="text-h6 text-center">
|
||||||
|
Ora Accedi al Bot Telegram <br>
|
||||||
|
per vedere tutti i Menu e le chat !
|
||||||
|
</div>
|
||||||
|
<template v-slot:action>
|
||||||
|
<q-btn flat color="white" label="Accedi al Bot Telegram" @click="getLinkBotTelegram()"/>
|
||||||
|
</template>
|
||||||
|
</q-banner>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<div v-if="!isLogged() && static_data.functionality.ENABLE_REGISTRATION && static_data.functionality.SHOW_REG_BUTTON" style="margin:20px; text-align: center;">
|
<div class="q-pa-md q-gutter-sm">
|
||||||
|
<q-banner rounded class="bg-primary text-white">
|
||||||
|
<div class="text-h6 text-center">
|
||||||
|
Accedi al menu inserendo le tue credenziali 🔑<br><br>
|
||||||
|
📝 Non sei <strong>Registrato</strong>?<br>
|
||||||
|
👉🏻 Chiedi in chat il link a chi ti ha <strong>invitato</strong>.<br>
|
||||||
|
</div>
|
||||||
|
<template v-slot:action>
|
||||||
|
<q-btn flat color="white" label="Accedi al Login" @click="openrighttoolbar"/>
|
||||||
|
</template>
|
||||||
|
</q-banner>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
v-if="!isLogged() && static_data.functionality.ENABLE_REGISTRATION && static_data.functionality.SHOW_REG_BUTTON"
|
||||||
|
style="margin:20px; text-align: center;">
|
||||||
<q-btn rounded size="lg" color="primary" @click="openrighttoolbar">{{ $t('login.enter') }}
|
<q-btn rounded size="lg" color="primary" @click="openrighttoolbar">{{ $t('login.enter') }}
|
||||||
</q-btn>
|
</q-btn>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -760,12 +760,16 @@ const msg_it = {
|
|||||||
manageremail: 'Email Gestione',
|
manageremail: 'Email Gestione',
|
||||||
replyTo: 'Reply To',
|
replyTo: 'Reply To',
|
||||||
host: 'Host',
|
host: 'Host',
|
||||||
|
host_test: 'Host Test',
|
||||||
portapp: 'Porta',
|
portapp: 'Porta',
|
||||||
dir: 'Directory',
|
dir: 'Dir',
|
||||||
|
dir_test: 'Dir Test',
|
||||||
email_from: 'Email From',
|
email_from: 'Email From',
|
||||||
email_pwd: 'Email Pwd',
|
email_pwd: 'Email Pwd',
|
||||||
telegram_key: 'Chiave Bot Telegram',
|
telegram_key: 'Chiave Bot',
|
||||||
telegram_bot_name: 'Telegram BotName',
|
telegram_bot_name: 'BotName',
|
||||||
|
telegram_key_test: 'Chiave Bot Test',
|
||||||
|
telegram_bot_name_test: 'BotName Test',
|
||||||
pathreg_add: 'Suffisso',
|
pathreg_add: 'Suffisso',
|
||||||
},
|
},
|
||||||
skill: {
|
skill: {
|
||||||
|
|||||||
@@ -461,12 +461,15 @@ export const colTableSites = [
|
|||||||
AddCol({ name: 'manageremail', label_trans: 'sites.manageremail', fieldtype: costanti.FieldType.string }),
|
AddCol({ name: 'manageremail', label_trans: 'sites.manageremail', fieldtype: costanti.FieldType.string }),
|
||||||
AddCol({ name: 'replyTo', label_trans: 'sites.replyTo', fieldtype: costanti.FieldType.string }),
|
AddCol({ name: 'replyTo', label_trans: 'sites.replyTo', fieldtype: costanti.FieldType.string }),
|
||||||
AddCol({ name: 'host', label_trans: 'sites.host', fieldtype: costanti.FieldType.string }),
|
AddCol({ name: 'host', label_trans: 'sites.host', fieldtype: costanti.FieldType.string }),
|
||||||
|
AddCol({ name: 'host_test', label_trans: 'sites.host_test', fieldtype: costanti.FieldType.string }),
|
||||||
AddCol({ name: 'portapp', label_trans: 'sites.portapp', fieldtype: costanti.FieldType.string }),
|
AddCol({ name: 'portapp', label_trans: 'sites.portapp', fieldtype: costanti.FieldType.string }),
|
||||||
AddCol({ name: 'dir', label_trans: 'sites.dir', fieldtype: costanti.FieldType.string }),
|
AddCol({ name: 'dir_test', label_trans: 'sites.dir_test', fieldtype: costanti.FieldType.string }),
|
||||||
AddCol({ name: 'email_from', label_trans: 'sites.email_from', fieldtype: costanti.FieldType.string }),
|
AddCol({ name: 'email_from', label_trans: 'sites.email_from', fieldtype: costanti.FieldType.string }),
|
||||||
AddCol({ name: 'email_pwd', label_trans: 'sites.email_pwd', fieldtype: costanti.FieldType.string }),
|
AddCol({ name: 'email_pwd', label_trans: 'sites.email_pwd', fieldtype: costanti.FieldType.string }),
|
||||||
AddCol({ name: 'telegram_key', label_trans: 'sites.telegram_key', fieldtype: costanti.FieldType.string }),
|
AddCol({ name: 'telegram_key', label_trans: 'sites.telegram_key', fieldtype: costanti.FieldType.string }),
|
||||||
AddCol({ name: 'telegram_bot_name', label_trans: 'sites.telegram_bot_name', fieldtype: costanti.FieldType.string }),
|
AddCol({ name: 'telegram_bot_name', label_trans: 'sites.telegram_bot_name', fieldtype: costanti.FieldType.string }),
|
||||||
|
AddCol({ name: 'telegram_key_test', label_trans: 'sites.telegram_key_test', fieldtype: costanti.FieldType.string }),
|
||||||
|
AddCol({ name: 'telegram_bot_name_test', label_trans: 'sites.telegram_bot_name_test', fieldtype: costanti.FieldType.string }),
|
||||||
AddCol({ name: 'pathreg_add', label_trans: 'sites.pathreg_add', fieldtype: costanti.FieldType.string }),
|
AddCol({ name: 'pathreg_add', label_trans: 'sites.pathreg_add', fieldtype: costanti.FieldType.string }),
|
||||||
AddCol({ name: 'who', label_trans: 'sites.who', fieldtype: costanti.FieldType.string }),
|
AddCol({ name: 'who', label_trans: 'sites.who', fieldtype: costanti.FieldType.string }),
|
||||||
AddCol({ name: 'status', label_trans: 'sites.status', fieldtype: costanti.FieldType.string }),
|
AddCol({ name: 'status', label_trans: 'sites.status', fieldtype: costanti.FieldType.string }),
|
||||||
|
|||||||
@@ -2,16 +2,6 @@
|
|||||||
|
|
||||||
site=freeplanet.app
|
site=freeplanet.app
|
||||||
|
|
||||||
echo "TERMINA DI LAVORARE SU $site: (Sovrascrivo !)" > now.txt
|
rmdir __popolodelnuovomondo.app
|
||||||
|
|
||||||
rmdir NEWFREEPLANET
|
|
||||||
rmdir POPOLODELNUOVOMONDO
|
|
||||||
|
|
||||||
cp -R _ALL_SITES/$site _BAK/4/
|
|
||||||
|
|
||||||
cp -R src/statics _ALL_SITES/$site/
|
|
||||||
cp -R src/db _ALL_SITES/$site/
|
|
||||||
cp -R ./quasar.conf.js _ALL_SITES/$site/
|
|
||||||
cp -R ./package.json _ALL_SITES/$site/
|
|
||||||
|
|
||||||
|
|
||||||
|
source __termine.sh
|
||||||
|
|||||||
@@ -2,18 +2,6 @@
|
|||||||
|
|
||||||
site=popolodelnuovomondo.app
|
site=popolodelnuovomondo.app
|
||||||
|
|
||||||
echo "TERMINA A LAVORARE SU $site: (Sovrascrivo !)" > now.txt
|
rmdir __freeplanet.app
|
||||||
|
|
||||||
rmdir NEWFREEPLANET
|
|
||||||
rmdir POPOLODELNUOVOMONDO
|
|
||||||
|
|
||||||
cp -R _ALL_SITES/$site _BAK/2/
|
|
||||||
|
|
||||||
cp -R src/statics _ALL_SITES/$site/
|
|
||||||
cp -R src/db _ALL_SITES/$site/
|
|
||||||
cp -R ./quasar.conf.js _ALL_SITES/$site/
|
|
||||||
cp -R ./package.json _ALL_SITES/$site/
|
|
||||||
cp -R ./.env.development _ALL_SITES/$site/
|
|
||||||
cp -R ./.env.production _ALL_SITES/$site/
|
|
||||||
cp -R ./.env.test _ALL_SITES/$site/
|
|
||||||
|
|
||||||
|
source __termine.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user