Commit Graph

187 Commits

Author SHA1 Message Date
JR Conlin 2979478561 Merge pull request #53 from web-push-libs/feat/49
feat: update to use Cryptography library
2017-05-10 16:34:00 -07:00
jrconlin 812b8c7110 feat: update to use Cryptography library
* uses lastest ece(1.7.2) and vapid libraries (1.2.1)
* Will attempt to autofill vapid `aud` from the endpoint if VAPID
requested
* Allows for the older `'aesgcm'` and newer, albeit not as widely
supported `'aes128gcm'` encryption content types.
* Includes fixes provided by https://github.com/Flimm

NOTE: Currently BLOCKED due to
https://github.com/martinthomson/encrypted-content-encoding/issues/36

closes: #49, #48, #42
2017-05-10 16:24:03 -07:00
jr conlin e1c26430ad Merge branch 'master' of github.com:web-push-libs/pywebpush 2017-04-27 20:06:12 -07:00
JR Conlin 5f173cb784 Merge pull request #45 from web-push-libs/feat/44
feat: Allow VAPID with [gf]cm
2017-03-22 11:22:54 -07:00
jrconlin caf331dab8 feat: Allow VAPID with [gf]cm
* added primative CLI
* dump as curl

closes #44
2017-03-21 20:21:11 -07:00
jr conlin 0f480d721f Merge branch 'master' of github.com:web-push-libs/pywebpush 2017-02-23 19:36:06 -08:00
JR Conlin b6348a6dc4 Merge pull request #34 from web-push-libs/feat/33
feat: update to http-ece 0.6.4 (with draft-06 support)
2017-02-14 14:57:30 -08:00
jrconlin 1a7f227fca
Merge branch 'master' of github.com:web-push-libs/pywebpush into feat/33 2017-02-14 14:54:48 -08:00
jrconlin ac3322f653 feat: update to http-ece 0.6.4 (with draft-06 support)
use new "content_type" argument to specify either "aesgcm" (draft-01)
or "aes128gcm" (draft-04).

NOTE: Not all clients yet support Draft-04.

closes #33
2017-02-14 14:47:24 -08:00
jr conlin 0e3af3c0f4 feat: Allow empty payloads
closes #40
2017-02-14 14:46:33 -08:00
Rémy HUBSCHER 7460dc0794 Update badge repository names. 2017-02-14 14:46:25 -08:00
Rémy HUBSCHER 60ed1303fb Add the Python3 classifiers. 2017-02-14 14:46:13 -08:00
Rémy HUBSCHER a018d06750 Run tests with Python3.6 on travis. 2017-02-14 14:45:59 -08:00
jr conlin b2e621c798 feat: Allow empty payloads
closes #40
2017-02-14 13:23:47 -08:00
Rémy HUBSCHER 0d015c28b9 Update badge repository names. 2017-02-14 13:23:47 -08:00
Rémy HUBSCHER 8c10b6425d Add the Python3 classifiers. 2017-02-14 13:23:47 -08:00
Rémy HUBSCHER 759245413a Run tests with Python3.6 on travis. 2017-02-14 13:23:47 -08:00
JR Conlin 5096274c64 Merge pull request #41 from web-push-libs/feat/40
feat: Allow empty payloads
2017-02-14 12:55:26 -08:00
jr conlin 3aadc6017c feat: Allow empty payloads
closes #40
2017-02-14 10:51:23 -08:00
JR Conlin c80a56c3bc Merge pull request #39 from Natim/update-badge
Update badge repository names.
2017-02-10 09:57:06 -08:00
JR Conlin 7ba481fae1 Merge pull request #38 from Natim/run-tests-with-python36
Run tests with Python3.6 on travis.
2017-02-10 09:56:32 -08:00
Rémy HUBSCHER 754ebb8a64
Update badge repository names. 2017-02-10 14:38:13 +01:00
Rémy HUBSCHER 6b1030cddb
Add the Python3 classifiers. 2017-02-10 14:35:35 +01:00
Rémy HUBSCHER 9d2a268e36
Run tests with Python3.6 on travis. 2017-02-10 14:32:09 +01:00
JR Conlin 36555b602d Merge pull request #36 from web-push-libs/feat/35
Convert README from markdown to restructured text
2017-02-06 16:34:06 -08:00
jrconlin 8ff7c68248 Convert README from markdown to restructured text
closes #35
2017-02-06 16:16:35 -08:00
jr conlin 9c95cdc6a5 f readme 2017-02-03 14:13:19 -08:00
JR Conlin 65954b1191 Merge pull request #26 from robbiet480/patch-1
Change long to int to support Python 3
2016-10-01 16:42:00 -07:00
Robbie Trencheny d7b5c36488 Change long to int to support Python 3 2016-10-01 11:44:20 -07:00
JR Conlin 7f9f4b8d29 Merge pull request #25 from capkovic/master
GCM ttl fix
2016-09-30 10:11:12 -07:00
Matej Capkovic b6da769739 GCM ttl fix 2016-09-30 18:43:22 +02:00
jr conlin 6c5dd6102b Merge branch 'master' of github.com:web-push-libs/pywebpush 2016-09-05 11:58:23 -07:00
jr conlin b7befe0973 Update version 2016-09-05 11:58:00 -07:00
JR Conlin 42e98bbf91 Merge pull request #24 from web-push-libs/bug/18.1
Set minimum version
2016-09-05 11:57:07 -07:00
jr conlin 692195b757 Set minimum version 2016-09-05 11:55:02 -07:00
JR Conlin 82af32a136 Merge pull request #23 from web-push-libs/bug/18
Bug/18
2016-09-05 11:24:39 -07:00
jr conlin 79f3bca599 Merge branch 'master' of github.com:web-push-libs/pywebpush into bug/18
Conflicts:
	pywebpush/__init__.py
	pywebpush/tests/test_webpush.py
	requirements.txt
2016-09-05 11:23:44 -07:00
jr conlin 9dd51ea05b feat: Updated requirements, use string TTL
closes #22
2016-09-05 11:18:18 -07:00
jrconlin e284b328a2 feat: Update requirements to latest version.
Updated libraries and tests for latest depenedent library versions.
Note: can't tie in requires.io quite yet, investigating how to best do
that.

fixes: #18
2016-09-05 11:18:18 -07:00
JR Conlin 1a2e565047 Merge pull request #19 from web-push-libs/feat/18
feat: Update requirements to latest version.
2016-09-05 11:08:45 -07:00
JR Conlin c4fadb2ff4 Merge pull request #21 from zejn/master
Facilitate easier use of another networking library
2016-09-05 11:07:38 -07:00
Gasper Zejn 097d5bcbd5 Separate network request from Web Push business logic, which allows using pywebpush with both blocking and nonblocking IO. 2016-08-25 16:52:39 +02:00
jrconlin 4d1497d88c feat: Update requirements to latest version.
Updated libraries and tests for latest depenedent library versions.
Note: can't tie in requires.io quite yet, investigating how to best do
that.

fixes: #18
2016-08-15 11:11:45 -07:00
JR Conlin e743dc9255 Merge pull request #17 from web-push-libs/chore/upd 2016-08-12 12:20:35 -07:00
jrconlin 05b76143cf chore: Update README.md and set ver for next release 2016-08-12 11:28:57 -07:00
jrconlin 567a63aa39 bug: append vapid and encryption headers with a ';'
FCM, unfortunately, rejects multiple parameter sets for Crypto-Key.
This is a work-around fix until the issue is properly resolved by the
respective working groups.

closes #8
2016-08-12 11:27:35 -07:00
JR Conlin 928dfebc23 Merge pull request #9 from web-push-libs/bug/8
bug: append vapid and encryption headers with a ';'
2016-08-10 09:16:20 -07:00
JR Conlin 34c7a885d9 Merge pull request #14 from flagboy/update_send_doc_string
double param gcm_key in send's docstring
2016-08-09 22:17:58 -07:00
flagboy d37b259af7 update send() doc string 2016-08-10 12:40:23 +09:00
JR Conlin 132fc306a3 Merge pull request #13 from flagboy/update_setup_url
update url in setup.py
2016-08-08 07:52:27 -07:00