-
Notifications
You must be signed in to change notification settings - Fork 7
Alert-system: Email setup #2621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feat/alert-system
Are you sure you want to change the base?
Alert-system: Email setup #2621
Conversation
4fd95eb to
5f0786c
Compare
deploy/helm/ifrcgo-helm/values.yaml
Outdated
| - command: 'alert_notification' | ||
| schedule: '0 */2 * * *' | ||
| - command: 'alert_notification_reply' | ||
| schedule: '0 */4 * * *' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not remove the notify_validators from here..
notifications/filter_set.py
Outdated
| region = filters.ModelMultipleChoiceFilter(field_name="regions", queryset=Region.objects.all()) | ||
| alert_source = filters.NumberFilter(field_name="alert_source", label="Alert Source") | ||
| hazard_type = filters.NumberFilter(field_name="hazard_types__type", label="Hazard Type") | ||
| hazard_type = filters.NumberFilter(field_name="hazard_types__name", label="Hazard Type") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| hazard_type = filters.NumberFilter(field_name="hazard_types__name", label="Hazard Type") | |
| hazard_type = filters.CharField(field_name="hazard_types__name", label="Hazard Type") |
| ).apply_async() | ||
|
|
||
|
|
||
| @shared_task() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might need a separate queue for these tasks.
…ix notification tests
d143643 to
c1f4a3b
Compare
…k and fix notification tests
Changes
Checklist
Things that should succeed before merging.
Release
If there is a version update, make sure to tag the repository with the latest version.