- Tolto Zoom e Sogni come requisiti

- Corretto Email con HTML che si visualizzavano tutti i caratteri HTML...
This commit is contained in:
Paolo Arena
2020-10-17 22:11:29 +02:00
parent 84f6fe5990
commit f67f448cd4
4 changed files with 57 additions and 3 deletions

View File

@@ -2,6 +2,10 @@
// ++Todo: PRIORITA' ALTA: // ++Todo: PRIORITA' ALTA:
- ETELEGRAM: 400 Bad Request: message identifier is not specified.
- ETELEGRAM: 400 Bad Request: message is too long
- Togliere gli imbarchi: far pagare subito la persona. - Togliere gli imbarchi: far pagare subito la persona.
- Errore durante la sostituzione... - Errore durante la sostituzione...
@@ -13,6 +17,7 @@
- Controllare che ci sono registrazioni doppie !! (stesso username e stessa email!) - Controllare che ci sono registrazioni doppie !! (stesso username e stessa email!)
- Mostrare il numero della tua posizione...
- (Linuccia) - Natalina Malerbi - (Linuccia) - Natalina Malerbi
DA CONTROLLARE CHE LEI NON HA PAGATO 8.44. DA CONTROLLARE CHE LEI NON HA PAGATO 8.44.

View File

@@ -148,6 +148,22 @@ if (process.env.NODE_ENV === 'production') {
pathreg_add:'_sip', pathreg_add:'_sip',
abilitanave: false, abilitanave: false,
}, },
{
idapp: '10',
name: 'Comunità Nuovo Mondo',
adminemail: 'comunitanuovomondo@gmail.com',
manageremail: '',
replyTo: '',
host: 'https://comunitanuovomondo.app',
portapp: '0',
dir: '/var/www/comunitanuovomondo.app',
email_from: 'comunitanuovomondo@gmail.com',
email_pwd: 'c6f63e7aba9393c73f56e338a7fe5283a73949363662d26bd375dd05b6f6f37ebkw4vINQ0O/4d8JN71aNH3UsyndeFRgyyMvJMVl4iOk=',
telegram_key:'1202788747:AAErwzIsD7k-3Yj5AX6ci3p7ELMuyASq4vA',
telegram_bot_name: 'comunitanuovomondo_bot',
pathreg_add:'_cnm',
abilitanave: false,
},
]; ];
} else if (process.env.NODE_ENV === 'test') { } else if (process.env.NODE_ENV === 'test') {
// ---------------- AMBIENTE DI TEST -------------------- // ---------------- AMBIENTE DI TEST --------------------
@@ -276,6 +292,22 @@ if (process.env.NODE_ENV === 'production') {
pathreg_add:'_sip', pathreg_add:'_sip',
abilitanave: false, abilitanave: false,
}, },
{
idapp: '10',
name: 'Comunità Nuovo Mondo (Server Test)',
adminemail: 'info.pianetalibero@gmail.com',
manageremail: '',
replyTo: '',
host: 'https://test.comunitanuovomondo.app',
portapp: '0',
dir: '/var/www/test.comunitanuovomondo.app',
email_from: 'info.pianetalibero@gmail.com',
email_pwd: '2df135e2b6c02b2c68ec6bf6b103751fcb4dfc48c57d0acb302482358ee8141fmaDuooPabDvlThiBI2XMyA==',
telegram_key:'',
telegram_bot_name: '',
pathreg_add:'_cnm',
abilitanave: false,
}
]; ];
} else { } else {
// ---------------- AMBIENTE IN L O C A L E -------------------- // ---------------- AMBIENTE IN L O C A L E --------------------
@@ -404,6 +436,21 @@ if (process.env.NODE_ENV === 'production') {
pathreg_add:'_sip', pathreg_add:'_sip',
abilitanave: false, abilitanave: false,
}, },
{
idapp: '10',
name: 'Comunità Nuovo Mondo',
adminemail: 'paolo.arena77@gmail.com',
manageremail: '',
host: 'http://localhost',
portapp: '8090',
dir: '',
email_from: 'info.pianetalibero@gmail.com',
email_pwd: '66ffeb915e71fada64ad5c26947dd087c262be3b343734a0447c6dee534b888aZcfbjXEuMBWKxvbh60cniw==',
telegram_key: '',
telegram_bot_name: '',
pathreg_add:'_cnm',
abilitanave: false,
}
]; ];
} }

View File

@@ -186,7 +186,7 @@ function getTableByTableName(tablename) {
mytable = User; mytable = User;
else if (tablename === 'tessitura') else if (tablename === 'tessitura')
mytable = Tessitura; mytable = Tessitura;
// else if (tablename === 'extralist') // else if (tablename === 'extralist')
// mytable = ExtraList; // mytable = ExtraList;
else if (tablename === 'bookings') else if (tablename === 'bookings')
mytable = Booking; mytable = Booking;
@@ -987,6 +987,8 @@ router.delete('/delrec/:table/:id', authenticate, async (req, res) => {
tools.mylog('DELETED ', rec._id); tools.mylog('DELETED ', rec._id);
return true;
}).catch((e) => { }).catch((e) => {
console.log(e.message); console.log(e.message);
res.status(400).send(); res.status(400).send();
@@ -996,7 +998,7 @@ router.delete('/delrec/:table/:id', authenticate, async (req, res) => {
if (cancellato) { if (cancellato) {
// Do extra things after deleted // Do extra things after deleted
ris = await actions.doOtherThingsAfterDeleted(tablename, myrec, notifBot, req); let ris2 = await actions.doOtherlasThingsAfterDeleted(tablename, myrec, notifBot, req);
if (!!ris) { if (!!ris) {
return res.send({ code: server_constants.RIS_CODE_OK, msg: '' }); return res.send({ code: server_constants.RIS_CODE_OK, msg: '' });
} }

View File

@@ -347,7 +347,7 @@ router.post('/testemail', authenticate, async (req, res) => {
lang = req.body.locale; lang = req.body.locale;
previewonly = req.body.previewonly; previewonly = req.body.previewonly;
const test = true; const test = false;
if (test) { if (test) {
const email = 'pao.loarena77@gmail.com'; const email = 'pao.loarena77@gmail.com';