feat: refs #6404 add mail notification #2566

Merged
pablone merged 10 commits from 6404-sendMailOnDeadLine into master 2024-06-27 08:00:49 +00:00
Member
No description provided.
pablone added 1 commit 2024-06-10 10:29:16 +00:00
gitea/salix/pipeline/pr-dev There was a failure building this commit Details
gitea/salix/pipeline/pr-master There was a failure building this commit Details
c5227d6cf6
feat: refs #6404 add mail notification
pablone added 1 commit 2024-06-10 10:29:48 +00:00
pablone added 1 commit 2024-06-10 10:36:21 +00:00
gitea/salix/pipeline/pr-master This commit looks good Details
d41f1ff561
fix: refs #6404 remove focus from test
pablone requested review from juan 2024-06-10 10:37:02 +00:00
pablone requested review from alexm 2024-06-10 10:37:06 +00:00
pablone changed title from WIP: feat: refs #6404 add mail notification to feat: refs #6404 add mail notification 2024-06-10 10:37:09 +00:00
juan requested changes 2024-06-11 06:36:41 +00:00
Dismissed
@ -36,0 +32,4 @@
deadLine.setHours(hours, minutes, 0);
if (today > deadLine && (!mrw.notified || mrw.notified.setHours(0, 0, 0, 0) !== today.setHours(0, 0, 0, 0))) {
const email = new Email('mrw-webService-deadline', {recipient: 'agencias@verdnatura.es', lang: 'es'});
Owner
  • webservice o web-service si es kebab-case va sin mayúscula.
  • No se ponen correos "a pelo" en el código, usar sistema de notificaciones
- `webservice` o `web-service` si es kebab-case va sin mayúscula. - No se ponen correos "a pelo" en el código, usar sistema de notificaciones
pablone marked this conversation as resolved
@ -120,0 +165,4 @@
expect(mail).toEqual(null);
await models.MrwConfig.updateAll({id: 1}, {expeditionDeadLine: null, notified: null});
Owner

Porque tantos saltos de linea vacios?

Porque tantos saltos de linea vacios?
pablone marked this conversation as resolved
@ -4,0 +11,4 @@
Self.getConfig = async function() {
const mrw = await Self.app.models.MrwConfig.findOne(null);
if (!mrw) throw new UserError(`Some mrwConfig parameters are not set`);
Owner

MRW service is not configured

MRW service is not configured
pablone marked this conversation as resolved
pablone added 1 commit 2024-06-14 15:40:15 +00:00
gitea/salix/pipeline/pr-master There was a failure building this commit Details
a30ff44837
fix: refs #6404 fix notification
pablone added 1 commit 2024-06-17 06:51:05 +00:00
pablone added 1 commit 2024-06-17 07:10:13 +00:00
gitea/salix/pipeline/pr-master This commit looks good Details
25afa80bab
fix: refs #6404 remove fixtures after test
alexm approved these changes 2024-06-17 10:29:17 +00:00
pablone added 1 commit 2024-06-19 08:46:45 +00:00
gitea/salix/pipeline/pr-master This commit looks good Details
47eb6dd8fe
Merge branch 'master' into 6404-sendMailOnDeadLine
pablone requested review from juan 2024-06-19 11:19:43 +00:00
alexm added 1 commit 2024-06-19 12:43:47 +00:00
gitea/salix/pipeline/pr-master Build queued... Details
7a0d107943
Merge branch 'master' into 6404-sendMailOnDeadLine
pablone requested review from jgallego 2024-06-26 05:14:34 +00:00
pablone added 1 commit 2024-06-26 05:14:40 +00:00
gitea/salix/pipeline/pr-master This commit looks good Details
478a38b0ab
Merge branch 'master' into 6404-sendMailOnDeadLine
jgallego approved these changes 2024-06-26 12:35:54 +00:00
pablone added 1 commit 2024-06-27 07:12:42 +00:00
gitea/salix/pipeline/pr-master This commit looks good Details
b6a72a1abb
Merge branch 'master' into 6404-sendMailOnDeadLine
jgallego removed review request for juan 2024-06-27 07:59:52 +00:00
jgallego dismissed juan’s review 2024-06-27 08:00:12 +00:00
Reason:

Si puedes das ok

pablone merged commit eade4b55e5 into master 2024-06-27 08:00:49 +00:00
pablone deleted branch 6404-sendMailOnDeadLine 2024-06-27 08:00:49 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: verdnatura/salix#2566
No description provided.