oncall-engine/engine/apps/slack
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 Add utility function to get readonly db key if defined (#1264) 2023-02-01 12:07:32 +01:00
representatives World, meet OnCall! 2022-06-03 08:09:47 -06:00
scenarios Add default slack channel info to direct paging dialog (#1263) 2023-02-01 10:03:54 -03:00
slack_client World, meet OnCall! 2022-06-03 08:09:47 -06:00
templates/admin World, meet OnCall! 2022-06-03 08:09:47 -06:00
tests Fix test 2023-02-02 14:28:37 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
admin.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
constants.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
slack_formatter.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
tasks.py Catch DoesNotExist in post_slack_rate_limit_message (#1067) 2023-01-03 17:44:56 +00:00
urls.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
utils.py Use formatted UTC time for fallback in slack message (#225) 2022-07-18 07:55:05 -06:00
views.py Update message when user needs to connect their profile (#1190) 2023-01-23 08:44:33 +01:00