Resolve "Send emails for celery tasks with status "FAILURE"" #2522

Merged
hansegucker merged 3 commits from 312-send-emails-for-celery-tasks-with-status-failure into master 2022-01-08 18:13:34 +01:00
Contributor

Closes #312

Closes #312
Author
Contributor

assigned to @benni

assigned to @benni
Author
Contributor

added 2 commits

  • 91011b03 - Send mail if celery task fails
  • 9ad570e9 - Add template for celery failure

Compare with previous version

added 2 commits <ul><li>91011b03 - Send mail if celery task fails</li><li>9ad570e9 - Add template for celery failure</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-Core/-/merge_requests/877/diffs?diff_id=15796&start_sha=e7a135948e674f63cd452d696decb141e4e05161)
Owner

You can see how to send e-mails with correct sender and recipients in aleksis/core/data_checks.py in send_emails_for_data_checks.

You can see how to send e-mails with correct sender and recipients in `aleksis/core/data_checks.py` in `send_emails_for_data_checks`.
Author
Contributor

added 5 commits

  • 9ad570e9...eb015334 - 2 commits from branch master
  • a03e953f - Send mail if celery task fails
  • 905d87d2 - Add template for celery failure
  • 8fa2bc25 - Merge branch '312-send-emails-for-celery-tasks-with-status-failure' of...

Compare with previous version

added 5 commits <ul><li>9ad570e9...eb015334 - 2 commits from branch <code>master</code></li><li>a03e953f - Send mail if celery task fails</li><li>905d87d2 - Add template for celery failure</li><li>8fa2bc25 - Merge branch &#39;312-send-emails-for-celery-tasks-with-status-failure&#39; of...</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-Core/-/merge_requests/877/diffs?diff_id=15856&start_sha=9ad570e9abad2c839f1e4f4e2f3ef8cfa7c0e3bc)
Author
Contributor

added 3 commits

  • 837aba64 - Send mail to admin mail accounts
  • 5dd2b57c - Fix sending mail to admins
  • 6f43ed64 - Fix broken brackets

Compare with previous version

added 3 commits <ul><li>837aba64 - Send mail to admin mail accounts</li><li>5dd2b57c - Fix sending mail to admins</li><li>6f43ed64 - Fix broken brackets</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-Core/-/merge_requests/877/diffs?diff_id=15885&start_sha=8fa2bc250b799d5fd968fe84c594ac63129cdccf)
Author
Contributor

added 1 commit

  • e081a12a - Add name of failed celery task in mail

Compare with previous version

added 1 commit <ul><li>e081a12a - Add name of failed celery task in mail</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-Core/-/merge_requests/877/diffs?diff_id=15909&start_sha=6f43ed64c0b987f03aae766428e40dcd0a1d659f)
Owner

Please remove debug prints.

Please remove debug prints.
Owner

The linter will not like that.

The linter will not like that.
Owner

This does not look properly formatted.

This does not look properly formatted.
Owner

Please udpate the changelog and squash the commits into reasonable logical steps.

Please udpate the changelog and squash the commits into reasonable logical steps.
Owner

assigned to @nik and unassigned @benni

assigned to @nik and unassigned @benni
Owner

@benni Can you please provide a screenshot of a sent mail?

@benni Can you please provide a screenshot of a sent mail?
Author
Contributor

changed this line in version 5 of the diff

changed this line in [version 5 of the diff](/AlekSIS/official/AlekSIS-Core/-/merge_requests/877/diffs?diff_id=15968&start_sha=e081a12a17cfe4056578fba0a5dc0a8f5c1882c3#87fcccc90606f8d72d4618af9484f45175966a82_23_21)
Author
Contributor

changed this line in version 5 of the diff

changed this line in [version 5 of the diff](/AlekSIS/official/AlekSIS-Core/-/merge_requests/877/diffs?diff_id=15968&start_sha=e081a12a17cfe4056578fba0a5dc0a8f5c1882c3#87fcccc90606f8d72d4618af9484f45175966a82_18_16)
Author
Contributor

changed this line in version 5 of the diff

changed this line in [version 5 of the diff](/AlekSIS/official/AlekSIS-Core/-/merge_requests/877/diffs?diff_id=15968&start_sha=e081a12a17cfe4056578fba0a5dc0a8f5c1882c3#87fcccc90606f8d72d4618af9484f45175966a82_26_21)
Author
Contributor

added 2 commits

  • 4b50b57c - Fix format
  • 79635d17 - Update changelog

Compare with previous version

added 2 commits <ul><li>4b50b57c - Fix format</li><li>79635d17 - Update changelog</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-Core/-/merge_requests/877/diffs?diff_id=15968&start_sha=e081a12a17cfe4056578fba0a5dc0a8f5c1882c3)
Author
Contributor

image

![image](/uploads/9b8c36e2ec9b5dc88dcebb0e5eeebafe/image.png)
Author
Contributor

added 1 commit

  • ed787981 - Fix 'kwargs argument'

Compare with previous version

added 1 commit <ul><li>ed787981 - Fix &#39;kwargs argument&#39;</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-Core/-/merge_requests/877/diffs?diff_id=15981&start_sha=79635d17a9913f027b687b6dce75eb52cbadfd65)
Author
Contributor

added 37 commits

  • ed787981...727cfc79 - 34 commits from branch master
  • 7909b6d3 - Add mail template for failed celery tasks
  • 8acdd802 - Send mail to admins if celery tasks fail
  • 1ccd7a7d - Update changelog

Compare with previous version

added 37 commits <ul><li>ed787981...727cfc79 - 34 commits from branch <code>master</code></li><li>7909b6d3 - Add mail template for failed celery tasks</li><li>8acdd802 - Send mail to admins if celery tasks fail</li><li>1ccd7a7d - Update changelog</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-Core/-/merge_requests/877/diffs?diff_id=15997&start_sha=ed7879819836341ca50417196c6339540d558386)
Author
Contributor

marked this merge request as ready

marked this merge request as **ready**
Author
Contributor

resolved all threads

resolved all threads
nik merged commit eaf3ad1f99 into master 2022-01-08 18:13:34 +01:00
Owner

mentioned in commit eaf3ad1f99

mentioned in commit eaf3ad1f99080d1c592b39ab233a93c341d4af65
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 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
aleksis/AlekSIS-Core!2522
No description provided.