oncall-engine/engine/apps
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
..
alerts Restore email notifications (#621) 2022-10-19 12:32:56 +01:00
api Restore email notifications (#621) 2022-10-19 12:32:56 +01:00
api_for_grafana_incident World, meet OnCall! 2022-06-03 08:09:47 -06:00
auth_token Insight logs (#348) 2022-08-24 12:04:44 +05:00
base Restore email notifications (#621) 2022-10-19 12:32:56 +01:00
email Restore email notifications (#621) 2022-10-19 12:32:56 +01:00
grafana_plugin Tweaks from code review, add schedule and queue assignment 2022-09-07 07:58:44 -06:00
grafana_plugin_management World, meet OnCall! 2022-06-03 08:09:47 -06:00
heartbeat Insight logs (#348) 2022-08-24 12:04:44 +05:00
integrations Restore email notifications (#621) 2022-10-19 12:32:56 +01:00
migration_tool World, meet OnCall! 2022-06-03 08:09:47 -06:00
oss_installation Conform URLs (#281) 2022-07-25 09:12:50 -06:00
public_api Restore email notifications (#621) 2022-10-19 12:32:56 +01:00
schedules Merge branch 'dev' into web-schedule-fixes 2022-10-04 11:23:52 +03:00
slack Restore email notifications (#621) 2022-10-19 12:32:56 +01:00
social_auth user_id -> linked_user_id (#410) 2022-08-25 13:34:19 +05:00
telegram Retry on exception first 5 times 2022-09-02 15:03:08 -06:00
twilioapp Use stack-slug instead of org-title 2022-09-06 13:45:34 -06:00
user_management Restore email notifications (#621) 2022-10-19 12:32:56 +01:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00