Commit Graph

187 Commits

Author SHA1 Message Date
Philip Jenvey 785f9b5333
Merge pull request #103 from web-push-libs/crypto
Fixes for cryptography update
2019-03-13 15:46:42 -07:00
jrconlin 368e59272e
Fixes for cryptography update 2019-03-13 14:13:06 -07:00
jrconlin 557f298f43
feat: Add circleci 2.0 2019-02-20 17:25:43 -08:00
jrconlin 2fd4828c37
fix typo in setup.py 2019-01-07 08:35:54 -08:00
JR Conlin 815b932c33
Merge pull request #99 from web-push-libs/feat/97
Fixup aes128gcm key injection
2019-01-04 20:33:02 -08:00
jrconlin f3aabe1664
Fixup aes128gcm key injection 2019-01-04 20:29:04 -08:00
JR Conlin c24920b734
Merge pull request #98 from web-push-libs/feat/97
feat: Move to RFC 8188 "aes128gcm" content encoding default
2019-01-04 15:05:39 -08:00
jrconlin 24d746bbf0
Merge branch 'master' of github.com:web-push-libs/pywebpush into feat/97 2019-01-04 13:59:37 -08:00
JR Conlin 14331e4890
Merge pull request #95 from arlopurcell/bug/94
Add default 'exp' field to vapid claims dict
2019-01-04 13:59:26 -08:00
jrconlin 110be71459
f update README files 2019-01-04 13:58:32 -08:00
jrconlin ebf65981f4
feat: Move to RFC 8188 "aes128gcm" content encoding default
Closes #97
2019-01-04 13:52:44 -08:00
Arlo Purcell ef54603785
fix typo 2018-11-01 13:53:22 -05:00
arlo e30f7df85c Add default 'exp' field to vapid claims dict 2018-11-01 13:45:07 -05:00
JR Conlin aa66fdeea3
Merge pull request #92 from web-push-libs/bug/90
bug: return the remote server response in the WebpushException
2018-04-02 08:50:50 -07:00
jrconlin 5e8189849b bug: return the remote server response in the WebpushException
Closes #90
2018-03-30 10:42:38 -07:00
JR Conlin 13e747d7f4
Merge pull request #88 from WU731642061/master
Update README.md
2018-03-08 09:27:41 -08:00
WU731642061 99669f8061
Update README.md
In example part,   
vapid_claims={
                "sub": "YourNameHere@example.org",
            }
It will lead to an error which lacks "mailto" fields.
2018-03-08 17:20:34 +08:00
jrconlin bd2d72a024 version bump
* New `webpush(ttl=0)` parameter
2018-02-01 10:19:32 -08:00
JR Conlin 715d154e55
Merge pull request #86 from web-push-libs/feat/85
added 'ttl' as argument for webpush function
2018-02-01 10:18:50 -08:00
jrconlin 8667d54802 added 'ttl' as argument for webpush function
Closes #85
2018-02-01 09:50:21 -08:00
jrconlin 28d2b55f7f version bump 2018-01-06 17:00:39 -08:00
JR Conlin 3c91545737
Merge pull request #84 from Chris-V/clone_subscriptions
Copy subscription before altering the keys.
2018-01-03 13:21:46 -08:00
Christopher Viel 2e95413167 Copy subscription before altering the keys.
Altering subscriptions reference by changing the keys from string to
byte causes hard to debug issues in libraries. For exemple, trying to
call `json.dumps()` after initializing `WebPusher` throws an error
because json cannot handle bytes.
2018-01-03 14:58:23 -05:00
jrconlin 7b58129efa chore: version bump 2017-12-18 09:56:51 -08:00
JR Conlin b522f7ea59
Merge pull request #83 from exponea/Add-option-to-use-requests.Session
Add option to use requests.session
2017-12-14 15:15:09 -06:00
Matej Vetrak 2653f353af Fix pep8 errors 2017-12-14 13:16:41 +01:00
Matej Vetrak b3d56c9c2d Add test for requests session 2017-12-14 12:59:09 +01:00
Matej Vetrak b4ae4e125e Add option to use requests.Session object 2017-12-14 12:49:00 +01:00
jrconlin 1d1e1d47d2 bug: merge fail 2017-12-04 15:31:40 -08:00
jrconlin 87fc0d8076 Merge branch 'bug/crypto' 2017-12-04 15:04:14 -08:00
jrconlin af2070dd61 chore: version bump
Update dependencies and use latest vapid library calls
2017-12-04 15:03:02 -08:00
jrconlin e02be4c16f bug: update to use vapid 'from_string' function
remove crypto upper version limit
bump py-vapid base version
2017-12-04 14:55:18 -08:00
jrconlin 66986c1d12 version bump 2017-07-26 08:51:05 -07:00
JR Conlin ece9865889 Merge pull request #72 from jbouzekri/requests-timeout
add requests timeout parameter
2017-07-26 08:49:51 -07:00
JR Conlin 40e68b3445 Merge pull request #73 from jbouzekri/travis-python3
add python 3.4 and 3.5 to travis
2017-07-26 08:48:47 -07:00
Jonathan Bouzekri e486906a63 add python 3.4 and 3.5 to travis 2017-07-26 10:46:35 +02:00
Jonathan Bouzekri a7833643b6 add requests timeout parameter 2017-07-26 10:40:10 +02:00
JR Conlin 4728a3931e Merge pull request #59 from web-push-libs/bug/58
bug: baseline to cryptography 1.8.2
2017-06-08 08:03:07 -07:00
jrconlin e0f2676589 bug: baseline to cryptography 1.8.2
closes #58
2017-06-07 14:05:51 -07:00
JR Conlin 9b066333f3 Merge pull request #57 from perosb/cryptodep
use cryptography==1.8.2
2017-06-05 07:46:59 -07:00
Per Osbäck 92a8c02a0c use cryptography==1.8.2
Fixed a compilation bug affecting OpenSSL 1.1.0f.
Use py-vapid to 1.2.4 which uses cryptography==1.8.2
2017-06-05 07:53:38 +02:00
jr conlin eace20eb27 chore requirements version check
closes #56
2017-05-26 10:43:37 -07:00
jr conlin 7fd84b6f3e Merge branch 'master' of github.com:web-push-libs/pywebpush 2017-05-26 10:28:06 -07:00
jrconlin 6401fa0341 Update py-vapid requirements (now that it's been proofed for gcm) 2017-05-23 15:02:55 -07:00
JR Conlin b9a1fe7d96 Merge pull request #55 from web-push-libs/vapid_update
Vapid update
2017-05-15 09:27:22 -07:00
jrconlin 35fd0a2e5f This fix addresses an incompatibility with Chrome 2017-05-15 09:19:18 -07:00
JR Conlin ac9971228b Merge pull request #54 from Flimm/fix-rst-again
Fix RST again
2017-05-12 16:35:41 -07:00
jr conlin 97fbcf47d9 Merge branch 'master' of github.com:web-push-libs/pywebpush 2017-05-12 15:20:49 -07:00
David D Lowe 9d2c5fa58b Make convert_readme.sh script check the output 2017-05-11 10:01:22 +01:00
David D Lowe d0461a350f Make README.rst acceptable to PyPI's website
When running a check against README.rst, I got these errors:

    warning: check: Cannot analyze code. No Pygments lexer found for "commandline". (line 87)
    warning: check: Cannot analyze code. No Pygments lexer found for "pythonstub". (line 93)

I had previously ignored them, because they were just warnings.

However, according to this link, usage of non-builtin lexers will cause
the RST to not be recognised by PyPI.

https://github.com/twolfson/restructuredtext-lint/tree/0.14.2#pypi-issues
2017-05-11 09:59:40 +01:00