Commit Graph

187 Commits

Author SHA1 Message Date
Benjamin Dauvergne e0d25e3a39 debian: rebuild for bullseye and bookworm 2024-03-11 18:09:35 +01:00
Benjamin Dauvergne fa3bff4f50 Merge branch 'wip/rebase-on-1.14.0' into wip/merge-1.14.0 2024-01-24 16:17:31 +01:00
Frédéric Péters a4a4ea3cd4 debian: do not run tests 2023-12-07 08:53:14 +01:00
Frédéric Péters 059163558b debian: use debhelper compat level 12 2023-12-07 08:53:14 +01:00
Frédéric Péters bf65fb893a debian: stop building python2 package 2023-12-07 08:53:14 +01:00
Frédéric Péters a494c0dc79 debian: add missing commas 2023-12-07 08:53:14 +01:00
Frédéric Péters 0b558af87f debian: add missing python-cryptography build dep 2023-12-07 08:53:14 +01:00
Frédéric Péters 2d17dff1ae debian: rename pywebpush script in python3 package 2023-12-07 08:53:14 +01:00
Frédéric Péters 02169ecca3 debian: declare python3 build 2023-12-07 08:53:14 +01:00
Frédéric Péters 224e78ceb7 debian: fix python3 dependencies reference 2023-12-07 08:53:14 +01:00
Frédéric Péters 8bcea0a6a6 misc: lower test requirements 2023-12-07 08:53:14 +01:00
Frédéric Péters 58f6445c56 misc: lower python-requests requirement 2023-12-07 08:53:14 +01:00
Frédéric Péters a786b35b58 add debian packaging 2023-12-07 08:53:14 +01:00
Frédéric Péters 460b32b33e debian: do not run tests 2023-12-07 08:22:05 +01:00
Frédéric Péters 7ba2e2426d debian: use debhelper compat level 12 2023-12-07 08:22:05 +01:00
Frédéric Péters 4262382c21 debian: stop building python2 package 2023-12-07 08:22:05 +01:00
Frédéric Péters c7fabbfd70 debian: add missing commas 2023-12-07 08:22:05 +01:00
Frédéric Péters 7ba5836ccf debian: add missing python-cryptography build dep 2023-12-07 08:22:05 +01:00
Frédéric Péters ecef6deb98 debian: rename pywebpush script in python3 package 2023-12-07 08:22:05 +01:00
Frédéric Péters 2bd925c9d2 debian: declare python3 build 2023-12-07 08:22:05 +01:00
Frédéric Péters 2adc6f072e debian: fix python3 dependencies reference 2023-12-07 08:22:05 +01:00
Frédéric Péters 4287d17d5b misc: lower python-requests requirement 2023-12-07 08:19:04 +01:00
Frédéric Péters 3b6b6c5d31 add debian packaging 2023-12-07 08:16:32 +01:00
jrconlin b5991530cd
bump version 2021-07-28 07:45:09 -07:00
Martin Plicka 248cd434ba
fix accepting all Vapid key instances (#137) (#139)
confirmed source change
2021-07-27 11:37:12 -07:00
jrconlin a2dbc6f0f1
chore: tag 1.13.0 2021-03-16 07:51:54 -07:00
Bruno Windels 336b1fb1ed
Support requests_session param in webpush fn too (#133)
* support requests_session param in webpush fn too
* format for line length
* move new requests_session argument to the end of the arg list
2021-03-15 10:51:52 -07:00
jrconlin 05f90f13fb
chore: tag 1.12.0 2021-03-15 08:07:31 -07:00
jrconlin b803cd58e8
chore: release 1.12.0 2021-03-15 08:05:58 -07:00
JR Conlin 94516459c6
chore: Updates for 2021 (#135)
* chore: Updates for 2021
* drop nose for pytest

Closes #124
2021-03-15 08:00:37 -07:00
Sven 51f1f9e320
Fix missing six requirement (#132) 2021-02-19 11:03:23 -08:00
jrconlin 8fccd46be3
r/master/main
Partially an experiment, and partly because it's shorter to type.
2020-06-13 05:45:44 +00:00
jrconlin 68e90b60d6
f version update 2020-04-29 13:19:35 -07:00
Braedon Vickers 12a894ddf1
Webpush headers (#123)
* Support adding arbitrary HTTP headers when using webpush()

Useful for adding headers like `Topic` an `Urgency` that don't have
dedicated parameters.

* Send headers provided in the `--head` CLI argument
2020-04-29 13:16:48 -07:00
JR Conlin 07662b8926
bug: update minimum vapid requirement to 1.7.0 (#122)
Closes #121
2020-04-11 21:40:21 -07:00
jrconlin cd20d8c274
tag: 1.10.1 2019-12-03 16:48:59 -08:00
Andrew Trusty 1dceb01bc8 Use six.text_type instead of six.string_types (#119)
In Python 2, using six.string_types causes the code to attempt to re-encode already encoded data because six.string_types matches Python 2 str and unicode data.  Using six.text_type makes sure that the code only attempts to encode unicode data.
2019-11-27 08:32:55 -08:00
JR Conlin 10e2e1629c
feat: Add `--verbose` flag (#117)
Closes: #116
2019-08-13 15:16:50 -07:00
jrconlin 9bc6f69b61
tag Update changelog & tag for release 1.9.4 2019-05-09 10:06:08 -07:00
JR Conlin 32e3fd9420
bug: Update vapid `exp` value if it's expired. (#113)
Closes #100
2019-05-09 10:05:00 -07:00
jrconlin 2a23f45b78
Merge branch 'master' of github.com:web-push-libs/pywebpush 2019-04-12 18:18:39 -07:00
jrconlin 69059ef45c
Update vapid requirement 2019-04-12 18:18:12 -07:00
kilgoretrout1985 4919ec186a Select legacy GCM or actual FCM endpoint for send based on the gcm_key (#110)
* Select legacy GCM or actual FCM endpoint for send based on the key provided.

* Fixed flake8 issue
2019-04-05 09:30:05 -07:00
JR Conlin 051e1575a3
bug: stand-alone still used old encoding format (#109)
* bug: stand-alone still used old encoding format
2019-04-02 13:33:15 -07:00
JR Conlin a8e4440419
Merge pull request #107 from web-push-libs/CoC
chore: Add Code of Conduct
2019-03-27 12:45:17 -07:00
jrconlin 29ddda4508
chore: Add Code of Conduct
As of January 1 2019, Mozilla requires that all GitHub projects include this CODE_OF_CONDUCT.md file in the project root. The file has two parts:

    Required Text - All text under the headings Community Participation Guidelines and How to Report, are required, and should not be altered.
    Optional Text - The Project Specific Etiquette heading provides a space to speak more specifically about ways people can work effectively and inclusively together. Some examples of those can be found on the Firefox Debugger project, and Common Voice. (The optional part is commented out in the raw template file, and will not be visible until you modify and uncomment that part.)

If you have any questions about this file, or Code of Conduct policies and procedures, please reach out to Mozilla-GitHub-Standards+CoC@mozilla.com.
2019-03-27 12:42:44 -07:00
JR Conlin 585b88e58f
Merge pull request #106 from web-push-libs/update
chore: Update requirements
2019-03-17 16:23:31 -07:00
jrconlin 5ebfff6f99
chore: Update requirements 2019-03-17 16:12:04 -07:00
JR Conlin f6f2b4e986
Merge pull request #104 from web-push-libs/circleci
Circleci
2019-03-13 19:43:22 -07:00
jrconlin d026d0c53e
Update to circle 2.0 2019-03-13 17:09:16 -07:00