oncall-engine/engine/apps/telegram
Ildar Iskhakov 1b7ada4315
Add database migrations linter (#1020)
# What this PR does

This PR adds
[django-migration-linter](https://github.com/3YOURMIND/django-migration-linter)
to keep database migrations
 backwards compatible

- we can automatically run migrations and they are zero-downtime, e.g.
old code can work with the migrated database
 - we can run and rollback migrations without worrying about data safety
- OnCall is deployed to the multiple environments core team is not able
to control

See [django-migration-linter
checklist](https://github.com/3YOURMIND/django-migration-linter/blob/main/docs/incompatibilities.md)
for the common mistakes and best practices


## Which issue(s) this PR fixes

## Checklist

- [ ] Tests updated
- [ ] Documentation added
- [ ] `CHANGELOG.md` updated

---------

Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
2023-02-06 16:01:37 +08:00
..
migrations Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
models Change wording from "incident" to "alert group" in the Telegram app (#1052) 2023-01-04 17:44:01 +00:00
renderers Change wording from "incident" to "alert group" in the Telegram app (#1052) 2023-01-04 17:44:01 +00:00
tests update mobile app push notification text + make telegram alert verbage consistent ("Firing" instead of "Alerting") (#1089) 2023-01-05 16:16:43 +01:00
updates Shorten telegram callback data (#959) 2022-12-07 23:54:29 +08:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
alert_group_representative.py Allow Telegram DMs without channel connection (#142) 2022-06-28 09:11:19 +01:00
apps.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
client.py Add logging for Telegram BadRequest (#394) 2022-08-23 15:17:05 +01:00
decorators.py Validate Slack and Telegram host env variables (#307) 2022-08-02 12:57:12 +03:00
signals.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
tasks.py remove send_link_to_channel_message_or_fallback_to_full_incident 2023-01-06 11:34:11 +00:00
urls.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
utils.py Introduce org uuid (#947) 2022-12-06 22:42:58 +08:00
views.py World, meet OnCall! 2022-06-03 08:09:47 -06:00