23 Commits

Author SHA1 Message Date
Andrea Maria Piana
c88df6c1c7
Handle messages sent to all devices 2020-07-27 08:51:09 +02:00
Andrea Maria Piana
7e8d1353d0
Create server identity on start if necessary 2020-07-27 08:51:08 +02:00
Andrea Maria Piana
3f4575b802
Add grant validation 2020-07-27 08:51:07 +02:00
Andrea Maria Piana
83e859c75f
add migrations 2020-07-27 08:51:06 +02:00
Andrea Maria Piana
20fb8607cb
keep track of queries & actually send pns, hurray 2020-07-27 08:51:05 +02:00
Andrea Maria Piana
1c379984cb
Handle registration with server 2020-07-27 08:51:04 +02:00
Andrea Maria Piana
7e16f940de
Handle query response 2020-07-27 08:51:03 +02:00
Andrea Maria Piana
7f6c8db6db
Handle push notification registration e2e 2020-07-27 08:51:02 +02:00
Andrea Maria Piana
d985af4a7e
Implement server persistence for client & basic tests 2020-07-27 08:51:01 +02:00
Andrea Maria Piana
3afde67022
Move message processor to common and allow subscribing to sent messages 2020-07-27 08:51:00 +02:00
Andrea Maria Piana
9da64ef251
add basic config 2020-07-27 08:50:59 +02:00
Andrea Maria Piana
927f762589
Send gorush notifications 2020-07-27 08:50:57 +02:00
Andrea Maria Piana
6ed7f705b9
validate token type 2020-07-27 08:50:56 +02:00
Andrea Maria Piana
52da9de0c6
Handle query from client 2020-07-27 08:50:56 +02:00
Andrea Maria Piana
2eee956dc6
Store hashes pk 2020-07-27 08:50:55 +02:00
Andrea Maria Piana
a15919527b
implement handle push notification registration 2020-07-27 08:50:54 +02:00
Andrea Maria Piana
91c7869d98
implement migrations & persistence for pns 2020-07-27 08:50:53 +02:00
Andrea Maria Piana
24df11bcf9
Pull push notification options from persistence 2020-07-27 08:50:52 +02:00
Andrea Maria Piana
eed0df3420
Return decrypted options on validation 2020-07-27 08:50:51 +02:00
Andrea Maria Piana
c5077609ee
remove push notification preferences 2020-07-27 08:50:50 +02:00
Andrea Maria Piana
f984a041df
decrypt push notification preferences 2020-07-27 08:50:49 +02:00
Andrea Maria Piana
e19c799be2
Remove PushNotificationRegister as we can use ApplicationMessage as a wrapper 2020-07-27 08:50:48 +02:00
Andrea Maria Piana
4ded7bf74c
Add skeleton for server and separate namespace for client 2020-07-27 08:50:48 +02:00