oncall-engine/engine/apps/api/views
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 World, meet OnCall! 2022-06-03 08:09:47 -06:00
alert_group.py Alert group search (#488) 2022-09-06 11:30:12 +01:00
alert_receive_channel.py Wrong team error for integrations and escalation chains pages 2022-09-12 17:30:45 +03:00
alert_receive_channel_template.py Insight logs (#348) 2022-08-24 12:04:44 +05:00
alerts.py Add alert detail view (#385) 2022-08-19 14:03:07 +05:00
apns_device.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
auth.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
channel_filter.py Insight logs (#348) 2022-08-24 12:04:44 +05:00
custom_button.py Wrong team error for schedules and custom buttons, add flag to get object from the whole organization 2022-09-12 17:26:23 +03:00
escalation_chain.py Wrong team error for integrations and escalation chains pages 2022-09-12 17:30:45 +03:00
escalation_policy.py Insight logs (#348) 2022-08-24 12:04:44 +05:00
features.py Allow enabling schedules alpha per organization 2022-10-05 14:06:42 -03:00
gitops.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
integration_heartbeat.py Insight logs (#348) 2022-08-24 12:04:44 +05:00
live_setting.py Fix circular import for CloudConnector (#329) 2022-08-03 12:43:28 +01:00
maintenance.py Show only maintenances for current team (#287) 2022-07-25 11:09:06 +01:00
on_call_shifts.py Allow empty users when previewing a web schedule shift 2022-09-02 16:45:35 -03:00
organization.py Insight logs (#348) 2022-08-24 12:04:44 +05:00
preview_template_options.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
public_api_tokens.py Fix deletion of public api tokens (#422) 2022-08-30 14:25:19 +01:00
resolution_note.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
route_regex_debugger.py Optimize alert group list view (#299) 2022-07-27 14:14:59 +03:00
schedule.py Wrong team error for schedules and custom buttons, add flag to get object from the whole organization 2022-09-12 17:26:23 +03:00
slack_channel.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
slack_team_settings.py Insight logs (#348) 2022-08-24 12:04:44 +05:00
subscription.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
team.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
telegram_channels.py Insight logs (#348) 2022-08-24 12:04:44 +05:00
test_insight_logs.py Fix propagation for the insight logger 2022-07-25 12:59:12 +04:00
user.py Merge branch 'dev' into 472-wrong-team 2022-09-26 13:34:46 +03:00
user_group.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
user_notification_policy.py Restore email notifications (#621) 2022-10-19 12:32:56 +01:00