Commit Graph

340 Commits

Author SHA1 Message Date
Frédéric Péters c51aa40833 don't run tests as they have some pkg_resources installation requirements 2018-11-25 16:01:12 +01:00
Frédéric Péters dad7dd50cc debian: add pywebpush build dependency 2018-11-25 15:53:34 +01:00
Frédéric Péters 83d96300c0 remove all apns references 2018-11-04 14:52:24 +01:00
Frédéric Péters 8e74dfe330 add debian/, from official packaging 2018-11-04 14:05:27 +01:00
Frédéric Péters 22ebfd3766 ship test files in tarballs 2018-11-04 14:04:57 +01:00
Pablo Enzo Zanitti 8c73a77131 Fix README missing paragraph break confusion 2018-02-15 22:46:28 +02:00
Jerome Leclanche 1be2f2a179 Add Jazzband contributing guidelines 2018-02-10 14:01:16 +02:00
Jerome Leclanche 2ae27f9625 Update repository URLs (again) 2018-02-10 13:50:22 +02:00
Jerome Leclanche 5954578417 Cleanup overzealous tests 2018-02-10 11:14:03 +02:00
Jerome Leclanche 9f71624b98 Move Python 2 compatibility imports to push_notifications.compat 2018-02-10 11:14:03 +02:00
Jerome Leclanche 30529278ad Update setup.cfg and DRF support notice 2018-02-10 10:45:08 +02:00
Jerome Leclanche c821ec9109 Convert changelog to Markdown 2018-02-10 10:39:15 +02:00
Jerome Leclanche 86409f68a7 Move AUTHORS to ACKNOWLEDGEMENTS.md 2018-02-10 10:34:54 +02:00
Jerome Leclanche 803caa9374 Clean up code style issues 2018-02-10 10:33:44 +02:00
Jerome Leclanche f625921d0e Move base NotificationError to push_notifications.exceptions 2018-02-10 10:32:59 +02:00
Jerome Leclanche c4785a3c57 Drop apns_errors, use exception class name instead 2018-02-10 09:39:11 +02:00
Jerome Leclanche a3bda0af9a Clean up imports and switch to isort+flake8-isort 2018-02-10 09:35:43 +02:00
Jerome Leclanche cee41601ce Release 1.6.0 2018-01-31 22:07:50 +02:00
Jerome Leclanche 90393c1621 Update CHANGELOG 2018-01-31 22:07:37 +02:00
Jerome Leclanche f8a92336cc Update Github URL references 2018-01-31 22:07:37 +02:00
Jerome Leclanche 40741f5ca3 Clean up tox.ini 2018-01-31 22:06:33 +02:00
Jerome Leclanche b4d3ddd3d1 Specify support for Django 2.0 2018-01-31 22:06:33 +02:00
Jerome Leclanche 607a530eb4 Drop official support for Django 1.10 2018-01-31 22:06:33 +02:00
Jerome Leclanche 6c7fdee662 Fix README error 2018-01-31 22:06:33 +02:00
Alberto Buratti 7e6f57bf84 hotfix for Django 2.0 2018-01-16 17:07:59 +01:00
Pablo Martín 05c4290d26 WebPush support 2018-01-12 14:06:27 +02:00
Odin Ugedal ce7da2525a Fix authentication check for django 2.0 (#445)
The method 'user.is_authenticated()' is deprecated,
and it is removed in the v2 release of django.
2018-01-11 23:29:21 -05:00
Ricardo Almeida Silva d7d9dc9681 Fix parameter name cloud_message_type on README (#428) 2018-01-11 23:18:48 -05:00
Jamaal Scarlett 6b215e49b2 Fixes error when sending django admin test gcm message. (#406)
* Fixes error when sending django admin test gcm message.
Fixes display issue when sending test bulk message > max_recipients
Adds original_registration_id to results dict on GCMError

Addresses:
https://github.com/jleclanche/django-push-notifications/issues/354
&
https://github.com/jleclanche/django-push-notifications/issues/391

* Fix code styling.
Added comments.

* Fixed test mock GCM message responses.
2017-08-08 20:36:18 -04:00
Camille Fabreguettes 26a9886e2a Back to non-mandatory APNS_TOPIC 2017-07-18 18:53:01 +02:00
Jamaal Scarlett 26eb4a9dce Fix small typo in README.rst (#405) 2017-05-28 00:12:59 -04:00
Jamaal Scarlett 228cdd76cc Because NotRegistered and InvalidRegistration do not throw GCMError (#364)
check for them in django admin to correctly display error message.
2017-05-22 22:46:48 -04:00
Daniel Hahler ef89c04ee3 Remove push_notifications.utils
It only contains `get_expired_tokens`, which is not importable anymore,
since apns_fetch_inactive_ids has been removed in 3998996.

Ref: https://github.com/jleclanche/django-push-notifications/issues/389
2017-05-19 00:55:07 +03:00
Alberto Buratti 78586d3838 Add 'application_id' field to DRF GCMDeviceSerializer 2017-05-10 21:18:01 +03:00
Camille Fabreguettes f47f10a722 Fix 'APNS_TOPIC' docs (#400) 2017-05-05 10:46:13 -04:00
matthewh a406e0928d Add empty class to avoid None triggering ImproperlyConfigured (#395)
Resolves: #394
2017-04-26 20:34:24 -04:00
raghu a16715dbad apns: Update link to overview documentation 2017-04-21 19:40:06 +03:00
Jerome Leclanche 706a86d137 Release 1.5.0 2017-04-16 15:37:32 +03:00
Jerome Leclanche 2a98e8f618 Update AUTHORS, directly link to Github contributor list 2017-04-16 15:36:57 +03:00
Jerome Leclanche 16a2d50751 Update CHANGELOG 2017-04-16 15:33:28 +03:00
Jerome Leclanche a0dd9fcf4a Require Django>=1.10 in the dependencies 2017-04-16 15:23:36 +03:00
Jerome Leclanche 7f8de775b5 Exclude tests module from package 2017-04-16 15:23:36 +03:00
Matthew Hershberger cb99668dfe Fix incorrect setting key lookup value (#384) 2017-04-16 15:23:30 +03:00
Jerome Leclanche 129e5992e4 Drop support for Django 1.8, officialize support for Django 1.11 2017-04-04 19:47:39 +03:00
Matthew Hershberger a6bc509600 Enable multiple application support
* Provides backwards compatibility through conf adapters that
determine which settings are supported and where the data
can be loaded from. This implementation adds 3:

  * LegacyConfig - supports the existing settings format
  * AppConfig - supports a dictionary of application_ids and their settings
  * AppModelConfig - supports storing the settings in the database for multiple apps
2017-04-04 18:54:29 +03:00
Matthew Hershberger dcbd63a75e Provide default and documentation for APNS_TOPIC
Without a default, PyAPNS2 will raise an error serializing None.

Resolves: #377
2017-04-03 22:33:55 +03:00
Camille Fabreguettes 39989962fc Delegate APNS calls to PyAPNs2. 2017-03-22 13:33:56 +01:00
Jerome Leclanche 7a83ec265f Remove issue template 2017-03-21 18:57:15 +02:00
Jerome Leclanche fd782a03d1 Clean up quote style, use flake8-quotes 2017-03-21 02:18:42 +02:00
Jerome Leclanche a4b96b2eb2 Travis: Cache the tox directory 2017-03-10 14:28:54 +02:00