oncall-engine/engine/apps/alerts/tasks
Vadim Stepanov e67d3519fe
Restore email notifications (#621)
* remove email verification related code

* remove email verification related code

* remove sendgrid callback

* remove sendgrid related code

* remove sendgrid related code

* rename sendgrid app to email

* remove email from built-in channels

* remove email from built-in channels

* remove email from built-in channels

* add email backend: https://github.com/grafana/oncall/pull/50

* add email templater

* add email templater

* convert md to html

* add email settings to live settings

* use task to send email, handle some exceptions to create logs

* remove ERROR_NOTIFICATION_MAIL_DELIVERY_FAILED usage

* add email limit logic

* fix tests

* add docs

* remove old email templates

* remove old email templates

* add template_fields to messaging backend

* add messaging backends templates to public api

* add comment for deprecated fields

* fix test

* fix tests

* disable email by default

* don't retry on SMTPException and TimeoutError

* add tests

* bring email back to public api docs

* return ERROR_NOTIFICATION_MAIL_LIMIT_EXCEEDED

* make template_fields tuple

* build_subject_and_title -> build_subject_and_message

* add one more comment about template deprecation

* use 8 as backend id

* add comment about gaierror and BadHeaderError

* add comment on importing in notify_user_async

* edit oss docs
2022-10-19 12:32:56 +01:00
..
__init__.py Alert group search (#488) 2022-09-06 11:30:12 +01:00
acknowledge_reminder.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
alert_group_web_title_cache.py Alert group search (#488) 2022-09-06 11:30:12 +01:00
calculcate_escalation_finish_time.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
call_ack_url.py Lint 2022-08-02 15:26:17 -06:00
check_escalation_finished.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
compare_escalations.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
create_contact_points_for_datasource.py Fix creation contact points for grafana alerting integration 2022-06-16 17:16:31 +03:00
custom_button_result.py Handle JSONDecodeError for outgoing webhooks (#460) 2022-09-01 14:36:34 +01:00
delete_alert_group.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
distribute_alert.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
escalate_alert_group.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
invite_user_to_join_incident.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
maintenance.py Insight logs (#348) 2022-08-24 12:04:44 +05:00
notify_all.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
notify_group.py Check if notification policies is empty 2022-08-30 15:29:10 -06:00
notify_ical_schedule_shift.py Update slack lookup days when checking for next shift 2022-09-30 12:25:51 -03:00
notify_user.py Restore email notifications (#621) 2022-10-19 12:32:56 +01:00
resolve_alert_group_by_source_if_needed.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
resolve_by_last_step.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
send_alert_group_signal.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
send_update_log_report_signal.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
send_update_postmortem_signal.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
send_update_resolution_note_signal.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
sync_grafana_alerting_contact_points.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
task_logger.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
unsilence.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
wipe.py World, meet OnCall! 2022-06-03 08:09:47 -06:00