Inviato al Server il primo freeplanet.app

e popolodelnuovomondo.insiemesipuo.app
This commit is contained in:
paoloar77
2022-01-04 19:56:33 +01:00
parent 3344c565f0
commit 1008f3a166
35 changed files with 572 additions and 103 deletions

View File

@@ -1,6 +1,6 @@
APP_VERSION="0.1.6"
SERVICE_WORKER_FILE="service-worker.js"
APP_ID="12"
APP_ID="1"
DIRECTORY_LOCAL="newfreeplanet"
DIRECTORY_SERVER="freeplanet_serverside"
SERVERDIR_WEBSITE=""

View File

@@ -1,12 +1,12 @@
APP_VERSION="0.1.6"
SERVICE_WORKER_FILE="service-worker.js"
APP_ID="12"
APP_ID="1"
DIRECTORY_LOCAL=newfreeplanet
DIRECTORY_SERVER=freeplanet_serverside
SERVERDIR_WEBSITE=popolodelnuovomondo.app
SERVERDIR_WEBSITE=www.freeplanet.app
SERVERPW_WEBSITE=pwdadmin@1AOK
APP_URL="https://popolodelnuovomondo.insiemesipuo.app"
URL_FACEBOOK="https://www.facebook.com/"
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"

View File

@@ -1,12 +1,12 @@
APP_VERSION="0.1.6"
SERVICE_WORKER_FILE="service-worker.js"
APP_ID="12"
APP_ID="1"
DIRECTORY_LOCAL=newfreeplanet
DIRECTORY_SERVER=test.freeplanet_serverside
SERVERDIR_WEBSITE="test.freeplanet.app"
SERVERPW_WEBSITE="pwdadmin@1AOK"
APP_URL="https://testpopolodelnuovomondo.insiemesipuo.app"
URL_FACEBOOK="https://www.facebook.com/"
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"

View 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

View 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

View 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

View File

View 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,
}
},
})

View 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>

View File

@@ -760,12 +760,16 @@ const msg_it = {
manageremail: 'Email Gestione',
replyTo: 'Reply To',
host: 'Host',
host_test: 'Host Test',
portapp: 'Porta',
dir: 'Directory',
dir: 'Dir',
dir_test: 'Dir Test',
email_from: 'Email From',
email_pwd: 'Email Pwd',
telegram_key: 'Chiave Bot Telegram',
telegram_bot_name: 'Telegram BotName',
telegram_key: 'Chiave Bot',
telegram_bot_name: 'BotName',
telegram_key_test: 'Chiave Bot Test',
telegram_bot_name_test: 'BotName Test',
pathreg_add: 'Suffisso',
},
skill: {

View 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

View 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

View 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

View File

@@ -1,8 +1,8 @@
const msg_website_it = {
ws: {
sitename: 'FreePlanet',
siteshortname: 'FreePlanet',
botname: 'il Bot di FreePlanet',
sitename: 'PopoloDelNuovoMondo',
siteshortname: 'PDNM',
botname: 'il Bot di PdNM',
},
products: {
quantity: 'Quantità',

View File

@@ -58,7 +58,7 @@ const routes_admin: IListRoutes[] = [
{
active: true,
order: 10,
path: '/admin',
path: '/admin/sites',
materialIcon: 'event_seat',
name: 'pages.Sites',
component: () => import('@/rootgen/admin/sites/sites.vue'),
@@ -366,7 +366,7 @@ const baseroutes: IListRoutes[] = [
inmenu: true,
infooter: true,
},
{
/*{
active: true,
order: 100,
path: '/presentazione',
@@ -376,7 +376,7 @@ const baseroutes: IListRoutes[] = [
reqauth: false,
inmenu: true,
infooter: true,
},
},*/
{
active: true,
order: 120,
@@ -558,7 +558,7 @@ const baseroutes: IListRoutes[] = [
isseparator: true,
inmenu: true,
},
{
/*{
active: true,
order: 80,
path: '/calendario-eventi',
@@ -568,7 +568,7 @@ const baseroutes: IListRoutes[] = [
extraclass: 'isCalendar',
inmenu: true,
infooter: true
},
},*/
{
active: true,
order: 1000,

View File

@@ -284,9 +284,9 @@ module.exports = configure((ctx) => ({
},
manifest: {
name: 'FreePlanet',
short_name: 'FreePlanet',
description: 'New Free Social',
name: 'PopoloDelNuovoMondo',
short_name: 'PdNM',
description: 'Popolo del Nuovo Mondo',
display: 'standalone',
orientation: 'portrait',
background_color: '#ffffff',

View 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,
}
},
})

View 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>

View File

@@ -760,12 +760,16 @@ const msg_it = {
manageremail: 'Email Gestione',
replyTo: 'Reply To',
host: 'Host',
host_test: 'Host Test',
portapp: 'Porta',
dir: 'Directory',
dir: 'Dir',
dir_test: 'Dir Test',
email_from: 'Email From',
email_pwd: 'Email Pwd',
telegram_key: 'Chiave Bot Telegram',
telegram_bot_name: 'Telegram BotName',
telegram_key: 'Chiave Bot',
telegram_bot_name: 'BotName',
telegram_key_test: 'Chiave Bot Test',
telegram_bot_name_test: 'BotName Test',
pathreg_add: 'Suffisso',
},
skill: {

26
__inizia.sh Normal file
View 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
View 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

View File

@@ -2,7 +2,7 @@
source ./.env.test
msg="*** Sincronizzazione ??? $DIRECTORY_LOCAL e $DIRECTORY_SERVER (Y/N) ? "
msg="*** Sincronizzazione ??? $DIRECTORY_LOCAL e $SERVERDIR_WEBSITE (Y/N) ? "
if [ "$1" = "" ]; then
read -p "$msg" risposta

View File

@@ -2,22 +2,6 @@
site=freeplanet.app
echo "INIZIA A LAVORARE SU $site: (Sovrascrivo !)" > now.txt
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 .
rmdir __popolodelnuovomondo.app
source __inizia.sh

View File

@@ -2,22 +2,6 @@
site=popolodelnuovomondo.app
echo "INIZIA A LAVORARE SU $site: (Sovrascrivo !)" > now.txt
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 .
rmdir __newfreeplanet.app
source __inizia.sh

View File

@@ -1,8 +1,8 @@
{
"name": "popolodelnuovomondo",
"version": "0.0.8",
"description": "Popolo Del Nuovo Mondo",
"productName": "Popolo Del Nuovo Mondo",
"name": "freeplanet",
"version": "0.0.7",
"description": "FreePlanet",
"productName": "FreePlanet",
"author": "Paolo Arena",
"private": true,
"keywords": [

View File

@@ -146,7 +146,7 @@ module.exports = configure((ctx) => ({
},
devServer: {
https: false,
port: 8083,
port: 8082,
open: false, // opens browser window automatically
},

View File

@@ -196,9 +196,10 @@
}}
</div>
<div class="text-center">
<span class="text-white" v-if="Verificato()"> {{t('reg.verificato')}} </span>
<span class="text-white background-red" v-else> {{t('reg.non_verificato')}} </span>
<div v-if="isLogged()"
class="text-verified">
<!-- <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 v-if="isLogged()" id="user-actions" class="column justify-center q-gutter-sm q-ma-sm center-150">

View File

@@ -58,7 +58,7 @@ const routes_admin: IListRoutes[] = [
{
active: true,
order: 10,
path: '/admin',
path: '/admin/sites',
materialIcon: 'event_seat',
name: 'pages.Sites',
component: () => import('@/rootgen/admin/sites/sites.vue'),

View File

@@ -123,12 +123,15 @@ export interface ISites {
manageremail?: string
replyTo?: string
host?: string
host_test?: string
portapp?: string
dir?: string
email_from?: string
email_pwd?: string
telegram_key?: string
telegram_bot_name?: string
telegram_key_test?: string
telegram_bot_name_test?: string
pathreg_add?: string
}

View File

@@ -21,12 +21,35 @@
</CVerifyTelegram>
<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 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>
</div>

View File

@@ -760,12 +760,16 @@ const msg_it = {
manageremail: 'Email Gestione',
replyTo: 'Reply To',
host: 'Host',
host_test: 'Host Test',
portapp: 'Porta',
dir: 'Directory',
dir: 'Dir',
dir_test: 'Dir Test',
email_from: 'Email From',
email_pwd: 'Email Pwd',
telegram_key: 'Chiave Bot Telegram',
telegram_bot_name: 'Telegram BotName',
telegram_key: 'Chiave Bot',
telegram_bot_name: 'BotName',
telegram_key_test: 'Chiave Bot Test',
telegram_bot_name_test: 'BotName Test',
pathreg_add: 'Suffisso',
},
skill: {

View File

@@ -461,12 +461,15 @@ export const colTableSites = [
AddCol({ name: 'manageremail', label_trans: 'sites.manageremail', 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_test', label_trans: 'sites.host_test', 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_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_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: 'who', label_trans: 'sites.who', fieldtype: costanti.FieldType.string }),
AddCol({ name: 'status', label_trans: 'sites.status', fieldtype: costanti.FieldType.string }),

View File

@@ -2,16 +2,6 @@
site=freeplanet.app
echo "TERMINA DI LAVORARE SU $site: (Sovrascrivo !)" > now.txt
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/
rmdir __popolodelnuovomondo.app
source __termine.sh

View File

@@ -2,18 +2,6 @@
site=popolodelnuovomondo.app
echo "TERMINA A LAVORARE SU $site: (Sovrascrivo !)" > now.txt
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/
rmdir __freeplanet.app
source __termine.sh