Commit Graph

42 Commits

Author SHA1 Message Date
decentral1se 46f95e405f Add migration notice 2021-04-21 15:56:20 +02:00
3wc 9caf97966c Load django-webpush VAPID keys from DB 2021-04-15 18:57:22 +02:00
3wc 0fdbd1f3b2 Fix TypeError rendering VAPIDKeyset.public_key 2021-04-15 18:57:05 +02:00
decentral1se c64d1029b4
Add failing test for missing VAPID key 2021-04-15 15:06:37 +02:00
decentral1se a0c0aa760d
Merge imports 2021-04-15 14:28:34 +02:00
decentral1se c433a7d561
Fixup subscription test to use a VAPIDKeyset 2021-04-15 14:28:20 +02:00
decentral1se 59ce5900e0
Appease formatter 2021-04-15 14:27:58 +02:00
decentral1se 63c7384e50
Don't call tobytes on bytes 2021-04-15 14:27:44 +02:00
decentral1se aaf365dba2
Add webpush model checks into sub test
Let the formatter have its way also.
2021-04-15 09:42:16 +02:00
3wc 7ee6ac7691 Make TestAcceptSubscription work..
..by using Django default test client instead of the one from
`rest_framework`.
2021-04-14 21:34:31 +02:00
decentral1se fbb58b1737
Some WIP progress on writing webpush tests 2021-04-08 16:59:00 +02:00
decentral1se 6542993bf0
Fix name of test 2021-04-08 16:29:40 +02:00
decentral1se 74b2712699
Test VAPIDKeyset can generate a public key 2021-04-08 16:28:49 +02:00
3wc d03672e01e Don't try and reference views.home 2021-04-08 15:37:23 +02:00
Fay Arnold 2760e70c8e remove js template 2021-04-08 14:20:14 +01:00
decentral1se 5c13b626a8
Resolve tabbing/indentation issues 2021-04-07 17:18:09 +02:00
decentral1se 44153bc562
Re-work access to pub/priv keys for showing 2021-04-07 17:14:16 +02:00
3wc 64015d9b5b Remove VAPIDKeyset.public_key, generate on demand
Also rename `gen_vapid_keys` to `gen_vapid_key`, and merge migrations
2021-04-07 17:07:21 +02:00
decentral1se 6ac2905a6c
Make note of core 2021-04-07 16:53:58 +02:00
decentral1se 1843946342
Fix wave of typos 2021-04-07 16:53:24 +02:00
decentral1se 91fbb3dde1
Add boilerplate for unit testing 2021-04-07 16:51:55 +02:00
decentral1se 2fb474c87c
Throw down some docs in that README 2021-04-07 16:42:45 +02:00
3wc c05a8e65dc Fix gen_vapid_keys 2021-04-07 16:26:37 +02:00
decentral1se 89680cf6f1
Drop boilerplate 2021-04-07 16:21:29 +02:00
3wc 2f6a345e5c Fix admin.py 2021-04-07 16:19:50 +02:00
Fay Arnold 4aa1d000b9 Merge branch 'master' of https://git.autonomic.zone/autonomic-cooperative/djangoldp-webpushnotification 2021-04-07 15:18:48 +01:00
Fay Arnold bee22e5e5e add webpush as installed_app 2021-04-07 15:18:11 +01:00
decentral1se d3492dc266
Add license file 2021-04-07 16:13:55 +02:00
trav 4fd70faf99 merged changes hopefully not broooken 2021-04-07 10:11:30 -04:00
trav cf6c0ed1d0 moved files 2021-04-07 10:08:01 -04:00
decentral1se b86872be24
Add django-webpush to deps 2021-04-07 15:57:33 +02:00
decentral1se 764e9aaa3f
Initial boilerplate for accepting subscriptions 2021-04-07 15:56:09 +02:00
3wc a8492491b9 Fix models.py 2021-04-07 15:52:32 +02:00
trav 9d19e0e73c added in this stuff https://git.startinblox.com/djangoldp-packages/djangoldp-notification/merge_requests/43#note_59310 2021-04-07 09:44:56 -04:00
decentral1se a4f4a1daa2
Rip our final boilerplate 2021-04-07 15:24:07 +02:00
decentral1se 484a897e3c
Rewire setuptools config 2021-04-07 15:23:28 +02:00
decentral1se c800f5d8f8
Reset the README 2021-04-07 15:21:49 +02:00
decentral1se 3f58435acc
Rename top-level package 2021-04-07 15:21:20 +02:00
plup 83635cdde1 cicd: removed gitlab CI config 2020-02-26 13:41:21 +01:00
Jean-Baptiste Pasquier e4f5077469 Merge branch 'improvement/remove-useless-urls-file' into 'master'
Removing the now useless urls.py file from the example package

See merge request startinblox/djangoldp-packages/djangoldp-example!1
2019-11-07 15:00:59 +00:00
Benoit Alessandroni 5a1795652c Removing the now useless urls.py file from the example package 2019-08-09 18:51:42 +02:00
Nicolas Mérigot 39d3f304e5 Initial commit 2019-01-11 15:15:11 +01:00