vedere le Richieste di Fiducia solo se si è verificati Telegram
Corretto il mio account che doveva confermare in automatico... non lo faceva... "Riregistrarsi se l'invitante non ha ancora confermato l'invito. Annullo la richiesta precedente. (inviando un msg di annullamento. (Si è già registrato con un alto invito.)" CMyEditor: non posso andare in edit sul HTML (nella table) Aggiornare il msg di benvenuto ! (prendere da msgtemplate) Dal Profilo: è possibile inviarsi il messaggio da condividere agli Amici Visualizzare la data d'inserimento dell'annuncio e l'ultima modifica fatta Link alla pagina di un Evento o Bene o Servizio ! Se aggiornamento: mettere messaggio che dice di chiudere e riaprire per aggiornare. Quando un utente chiede di entrare nel Gruppo, mettere l'abilitazione anche su Telegram. (e correggere il msg)
This commit is contained in:
@@ -35,7 +35,6 @@ const i18n = require('i18n');
|
||||
// OBTAIN
|
||||
// https://www.psclistens.com/insight/blog/enabling-a-nodejs-ssl-webserver-using-let-s-encrypt-pem-certificates/
|
||||
|
||||
|
||||
if ((process.env.NODE_ENV === 'production') ||
|
||||
(process.env.NODE_ENV === 'test')) {
|
||||
var privateKey = fs.readFileSync(process.env.PATH_CERT_KEY, 'utf8');
|
||||
@@ -45,8 +44,8 @@ if ((process.env.NODE_ENV === 'production') ||
|
||||
cert: certificate,
|
||||
ca: [
|
||||
fs.readFileSync(process.env.PATH_SSL_ROOT_PEM, 'utf8'),
|
||||
fs.readFileSync(process.env.PATH_SSL_CHAIN_PEM, 'utf8')
|
||||
]
|
||||
fs.readFileSync(process.env.PATH_SSL_CHAIN_PEM, 'utf8'),
|
||||
],
|
||||
};
|
||||
var https = require('https');
|
||||
} else {
|
||||
@@ -466,17 +465,17 @@ async function estraiImmagini(table) {
|
||||
try {
|
||||
// console.log('checkdir', folderprof);
|
||||
if (!fs.existsSync(folderprof)) {
|
||||
console.log('*** Creadir', folderprof)
|
||||
console.log('*** Creadir', folderprof);
|
||||
fs.mkdirSync(folderprof);
|
||||
}
|
||||
|
||||
folderprof = dir + 'profile/' + myuser.username + '/' + table;
|
||||
// console.log('checkdir', folderprof);
|
||||
if (!fs.existsSync(folderprof)) {
|
||||
console.log('creadir', folderprof)
|
||||
console.log('creadir', folderprof);
|
||||
fs.mkdirSync(folderprof);
|
||||
}
|
||||
}catch (e) {
|
||||
} catch (e) {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -492,7 +491,7 @@ async function estraiImmagini(table) {
|
||||
// console.log('file', file);
|
||||
// console.log('filefrom', filefrom);
|
||||
|
||||
if (!tools.isFileExists(file)){
|
||||
if (!tools.isFileExists(file)) {
|
||||
// non esiste
|
||||
console.log('non esiste', file);
|
||||
console.log(' filefrom', filefrom);
|
||||
@@ -512,7 +511,7 @@ async function estraiImmagini(table) {
|
||||
}
|
||||
}
|
||||
console.log('FINE - estraiImmagini', table);
|
||||
}catch (e) {
|
||||
} catch (e) {
|
||||
console.error('e', e);
|
||||
}
|
||||
}
|
||||
@@ -524,8 +523,6 @@ async function estraiTutteLeImmagini() {
|
||||
await estraiImmagini('mybachecas');
|
||||
}
|
||||
|
||||
|
||||
|
||||
async function faitest() {
|
||||
// console.log('Fai Test:')
|
||||
|
||||
@@ -533,8 +530,8 @@ async function faitest() {
|
||||
|
||||
// const $vers = tools.getVersionint('1.92.45');
|
||||
|
||||
if (false){
|
||||
const prova = tools.getConfSiteOptionEnabledByIdApp('13', shared_consts.ConfSite.Notif_Reg_Push_Admin)
|
||||
if (false) {
|
||||
const prova = tools.getConfSiteOptionEnabledByIdApp('13', shared_consts.ConfSite.Notif_Reg_Push_Admin);
|
||||
console.log('prova', prova);
|
||||
}
|
||||
|
||||
@@ -557,8 +554,7 @@ async function faitest() {
|
||||
|
||||
const langdest = 'it';
|
||||
|
||||
telegrambot.askConfirmationUserRegistration(myuser.idapp,
|
||||
shared_consts.CallFunz.REGISTRATION, myuser);
|
||||
telegrambot.askConfirmationUser(myuser.idapp, shared_consts.CallFunz.REGISTRATION, myuser);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user