Commit Graph

25 Commits

Author SHA1 Message Date
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
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
91fbb3dde1
Add boilerplate for unit testing 2021-04-07 16:51:55 +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
4aa1d000b9 Merge branch 'master' of https://git.autonomic.zone/autonomic-cooperative/djangoldp-webpushnotification 2021-04-07 15:18:48 +01:00
bee22e5e5e add webpush as installed_app 2021-04-07 15:18:11 +01: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
764e9aaa3f
Initial boilerplate for accepting subscriptions 2021-04-07 15:56:09 +02:00
decentral1se
a4f4a1daa2
Rip our final boilerplate 2021-04-07 15:24:07 +02:00
decentral1se
3f58435acc
Rename top-level package 2021-04-07 15:21:20 +02:00