- 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:
- 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.
- Errore durante la sostituzione...
@@ -13,6 +17,7 @@
- Controllare che ci sono registrazioni doppie !! (stesso username e stessa email!)
- Mostrare il numero della tua posizione...
- (Linuccia) - Natalina Malerbi
DA CONTROLLARE CHE LEI NON HA PAGATO 8.44.

View File

@@ -148,6 +148,22 @@ if (process.env.NODE_ENV === 'production') {
pathreg_add:'_sip',
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') {
// ---------------- AMBIENTE DI TEST --------------------
@@ -276,6 +292,22 @@ if (process.env.NODE_ENV === 'production') {
pathreg_add:'_sip',
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 {
// ---------------- AMBIENTE IN L O C A L E --------------------
@@ -404,6 +436,21 @@ if (process.env.NODE_ENV === 'production') {
pathreg_add:'_sip',
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

@@ -987,6 +987,8 @@ router.delete('/delrec/:table/:id', authenticate, async (req, res) => {
tools.mylog('DELETED ', rec._id);
return true;
}).catch((e) => {
console.log(e.message);
res.status(400).send();
@@ -996,7 +998,7 @@ router.delete('/delrec/:table/:id', authenticate, async (req, res) => {
if (cancellato) {
// Do extra things after deleted
ris = await actions.doOtherThingsAfterDeleted(tablename, myrec, notifBot, req);
let ris2 = await actions.doOtherlasThingsAfterDeleted(tablename, myrec, notifBot, req);
if (!!ris) {
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;
previewonly = req.body.previewonly;
const test = true;
const test = false;
if (test) {
const email = 'pao.loarena77@gmail.com';