Non permettere il cambio del codice del gruppo
disattivare l'abilitazione se la registrazione arriva da me paoloar77 Sistemato il Menu del BOT per inviare msg a tutti e per ricevere il proprio Link personale. Non permettere il cambio del codice del gruppo Aggiunta la Provincia tra parentesi nei Comuni: es Rimini (RN)
This commit is contained in:
@@ -117,7 +117,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
fieldsUserToChange() {
|
fieldsUserToChange() {
|
||||||
return ['_id', 'index', 'username', 'email', 'name', 'surname', 'perm', 'date_reg', 'verified_email', 'verified_by_aportador', 'ipaddr', 'lasttimeonline', 'profile', 'calcstat', 'news_on', 'aportador_solidario', 'made_gift', 'ind_order', 'old_order', 'numinvitati', 'numinvitatiattivi', 'qualified']
|
return ['_id', 'index', 'username', 'email', 'name', 'surname', 'perm', 'date_reg', 'verified_email', 'notask_verif', 'verified_by_aportador', 'ipaddr', 'lasttimeonline', 'profile', 'calcstat', 'news_on', 'aportador_solidario', 'made_gift', 'ind_order', 'old_order', 'numinvitati', 'numinvitatiattivi', 'qualified']
|
||||||
},
|
},
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -122,6 +122,7 @@ export const shared_consts = {
|
|||||||
BOTTYPE_PAGE: 1,
|
BOTTYPE_PAGE: 1,
|
||||||
BOTTYPE_LINK: 2,
|
BOTTYPE_LINK: 2,
|
||||||
BOTTYPE_TEXT: 3,
|
BOTTYPE_TEXT: 3,
|
||||||
|
BOTTYPE_MENU: 4,
|
||||||
|
|
||||||
CashType: {
|
CashType: {
|
||||||
None: 0,
|
None: 0,
|
||||||
@@ -155,6 +156,10 @@ export const shared_consts = {
|
|||||||
value: 3,
|
value: 3,
|
||||||
label: 'Testo',
|
label: 'Testo',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
value: 4, // BOTTYPE_MENU
|
||||||
|
label: 'Menu',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
Shippings: [
|
Shippings: [
|
||||||
@@ -769,7 +774,7 @@ export const shared_consts = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
fieldsUserToChange() {
|
fieldsUserToChange() {
|
||||||
return ['_id', 'username', 'group', 'email', 'name', 'surname', 'perm', 'date_reg', 'verified_email', 'verified_by_aportador', 'trust_modified', 'img', 'ipaddr', 'lasttimeonline', 'profile', 'news_on']
|
return ['_id', 'username', 'group', 'email', 'name', 'surname', 'perm', 'date_reg', 'verified_email', 'notask_verif', 'verified_by_aportador', 'trust_modified', 'img', 'ipaddr', 'lasttimeonline', 'profile', 'news_on']
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -380,7 +380,7 @@ export default defineComponent({
|
|||||||
filter: null,
|
filter: null,
|
||||||
useinput: false,
|
useinput: false,
|
||||||
icon: 'mood',
|
icon: 'mood',
|
||||||
filteradv: true,
|
filteradv: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Regione',
|
label: 'Regione',
|
||||||
@@ -476,7 +476,7 @@ export default defineComponent({
|
|||||||
filter: null,
|
filter: null,
|
||||||
useinput: false,
|
useinput: false,
|
||||||
icon: 'fas fa-hand-holding',
|
icon: 'fas fa-hand-holding',
|
||||||
filteradv: true,
|
filteradv: false,
|
||||||
//icon: 'swap_horizontal_circle',
|
//icon: 'swap_horizontal_circle',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -147,7 +147,6 @@
|
|||||||
<CMySelect
|
<CMySelect
|
||||||
:col="fieldsTable.getColByTable(mytable, item.key)"
|
:col="fieldsTable.getColByTable(mytable, item.key)"
|
||||||
v-if="(item.type === costanti.FieldType.select) || (item.type === costanti.FieldType.select_by_server)"
|
v-if="(item.type === costanti.FieldType.select) || (item.type === costanti.FieldType.select_by_server)"
|
||||||
v-show="(item.filteradv && showfilteradv) || !item.filteradv"
|
|
||||||
:label="labelcombo(item)"
|
:label="labelcombo(item)"
|
||||||
v-model:value="item.value"
|
v-model:value="item.value"
|
||||||
@update:value="searchval(item.value, item.table)"
|
@update:value="searchval(item.value, item.table)"
|
||||||
@@ -172,7 +171,6 @@
|
|||||||
|
|
||||||
<CMySelect
|
<CMySelect
|
||||||
v-if="item.type === costanti.FieldType.multiselect_by_server"
|
v-if="item.type === costanti.FieldType.multiselect_by_server"
|
||||||
v-show="(item.filteradv && showfilteradv) || !item.filteradv"
|
|
||||||
:col="fieldsTable.getColByTable(mytable, item.key)"
|
:col="fieldsTable.getColByTable(mytable, item.key)"
|
||||||
:multiselect_by_server="true"
|
:multiselect_by_server="true"
|
||||||
:label="labelcombo(item)"
|
:label="labelcombo(item)"
|
||||||
@@ -196,7 +194,6 @@
|
|||||||
|
|
||||||
<q-select
|
<q-select
|
||||||
v-if="(item.type === costanti.FieldType.multiselect)"
|
v-if="(item.type === costanti.FieldType.multiselect)"
|
||||||
v-show="(item.filteradv && showfilteradv) || !item.filteradv"
|
|
||||||
v-model="item.arrvalue"
|
v-model="item.arrvalue"
|
||||||
label-color="primary"
|
label-color="primary"
|
||||||
:label="labelcombo(item)"
|
:label="labelcombo(item)"
|
||||||
|
|||||||
@@ -518,7 +518,7 @@ const baseroutes: IListRoutes[] = [
|
|||||||
materialIcon: 'fas fa-test',
|
materialIcon: 'fas fa-test',
|
||||||
name: 'mypages.test',
|
name: 'mypages.test',
|
||||||
component: () => import('@/views/testServer/testServer.vue'),
|
component: () => import('@/views/testServer/testServer.vue'),
|
||||||
inmenu: true,
|
inmenu: false,
|
||||||
infooter: false,
|
infooter: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -116,6 +116,11 @@ export default function () {
|
|||||||
return isVerified() && userStore.my.verified_by_aportador
|
return isVerified() && userStore.my.verified_by_aportador
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function notAsk_ToVerify() {
|
||||||
|
const userStore = useUserStore()
|
||||||
|
return isVerified() && userStore.my.notask_verif
|
||||||
|
}
|
||||||
|
|
||||||
function paotest() {
|
function paotest() {
|
||||||
return 'Ciaoooooooooooooooo!'
|
return 'Ciaoooooooooooooooo!'
|
||||||
}
|
}
|
||||||
@@ -177,6 +182,7 @@ export default function () {
|
|||||||
mySurname,
|
mySurname,
|
||||||
myCell,
|
myCell,
|
||||||
Verificato,
|
Verificato,
|
||||||
|
notAsk_ToVerify,
|
||||||
MadeGift,
|
MadeGift,
|
||||||
Email,
|
Email,
|
||||||
getMyImg,
|
getMyImg,
|
||||||
|
|||||||
@@ -105,6 +105,7 @@ export interface IUserFields {
|
|||||||
perm?: number
|
perm?: number
|
||||||
verified_email?: boolean
|
verified_email?: boolean
|
||||||
verified_by_aportador?: boolean
|
verified_by_aportador?: boolean
|
||||||
|
notask_verif?: boolean
|
||||||
trust_modified?: Date
|
trust_modified?: Date
|
||||||
aportador_solidario?: string
|
aportador_solidario?: string
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,19 @@
|
|||||||
|
|
||||||
<!--<CMapsEsempio></CMapsEsempio>-->
|
<!--<CMapsEsempio></CMapsEsempio>-->
|
||||||
|
|
||||||
|
<q-banner
|
||||||
|
v-if="tools.isTest()"
|
||||||
|
rounded
|
||||||
|
dense
|
||||||
|
class="bg-negative text-white"
|
||||||
|
color="primary q-title"
|
||||||
|
style="text-align: center;">
|
||||||
|
<template v-slot:avatar>
|
||||||
|
<q-icon name="fas fa-exclamation-triangle" color="yellow" size="xs" />
|
||||||
|
</template>
|
||||||
|
<span class="mybanner">Questo è l'AMBIENTE DI TEST !<br> Solo per prove.</span>
|
||||||
|
|
||||||
|
</q-banner>
|
||||||
|
|
||||||
<div v-if="isLogged()">
|
<div v-if="isLogged()">
|
||||||
<div v-if="!isUserOk()">
|
<div v-if="!isUserOk()">
|
||||||
|
|||||||
@@ -216,9 +216,9 @@ const msg_it = {
|
|||||||
components: {
|
components: {
|
||||||
authentication: {
|
authentication: {
|
||||||
telegram: {
|
telegram: {
|
||||||
open: 'Clicca qui per aprire il BOT Telegram e segui le istruzioni',
|
open: 'Clicca sul bottone qui sotto, si aprirà una chat Telegram speciale (chiamata BOT)',
|
||||||
ifclose: 'Se non si apre Telegram cliccando sul bottone oppure l\'avevi eliminato, vai su Telegram e cerca il Bot di \'{botname}\' dall\'icona della lente, poi premi Start e segui le istruzioni.',
|
ifclose: 'poi premi "AVVIA" o "START" e segui le istruzioni indicate.',
|
||||||
openbot: 'Apri \'{botname}\' su Telegram',
|
openbot: 'Entra qui',
|
||||||
},
|
},
|
||||||
login: {
|
login: {
|
||||||
facebook: 'Facebook',
|
facebook: 'Facebook',
|
||||||
@@ -396,6 +396,7 @@ const msg_it = {
|
|||||||
legenda: 'Legenda',
|
legenda: 'Legenda',
|
||||||
aportador_solidario: 'Chi ti ha Invitato',
|
aportador_solidario: 'Chi ti ha Invitato',
|
||||||
verified_by_aportador: 'Verificato dall\'Invitante',
|
verified_by_aportador: 'Verificato dall\'Invitante',
|
||||||
|
notAsk_ToVerify: 'Non chiedere la verifica Registrazione',
|
||||||
trust_modified: 'Fiducia Modificata',
|
trust_modified: 'Fiducia Modificata',
|
||||||
blocked: 'Bloccato',
|
blocked: 'Bloccato',
|
||||||
username_who_block: 'Bloccato da',
|
username_who_block: 'Bloccato da',
|
||||||
|
|||||||
@@ -520,7 +520,7 @@ export const colmyUserGroup = [
|
|||||||
name: 'groupname', label_trans: 'reg.groupname', required: true,
|
name: 'groupname', label_trans: 'reg.groupname', required: true,
|
||||||
maxlength: 30,
|
maxlength: 30,
|
||||||
allowchar: costanti.ALLOWCHAR_CODE,
|
allowchar: costanti.ALLOWCHAR_CODE,
|
||||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit,
|
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage,
|
||||||
}),
|
}),
|
||||||
AddCol({ name: 'title', label_trans: 'reg.name', required: true, noshowlabel: true, maxlength: 40 }),
|
AddCol({ name: 'title', label_trans: 'reg.name', required: true, noshowlabel: true, maxlength: 40 }),
|
||||||
AddCol({
|
AddCol({
|
||||||
@@ -1906,6 +1906,11 @@ export const colTableUsersISP = [
|
|||||||
label_trans: 'reg.verified_by_aportador',
|
label_trans: 'reg.verified_by_aportador',
|
||||||
fieldtype: costanti.FieldType.boolean
|
fieldtype: costanti.FieldType.boolean
|
||||||
}),
|
}),
|
||||||
|
AddCol({
|
||||||
|
name: 'notask_verif',
|
||||||
|
label_trans: 'reg.notAsk_ToVerify',
|
||||||
|
fieldtype: costanti.FieldType.boolean
|
||||||
|
}),
|
||||||
AddCol({ name: 'trust_modified', label_trans: 'reg.trust_modified', fieldtype: costanti.FieldType.date }),
|
AddCol({ name: 'trust_modified', label_trans: 'reg.trust_modified', fieldtype: costanti.FieldType.date }),
|
||||||
AddCol({ name: 'blocked', label_trans: 'reg.blocked', fieldtype: costanti.FieldType.boolean }),
|
AddCol({ name: 'blocked', label_trans: 'reg.blocked', fieldtype: costanti.FieldType.boolean }),
|
||||||
AddCol({ name: 'username_who_block', label_trans: 'reg.username_who_block' }),
|
AddCol({ name: 'username_who_block', label_trans: 'reg.username_who_block' }),
|
||||||
|
|||||||
@@ -151,7 +151,7 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<CMyFieldRec
|
<CMyFieldRec
|
||||||
:title="t('reg.residency_city')"
|
:title="t('reg.born_city')"
|
||||||
table="users"
|
table="users"
|
||||||
tablesel="cities"
|
tablesel="cities"
|
||||||
:id="myuser._id"
|
:id="myuser._id"
|
||||||
|
|||||||
@@ -1,5 +1,17 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="">
|
<div class="">
|
||||||
|
<q-banner
|
||||||
|
rounded
|
||||||
|
dense
|
||||||
|
class="bg-warning text-white"
|
||||||
|
color="primary q-title"
|
||||||
|
style="text-align: center;">
|
||||||
|
<template v-slot:avatar>
|
||||||
|
<q-icon name="fas fa-exclamation-triangle" color="yellow" size="xs" />
|
||||||
|
</template>
|
||||||
|
<span class="mybanner">Questa sezione è ancora in fase di miglioramento.</span>
|
||||||
|
|
||||||
|
</q-banner>
|
||||||
<CMyFriends
|
<CMyFriends
|
||||||
v-model="filter"
|
v-model="filter"
|
||||||
:finder="true"
|
:finder="true"
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<template v-slot:avatar>
|
<template v-slot:avatar>
|
||||||
<q-icon name="fas fa-exclamation-triangle" color="yellow" size="xs" />
|
<q-icon name="fas fa-exclamation-triangle" color="yellow" size="xs" />
|
||||||
</template>
|
</template>
|
||||||
<span class="mybanner">Questa sezione è ancora in fase di test.</span>
|
<span class="mybanner">Questa sezione è ancora in fase di miglioramento.</span>
|
||||||
|
|
||||||
</q-banner>
|
</q-banner>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user