oncall-engine/engine/apps/public_api/serializers
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
action.py Allow non-JSON custom webhook templates, provided they render as valid JSON (#639) 2022-10-19 12:32:21 +01:00
alerts.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
escalation_chains.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
escalation_policies.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
incidents.py Feat 549 - add telegram permalink to alert groups http response (#551) 2022-09-28 16:59:57 +02:00
integrations.py Restore email notifications (#621) 2022-10-19 12:32:56 +01:00
integtration_heartbeat.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
maintenance.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
on_call_shifts.py Update serializers for oncall shifts 2022-07-18 15:23:15 +03:00
organizations.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
personal_notification_rules.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
resolution_notes.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
routes.py Small correction for boolean checks 2022-07-08 12:05:59 +03:00
schedules_base.py Remove demo token related code/logic 2022-06-09 09:16:10 -03:00
schedules_calendar.py Fix shifts/schedule teams validation on schedule creation 2022-09-09 12:24:07 -03:00
schedules_ical.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
schedules_polymorphic.py Initial web schedule model and serializers. Add override shift type. 2022-07-05 12:41:55 -03:00
schedules_web.py Use shift public key in events 2022-07-06 15:47:21 -03:00
slack_channel.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
teams.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
user_groups.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
users.py World, meet OnCall! 2022-06-03 08:09:47 -06:00