├── .coveragerc ├── .flake8 ├── .github └── workflows │ ├── codeql-analysis.yml │ ├── python-publish.yml │ └── tests.yml ├── .gitignore ├── .pre-commit-config.yaml ├── LICENSE ├── README.md ├── django-notifs.png ├── docs ├── Makefile ├── _static │ └── images │ │ ├── channels.png │ │ ├── django-notifs-celery.png │ │ ├── django-notifs.png │ │ └── rq-worker.png ├── advanced-usage.rst ├── backends.rst ├── conf.py ├── configuration.rst ├── django-notifs.png ├── index.rst ├── installation.rst ├── make.bat ├── overview.rst ├── providers.rst ├── requirements.txt └── usage.rst ├── examples └── websocket.html ├── manage.py ├── notifications ├── __init__.py ├── apps.py ├── backends │ ├── __init__.py │ ├── aws_sqs_lambda.py │ ├── base.py │ ├── celery.py │ ├── console.py │ ├── django_channels.py │ ├── rq.py │ └── synchronous.py ├── channels │ ├── __init__.py │ ├── base.py │ └── django_channels.py ├── consumers.py ├── default_settings.py ├── exceptions.py ├── fields.py ├── migrations │ ├── 0001_initial.py │ ├── 0001_squashed_0010_notification_channels.py │ ├── 0002_auto_20170718_1539.py │ ├── 0002_django_jsonfield_backport.py │ ├── 0003_auto_20170719_1137.py │ ├── 0003_notification_channels_json.py │ ├── 0004_auto_20170719_1138.py │ ├── 0004_drop_channels.py │ ├── 0005_auto_20170814_1118.py │ ├── 0005_rename_channels_json_to_channels.py │ ├── 0006_auto_20171005_0402.py │ ├── 0006_rename_obj_to_object_id.py │ ├── 0007_add_content_type_fields.py │ ├── 0007_auto_20171006_0126.py │ ├── 0008_auto_20210920_0149.py │ ├── 0008_notification_extra_data.py │ ├── 0009_auto_20180112_0915.py │ ├── 0010_notification_channels.py │ └── __init__.py ├── models.py ├── primitives.py ├── providers │ ├── __init__.py │ ├── base.py │ ├── django_channels.py │ ├── django_sms.py │ ├── email.py │ ├── fcm.py │ ├── fcm_web.py │ ├── pusher_channels.py │ ├── slack.py │ └── twitter_status_update.py ├── routing.py ├── signals.py ├── tasks.py ├── templates │ └── notifications │ │ └── notification_list.html ├── tests │ ├── __init__.py │ ├── test_backends.py │ ├── test_general.py │ └── test_providers │ │ ├── __init__.py │ │ ├── test_email.py │ │ ├── test_fcm.py │ │ ├── test_pusher_channels.py │ │ ├── test_slack.py │ │ ├── test_sms.py │ │ └── test_twitter_status_update.py └── utils.py ├── notifs ├── __init__.py ├── asgi.py ├── celery.py ├── settings.py ├── urls.py └── wsgi.py ├── pyproject.toml ├── requirements.txt ├── setup.py └── tox.ini /.coveragerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/.coveragerc -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | # ignore = E226,E302,E41 3 | max-line-length = 88 -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/python-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/.github/workflows/python-publish.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/README.md -------------------------------------------------------------------------------- /django-notifs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/django-notifs.png -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/_static/images/channels.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/docs/_static/images/channels.png -------------------------------------------------------------------------------- /docs/_static/images/django-notifs-celery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/docs/_static/images/django-notifs-celery.png -------------------------------------------------------------------------------- /docs/_static/images/django-notifs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/docs/_static/images/django-notifs.png -------------------------------------------------------------------------------- /docs/_static/images/rq-worker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/docs/_static/images/rq-worker.png -------------------------------------------------------------------------------- /docs/advanced-usage.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/docs/advanced-usage.rst -------------------------------------------------------------------------------- /docs/backends.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/docs/backends.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/configuration.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/docs/configuration.rst -------------------------------------------------------------------------------- /docs/django-notifs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/docs/django-notifs.png -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/installation.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/docs/installation.rst -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/overview.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/docs/overview.rst -------------------------------------------------------------------------------- /docs/providers.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/docs/providers.rst -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/docs/requirements.txt -------------------------------------------------------------------------------- /docs/usage.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/docs/usage.rst -------------------------------------------------------------------------------- /examples/websocket.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/examples/websocket.html -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/manage.py -------------------------------------------------------------------------------- /notifications/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/__init__.py -------------------------------------------------------------------------------- /notifications/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/apps.py -------------------------------------------------------------------------------- /notifications/backends/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/backends/__init__.py -------------------------------------------------------------------------------- /notifications/backends/aws_sqs_lambda.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/backends/aws_sqs_lambda.py -------------------------------------------------------------------------------- /notifications/backends/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/backends/base.py -------------------------------------------------------------------------------- /notifications/backends/celery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/backends/celery.py -------------------------------------------------------------------------------- /notifications/backends/console.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/backends/console.py -------------------------------------------------------------------------------- /notifications/backends/django_channels.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/backends/django_channels.py -------------------------------------------------------------------------------- /notifications/backends/rq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/backends/rq.py -------------------------------------------------------------------------------- /notifications/backends/synchronous.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/backends/synchronous.py -------------------------------------------------------------------------------- /notifications/channels/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/channels/__init__.py -------------------------------------------------------------------------------- /notifications/channels/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/channels/base.py -------------------------------------------------------------------------------- /notifications/channels/django_channels.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/channels/django_channels.py -------------------------------------------------------------------------------- /notifications/consumers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/consumers.py -------------------------------------------------------------------------------- /notifications/default_settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/default_settings.py -------------------------------------------------------------------------------- /notifications/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/exceptions.py -------------------------------------------------------------------------------- /notifications/fields.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/fields.py -------------------------------------------------------------------------------- /notifications/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/migrations/0001_initial.py -------------------------------------------------------------------------------- /notifications/migrations/0001_squashed_0010_notification_channels.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/migrations/0001_squashed_0010_notification_channels.py -------------------------------------------------------------------------------- /notifications/migrations/0002_auto_20170718_1539.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/migrations/0002_auto_20170718_1539.py -------------------------------------------------------------------------------- /notifications/migrations/0002_django_jsonfield_backport.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/migrations/0002_django_jsonfield_backport.py -------------------------------------------------------------------------------- /notifications/migrations/0003_auto_20170719_1137.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/migrations/0003_auto_20170719_1137.py -------------------------------------------------------------------------------- /notifications/migrations/0003_notification_channels_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/migrations/0003_notification_channels_json.py -------------------------------------------------------------------------------- /notifications/migrations/0004_auto_20170719_1138.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/migrations/0004_auto_20170719_1138.py -------------------------------------------------------------------------------- /notifications/migrations/0004_drop_channels.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/migrations/0004_drop_channels.py -------------------------------------------------------------------------------- /notifications/migrations/0005_auto_20170814_1118.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/migrations/0005_auto_20170814_1118.py -------------------------------------------------------------------------------- /notifications/migrations/0005_rename_channels_json_to_channels.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/migrations/0005_rename_channels_json_to_channels.py -------------------------------------------------------------------------------- /notifications/migrations/0006_auto_20171005_0402.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/migrations/0006_auto_20171005_0402.py -------------------------------------------------------------------------------- /notifications/migrations/0006_rename_obj_to_object_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/migrations/0006_rename_obj_to_object_id.py -------------------------------------------------------------------------------- /notifications/migrations/0007_add_content_type_fields.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/migrations/0007_add_content_type_fields.py -------------------------------------------------------------------------------- /notifications/migrations/0007_auto_20171006_0126.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/migrations/0007_auto_20171006_0126.py -------------------------------------------------------------------------------- /notifications/migrations/0008_auto_20210920_0149.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/migrations/0008_auto_20210920_0149.py -------------------------------------------------------------------------------- /notifications/migrations/0008_notification_extra_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/migrations/0008_notification_extra_data.py -------------------------------------------------------------------------------- /notifications/migrations/0009_auto_20180112_0915.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/migrations/0009_auto_20180112_0915.py -------------------------------------------------------------------------------- /notifications/migrations/0010_notification_channels.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/migrations/0010_notification_channels.py -------------------------------------------------------------------------------- /notifications/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /notifications/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/models.py -------------------------------------------------------------------------------- /notifications/primitives.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/primitives.py -------------------------------------------------------------------------------- /notifications/providers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/providers/__init__.py -------------------------------------------------------------------------------- /notifications/providers/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/providers/base.py -------------------------------------------------------------------------------- /notifications/providers/django_channels.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/providers/django_channels.py -------------------------------------------------------------------------------- /notifications/providers/django_sms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/providers/django_sms.py -------------------------------------------------------------------------------- /notifications/providers/email.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/providers/email.py -------------------------------------------------------------------------------- /notifications/providers/fcm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/providers/fcm.py -------------------------------------------------------------------------------- /notifications/providers/fcm_web.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/providers/fcm_web.py -------------------------------------------------------------------------------- /notifications/providers/pusher_channels.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/providers/pusher_channels.py -------------------------------------------------------------------------------- /notifications/providers/slack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/providers/slack.py -------------------------------------------------------------------------------- /notifications/providers/twitter_status_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/providers/twitter_status_update.py -------------------------------------------------------------------------------- /notifications/routing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/routing.py -------------------------------------------------------------------------------- /notifications/signals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/signals.py -------------------------------------------------------------------------------- /notifications/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/tasks.py -------------------------------------------------------------------------------- /notifications/templates/notifications/notification_list.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/templates/notifications/notification_list.html -------------------------------------------------------------------------------- /notifications/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /notifications/tests/test_backends.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/tests/test_backends.py -------------------------------------------------------------------------------- /notifications/tests/test_general.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/tests/test_general.py -------------------------------------------------------------------------------- /notifications/tests/test_providers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /notifications/tests/test_providers/test_email.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/tests/test_providers/test_email.py -------------------------------------------------------------------------------- /notifications/tests/test_providers/test_fcm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/tests/test_providers/test_fcm.py -------------------------------------------------------------------------------- /notifications/tests/test_providers/test_pusher_channels.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/tests/test_providers/test_pusher_channels.py -------------------------------------------------------------------------------- /notifications/tests/test_providers/test_slack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/tests/test_providers/test_slack.py -------------------------------------------------------------------------------- /notifications/tests/test_providers/test_sms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/tests/test_providers/test_sms.py -------------------------------------------------------------------------------- /notifications/tests/test_providers/test_twitter_status_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/tests/test_providers/test_twitter_status_update.py -------------------------------------------------------------------------------- /notifications/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifications/utils.py -------------------------------------------------------------------------------- /notifs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifs/__init__.py -------------------------------------------------------------------------------- /notifs/asgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifs/asgi.py -------------------------------------------------------------------------------- /notifs/celery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifs/celery.py -------------------------------------------------------------------------------- /notifs/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifs/settings.py -------------------------------------------------------------------------------- /notifs/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifs/urls.py -------------------------------------------------------------------------------- /notifs/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/notifs/wsgi.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/setup.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danidee10/django-notifs/HEAD/tox.ini --------------------------------------------------------------------------------