oncall-engine/engine/apps/mobile_app
Joey Orlando 5967d5af63
remove apns + fix django-push-notifications migrations (#984)
- removes APNS support
- changes the `django-push-notification` library from the `iskhakov`
fork to the [`grafana`
fork](https://github.com/grafana/django-push-notifications). This new
fork basically just patches an issue which affected the database
migrations of this django app (previously the library would not respect
the `USER_MODEL` setting when creating its tables and would instead
reference the `auth_user` table.. which we don't want)
- add `--no-cache` flag to the `make build` command

**NOTE**
A migration should be applied as follows:
```bash
# remove the four push_notifications tables, which have improper foreign key references
python manage.py migrate push_notifications zero

# recreate the tables with the proper foreign key references
python manage.py migrate
```
2022-12-13 13:00:59 +01:00
..
migrations Mobile app messaging backend (#874) 2022-11-23 15:56:43 +00:00
__init__.py Mobile app messaging backend (#874) 2022-11-23 15:56:43 +00:00
alert_rendering.py Mobile app messaging backend (#874) 2022-11-23 15:56:43 +00:00
auth.py Mobile app messaging backend (#874) 2022-11-23 15:56:43 +00:00
backend.py remove apns + fix django-push-notifications migrations (#984) 2022-12-13 13:00:59 +01:00
fcm_relay.py Mobile app FCM support (#923) 2022-12-01 15:17:01 +00:00
models.py Mobile app messaging backend (#874) 2022-11-23 15:56:43 +00:00
tasks.py remove apns + fix django-push-notifications migrations (#984) 2022-12-13 13:00:59 +01:00
urls.py remove apns + fix django-push-notifications migrations (#984) 2022-12-13 13:00:59 +01:00
views.py remove apns + fix django-push-notifications migrations (#984) 2022-12-13 13:00:59 +01:00